taglinefilesource code
mode748drivers/block/floppy.cstatic void reset_fdc_info(int mode)
mode758drivers/block/floppy.c(mode || UDRS->track != NEED_1_RECAL))
mode338drivers/block/xd.cu_char head,sector,control,mode,temp;
mode357drivers/block/xd.cmode = xd_setup_dma(operation == READ ? DMA_MODE_READ : DMA_MODE_WRITE,(u_char *)buffer,temp * 0x200);
mode360drivers/block/xd.cswitch (xd_command(cmdblk,mode,(u_char *) buffer,(u_char *) buffer,sense,XD_TIMEOUT)) {
mode408drivers/block/xd.cstatic u_char xd_setup_dma (u_char mode,u_char *buffer,u_int count)
mode419drivers/block/xd.cset_dma_mode(xd_dma,mode);
mode456drivers/block/xd.cstatic u_int xd_command (u_char *command,u_char mode,u_char *indata,u_char *outdata,u_char *sense,u_long timeout)
mode461drivers/block/xd.cprintk("xd_command: command = 0x%X, mode = 0x%X, indata = 0x%X, outdata = 0x%X, sense = 0x%X\n",command,mode,indata,outdata,sense);
mode465drivers/block/xd.coutb(mode,XD_CONTROL);
mode475drivers/block/xd.cif (mode == DMA_MODE) {
mode483drivers/block/xd.cif (mode == DMA_MODE) {
mode1603drivers/cdrom/mcdx.cmcdx_setdrivemode(struct s_drive_stuff *stuffp, enum drivemodes mode, int tries)
mode1608drivers/cdrom/mcdx.cTRACE((HW, "setdrivemode() %d\n", mode));
mode1613drivers/cdrom/mcdx.cswitch (mode) {
mode1626drivers/cdrom/mcdx.cmcdx_setdatamode(struct s_drive_stuff *stuffp, enum datamodes mode, int tries)
mode1629drivers/cdrom/mcdx.cTRACE((HW, "setdatamode() %d\n", mode));
mode1630drivers/cdrom/mcdx.cswitch (mode) {
mode1676drivers/cdrom/mcdx.cmcdx_reset(struct s_drive_stuff *stuffp, enum resetmodes mode, int tries)
mode1678drivers/cdrom/mcdx.cif (mode == HARD) {
mode591drivers/cdrom/sbpcd.cu_char mode;           /* read_mode: READ_M1, READ_M2, READ_SC, READ_AU */
mode3601drivers/cdrom/sbpcd.cD_S[d].mode=READ_M1;
mode4081drivers/cdrom/sbpcd.cD_S[d].mode=READ_M1;
mode4088drivers/cdrom/sbpcd.cD_S[d].mode=READ_M2;
mode4153drivers/cdrom/sbpcd.cD_S[d].mode=READ_AU;
mode4300drivers/cdrom/sbpcd.cD_S[d].mode=READ_M1;
mode568drivers/cdrom/sonycd535.cset_drive_mode(int mode, Byte status[2])
mode574drivers/cdrom/sonycd535.ccmd_buff[1] = mode;
mode609drivers/char/keyboard.cstatic void applkey(int key, char mode)
mode613drivers/char/keyboard.cbuf[1] = (mode ? 'O' : '[');
mode1575drivers/char/tpqic02.cstatic int start_dma(short mode, unsigned long bytes_todo)
mode1587drivers/char/tpqic02.cdma_mode = (mode == WRITE)? DMA_MODE_WRITE : DMA_MODE_READ;  
mode1609drivers/char/tpqic02.cstat = tp_sense(((mode == WRITE)? 0 : TP_WRP) | TP_BOM | TP_FIL);
mode1629drivers/char/tpqic02.cstat = send_qic02_cmd((mode == WRITE)? QCMD_WRT_DATA : QCMD_RD_DATA, TIM_M, 0);
mode1632drivers/char/tpqic02.c(mode == WRITE)? "write" : "read");
mode1642drivers/char/tpqic02.cswitch (mode) {
mode1650drivers/char/tpqic02.cprintk(TPQIC02_NAME ": requested unknown mode %d\n", mode);
mode504drivers/char/tty_io.cvt_cons[new_console]->vt_mode.mode = VT_AUTO;
mode540drivers/char/tty_io.cif (vt_cons[new_console]->vt_mode.mode == VT_PROCESS)
mode612drivers/char/tty_io.cif (vt_cons[fg_console]->vt_mode.mode == VT_PROCESS)
mode127drivers/char/vesa_blank.cint mode;
mode129drivers/char/vesa_blank.cif((mode = vesa_blanking_mode) == 0)
mode139drivers/char/vesa_blank.cif(mode == 2) {
mode182drivers/char/vesa_blank.cif (mode == 2) {
mode199drivers/char/vesa_blank.cvesa_blanked = mode;
mode244drivers/char/vesa_blank.cunsigned int mode = get_user(argp);
mode245drivers/char/vesa_blank.cvesa_blanking_mode = ((mode < 3) ? mode : 0);
mode680drivers/char/vt.cchar mode;
mode687drivers/char/vt.cmode = get_user(&vtmode->mode);
mode688drivers/char/vt.cif (mode != VT_AUTO && mode != VT_PROCESS)
mode690drivers/char/vt.cvt_cons[console]->vt_mode.mode = mode;
mode708drivers/char/vt.cput_user(vt_cons[console]->vt_mode.mode, &vtmode->mode);
mode797drivers/char/vt.cif (vt_cons[console]->vt_mode.mode != VT_PROCESS)
mode135drivers/net/atp.cstatic void write_packet(short ioaddr, int length, unsigned char *packet, int mode);
mode444drivers/net/de4x5.cstatic char    *build_setup_frame(struct device *dev, int mode);
mode2426drivers/net/de4x5.cstatic char *build_setup_frame(struct device *dev, int mode)
mode2433drivers/net/de4x5.cif (mode == ALL) {
mode306drivers/net/depca.cu16 mode;                  /* Mode register */
mode712drivers/net/depca.cprintk("\tmode: 0x%4.4x\n",readw(&p->mode));
mode797drivers/net/depca.clp->init_block.mode = 0x0000;            /* Enable the Tx and Rx */
mode1175drivers/net/depca.clp->init_block.mode &= ~PROM;   /* Unset promiscuous mode */
mode1177drivers/net/depca.clp->init_block.mode |= PROM;    /* Set promiscuous mode */
mode1705drivers/net/depca.clp->init_block.mode |= PROM;      /* Set promiscuous mode */
mode1723drivers/net/depca.clp->init_block.mode &= ~PROM;     /* Clear promiscuous mode */
mode782drivers/net/eepro.cunsigned short mode;
mode794drivers/net/eepro.cmode = inb(ioaddr + REG2);
mode795drivers/net/eepro.coutb(mode | PRMSC_Mode, ioaddr + REG2);  
mode796drivers/net/eepro.cmode = inb(ioaddr + REG3);
mode797drivers/net/eepro.coutb(mode, ioaddr + REG3); /* writing reg. 3 to complete the update */
mode803drivers/net/eepro.cmode = inb(ioaddr + REG2);
mode804drivers/net/eepro.coutb(mode & 0xd6, ioaddr + REG2); /* Turn off Multi-IA and PRMSC_Mode bits */
mode805drivers/net/eepro.cmode = inb(ioaddr + REG3);
mode806drivers/net/eepro.coutb(mode, ioaddr + REG3); /* writing reg. 3 to complete the update */
mode819drivers/net/eepro.cmode = inb(ioaddr + REG2);
mode820drivers/net/eepro.coutb(mode | Multi_IA, ioaddr + REG2);  
mode821drivers/net/eepro.cmode = inb(ioaddr + REG3);
mode822drivers/net/eepro.coutb(mode, ioaddr + REG3); /* writing reg. 3 to complete the update */
mode180drivers/net/lance.cunsigned short mode;    /* Pre-set mode (reg. 15) */
mode419drivers/net/lance.clp->init_block.mode = 0x0003;    /* Disable Rx and Tx. */
mode683drivers/net/lance.clp->init_block.mode = 0x0000;
mode360drivers/net/ni65.cp->ib.mode = 0;
mode91drivers/net/ni65.hunsigned short mode;
mode508drivers/net/sk_g16.cstatic int SK_lance_init(struct device *dev, unsigned short mode);
mode1031drivers/net/sk_g16.cstatic int SK_lance_init(struct device *dev, unsigned short mode)
mode1085drivers/net/sk_g16.c(p->ram)->ib.mode = mode;        /* Set operation mode */
mode122drivers/net/sk_g16.hunsigned short mode;     /* Mode Register */
mode344drivers/net/slip.cif (sl->mode & (SL_MODE_ADAPTIVE | SL_MODE_CSLIP)) {
mode348drivers/net/slip.cif (!(sl->mode & SL_MODE_CSLIP)) {
mode362drivers/net/slip.cif (!(sl->mode & SL_MODE_CSLIP)) {
mode364drivers/net/slip.csl->mode |= SL_MODE_CSLIP;
mode365drivers/net/slip.csl->mode &= ~SL_MODE_ADAPTIVE;
mode385drivers/net/slip.cif(sl->mode & SL_MODE_AX25)
mode419drivers/net/slip.cif (sl->mode & SL_MODE_CSLIP)  {
mode424drivers/net/slip.cif(sl->mode & SL_MODE_SLIP6)
mode537drivers/net/slip.cif (sl->mode & SL_MODE_AX25 && type != htons(ETH_P_AX25))  {
mode555drivers/net/slip.cif (sl->mode & SL_MODE_AX25) {
mode708drivers/net/slip.cif (sl->mode & SL_MODE_SLIP6)
mode749drivers/net/slip.csl->mode      = SL_MODE_DEFAULT;
mode750drivers/net/slip.csl->dev->type = ARPHRD_SLIP + sl->mode;
mode1034drivers/net/slip.cput_user(sl->mode, (int *)arg);
mode1072drivers/net/slip.csl->mode = tmp;
mode1073drivers/net/slip.csl->dev->type = ARPHRD_SLIP+sl->mode;
mode91drivers/net/slip.hunsigned char    mode;    /* SLIP mode      */
mode303drivers/scsi/NCR5380.hunsigned char *ptr, unsigned int count, unsigned char mode) {
mode325drivers/scsi/NCR5380.hset_dma_mode(instance->dma_channel, mode);
mode289drivers/scsi/NCR53c406a.cunsigned char mode) {
mode316drivers/scsi/NCR53c406a.cset_dma_mode(dma_chan, mode);
mode123drivers/scsi/scsi_proc.cscsi_hba_dir->entry.mode = S_IFREG | S_IRUGO | S_IWUSR;
mode70drivers/sound/ad1848.cint             mode;
mode116drivers/sound/ad1848.cstatic int      ad1848_open (int dev, int mode);
mode440drivers/sound/ad1848.cif (devc->mode != MD_1848)
mode543drivers/sound/ad1848.cad1848_open (int dev, int mode)
mode645drivers/sound/ad1848.cif (devc->mode == MD_1845)  /* AD1845 has different timer than others */
mode752drivers/sound/ad1848.cif (!(arg & ad_format_mask[devc->mode]))
mode909drivers/sound/ad1848.cif (devc->mode == MD_1848 || !devc->dual_dma)    /* Single DMA channel mode */
mode948drivers/sound/ad1848.cif (devc->mode == MD_1845)  /* Use alternate speed select registers */
mode975drivers/sound/ad1848.cif (devc->mode != MD_1848)
mode1025drivers/sound/ad1848.cif (devc->mode != MD_1848)
mode1047drivers/sound/ad1848.cif (devc->mode == MD_1848)
mode1071drivers/sound/ad1848.cif (devc->mode == MD_1848)
mode1140drivers/sound/ad1848.cdevc->mode = MD_1848;    /* AD1848 or CS4248 */
mode1272drivers/sound/ad1848.cdevc->mode = MD_4231;
mode1287drivers/sound/ad1848.cdevc->mode = MD_4231A;
mode1292drivers/sound/ad1848.cdevc->mode = MD_4231A;
mode1297drivers/sound/ad1848.cdevc->mode = MD_4231A;
mode1315drivers/sound/ad1848.cdevc->mode = MD_1845;
mode1323drivers/sound/ad1848.cdevc->mode = MD_4231;
mode1334drivers/sound/ad1848.cif (devc->mode != MD_1848)
mode1388drivers/sound/ad1848.cif (devc->mode > MD_1848)
mode1405drivers/sound/ad1848.cif (devc->mode == MD_4231A)
mode1408drivers/sound/ad1848.cif (devc->mode == MD_1845)
mode1440drivers/sound/ad1848.cif (devc->mode != MD_1848)
mode1473drivers/sound/ad1848.caudio_devs[my_dev]->format_mask = ad_format_mask[devc->mode];
mode1477drivers/sound/ad1848.cif (devc->mode != MD_1848 && devc->irq_ok)
mode1584drivers/sound/ad1848.cif (devc->mode != MD_1848)
mode1800drivers/sound/ad1848.cif (devc->mode == MD_1845)
mode92drivers/sound/audio.cint             mode = file->mode & O_ACCMODE;
mode101drivers/sound/audio.cif ((ret = DMAbuf_open (dev, mode)) < 0)
mode140drivers/sound/audio.cint             mode;
mode143drivers/sound/audio.cmode = file->mode & O_ACCMODE;
mode154drivers/sound/audio.cDMAbuf_release (dev, mode);
mode148drivers/sound/dev_table.hint (*open) (int dev, int mode);
mode186drivers/sound/dev_table.hint (*open) (int dev, int mode);
mode199drivers/sound/dev_table.hvoid (*volume_method) (int dev, int mode);
mode227drivers/sound/dev_table.hint (*open) (int dev, int mode,
mode254drivers/sound/dev_table.hint (*open)(int dev, int mode);
mode158drivers/sound/dmabuf.cout_sleep_flag[dev].mode = WK_NONE;
mode161drivers/sound/dmabuf.cin_sleep_flag[dev].mode = WK_NONE;
mode174drivers/sound/dmabuf.copen_dmap (int dev, int mode, struct dma_buffparms *dmap, int chan)
mode195drivers/sound/dmabuf.cdmap->open_mode = mode;
mode219drivers/sound/dmabuf.cDMAbuf_open (int dev, int mode)
mode243drivers/sound/dmabuf.cif ((retval = audio_devs[dev]->open (dev, mode)) < 0)
mode249drivers/sound/dmabuf.cif ((retval = open_dmap (dev, mode, dmap_out, audio_devs[dev]->dmachan1)) < 0)
mode255drivers/sound/dmabuf.caudio_devs[dev]->enable_bits = mode;
mode257drivers/sound/dmabuf.cif ((retval = open_dmap (dev, mode, dmap_in, audio_devs[dev]->dmachan2)) < 0)
mode263drivers/sound/dmabuf.caudio_devs[dev]->open_mode = mode;
mode349drivers/sound/dmabuf.cout_sleep_flag[dev].mode = WK_SLEEP;
mode351drivers/sound/dmabuf.cif (!(out_sleep_flag[dev].mode & WK_WAKEUP))
mode354drivers/sound/dmabuf.cout_sleep_flag[dev].mode |= WK_TIMEOUT;
mode356drivers/sound/dmabuf.cout_sleep_flag[dev].mode &= ~WK_SLEEP;
mode358drivers/sound/dmabuf.cif ((out_sleep_flag[dev].mode & WK_TIMEOUT))
mode386drivers/sound/dmabuf.cout_sleep_flag[dev].mode = WK_SLEEP;
mode388drivers/sound/dmabuf.cif (!(out_sleep_flag[dev].mode & WK_WAKEUP))
mode391drivers/sound/dmabuf.cout_sleep_flag[dev].mode |= WK_TIMEOUT;
mode393drivers/sound/dmabuf.cout_sleep_flag[dev].mode &= ~WK_SLEEP;
mode403drivers/sound/dmabuf.cDMAbuf_release (int dev, int mode)
mode526drivers/sound/dmabuf.cin_sleep_flag[dev].mode = WK_SLEEP;
mode528drivers/sound/dmabuf.cif (!(in_sleep_flag[dev].mode & WK_WAKEUP))
mode531drivers/sound/dmabuf.cin_sleep_flag[dev].mode |= WK_TIMEOUT;
mode533drivers/sound/dmabuf.cin_sleep_flag[dev].mode &= ~WK_SLEEP;
mode535drivers/sound/dmabuf.cif ((in_sleep_flag[dev].mode & WK_TIMEOUT))
mode989drivers/sound/dmabuf.cout_sleep_flag[dev].mode = WK_SLEEP;
mode991drivers/sound/dmabuf.cif (!(out_sleep_flag[dev].mode & WK_WAKEUP))
mode994drivers/sound/dmabuf.cout_sleep_flag[dev].mode |= WK_TIMEOUT;
mode996drivers/sound/dmabuf.cout_sleep_flag[dev].mode &= ~WK_SLEEP;
mode998drivers/sound/dmabuf.cif ((out_sleep_flag[dev].mode & WK_TIMEOUT))
mode1220drivers/sound/dmabuf.cif ((out_sleep_flag[dev].mode & WK_SLEEP))
mode1223drivers/sound/dmabuf.cout_sleep_flag[dev].mode = WK_WAKEUP;
mode1282drivers/sound/dmabuf.cif ((in_sleep_flag[dev].mode & WK_SLEEP))
mode1285drivers/sound/dmabuf.cin_sleep_flag[dev].mode = WK_WAKEUP;
mode1386drivers/sound/dmabuf.cin_sleep_flag[dev].mode = WK_SLEEP;
mode1412drivers/sound/dmabuf.cout_sleep_flag[dev].mode = WK_SLEEP;
mode1434drivers/sound/dmabuf.cDMAbuf_open (int dev, int mode)
mode1440drivers/sound/dmabuf.cDMAbuf_release (int dev, int mode)
mode54drivers/sound/gus_midi.cgus_midi_open (int dev, int mode,
mode72drivers/sound/gus_midi.cif (mode == OPEN_READ || mode == OPEN_READWRITE)
mode78drivers/sound/gus_midi.cif (mode == OPEN_WRITE || mode == OPEN_READWRITE)
mode43drivers/sound/gus_wave.cunsigned long   mode;
mode387drivers/sound/gus_wave.cgus_voice_on (unsigned int mode)
mode389drivers/sound/gus_wave.cgus_write8 (0x00, (unsigned char) (mode & 0xfc));
mode391drivers/sound/gus_wave.cgus_write8 (0x00, (unsigned char) (mode & 0xfc));
mode403drivers/sound/gus_wave.cunsigned char   mode = (unsigned char) (m & 0xff);
mode406drivers/sound/gus_wave.c(mode & 0xfc));  /* Don't touch last two bits */
mode408drivers/sound/gus_wave.cgus_write8 (0x00, (gus_read8 (0x00) & 0x03) | (mode & 0xfc));
mode452drivers/sound/gus_wave.cunsigned char   mode = (unsigned char) (m & 0xff);
mode454drivers/sound/gus_wave.cgus_write8 (0x0d, mode & 0xfc);
mode456drivers/sound/gus_wave.cgus_write8 (0x0d, mode & 0xfc);
mode462drivers/sound/gus_wave.cunsigned char   mode = (unsigned char) (m & 0xff);
mode465drivers/sound/gus_wave.c(mode & 0xfc));  /* Leave the last 2 bits alone */
mode467drivers/sound/gus_wave.cgus_write8 (0x0d, (gus_read8 (0x0d) & 0x03) | (mode & 0xfc));
mode487drivers/sound/gus_wave.csamples[sample_no].mode & WAVE_16_BITS);
mode513drivers/sound/gus_wave.cvoices[voice].mode = 0;
mode538drivers/sound/gus_wave.cif (voices[voice].mode & WAVE_SUSTAIN_ON && voices[voice].env_phase == 2)
mode620drivers/sound/gus_wave.cvoices[voice].mode &= ~WAVE_SUSTAIN_ON;
mode644drivers/sound/gus_wave.cis16bits = (samples[instr_no].mode & WAVE_16_BITS) ? 1 : 0;  /* 8 or 16 bits */
mode646drivers/sound/gus_wave.cif (voices[voice].mode & WAVE_ENVELOPES)
mode994drivers/sound/gus_wave.cguswave_volume_method (int dev, int mode)
mode996drivers/sound/gus_wave.cif (mode == VOL_METHOD_LINEAR || mode == VOL_METHOD_ADAGIO)
mode997drivers/sound/gus_wave.cvolume_method = mode;
mode1104drivers/sound/gus_wave.cif (!(voices[voice].mode & WAVE_ENVELOPES))
mode1199drivers/sound/gus_wave.cunsigned char   mode = 0;
mode1209drivers/sound/gus_wave.cif (voices[voice].mode & WAVE_ENVELOPES)
mode1267drivers/sound/gus_wave.cis16bits = (samples[sample].mode & WAVE_16_BITS) ? 1 : 0;
mode1268drivers/sound/gus_wave.cvoices[voice].mode = samples[sample].mode;
mode1271drivers/sound/gus_wave.cif (voices[voice].mode & WAVE_ENVELOPES)
mode1307drivers/sound/gus_wave.cif (samples[sample].mode & WAVE_16_BITS)
mode1309drivers/sound/gus_wave.cmode |= 0x04;    /* 16 bits */
mode1327drivers/sound/gus_wave.cif (voices[voice].mode & WAVE_ENVELOPES)
mode1341drivers/sound/gus_wave.cif (samples[sample].mode & WAVE_LOOP_BACK)
mode1348drivers/sound/gus_wave.cif (samples[sample].mode & WAVE_LOOPING)
mode1350drivers/sound/gus_wave.cmode |= 0x08;
mode1352drivers/sound/gus_wave.cif (samples[sample].mode & WAVE_BIDIR_LOOP)
mode1353drivers/sound/gus_wave.cmode |= 0x10;
mode1355drivers/sound/gus_wave.cif (samples[sample].mode & WAVE_LOOP_BACK)
mode1360drivers/sound/gus_wave.cmode |= 0x40;
mode1370drivers/sound/gus_wave.cmode |= 0x20;    /* Loop IRQ at the end */
mode1380drivers/sound/gus_wave.cgus_voice_on (mode);
mode1396drivers/sound/gus_wave.cint             mode;
mode1415drivers/sound/gus_wave.cmode = gus_read8 (0x00);
mode1416drivers/sound/gus_wave.cif (mode & 0x20)
mode1417drivers/sound/gus_wave.cgus_write8 (0x00, mode & 0xdf);    /* No interrupt! */
mode1435drivers/sound/gus_wave.cif ((mode & 0x01) || (int) ((gus_read16 (0x09) >> 4) < 2065))
mode1469drivers/sound/gus_wave.cguswave_open (int dev, int mode)
mode1487drivers/sound/gus_wave.cdram_sleep_flag.mode = WK_NONE;
mode1567drivers/sound/gus_wave.cif (patch.mode & WAVE_LOOPING)
mode1586drivers/sound/gus_wave.cif (patch.mode & WAVE_16_BITS)
mode1619drivers/sound/gus_wave.cif (patch.mode & WAVE_ENVELOPES)
mode1620drivers/sound/gus_wave.cpatch.mode &= ~WAVE_TREMOLO;
mode1670drivers/sound/gus_wave.cif (patch.mode & WAVE_UNSIGNED)
mode1672drivers/sound/gus_wave.cif (!(patch.mode & WAVE_16_BITS) || (i & 0x01))
mode1718drivers/sound/gus_wave.cif (patch.mode & WAVE_UNSIGNED)
mode1720drivers/sound/gus_wave.cif (patch.mode & WAVE_16_BITS)
mode1740drivers/sound/gus_wave.cdram_sleep_flag.mode = WK_SLEEP;
mode1742drivers/sound/gus_wave.cif (!(dram_sleep_flag.mode & WK_WAKEUP))
mode1745drivers/sound/gus_wave.cdram_sleep_flag.mode |= WK_TIMEOUT;
mode1747drivers/sound/gus_wave.cdram_sleep_flag.mode &= ~WK_SLEEP;
mode1749drivers/sound/gus_wave.cif ((dram_sleep_flag.mode & WK_TIMEOUT))
mode1865drivers/sound/gus_wave.cif (voices[voice].mode & WAVE_ENVELOPES)
mode1875drivers/sound/gus_wave.cif (voices[voice].mode & WAVE_ENVELOPES)
mode1885drivers/sound/gus_wave.cif (voices[voice].mode & WAVE_ENVELOPES)
mode1896drivers/sound/gus_wave.cif (voices[voice].mode & WAVE_ENVELOPES)
mode1907drivers/sound/gus_wave.cif (voices[voice].mode & WAVE_ENVELOPES)
mode2056drivers/sound/gus_wave.cgus_sampling_open (int dev, int mode)
mode2073drivers/sound/gus_wave.cif (mode & OPEN_READ)
mode2078drivers/sound/gus_wave.conly_read_access = !(mode & OPEN_WRITE);
mode2079drivers/sound/gus_wave.conly_8_bits = mode & OPEN_READ;
mode2131drivers/sound/gus_wave.cunsigned char   mode[2], ramp_mode[2];
mode2140drivers/sound/gus_wave.cmode[chn] = 0x00;
mode2145drivers/sound/gus_wave.cmode[chn] |= 0x20;  /* Loop IRQ */
mode2152drivers/sound/gus_wave.cmode[chn] |= 0x04;  /* 16 bit data */
mode2162drivers/sound/gus_wave.cmode[chn] |= 0x08;  /* Enable loop */
mode2209drivers/sound/gus_wave.cmode[chn] |= 0x08;  /* Enable looping */
mode2218drivers/sound/gus_wave.cmode[chn] &= ~0x08;  /* Disable looping */
mode2219drivers/sound/gus_wave.cmode[chn] |= 0x20;  /* Enable IRQ at the end */
mode2227drivers/sound/gus_wave.cmode[chn] &= ~0x08;  /* Disable looping */
mode2240drivers/sound/gus_wave.cgus_voice_on (mode[chn]);
mode2351drivers/sound/gus_wave.cunsigned char   mode;
mode2358drivers/sound/gus_wave.cmode = 0xa0;      /* DMA IRQ enabled, invert MSB */
mode2361drivers/sound/gus_wave.cmode |= 0x04;    /* 16 bit DMA channel */
mode2363drivers/sound/gus_wave.cmode |= 0x02;    /* Stereo */
mode2364drivers/sound/gus_wave.cmode |= 0x01;      /* DMA enable */
mode2366drivers/sound/gus_wave.cgus_write8 (0x49, mode);
mode3181drivers/sound/gus_wave.cint             mode, parm;
mode3197drivers/sound/gus_wave.cmode = voices[voice].loop_irq_mode;
mode3201drivers/sound/gus_wave.cswitch (mode)
mode3277drivers/sound/gus_wave.cint             mode, parm;
mode3291drivers/sound/gus_wave.cmode = voices[voice].volume_irq_mode;
mode3295drivers/sound/gus_wave.cswitch (mode)
mode3389drivers/sound/gus_wave.cif ((dram_sleep_flag.mode & WK_SLEEP))
mode3391drivers/sound/gus_wave.cdram_sleep_flag.mode = WK_WAKEUP;
mode185drivers/sound/mad16_sb_midi.cmad16_sb_midi_open (int dev, int mode,
mode200drivers/sound/mad16_sb_midi.cif (mode != OPEN_WRITE && !mad16_sb_duplex_midi)
mode208drivers/sound/mad16_sb_midi.cif (mode != OPEN_WRITE)
mode446drivers/sound/midi_synth.cmidi_synth_open (int dev, int mode)
mode460drivers/sound/midi_synth.cif ((err = midi_devs[orig_dev]->open (orig_dev, mode,
mode546drivers/sound/midi_synth.csysex_sleep_flag.mode = WK_NONE;
mode578drivers/sound/midi_synth.csysex_sleep_flag.mode = WK_SLEEP;
mode580drivers/sound/midi_synth.cif (!(sysex_sleep_flag.mode & WK_WAKEUP))
mode583drivers/sound/midi_synth.csysex_sleep_flag.mode |= WK_TIMEOUT;
mode585drivers/sound/midi_synth.csysex_sleep_flag.mode &= ~WK_SLEEP;
mode7drivers/sound/midi_synth.hint midi_synth_open (int dev, int mode);
mode119drivers/sound/midibuf.cmidi_sleep_flag[dev].mode = WK_SLEEP;
mode121drivers/sound/midibuf.cif (!(midi_sleep_flag[dev].mode & WK_WAKEUP))
mode124drivers/sound/midibuf.cmidi_sleep_flag[dev].mode |= WK_TIMEOUT;
mode126drivers/sound/midibuf.cmidi_sleep_flag[dev].mode &= ~WK_SLEEP;
mode146drivers/sound/midibuf.cif ((input_sleep_flag[dev].mode & WK_SLEEP))
mode148drivers/sound/midibuf.cinput_sleep_flag[dev].mode = WK_WAKEUP;
mode185drivers/sound/midibuf.c(midi_sleep_flag[dev].mode & WK_SLEEP))
mode187drivers/sound/midibuf.cmidi_sleep_flag[dev].mode = WK_WAKEUP;
mode205drivers/sound/midibuf.cint             mode, err;
mode209drivers/sound/midibuf.cmode = file->mode & O_ACCMODE;
mode229drivers/sound/midibuf.cif ((err = midi_devs[dev]->open (dev, mode,
mode238drivers/sound/midibuf.cmidi_sleep_flag[dev].mode = WK_NONE;
mode239drivers/sound/midibuf.cinput_sleep_flag[dev].mode = WK_NONE;
mode281drivers/sound/midibuf.cint             mode;
mode285drivers/sound/midibuf.cmode = file->mode & O_ACCMODE;
mode294drivers/sound/midibuf.cif (mode != OPEN_READ)
mode311drivers/sound/midibuf.cmidi_sleep_flag[dev].mode = WK_SLEEP;
mode313drivers/sound/midibuf.cif (!(midi_sleep_flag[dev].mode & WK_WAKEUP))
mode316drivers/sound/midibuf.cmidi_sleep_flag[dev].mode |= WK_TIMEOUT;
mode318drivers/sound/midibuf.cmidi_sleep_flag[dev].mode &= ~WK_SLEEP;
mode371drivers/sound/midibuf.cmidi_sleep_flag[dev].mode = WK_SLEEP;
mode373drivers/sound/midibuf.cif (!(midi_sleep_flag[dev].mode & WK_WAKEUP))
mode376drivers/sound/midibuf.cmidi_sleep_flag[dev].mode |= WK_TIMEOUT;
mode378drivers/sound/midibuf.cmidi_sleep_flag[dev].mode &= ~WK_SLEEP;
mode430drivers/sound/midibuf.cinput_sleep_flag[dev].mode = WK_SLEEP;
mode432drivers/sound/midibuf.cif (!(input_sleep_flag[dev].mode & WK_WAKEUP))
mode435drivers/sound/midibuf.cinput_sleep_flag[dev].mode |= WK_TIMEOUT;
mode437drivers/sound/midibuf.cinput_sleep_flag[dev].mode &= ~WK_SLEEP;
mode513drivers/sound/midibuf.cinput_sleep_flag[dev].mode = WK_SLEEP;
mode523drivers/sound/midibuf.cmidi_sleep_flag[dev].mode = WK_SLEEP;
mode63drivers/sound/mpu401.cint             mode;
mode428drivers/sound/mpu401.cif (devc->mode == MODE_SYNTH)
mode478drivers/sound/mpu401.cif (devc->base != 0 && (devc->opened & OPEN_READ || devc->mode == MODE_SYNTH))
mode489drivers/sound/mpu401.cmpu401_open (int dev, int mode,
mode537drivers/sound/mpu401.cdevc->mode = MODE_MIDI;
mode543drivers/sound/mpu401.cdevc->opened = mode;
mode559drivers/sound/mpu401.cdevc->mode = 0;
mode649drivers/sound/mpu401.cif (devc->opened && devc->mode == MODE_SYNTH)
mode863drivers/sound/mpu401.cmpu_synth_open (int dev, int mode)
mode900drivers/sound/mpu401.cdevc->mode = MODE_SYNTH;
mode915drivers/sound/mpu401.cdevc->opened = mode;
mode918drivers/sound/mpu401.cif (mode & OPEN_READ)
mode944drivers/sound/mpu401.cdevc->mode = 0;
mode1455drivers/sound/mpu401.cmpu_timer_open (int dev, int mode)
mode54drivers/sound/opl3.cint             mode;
mode345drivers/sound/opl3.cdevc->voc[voice].mode = 0;
mode450drivers/sound/opl3.cif (devc->voc[voice].mode == 0)
mode453drivers/sound/opl3.cif (devc->voc[voice].mode == 2)
mode689drivers/sound/opl3.cdevc->voc[voice].mode = voice_mode;
mode836drivers/sound/opl3.copl3_open (int dev, int mode)
mode908drivers/sound/opl3.copl3_volume_method (int dev, int mode)
mode944drivers/sound/opl3.cif (devc->voc[voice].mode == 4)
mode35drivers/sound/os.hint mode;
mode49drivers/sound/pas2_midi.cpas_midi_open (int dev, int mode,
mode85drivers/sound/pas2_midi.cif (mode == OPEN_READ || mode == OPEN_READWRITE)
mode93drivers/sound/pas2_midi.cif (mode == OPEN_WRITE || mode == OPEN_READWRITE)
mode232drivers/sound/pas2_pcm.cpas_pcm_open (int dev, int mode)
mode236drivers/sound/pas2_pcm.cTRACE (printk ("pas2_pcm.c: static int pas_pcm_open(int mode = %X)\n", mode));
mode66drivers/sound/patmgr.cserver_wait_flag[dev].mode = WK_NONE;
mode83drivers/sound/patmgr.cif ((appl_wait_flag.mode & WK_SLEEP))
mode85drivers/sound/patmgr.cappl_wait_flag.mode = WK_WAKEUP;
mode121drivers/sound/patmgr.cserver_wait_flag[dev].mode = WK_SLEEP;
mode123drivers/sound/patmgr.cif (!(server_wait_flag[dev].mode & WK_WAKEUP))
mode126drivers/sound/patmgr.cserver_wait_flag[dev].mode |= WK_TIMEOUT;
mode128drivers/sound/patmgr.cserver_wait_flag[dev].mode &= ~WK_SLEEP;
mode192drivers/sound/patmgr.cif ((appl_wait_flag.mode & WK_SLEEP))
mode195drivers/sound/patmgr.cappl_wait_flag.mode = WK_WAKEUP;
mode223drivers/sound/patmgr.cif ((server_wait_flag[dev].mode & WK_SLEEP))
mode226drivers/sound/patmgr.cserver_wait_flag[dev].mode = WK_WAKEUP;
mode239drivers/sound/patmgr.cappl_wait_flag.mode = WK_SLEEP;
mode241drivers/sound/patmgr.cif (!(appl_wait_flag.mode & WK_WAKEUP))
mode244drivers/sound/patmgr.cappl_wait_flag.mode |= WK_TIMEOUT;
mode246drivers/sound/patmgr.cappl_wait_flag.mode &= ~WK_SLEEP;
mode301drivers/sound/patmgr.cif ((server_wait_flag[dev].mode & WK_SLEEP))
mode304drivers/sound/patmgr.cserver_wait_flag[dev].mode = WK_WAKEUP;
mode317drivers/sound/patmgr.cappl_wait_flag.mode = WK_SLEEP;
mode319drivers/sound/patmgr.cif (!(appl_wait_flag.mode & WK_WAKEUP))
mode322drivers/sound/patmgr.cappl_wait_flag.mode |= WK_TIMEOUT;
mode324drivers/sound/patmgr.cappl_wait_flag.mode &= ~WK_SLEEP;
mode60drivers/sound/sb16_dsp.cstatic int      sb16_dsp_open (int dev, int mode);
mode109drivers/sound/sb16_dsp.cdsp_set_speed (int mode)
mode111drivers/sound/sb16_dsp.cDEB (printk ("dsp_set_speed(%d)\n", mode));
mode112drivers/sound/sb16_dsp.cif (mode)
mode114drivers/sound/sb16_dsp.cif (mode < 5000)
mode115drivers/sound/sb16_dsp.cmode = 5000;
mode116drivers/sound/sb16_dsp.cif (mode > 44100)
mode117drivers/sound/sb16_dsp.cmode = 44100;
mode118drivers/sound/sb16_dsp.cdsp_current_speed = mode;
mode120drivers/sound/sb16_dsp.creturn mode;
mode124drivers/sound/sb16_dsp.cdsp_set_stereo (int mode)
mode126drivers/sound/sb16_dsp.cDEB (printk ("dsp_set_stereo(%d)\n", mode));
mode128drivers/sound/sb16_dsp.cdsp_stereo = mode;
mode130drivers/sound/sb16_dsp.creturn mode;
mode206drivers/sound/sb16_dsp.csb16_dsp_open (int dev, int mode)
mode86drivers/sound/sb16_midi.csb16midi_open (int dev, int mode,
mode99drivers/sound/sb16_midi.csb16midi_opened = mode;
mode118drivers/sound/sb_dsp.cstatic int      dsp_set_stereo (int mode);
mode372drivers/sound/sb_dsp.cdsp_set_stereo (int mode)
mode384drivers/sound/sb_dsp.cif (mode && sb_midi_busy)
mode390drivers/sound/sb_dsp.cdsp_stereo = !!mode;
mode620drivers/sound/sb_dsp.csb_dsp_open (int dev, int mode)
mode630drivers/sound/sb_dsp.cif (sb_no_recording && mode & OPEN_READ)
mode677drivers/sound/sb_dsp.copen_mode = mode;
mode69drivers/sound/sb_midi.csb_midi_open (int dev, int mode,
mode85drivers/sound/sb_midi.cif (mode != OPEN_WRITE && !sb_duplex_midi)
mode93drivers/sound/sb_midi.cif (mode != OPEN_WRITE)
mode93drivers/sound/sb_mixer.csb_mixer_set_stereo (int mode)
mode99drivers/sound/sb_mixer.c| (mode ? STEREO_DAC : MONO_DAC)));
mode138drivers/sound/sequencer.cmidi_sleep_flag.mode = WK_SLEEP;
mode140drivers/sound/sequencer.cif (!(midi_sleep_flag.mode & WK_WAKEUP))
mode143drivers/sound/sequencer.cmidi_sleep_flag.mode |= WK_TIMEOUT;
mode145drivers/sound/sequencer.cmidi_sleep_flag.mode &= ~WK_SLEEP;
mode201drivers/sound/sequencer.cif ((midi_sleep_flag.mode & WK_SLEEP))
mode204drivers/sound/sequencer.cmidi_sleep_flag.mode = WK_WAKEUP;
mode270drivers/sound/sequencer.cint             mode = file->mode & O_ACCMODE;
mode276drivers/sound/sequencer.cif (mode == OPEN_READ)
mode344drivers/sound/sequencer.cint             mode;
mode353drivers/sound/sequencer.cmode = file->mode & O_ACCMODE;
mode355drivers/sound/sequencer.cif ((err = midi_devs[dev]->open (dev, mode,
mode409drivers/sound/sequencer.cif (!nonblock && qlen >= SEQ_MAX_QUEUE && !(seq_sleep_flag.mode & WK_SLEEP))
mode422drivers/sound/sequencer.cseq_sleep_flag.mode = WK_SLEEP;
mode424drivers/sound/sequencer.cif (!(seq_sleep_flag.mode & WK_WAKEUP))
mode427drivers/sound/sequencer.cseq_sleep_flag.mode |= WK_TIMEOUT;
mode429drivers/sound/sequencer.cseq_sleep_flag.mode &= ~WK_SLEEP;
mode728drivers/sound/sequencer.cif ((seq_sleep_flag.mode & WK_SLEEP))
mode731drivers/sound/sequencer.cseq_sleep_flag.mode = WK_WAKEUP;
mode768drivers/sound/sequencer.cif ((seq_sleep_flag.mode & WK_SLEEP))
mode771drivers/sound/sequencer.cseq_sleep_flag.mode = WK_WAKEUP;
mode904drivers/sound/sequencer.cif ((seq_sleep_flag.mode & WK_SLEEP))
mode907drivers/sound/sequencer.cseq_sleep_flag.mode = WK_WAKEUP;
mode1040drivers/sound/sequencer.cif ((seq_sleep_flag.mode & WK_SLEEP))
mode1043drivers/sound/sequencer.cseq_sleep_flag.mode = WK_WAKEUP;
mode1096drivers/sound/sequencer.cint             retval, mode, i;
mode1102drivers/sound/sequencer.cmode = file->mode & O_ACCMODE;
mode1181drivers/sound/sequencer.cif (seq_mode == SEQ_1 && (mode == OPEN_READ || mode == OPEN_READWRITE))
mode1205drivers/sound/sequencer.cif ((tmp = synth_devs[i]->open (i, mode)) < 0)
mode1224drivers/sound/sequencer.cif (seq_mode == SEQ_1 && (mode == OPEN_READ || mode == OPEN_READWRITE))
mode1231drivers/sound/sequencer.cif ((retval = midi_devs[i]->open (i, mode,
mode1243drivers/sound/sequencer.cseq_sleep_flag.mode = WK_NONE;
mode1244drivers/sound/sequencer.cmidi_sleep_flag.mode = WK_NONE;
mode1288drivers/sound/sequencer.cseq_sleep_flag.mode = WK_SLEEP;
mode1290drivers/sound/sequencer.cif (!(seq_sleep_flag.mode & WK_WAKEUP))
mode1293drivers/sound/sequencer.cseq_sleep_flag.mode |= WK_TIMEOUT;
mode1295drivers/sound/sequencer.cseq_sleep_flag.mode &= ~WK_SLEEP;
mode1305drivers/sound/sequencer.cint             mode = file->mode & O_ACCMODE;
mode1325drivers/sound/sequencer.cif (mode != OPEN_READ && !(file->flags & (O_NONBLOCK) ?
mode1332drivers/sound/sequencer.cif (mode != OPEN_READ)
mode1337drivers/sound/sequencer.cif (mode != OPEN_READ)
mode1378drivers/sound/sequencer.cif (qlen && !(seq_sleep_flag.mode & WK_SLEEP))
mode1388drivers/sound/sequencer.cseq_sleep_flag.mode = WK_SLEEP;
mode1390drivers/sound/sequencer.cif (!(seq_sleep_flag.mode & WK_WAKEUP))
mode1393drivers/sound/sequencer.cseq_sleep_flag.mode |= WK_TIMEOUT;
mode1395drivers/sound/sequencer.cseq_sleep_flag.mode &= ~WK_SLEEP;
mode1433drivers/sound/sequencer.cseq_sleep_flag.mode = WK_SLEEP;
mode1435drivers/sound/sequencer.cif (!(seq_sleep_flag.mode & WK_WAKEUP))
mode1438drivers/sound/sequencer.cseq_sleep_flag.mode |= WK_TIMEOUT;
mode1440drivers/sound/sequencer.cseq_sleep_flag.mode &= ~WK_SLEEP;
mode1519drivers/sound/sequencer.cif ((seq_sleep_flag.mode & WK_SLEEP))
mode1523drivers/sound/sequencer.cseq_sleep_flag.mode = WK_WAKEUP;
mode1558drivers/sound/sequencer.cint             mode = file->mode & O_ACCMODE;
mode1606drivers/sound/sequencer.cif (mode == OPEN_READ)
mode1638drivers/sound/sequencer.cint             err, mode;
mode1640drivers/sound/sequencer.cmode = file->mode & O_ACCMODE;
mode1641drivers/sound/sequencer.cif ((err = midi_devs[midi_dev]->open (midi_dev, mode,
mode1658drivers/sound/sequencer.cif (mode == OPEN_WRITE)
mode1665drivers/sound/sequencer.cif (mode == OPEN_READ)
mode1909drivers/sound/sequencer.cif (mode == OPEN_READ)
mode1937drivers/sound/sequencer.cmidi_sleep_flag.mode = WK_SLEEP;
mode1942drivers/sound/sequencer.cmidi_sleep_flag.mode &= ~WK_SLEEP;
mode1952drivers/sound/sequencer.cseq_sleep_flag.mode = WK_SLEEP;
mode1957drivers/sound/sequencer.cseq_sleep_flag.mode &= ~WK_SLEEP;
mode5drivers/sound/sound_calls.hint DMAbuf_open(int dev, int mode);
mode6drivers/sound/sound_calls.hint DMAbuf_release(int dev, int mode);
mode124drivers/sound/sound_calls.hvoid sb_mixer_set_stereo(int mode);
mode140drivers/sound/sound_config.hint mode;        /* Open mode */
mode110drivers/sound/sound_timer.ctimer_open (int dev, int mode)
mode127drivers/sound/soundcard.ctmp_file.mode = 0;
mode131drivers/sound/soundcard.ctmp_file.mode = OPEN_READWRITE;
mode133drivers/sound/soundcard.ctmp_file.mode = OPEN_READ;
mode135drivers/sound/soundcard.ctmp_file.mode = OPEN_WRITE;
mode308drivers/sound/sscape.cif ((sscape_sleep_flag.mode & WK_SLEEP))
mode311drivers/sound/sscape.csscape_sleep_flag.mode = WK_WAKEUP;
mode372drivers/sound/sscape.cdo_dma (struct sscape_info *devc, int dma_chan, unsigned long buf, int blk_size, int mode)
mode384drivers/sound/sscape.cblk_size, mode);
mode452drivers/sound/sscape.csscape_sleep_flag.mode = WK_NONE;
mode514drivers/sound/sscape.csscape_sleep_flag.mode = WK_NONE;
mode529drivers/sound/sscape.csscape_sleep_flag.mode = WK_SLEEP;
mode531drivers/sound/sscape.cif (!(sscape_sleep_flag.mode & WK_WAKEUP))
mode534drivers/sound/sscape.csscape_sleep_flag.mode |= WK_TIMEOUT;
mode536drivers/sound/sscape.csscape_sleep_flag.mode &= ~WK_SLEEP;
mode577drivers/sound/sscape.csscape_sleep_flag.mode = WK_SLEEP;
mode579drivers/sound/sscape.cif (!(sscape_sleep_flag.mode & WK_WAKEUP))
mode582drivers/sound/sscape.csscape_sleep_flag.mode |= WK_TIMEOUT;
mode584drivers/sound/sscape.csscape_sleep_flag.mode &= ~WK_SLEEP;
mode610drivers/sound/sscape.csscape_sleep_flag.mode = WK_SLEEP;
mode612drivers/sound/sscape.cif (!(sscape_sleep_flag.mode & WK_WAKEUP))
mode615drivers/sound/sscape.csscape_sleep_flag.mode |= WK_TIMEOUT;
mode617drivers/sound/sscape.csscape_sleep_flag.mode &= ~WK_SLEEP;
mode711drivers/sound/sscape.csscape_audio_open (int dev, int mode)
mode106drivers/sound/sys_timer.cdef_tmr_open (int dev, int mode)
mode142drivers/sound/uart6850.cuart6850_open (int dev, int mode,
mode158drivers/sound/uart6850.cuart6850_opened = mode;
mode104fs/exec.cint open_inode(struct inode * inode, int mode)
mode126fs/exec.cf->f_flags = mode;
mode127fs/exec.cf->f_mode = (mode+1) & O_ACCMODE;
mode307fs/ext/namei.cint ext_create(struct inode * dir,const char * name, int len, int mode,
mode323fs/ext/namei.cinode->i_mode = mode;
mode341fs/ext/namei.cint ext_mknod(struct inode * dir, const char * name, int len, int mode, int rdev)
mode361fs/ext/namei.cinode->i_mode = mode;
mode378fs/ext/namei.cif (S_ISBLK(mode) || S_ISCHR(mode))
mode400fs/ext/namei.cint ext_mkdir(struct inode * dir, const char * name, int len, int mode)
mode447fs/ext/namei.cinode->i_mode = S_IFDIR | (mode & 0777 & ~current->fs->umask);
mode48fs/ext/symlink.cint flag, int mode, struct inode ** res_inode)
mode79fs/ext/symlink.cerror = open_namei(bh->b_data,flag,mode,res_inode,dir);
mode28fs/ext2/acl.cunsigned short mode = inode->i_mode;
mode44fs/ext2/acl.cmode >>= 6;
mode46fs/ext2/acl.cmode >>= 3;
mode47fs/ext2/acl.cif (((mode & mask & S_IRWXO) == mask))
mode268fs/ext2/ialloc.cint mode)
mode306fs/ext2/ialloc.cstruct inode * ext2_new_inode (const struct inode * dir, int mode)
mode328fs/ext2/ialloc.cif (S_ISDIR(mode)) {
mode443fs/ext2/ialloc.cif (S_ISDIR(mode))
mode449fs/ext2/ialloc.cinode->i_mode = mode;
mode459fs/ext2/ialloc.cif (S_ISDIR(mode))
mode460fs/ext2/ialloc.cmode |= S_ISGID;
mode469fs/ext2/ialloc.cif (S_ISLNK(mode))
mode482fs/ext2/ialloc.cinc_inode_version (inode, gdp, mode);
mode367fs/ext2/namei.cint ext2_create (struct inode * dir,const char * name, int len, int mode,
mode378fs/ext2/namei.cinode = ext2_new_inode (dir, mode);
mode384fs/ext2/namei.cinode->i_mode = mode;
mode408fs/ext2/namei.cint ext2_mknod (struct inode * dir, const char * name, int len, int mode,
mode424fs/ext2/namei.cinode = ext2_new_inode (dir, mode);
mode430fs/ext2/namei.cinode->i_mode = mode;
mode447fs/ext2/namei.cif (S_ISBLK(mode) || S_ISCHR(mode))
mode472fs/ext2/namei.cint ext2_mkdir (struct inode * dir, const char * name, int len, int mode)
mode520fs/ext2/namei.cinode->i_mode = S_IFDIR | (mode & S_IRWXUGO & ~current->fs->umask);
mode53fs/ext2/symlink.cint flag, int mode, struct inode ** res_inode)
mode88fs/ext2/symlink.cerror = open_namei (link, flag, mode, res_inode, dir);
mode74fs/isofs/file.cint mode)
mode82fs/isofs/file.cif(mode == ISOFS_FILE_TEXT_M) outchar = 0x0a;
mode83fs/isofs/file.cif(mode == ISOFS_FILE_TEXT) outchar = ' ';
mode65fs/isofs/inode.cmode_t mode;
mode80fs/isofs/inode.cpopt->mode = S_IRUGO;
mode141fs/isofs/inode.cpopt->mode = ivalue;
mode365fs/isofs/inode.cs->u.isofs_sb.s_mode = opt.mode & 0777;
mode296fs/isofs/rock.cinode->i_mode  = isonum_733(rr->u.PX.mode);
mode30fs/isofs/rock.hchar mode[8];
mode46fs/isofs/symlink.cint flag, int mode, struct inode ** res_inode)
mode74fs/isofs/symlink.cerror = open_namei(pnt,flag,mode,res_inode,dir);
mode211fs/minix/namei.cint minix_create(struct inode * dir,const char * name, int len, int mode,
mode228fs/minix/namei.cinode->i_mode = mode;
mode246fs/minix/namei.cint minix_mknod(struct inode * dir, const char * name, int len, int mode, int rdev)
mode267fs/minix/namei.cinode->i_mode = mode;
mode284fs/minix/namei.cif (S_ISBLK(mode) || S_ISCHR(mode))
mode303fs/minix/namei.cint minix_mkdir(struct inode * dir, const char * name, int len, int mode)
mode350fs/minix/namei.cinode->i_mode = S_IFDIR | (mode & 0777 & ~current->fs->umask);
mode42fs/minix/symlink.cint flag, int mode, struct inode ** res_inode)
mode73fs/minix/symlink.cerror = open_namei(bh->b_data,flag,mode,res_inode,dir);
mode241fs/msdos/namei.cint msdos_create(struct inode *dir,const char *name,int len,int mode,
mode274fs/msdos/namei.cres = msdos_create_entry(dir,msdos_name,S_ISDIR(mode),is_hid,result);
mode301fs/msdos/namei.cint msdos_mkdir(struct inode *dir,const char *name,int len,int mode)
mode101fs/namei.cint mode = inode->i_mode;
mode108fs/namei.cmode >>= 6;
mode110fs/namei.cmode >>= 3;
mode111fs/namei.cif (((mode & mask & 0007) == mask) || fsuser())
mode192fs/namei.cint flag, int mode, struct inode ** res_inode)
mode205fs/namei.creturn inode->i_op->follow_link(dir,inode,flag,mode,res_inode);
mode332fs/namei.cint open_namei(const char * pathname, int flag, int mode,
mode339fs/namei.cmode &= S_IALLUGO & ~current->fs->umask;
mode340fs/namei.cmode |= S_IFREG;
mode374fs/namei.cerror = dir->i_op->create(dir,basename,namelen,mode,res_inode);
mode386fs/namei.cerror = follow_link(dir,inode,flag,mode,&inode);
mode440fs/namei.cint do_mknod(const char * filename, int mode, dev_t dev)
mode446fs/namei.cmode &= ~current->fs->umask;
mode468fs/namei.cerror = dir->i_op->mknod(dir,basename,namelen,mode,dev);
mode474fs/namei.casmlinkage int sys_mknod(const char * filename, int mode, dev_t dev)
mode479fs/namei.cif (S_ISDIR(mode) || (!S_ISFIFO(mode) && !fsuser()))
mode481fs/namei.cswitch (mode & S_IFMT) {
mode483fs/namei.cmode |= S_IFREG;
mode492fs/namei.cerror = do_mknod(tmp,mode,dev);
mode498fs/namei.cstatic int do_mkdir(const char * pathname, int mode)
mode525fs/namei.cerror = dir->i_op->mkdir(dir, basename, namelen, mode & 0777 & ~current->fs->umask);
mode531fs/namei.casmlinkage int sys_mkdir(const char * pathname, int mode)
mode538fs/namei.cerror = do_mkdir(tmp,mode);
mode26fs/nfs/dir.cstatic int nfs_create(struct inode *dir, const char *name, int len, int mode,
mode28fs/nfs/dir.cstatic int nfs_mkdir(struct inode *dir, const char *name, int len, int mode);
mode35fs/nfs/dir.cstatic int nfs_mknod(struct inode *dir, const char *name, int len, int mode,
mode283fs/nfs/dir.centry->expiration_date = jiffies + (S_ISDIR(fattr->mode)
mode368fs/nfs/dir.cstatic int nfs_create(struct inode *dir, const char *name, int len, int mode,
mode386fs/nfs/dir.csattr.mode = mode;
mode404fs/nfs/dir.cint mode, int rdev)
mode420fs/nfs/dir.csattr.mode = mode;
mode422fs/nfs/dir.cif (S_ISCHR(mode) || S_ISBLK(mode))
mode435fs/nfs/dir.cstatic int nfs_mkdir(struct inode *dir, const char *name, int len, int mode)
mode451fs/nfs/dir.csattr.mode = mode;
mode521fs/nfs/dir.csattr.mode = S_IFLNK | S_IRWXUGO; /* SunOS 4.1.2 crashes without this! */
mode614fs/nfs/dir.cinode->i_mode = fattr->mode;
mode252fs/nfs/inode.csattr.mode = attr->ia_mode;
mode254fs/nfs/inode.csattr.mode = (unsigned) -1;
mode169fs/nfs/proc.cfattr->mode = ntohl(*p++);
mode190fs/nfs/proc.c*p++ = htonl(sattr->mode);
mode47fs/nfs/symlink.cint flag, int mode, struct inode **res_inode)
mode88fs/nfs/symlink.cerror = open_namei(res2, flag, mode, res_inode, dir);
mode228fs/open.casmlinkage int sys_access(const char * filename, int mode)
mode234fs/open.cif (mode != (mode & S_IRWXO))  /* where's F_OK, X_OK, W_OK, R_OK? */
mode242fs/open.cres = permission(inode, mode);
mode312fs/open.casmlinkage int sys_fchmod(unsigned int fd, mode_t mode)
mode326fs/open.cif (mode == (mode_t) -1)
mode327fs/open.cmode = inode->i_mode;
mode328fs/open.cnewattrs.ia_mode = (mode & S_IALLUGO) | (inode->i_mode & ~S_IALLUGO);
mode335fs/open.casmlinkage int sys_chmod(const char * filename, mode_t mode)
mode352fs/open.cif (mode == (mode_t) -1)
mode353fs/open.cmode = inode->i_mode;
mode354fs/open.cnewattrs.ia_mode = (mode & S_IALLUGO) | (inode->i_mode & ~S_IALLUGO);
mode464fs/open.cint do_open(const char * filename,int flags,int mode)
mode479fs/open.cerror = open_namei(filename,flag,mode,&inode,NULL);
mode526fs/open.casmlinkage int sys_open(const char * filename,int flags,int mode)
mode534fs/open.cerror = do_open(tmp,flags,mode);
mode539fs/open.casmlinkage int sys_creat(const char * pathname, int mode)
mode541fs/open.creturn sys_open(pathname, O_CREAT | O_WRONLY | O_TRUNC, mode);
mode80fs/proc/inode.cif (de->mode) {
mode81fs/proc/inode.cinode->i_mode = de->mode;
mode64fs/proc/link.cint flag, int mode, struct inode ** res_inode)
mode140fs/proc/root.cif (S_ISDIR(dp->mode))
mode153fs/proc/root.cif (S_ISDIR(dp->mode))
mode166fs/proc/root.cint flag, int mode, struct inode ** res_inode)
mode50fs/smbfs/dir.csmb_create(struct inode *dir, const char *name, int len, int mode, 
mode54fs/smbfs/dir.csmb_mkdir(struct inode *dir, const char *name, int len, int mode);
mode760fs/smbfs/dir.csmb_create(struct inode *dir, const char *name, int len, int mode,
mode806fs/smbfs/dir.csmb_mkdir(struct inode *dir, const char *name, int len, int mode)
mode804fs/sysv/inode.cumode_t mode;
mode823fs/sysv/inode.cmode = raw_inode->i_mode;
mode825fs/sysv/inode.cmode = from_coh_imode(mode);
mode827fs/sysv/inode.cinode->i_mode = mode;
mode893fs/sysv/inode.cumode_t mode;
mode910fs/sysv/inode.cmode = inode->i_mode;
mode912fs/sysv/inode.cmode = to_coh_imode(mode);
mode913fs/sysv/inode.craw_inode->i_mode = mode;
mode204fs/sysv/namei.cint sysv_create(struct inode * dir,const char * name, int len, int mode,
mode221fs/sysv/namei.cinode->i_mode = mode;
mode239fs/sysv/namei.cint sysv_mknod(struct inode * dir, const char * name, int len, int mode, int rdev)
mode260fs/sysv/namei.cinode->i_mode = mode;
mode277fs/sysv/namei.cif (S_ISBLK(mode) || S_ISCHR(mode))
mode296fs/sysv/namei.cint sysv_mkdir(struct inode * dir, const char * name, int len, int mode)
mode341fs/sysv/namei.cinode->i_mode = S_IFDIR | (mode & 0777 & ~current->fs->umask);
mode48fs/sysv/symlink.cint flag, int mode, struct inode ** res_inode)
mode79fs/sysv/symlink.cerror = open_namei(bh->b_data,flag,mode,res_inode,dir);
mode343fs/umsdos/dir.cif (S_ISREG(entry->mode)) entry->mtime = inode->i_mtime;
mode344fs/umsdos/dir.cinode->i_mode  = entry->mode;
mode395fs/umsdos/dir.cif (!S_ISDIR(entry->mode)){
mode695fs/umsdos/dir.cumsdos_delentry (dir,&info,S_ISDIR(info.entry.mode));
mode421fs/umsdos/emd.cif ((isdir != 0) != (S_ISDIR(info->entry.mode) != 0)){
mode422fs/umsdos/emd.cif (S_ISDIR(info->entry.mode)){
mode485fs/umsdos/emd.cif (S_ISDIR(info->entry.mode)){
mode329fs/umsdos/inode.centry.mode = attr->ia_mode;
mode238fs/umsdos/ioctl.c,S_ISDIR(data.umsdos_dirent.mode));
mode307fs/umsdos/ioctl.cdir->i_sb->u.msdos_sb.fs_umask = data.umsdos_dirent.mode;
mode203fs/umsdos/namei.cint mode,        /* Permission bit + file type ??? */
mode216fs/umsdos/namei.cinfo.entry.mode = mode;
mode286fs/umsdos/namei.cnew_info->entry.mode = old_info->entry.mode;
mode361fs/umsdos/namei.c,S_ISDIR(new_info.entry.mode));
mode365fs/umsdos/namei.c,S_ISDIR(old_info.entry.mode));
mode425fs/umsdos/namei.cint mode,
mode442fs/umsdos/namei.cret = umsdos_create_any (dir,name,len,mode,0,flags,&inode);
mode668fs/umsdos/namei.cint mode,        /* Permission bit + file type ??? */
mode672fs/umsdos/namei.creturn umsdos_create_any (dir,name,len,mode,0,0,result);
mode681fs/umsdos/namei.cint mode)
mode689fs/umsdos/namei.cinfo.entry.mode = mode | S_IFDIR;
mode703fs/umsdos/namei.cret = msdos_mkdir (dir,info.fake.fname,info.fake.len,mode);
mode747fs/umsdos/namei.cint mode,
mode765fs/umsdos/namei.cint ret = umsdos_create_any (dir,name,len,mode,rdev,0,&inode);
mode991fs/umsdos/namei.c,info.entry.mode,ret));
mode55fs/umsdos/symlink.cint mode,
mode86fs/umsdos/symlink.cret = open_namei(path,flag,mode,res_inode,dir);
mode245fs/xiafs/namei.cint xiafs_create(struct inode * dir, const char * name, int len, int mode,
mode261fs/xiafs/namei.cinode->i_mode = mode;
mode279fs/xiafs/namei.cint xiafs_mknod(struct inode *dir, const char *name, int len, int mode, int rdev)
mode299fs/xiafs/namei.cinode->i_mode = mode;
mode316fs/xiafs/namei.cif (S_ISBLK(mode) || S_ISCHR(mode))
mode336fs/xiafs/namei.cint xiafs_mkdir(struct inode * dir, const char * name, int len, int mode)
mode382fs/xiafs/namei.cinode->i_mode = S_IFDIR | (mode & S_IRWXUGO & ~current->fs->umask);
mode76fs/xiafs/symlink.cint flag, int mode, struct inode ** res_inode)
mode111fs/xiafs/symlink.cerror = open_namei(bh->b_data,flag,mode,res_inode,dir);
mode180include/asm-alpha/dma.hstatic __inline__ void set_dma_mode(unsigned int dmanr, char mode)
mode183include/asm-alpha/dma.hdma_outb(mode | dmanr,  DMA1_MODE_REG);
mode185include/asm-alpha/dma.hdma_outb(mode | (dmanr&3),  DMA2_MODE_REG);
mode21include/asm-alpha/floppy.h#define fd_set_dma_mode(mode)   set_dma_mode(FLOPPY_DMA,mode)
mode201include/asm-alpha/unistd.hstatic inline int open(const char * name, int mode, int flags)
mode203include/asm-alpha/unistd.hreturn sys_open(name, mode, flags);
mode165include/asm-i386/dma.hstatic __inline__ void set_dma_mode(unsigned int dmanr, char mode)
mode168include/asm-i386/dma.hdma_outb(mode | dmanr,  DMA1_MODE_REG);
mode170include/asm-i386/dma.hdma_outb(mode | (dmanr&3),  DMA2_MODE_REG);
mode21include/asm-i386/floppy.h#define fd_set_dma_mode(mode)   set_dma_mode(FLOPPY_DMA,mode)
mode264include/asm-i386/unistd.hstatic inline _syscall3(int,open,const char *,file,int,flag,int,mode)
mode168include/asm-mips/dma.hstatic __inline__ void set_dma_mode(unsigned int dmanr, char mode)
mode171include/asm-mips/dma.hdma_outb(mode | dmanr,  DMA1_MODE_REG);
mode173include/asm-mips/dma.hdma_outb(mode | (dmanr&3),  DMA2_MODE_REG);
mode27include/asm-mips/floppy.h#define fd_set_dma_mode(mode)    feature->fd_set_dma_mode(mode)
mode163include/asm-sparc/unistd.hstatic inline _syscall3(int,open,const char *,file,int,flag,int,mode)
mode46include/linux/binfmts.hextern int open_inode(struct inode * inode, int mode);
mode123include/linux/cdk.hunsigned short  mode;
mode438include/linux/cdrom.hu_char  mode;    /* cache control byte */
mode67include/linux/ext_fs.hextern int ext_create(struct inode * dir,const char * name, int len, int mode,
mode69include/linux/ext_fs.hextern int ext_mkdir(struct inode * dir, const char * name, int len, int mode);
mode75include/linux/ext_fs.hextern int ext_mknod(struct inode * dir, const char * name, int len, int mode, int rdev);
mode481include/linux/fs.hextern int open_namei(const char * pathname, int flag, int mode,
mode483include/linux/fs.hextern int do_mknod(const char * filename, int mode, dev_t dev);
mode94include/linux/if_ppp.henum NPmode  mode;
mode15include/linux/ipc.hushort mode;  /* access modes see mode flags below */
mode86include/linux/minix_fs.hextern int minix_create(struct inode * dir,const char * name, int len, int mode,
mode88include/linux/minix_fs.hextern int minix_mkdir(struct inode * dir, const char * name, int len, int mode);
mode94include/linux/minix_fs.hextern int minix_mknod(struct inode * dir, const char * name, int len, int mode, int rdev);
mode152include/linux/msdos_fs.hextern int msdos_create(struct inode *dir,const char *name,int len,int mode,
mode154include/linux/msdos_fs.hextern int msdos_mkdir(struct inode *dir,const char *name,int len,int mode);
mode131include/linux/nfs.hu_int mode;
mode147include/linux/nfs.hu_int mode;
mode140include/linux/proc_fs.hmode_t mode;
mode134include/linux/skbuff.hextern void      dev_kfree_skb(struct sk_buff *skb, int mode);
mode121include/linux/socket.hextern int verify_iovec(struct msghdr *m, struct iovec *iov, char *address, int mode);
mode164include/linux/soundcard.hunsigned long mode;
mode970include/linux/soundcard.h#define SEQ_VOLUME_MODE(dev, mode)  {_SEQ_NEEDBUF(8);\
mode974include/linux/soundcard.h_seqbuf[_seqbufptr+3] = (mode);\
mode279include/linux/sysv_fs.hextern inline mode_t from_coh_imode(unsigned short mode)
mode281include/linux/sysv_fs.hif (mode == COH_KLUDGE_SYMLINK_MODE)
mode284include/linux/sysv_fs.hreturn mode;
mode286include/linux/sysv_fs.hextern inline unsigned short to_coh_imode(mode_t mode)
mode288include/linux/sysv_fs.hif (S_ISLNK(mode))
mode290include/linux/sysv_fs.helse if (mode == COH_KLUDGE_SYMLINK_MODE)
mode293include/linux/sysv_fs.hreturn mode;
mode366include/linux/sysv_fs.hextern int sysv_create(struct inode * dir,const char * name, int len, int mode,
mode368include/linux/sysv_fs.hextern int sysv_mkdir(struct inode * dir, const char * name, int len, int mode);
mode374include/linux/sysv_fs.hextern int sysv_mknod(struct inode * dir, const char * name, int len, int mode, int rdev);
mode39include/linux/umsdos_fs.humode_t    mode;    /* Standard UNIX permissions bits + type of */
mode9include/linux/vt.hchar mode;    /* vt mode */
mode124include/linux/xd.hstatic u_int xd_command (u_char *command,u_char mode,u_char *indata,u_char *outdata,u_char *sense,u_long timeout);
mode69include/linux/xia_fs.hextern int xiafs_create(struct inode * dir,const char * name, int len, int mode,
mode71include/linux/xia_fs.hextern int xiafs_mkdir(struct inode * dir, const char * name, int len, int mode);
mode79include/linux/xia_fs.hint mode, int rdev);
mode249ipc/msg.cipcp->mode = (msgflg & S_IRWXUGO);
mode428ipc/msg.cipcp->mode = (ipcp->mode & ~S_IRWXUGO) | 
mode429ipc/msg.c(S_IRWXUGO & tbuf.msg_perm.mode);
mode113ipc/sem.cipcp->mode = (semflg & S_IRWXUGO);
mode524ipc/sem.cipcp->mode = (ipcp->mode & ~S_IRWXUGO)
mode525ipc/sem.c| (tbuf.sem_perm.mode & S_IRWXUGO);
mode111ipc/shm.cshp->shm_perm.mode = (shmflg & S_IRWXUGO);
mode149ipc/shm.cif (shp->shm_perm.mode & SHM_DEST)
mode291ipc/shm.cif (!(ipcp->mode & SHM_LOCKED))
mode293ipc/shm.cipcp->mode &= ~SHM_LOCKED;
mode301ipc/shm.cif (ipcp->mode & SHM_LOCKED)
mode303ipc/shm.cipcp->mode |= SHM_LOCKED;
mode328ipc/shm.cipcp->mode = (ipcp->mode & ~S_IRWXUGO)
mode329ipc/shm.c| (tbuf.shm_perm.mode & S_IRWXUGO);
mode337ipc/shm.cshp->shm_perm.mode |= SHM_DEST;
mode529ipc/shm.cif (--shp->shm_nattch <= 0 && shp->shm_perm.mode & SHM_DEST)
mode579ipc/shm.cif (--shp->shm_nattch <= 0 && shp->shm_perm.mode & SHM_DEST)
mode691ipc/shm.cif (shp == IPC_UNUSED || shp == IPC_NOID || shp->shm_perm.mode & SHM_LOCKED ) {
mode39ipc/util.cgranted_mode = ipcp->mode;
mode12lib/open.cstatic inline _syscall3(int, open, const char *, filename, int, flag, int, mode)
mode2257net/ax25/af_ax25.cint mode;
mode2264net/ax25/af_ax25.cmode = ax25_ip_mode_get((ax25_address *)(bp + 1), dev);
mode2265net/ax25/af_ax25.cif (mode == 'V' || mode == 'v' || (mode == ' ' && ax25_dev_get_value(dev, AX25_VALUES_IPDEFMODE) == 'V')) 
mode28net/core/iovec.cint verify_iovec(struct msghdr *m, struct iovec *iov, char *address, int mode)
mode36net/core/iovec.cif(mode==VERIFY_READ)
mode39net/core/iovec.cerr=verify_area(mode, m->msg_name, m->msg_namelen);
mode45net/core/iovec.cerr=verify_area(mode, m->msg_accrights, m->msg_accrightslen);
mode56net/core/iovec.cerr=verify_area(mode, iov[ct].iov_base, iov[ct].iov_len);
mode669net/core/skbuff.cvoid dev_kfree_skb(struct sk_buff *skb, int mode)
mode681net/core/skbuff.ckfree_skb(skb,mode);
mode900net/unix/af_unix.cstatic int unix_shutdown(struct socket *sock, int mode)
mode904net/unix/af_unix.cif(mode&SEND_SHUTDOWN)
mode915net/unix/af_unix.cif(mode&RCV_SHUTDOWN)