tag | line | file | source code |
mode | 750 | drivers/block/floppy.c | static void reset_fdc_info(int mode) |
mode | 760 | drivers/block/floppy.c | ( mode || UDRS->track != NEED_1_RECAL)) |
mode | 1436 | drivers/block/mcdx.c | mcdx_setdrivemode(struct s_drive_stuff *stuffp, enum drivemodes mode, int tries) |
mode | 1441 | drivers/block/mcdx.c | TRACE((HW, "setdrivemode() %d\n", mode)); |
mode | 1446 | drivers/block/mcdx.c | switch (mode) { |
mode | 1459 | drivers/block/mcdx.c | mcdx_setdatamode(struct s_drive_stuff *stuffp, enum datamodes mode, int tries) |
mode | 1462 | drivers/block/mcdx.c | TRACE((HW, "setdatamode() %d\n", mode)); |
mode | 1463 | drivers/block/mcdx.c | switch (mode) { |
mode | 1509 | drivers/block/mcdx.c | mcdx_reset(struct s_drive_stuff *stuffp, enum resetmodes mode, int tries) |
mode | 1511 | drivers/block/mcdx.c | if (mode == HARD) { |
mode | 593 | drivers/block/sbpcd.c | u_char mode; /* read_mode: READ_M1, READ_M2, READ_SC, READ_AU */ |
mode | 3600 | drivers/block/sbpcd.c | D_S[d].mode=READ_M1; |
mode | 4080 | drivers/block/sbpcd.c | D_S[d].mode=READ_M1; |
mode | 4087 | drivers/block/sbpcd.c | D_S[d].mode=READ_M2; |
mode | 4152 | drivers/block/sbpcd.c | D_S[d].mode=READ_AU; |
mode | 4299 | drivers/block/sbpcd.c | D_S[d].mode=READ_M1; |
mode | 587 | drivers/block/sonycd535.c | set_drive_mode(int mode, Byte status[2]) |
mode | 593 | drivers/block/sonycd535.c | cmd_buff[1] = mode; |
mode | 328 | drivers/block/xd.c | u_char head,sector,control,mode,temp; |
mode | 347 | drivers/block/xd.c | mode = xd_setup_dma(operation == READ ? DMA_MODE_READ : DMA_MODE_WRITE,(u_char *)buffer,temp * 0x200); |
mode | 350 | drivers/block/xd.c | switch (xd_command(cmdblk,mode,(u_char *) buffer,(u_char *) buffer,sense,XD_TIMEOUT)) { |
mode | 398 | drivers/block/xd.c | static u_char xd_setup_dma (u_char mode,u_char *buffer,u_int count) |
mode | 409 | drivers/block/xd.c | set_dma_mode(xd_dma,mode); |
mode | 446 | drivers/block/xd.c | static u_int xd_command (u_char *command,u_char mode,u_char *indata,u_char *outdata,u_char *sense,u_long timeout) |
mode | 451 | drivers/block/xd.c | printk("xd_command: command = 0x%X, mode = 0x%X, indata = 0x%X, outdata = 0x%X, sense = 0x%X\n",command,mode,indata,outdata,sense); |
mode | 455 | drivers/block/xd.c | outb(mode,XD_CONTROL); |
mode | 465 | drivers/block/xd.c | if (mode == DMA_MODE) { |
mode | 473 | drivers/block/xd.c | if (mode == DMA_MODE) { |
mode | 593 | drivers/char/keyboard.c | static void applkey(int key, char mode) |
mode | 597 | drivers/char/keyboard.c | buf[1] = (mode ? 'O' : '['); |
mode | 1575 | drivers/char/tpqic02.c | static int start_dma(short mode, unsigned long bytes_todo) |
mode | 1587 | drivers/char/tpqic02.c | dma_mode = (mode == WRITE)? DMA_MODE_WRITE : DMA_MODE_READ; |
mode | 1609 | drivers/char/tpqic02.c | stat = tp_sense(((mode == WRITE)? 0 : TP_WRP) | TP_BOM | TP_FIL); |
mode | 1629 | drivers/char/tpqic02.c | stat = send_qic02_cmd((mode == WRITE)? QCMD_WRT_DATA : QCMD_RD_DATA, TIM_M, 0); |
mode | 1632 | drivers/char/tpqic02.c | (mode == WRITE)? "write" : "read"); |
mode | 1642 | drivers/char/tpqic02.c | switch (mode) { |
mode | 1650 | drivers/char/tpqic02.c | printk(TPQIC02_NAME ": requested unknown mode %d\n", mode); |
mode | 496 | drivers/char/tty_io.c | vt_cons[new_console]->vt_mode.mode = VT_AUTO; |
mode | 532 | drivers/char/tty_io.c | if (vt_cons[new_console]->vt_mode.mode == VT_PROCESS) |
mode | 604 | drivers/char/tty_io.c | if (vt_cons[fg_console]->vt_mode.mode == VT_PROCESS) |
mode | 127 | drivers/char/vesa_blank.c | int mode; |
mode | 129 | drivers/char/vesa_blank.c | if((mode = vesa_blanking_mode) == 0) |
mode | 139 | drivers/char/vesa_blank.c | if(mode == 2) { |
mode | 182 | drivers/char/vesa_blank.c | if (mode == 2) { |
mode | 199 | drivers/char/vesa_blank.c | vesa_blanked = mode; |
mode | 244 | drivers/char/vesa_blank.c | unsigned int mode = get_user(argp); |
mode | 245 | drivers/char/vesa_blank.c | vesa_blanking_mode = ((mode < 3) ? mode : 0); |
mode | 680 | drivers/char/vt.c | char mode; |
mode | 687 | drivers/char/vt.c | mode = get_user(&vtmode->mode); |
mode | 688 | drivers/char/vt.c | if (mode != VT_AUTO && mode != VT_PROCESS) |
mode | 690 | drivers/char/vt.c | vt_cons[console]->vt_mode.mode = mode; |
mode | 708 | drivers/char/vt.c | put_user(vt_cons[console]->vt_mode.mode, &vtmode->mode); |
mode | 797 | drivers/char/vt.c | if (vt_cons[console]->vt_mode.mode != VT_PROCESS) |
mode | 135 | drivers/net/atp.c | static void write_packet(short ioaddr, int length, unsigned char *packet, int mode); |
mode | 451 | drivers/net/de4x5.c | static char *build_setup_frame(struct device *dev, int mode); |
mode | 2413 | drivers/net/de4x5.c | static char *build_setup_frame(struct device *dev, int mode) |
mode | 2420 | drivers/net/de4x5.c | if (mode == ALL) { |
mode | 313 | drivers/net/depca.c | u16 mode; /* Mode register */ |
mode | 717 | drivers/net/depca.c | printk("\tmode: 0x%4.4x\n",readw(&p->mode)); |
mode | 802 | drivers/net/depca.c | lp->init_block.mode = 0x0000; /* Enable the Tx and Rx */ |
mode | 1180 | drivers/net/depca.c | lp->init_block.mode &= ~PROM; /* Unset promiscuous mode */ |
mode | 1182 | drivers/net/depca.c | lp->init_block.mode |= PROM; /* Set promiscuous mode */ |
mode | 1710 | drivers/net/depca.c | lp->init_block.mode |= PROM; /* Set promiscuous mode */ |
mode | 1728 | drivers/net/depca.c | lp->init_block.mode &= ~PROM; /* Clear promiscuous mode */ |
mode | 796 | drivers/net/eepro.c | unsigned short mode; |
mode | 800 | drivers/net/eepro.c | mode = inb(ioaddr + REG2); |
mode | 801 | drivers/net/eepro.c | outb(mode | PRMSC_Mode, ioaddr + REG2); |
mode | 802 | drivers/net/eepro.c | mode = inb(ioaddr + REG3); |
mode | 803 | drivers/net/eepro.c | outb(mode, ioaddr + REG3); /* writing reg. 3 to complete the update */ |
mode | 809 | drivers/net/eepro.c | mode = inb(ioaddr + REG2); |
mode | 810 | drivers/net/eepro.c | outb(mode & 0xd6, ioaddr + REG2); /* Turn off Multi-IA and PRMSC_Mode bits */ |
mode | 811 | drivers/net/eepro.c | mode = inb(ioaddr + REG3); |
mode | 812 | drivers/net/eepro.c | outb(mode, ioaddr + REG3); /* writing reg. 3 to complete the update */ |
mode | 825 | drivers/net/eepro.c | mode = inb(ioaddr + REG2); |
mode | 826 | drivers/net/eepro.c | outb(mode | Multi_IA, ioaddr + REG2); |
mode | 827 | drivers/net/eepro.c | mode = inb(ioaddr + REG3); |
mode | 828 | drivers/net/eepro.c | outb(mode, ioaddr + REG3); /* writing reg. 3 to complete the update */ |
mode | 182 | drivers/net/lance.c | unsigned short mode; /* Pre-set mode (reg. 15) */ |
mode | 423 | drivers/net/lance.c | lp->init_block.mode = 0x0003; /* Disable Rx and Tx. */ |
mode | 687 | drivers/net/lance.c | lp->init_block.mode = 0x0000; |
mode | 359 | drivers/net/ni65.c | p->ib.mode = 0; |
mode | 91 | drivers/net/ni65.h | unsigned short mode; |
mode | 508 | drivers/net/sk_g16.c | static int SK_lance_init(struct device *dev, unsigned short mode); |
mode | 1027 | drivers/net/sk_g16.c | static int SK_lance_init(struct device *dev, unsigned short mode) |
mode | 1081 | drivers/net/sk_g16.c | (p->ram)->ib.mode = mode; /* Set operation mode */ |
mode | 122 | drivers/net/sk_g16.h | unsigned short mode; /* Mode Register */ |
mode | 285 | drivers/net/slip.c | if (sl->mode & (SL_MODE_ADAPTIVE | SL_MODE_CSLIP)) { |
mode | 289 | drivers/net/slip.c | if (!(sl->mode & SL_MODE_CSLIP)) { |
mode | 303 | drivers/net/slip.c | if (!(sl->mode & SL_MODE_CSLIP)) { |
mode | 305 | drivers/net/slip.c | sl->mode |= SL_MODE_CSLIP; |
mode | 306 | drivers/net/slip.c | sl->mode &= ~SL_MODE_ADAPTIVE; |
mode | 326 | drivers/net/slip.c | if(sl->mode&(SL_MODE_AX25|SL_MODE_AX25VC)) |
mode | 360 | drivers/net/slip.c | if (sl->mode & SL_MODE_CSLIP) { |
mode | 365 | drivers/net/slip.c | if(sl->mode & SL_MODE_SLIP6) |
mode | 478 | drivers/net/slip.c | if (((sl->mode & SL_MODE_AX25) || (sl->mode & SL_MODE_AX25VC)) && type != htons(ETH_P_AX25)) { |
mode | 496 | drivers/net/slip.c | if ((sl->mode & SL_MODE_AX25) || (sl->mode & SL_MODE_AX25VC)) { |
mode | 649 | drivers/net/slip.c | if (sl->mode & SL_MODE_SLIP6) |
mode | 690 | drivers/net/slip.c | sl->mode = SL_MODE_DEFAULT; |
mode | 691 | drivers/net/slip.c | sl->dev->type = ARPHRD_SLIP + sl->mode; |
mode | 953 | drivers/net/slip.c | return sl->mode & SL_MODE_AX25VC; |
mode | 986 | drivers/net/slip.c | put_user(sl->mode, (int *)arg); |
mode | 1024 | drivers/net/slip.c | sl->mode = tmp; |
mode | 1025 | drivers/net/slip.c | sl->dev->type = ARPHRD_SLIP+sl->mode; |
mode | 93 | drivers/net/slip.h | unsigned char mode; /* SLIP mode */ |
mode | 303 | drivers/scsi/NCR5380.h | unsigned char *ptr, unsigned int count, unsigned char mode) { |
mode | 325 | drivers/scsi/NCR5380.h | set_dma_mode(instance->dma_channel, mode); |
mode | 71 | drivers/sound/ad1848.c | int mode; |
mode | 104 | drivers/sound/ad1848.c | static int ad1848_open (int dev, int mode); |
mode | 402 | drivers/sound/ad1848.c | if (devc->mode == 2) |
mode | 502 | drivers/sound/ad1848.c | ad1848_open (int dev, int mode) |
mode | 508 | drivers/sound/ad1848.c | DEB (printk ("ad1848_open(int mode = %X)\n", mode)); |
mode | 536 | drivers/sound/ad1848.c | if (mode & OPEN_WRITE) |
mode | 553 | drivers/sound/ad1848.c | if (devc->dma_capture != devc->dma_playback && mode == OPEN_READWRITE) |
mode | 743 | drivers/sound/ad1848.c | if (!(arg & ad_format_mask[devc->mode])) |
mode | 989 | drivers/sound/ad1848.c | if (devc->mode == 2) |
mode | 1030 | drivers/sound/ad1848.c | if (devc->mode == 2) |
mode | 1067 | drivers/sound/ad1848.c | devc->mode = 1; /* MODE1 = original AD1848 */ |
mode | 1192 | drivers/sound/ad1848.c | devc->mode = 2; |
mode | 1233 | drivers/sound/ad1848.c | if (devc->mode == 2) |
mode | 1253 | drivers/sound/ad1848.c | if (devc->mode == 2) |
mode | 1283 | drivers/sound/ad1848.c | audio_devs[my_dev]->format_mask = ad_format_mask[devc->mode]; |
mode | 92 | drivers/sound/audio.c | int mode = file->mode & O_ACCMODE; |
mode | 101 | drivers/sound/audio.c | if ((ret = DMAbuf_open (dev, mode)) < 0) |
mode | 140 | drivers/sound/audio.c | int mode; |
mode | 143 | drivers/sound/audio.c | mode = file->mode & O_ACCMODE; |
mode | 154 | drivers/sound/audio.c | DMAbuf_release (dev, mode); |
mode | 132 | drivers/sound/dev_table.h | int (*open) (int dev, int mode); |
mode | 165 | drivers/sound/dev_table.h | int (*open) (int dev, int mode); |
mode | 178 | drivers/sound/dev_table.h | void (*volume_method) (int dev, int mode); |
mode | 205 | drivers/sound/dev_table.h | int (*open) (int dev, int mode, |
mode | 225 | drivers/sound/dev_table.h | int (*open)(int dev, int mode); |
mode | 166 | drivers/sound/dmabuf.c | DMAbuf_open (int dev, int mode) |
mode | 196 | drivers/sound/dmabuf.c | if ((retval = audio_devs[dev]->open (dev, mode)) < 0) |
mode | 199 | drivers/sound/dmabuf.c | dmap->open_mode = mode; |
mode | 272 | drivers/sound/dmabuf.c | DMAbuf_release (int dev, int mode) |
mode | 938 | drivers/sound/dmabuf.c | dev_sleep_flag[dev].mode = WK_SLEEP; |
mode | 956 | drivers/sound/dmabuf.c | dev_sleep_flag[dev].mode = WK_SLEEP; |
mode | 979 | drivers/sound/dmabuf.c | DMAbuf_open (int dev, int mode) |
mode | 985 | drivers/sound/dmabuf.c | DMAbuf_release (int dev, int mode) |
mode | 53 | drivers/sound/gus_midi.c | gus_midi_open (int dev, int mode, |
mode | 71 | drivers/sound/gus_midi.c | if (mode == OPEN_READ || mode == OPEN_READWRITE) |
mode | 77 | drivers/sound/gus_midi.c | if (mode == OPEN_WRITE || mode == OPEN_READWRITE) |
mode | 43 | drivers/sound/gus_wave.c | unsigned long mode; |
mode | 370 | drivers/sound/gus_wave.c | gus_voice_on (unsigned int mode) |
mode | 372 | drivers/sound/gus_wave.c | gus_write8 (0x00, (unsigned char) (mode & 0xfc)); |
mode | 374 | drivers/sound/gus_wave.c | gus_write8 (0x00, (unsigned char) (mode & 0xfc)); |
mode | 386 | drivers/sound/gus_wave.c | unsigned char mode = (unsigned char) (m & 0xff); |
mode | 389 | drivers/sound/gus_wave.c | (mode & 0xfc)); /* Don't touch last two bits */ |
mode | 391 | drivers/sound/gus_wave.c | gus_write8 (0x00, (gus_read8 (0x00) & 0x03) | (mode & 0xfc)); |
mode | 435 | drivers/sound/gus_wave.c | unsigned char mode = (unsigned char) (m & 0xff); |
mode | 437 | drivers/sound/gus_wave.c | gus_write8 (0x0d, mode & 0xfc); |
mode | 439 | drivers/sound/gus_wave.c | gus_write8 (0x0d, mode & 0xfc); |
mode | 445 | drivers/sound/gus_wave.c | unsigned char mode = (unsigned char) (m & 0xff); |
mode | 448 | drivers/sound/gus_wave.c | (mode & 0xfc)); /* Leave the last 2 bits alone */ |
mode | 450 | drivers/sound/gus_wave.c | gus_write8 (0x0d, (gus_read8 (0x0d) & 0x03) | (mode & 0xfc)); |
mode | 470 | drivers/sound/gus_wave.c | samples[sample_no].mode & WAVE_16_BITS); |
mode | 495 | drivers/sound/gus_wave.c | voices[voice].mode = 0; |
mode | 520 | drivers/sound/gus_wave.c | if (voices[voice].mode & WAVE_SUSTAIN_ON && voices[voice].env_phase == 2) |
mode | 600 | drivers/sound/gus_wave.c | voices[voice].mode &= ~WAVE_SUSTAIN_ON; |
mode | 623 | drivers/sound/gus_wave.c | is16bits = (samples[instr_no].mode & WAVE_16_BITS) ? 1 : 0; /* 8 or 16 bits */ |
mode | 625 | drivers/sound/gus_wave.c | if (voices[voice].mode & WAVE_ENVELOPES) |
mode | 968 | drivers/sound/gus_wave.c | if (voices[voice].mode & WAVE_ENVELOPES && voices[voice].env_phase != 2) |
mode | 1008 | drivers/sound/gus_wave.c | guswave_volume_method (int dev, int mode) |
mode | 1010 | drivers/sound/gus_wave.c | if (mode == VOL_METHOD_LINEAR || mode == VOL_METHOD_ADAGIO) |
mode | 1011 | drivers/sound/gus_wave.c | volume_method = mode; |
mode | 1116 | drivers/sound/gus_wave.c | if (!(voices[voice].mode & WAVE_ENVELOPES)) |
mode | 1209 | drivers/sound/gus_wave.c | unsigned char mode = 0; |
mode | 1219 | drivers/sound/gus_wave.c | if (voices[voice].mode & WAVE_ENVELOPES) |
mode | 1277 | drivers/sound/gus_wave.c | is16bits = (samples[sample].mode & WAVE_16_BITS) ? 1 : 0; |
mode | 1278 | drivers/sound/gus_wave.c | voices[voice].mode = samples[sample].mode; |
mode | 1281 | drivers/sound/gus_wave.c | if (voices[voice].mode & WAVE_ENVELOPES) |
mode | 1317 | drivers/sound/gus_wave.c | if (samples[sample].mode & WAVE_16_BITS) |
mode | 1319 | drivers/sound/gus_wave.c | mode |= 0x04; /* 16 bits */ |
mode | 1336 | drivers/sound/gus_wave.c | if (voices[voice].mode & WAVE_ENVELOPES) |
mode | 1347 | drivers/sound/gus_wave.c | if (samples[sample].mode & WAVE_LOOP_BACK) |
mode | 1354 | drivers/sound/gus_wave.c | if (samples[sample].mode & WAVE_LOOPING) |
mode | 1356 | drivers/sound/gus_wave.c | mode |= 0x08; |
mode | 1358 | drivers/sound/gus_wave.c | if (samples[sample].mode & WAVE_BIDIR_LOOP) |
mode | 1359 | drivers/sound/gus_wave.c | mode |= 0x10; |
mode | 1361 | drivers/sound/gus_wave.c | if (samples[sample].mode & WAVE_LOOP_BACK) |
mode | 1366 | drivers/sound/gus_wave.c | mode |= 0x40; |
mode | 1376 | drivers/sound/gus_wave.c | mode |= 0x20; /* Loop IRQ at the end */ |
mode | 1386 | drivers/sound/gus_wave.c | gus_voice_on (mode); |
mode | 1402 | drivers/sound/gus_wave.c | int mode; |
mode | 1418 | drivers/sound/gus_wave.c | mode = gus_read8 (0x00); |
mode | 1419 | drivers/sound/gus_wave.c | if (mode & 0x20) |
mode | 1420 | drivers/sound/gus_wave.c | gus_write8 (0x00, mode & 0xdf); /* No interrupt! */ |
mode | 1437 | drivers/sound/gus_wave.c | if ((mode & 0x01) || (int) ((gus_read16 (0x09) >> 4) < 2065)) |
mode | 1471 | drivers/sound/gus_wave.c | guswave_open (int dev, int mode) |
mode | 1566 | drivers/sound/gus_wave.c | if (patch.mode & WAVE_LOOPING) |
mode | 1585 | drivers/sound/gus_wave.c | if (patch.mode & WAVE_16_BITS) |
mode | 1618 | drivers/sound/gus_wave.c | if (patch.mode & WAVE_ENVELOPES) |
mode | 1619 | drivers/sound/gus_wave.c | patch.mode &= ~WAVE_TREMOLO; |
mode | 1667 | drivers/sound/gus_wave.c | if (patch.mode & WAVE_UNSIGNED) |
mode | 1669 | drivers/sound/gus_wave.c | if (!(patch.mode & WAVE_16_BITS) || (i & 0x01)) |
mode | 1716 | drivers/sound/gus_wave.c | if (patch.mode & WAVE_UNSIGNED) |
mode | 1718 | drivers/sound/gus_wave.c | if (patch.mode & WAVE_16_BITS) |
mode | 1840 | drivers/sound/gus_wave.c | if (voices[voice].mode & WAVE_ENVELOPES) |
mode | 1849 | drivers/sound/gus_wave.c | if (voices[voice].mode & WAVE_ENVELOPES) |
mode | 1858 | drivers/sound/gus_wave.c | if (voices[voice].mode & WAVE_ENVELOPES) |
mode | 1868 | drivers/sound/gus_wave.c | if (voices[voice].mode & WAVE_ENVELOPES) |
mode | 1878 | drivers/sound/gus_wave.c | if (voices[voice].mode & WAVE_ENVELOPES) |
mode | 2022 | drivers/sound/gus_wave.c | gus_sampling_open (int dev, int mode) |
mode | 2024 | drivers/sound/gus_wave.c | if (mode & OPEN_READ && dual_dma_mode) |
mode | 2045 | drivers/sound/gus_wave.c | if (mode & OPEN_READ) |
mode | 2050 | drivers/sound/gus_wave.c | only_read_access = !(mode & OPEN_WRITE); |
mode | 2097 | drivers/sound/gus_wave.c | unsigned char mode[2], ramp_mode[2]; |
mode | 2106 | drivers/sound/gus_wave.c | mode[chn] = 0x00; |
mode | 2111 | drivers/sound/gus_wave.c | mode[chn] |= 0x20; /* Loop IRQ */ |
mode | 2118 | drivers/sound/gus_wave.c | mode[chn] |= 0x04; /* 16 bit data */ |
mode | 2128 | drivers/sound/gus_wave.c | mode[chn] |= 0x08; /* Enable loop */ |
mode | 2174 | drivers/sound/gus_wave.c | mode[chn] |= 0x08; /* Enable looping */ |
mode | 2183 | drivers/sound/gus_wave.c | mode[chn] &= ~0x08; /* Disable looping */ |
mode | 2184 | drivers/sound/gus_wave.c | mode[chn] |= 0x20; /* Enable IRQ at the end */ |
mode | 2192 | drivers/sound/gus_wave.c | mode[chn] &= ~0x08; /* Disable looping */ |
mode | 2204 | drivers/sound/gus_wave.c | gus_voice_on (mode[chn]); |
mode | 2314 | drivers/sound/gus_wave.c | unsigned char mode; |
mode | 2320 | drivers/sound/gus_wave.c | mode = 0xa0; /* DMA IRQ enabled, invert MSB */ |
mode | 2323 | drivers/sound/gus_wave.c | mode |= 0x04; /* 16 bit DMA channel */ |
mode | 2325 | drivers/sound/gus_wave.c | mode |= 0x02; /* Stereo */ |
mode | 2326 | drivers/sound/gus_wave.c | mode |= 0x01; /* DMA enable */ |
mode | 2328 | drivers/sound/gus_wave.c | gus_write8 (0x49, mode); |
mode | 3107 | drivers/sound/gus_wave.c | int mode, parm; |
mode | 3122 | drivers/sound/gus_wave.c | mode = voices[voice].loop_irq_mode; |
mode | 3126 | drivers/sound/gus_wave.c | switch (mode) |
mode | 3202 | drivers/sound/gus_wave.c | int mode, parm; |
mode | 3215 | drivers/sound/gus_wave.c | mode = voices[voice].volume_irq_mode; |
mode | 3219 | drivers/sound/gus_wave.c | switch (mode) |
mode | 411 | drivers/sound/midi_synth.c | midi_synth_open (int dev, int mode) |
mode | 424 | drivers/sound/midi_synth.c | if ((err = midi_devs[orig_dev]->open (orig_dev, mode, |
mode | 7 | drivers/sound/midi_synth.h | int midi_synth_open (int dev, int mode); |
mode | 168 | drivers/sound/midibuf.c | int mode, err; |
mode | 172 | drivers/sound/midibuf.c | mode = file->mode & O_ACCMODE; |
mode | 191 | drivers/sound/midibuf.c | if ((err = midi_devs[dev]->open (dev, mode, |
mode | 239 | drivers/sound/midibuf.c | int mode; |
mode | 243 | drivers/sound/midibuf.c | mode = file->mode & O_ACCMODE; |
mode | 251 | drivers/sound/midibuf.c | if (mode != OPEN_READ) |
mode | 421 | drivers/sound/midibuf.c | input_sleep_flag[dev].mode = WK_SLEEP; |
mode | 431 | drivers/sound/midibuf.c | midi_sleep_flag[dev].mode = WK_SLEEP; |
mode | 59 | drivers/sound/mpu401.c | int mode; |
mode | 416 | drivers/sound/mpu401.c | if (devc->mode == MODE_SYNTH) |
mode | 453 | drivers/sound/mpu401.c | if (devc->base != 0 && (devc->opened & OPEN_READ || devc->mode == MODE_SYNTH)) |
mode | 464 | drivers/sound/mpu401.c | mpu401_open (int dev, int mode, |
mode | 519 | drivers/sound/mpu401.c | devc->mode = MODE_MIDI; |
mode | 525 | drivers/sound/mpu401.c | devc->opened = mode; |
mode | 541 | drivers/sound/mpu401.c | devc->mode = 0; |
mode | 845 | drivers/sound/mpu401.c | mpu_synth_open (int dev, int mode) |
mode | 882 | drivers/sound/mpu401.c | devc->mode = MODE_SYNTH; |
mode | 904 | drivers/sound/mpu401.c | devc->opened = mode; |
mode | 907 | drivers/sound/mpu401.c | if (mode & OPEN_READ) |
mode | 935 | drivers/sound/mpu401.c | devc->mode = 0; |
mode | 1385 | drivers/sound/mpu401.c | mpu_timer_open (int dev, int mode) |
mode | 63 | drivers/sound/opl3.c | int mode; |
mode | 330 | drivers/sound/opl3.c | voices[voice].mode = 0; |
mode | 463 | drivers/sound/opl3.c | if (voices[voice].mode == 0) |
mode | 466 | drivers/sound/opl3.c | if (voices[voice].mode == 2) |
mode | 718 | drivers/sound/opl3.c | voices[voice].mode = voice_mode; |
mode | 871 | drivers/sound/opl3.c | opl3_open (int dev, int mode) |
mode | 945 | drivers/sound/opl3.c | opl3_volume_method (int dev, int mode) |
mode | 981 | drivers/sound/opl3.c | if (voices[voice].mode == 4) |
mode | 75 | drivers/sound/os.h | int mode; int aborting; |
mode | 82 | drivers/sound/os.h | #define RESET_WAIT_QUEUE(q, f) {f.aborting = 0;f.mode = WK_NONE;} |
mode | 85 | drivers/sound/os.h | #define TIMED_OUT(q, f) (f.mode & WK_TIMEOUT) |
mode | 90 | drivers/sound/os.h | f.mode = WK_SLEEP;interruptible_sleep_on(&q); \ |
mode | 91 | drivers/sound/os.h | if (!(f.mode & WK_WAKEUP)) \ |
mode | 96 | drivers/sound/os.h | if (jiffies >= tl) f.mode |= WK_TIMEOUT; \ |
mode | 98 | drivers/sound/os.h | f.mode &= ~WK_SLEEP; \ |
mode | 100 | drivers/sound/os.h | #define SOMEONE_WAITING(q, f) (f.mode & WK_SLEEP) |
mode | 101 | drivers/sound/os.h | #define WAKE_UP(q, f) {f.mode = WK_WAKEUP;wake_up(&q);} |
mode | 49 | drivers/sound/pas2_midi.c | pas_midi_open (int dev, int mode, |
mode | 84 | drivers/sound/pas2_midi.c | if (mode == OPEN_READ || mode == OPEN_READWRITE) |
mode | 92 | drivers/sound/pas2_midi.c | if (mode == OPEN_WRITE || mode == OPEN_READWRITE) |
mode | 231 | drivers/sound/pas2_pcm.c | pas_pcm_open (int dev, int mode) |
mode | 235 | drivers/sound/pas2_pcm.c | TRACE (printk ("pas2_pcm.c: static int pas_pcm_open(int mode = %X)\n", mode)); |
mode | 69 | drivers/sound/sb16_dsp.c | static int sb16_dsp_open (int dev, int mode); |
mode | 114 | drivers/sound/sb16_dsp.c | dsp_set_speed (int mode) |
mode | 116 | drivers/sound/sb16_dsp.c | DEB (printk ("dsp_set_speed(%d)\n", mode)); |
mode | 117 | drivers/sound/sb16_dsp.c | if (mode) |
mode | 119 | drivers/sound/sb16_dsp.c | if (mode < 5000) |
mode | 120 | drivers/sound/sb16_dsp.c | mode = 5000; |
mode | 121 | drivers/sound/sb16_dsp.c | if (mode > 44100) |
mode | 122 | drivers/sound/sb16_dsp.c | mode = 44100; |
mode | 123 | drivers/sound/sb16_dsp.c | dsp_current_speed = mode; |
mode | 125 | drivers/sound/sb16_dsp.c | return mode; |
mode | 129 | drivers/sound/sb16_dsp.c | dsp_set_stereo (int mode) |
mode | 131 | drivers/sound/sb16_dsp.c | DEB (printk ("dsp_set_stereo(%d)\n", mode)); |
mode | 133 | drivers/sound/sb16_dsp.c | dsp_stereo = mode; |
mode | 135 | drivers/sound/sb16_dsp.c | return mode; |
mode | 211 | drivers/sound/sb16_dsp.c | sb16_dsp_open (int dev, int mode) |
mode | 84 | drivers/sound/sb16_midi.c | sb16midi_open (int dev, int mode, |
mode | 97 | drivers/sound/sb16_midi.c | sb16midi_opened = mode; |
mode | 111 | drivers/sound/sb_dsp.c | static int dsp_set_stereo (int mode); |
mode | 387 | drivers/sound/sb_dsp.c | dsp_set_stereo (int mode) |
mode | 399 | drivers/sound/sb_dsp.c | if (mode && sb_midi_busy) |
mode | 405 | drivers/sound/sb_dsp.c | dsp_stereo = !!mode; |
mode | 631 | drivers/sound/sb_dsp.c | sb_dsp_open (int dev, int mode) |
mode | 641 | drivers/sound/sb_dsp.c | if (sb_no_recording && mode & OPEN_READ) |
mode | 696 | drivers/sound/sb_dsp.c | open_mode = mode; |
mode | 67 | drivers/sound/sb_midi.c | sb_midi_open (int dev, int mode, |
mode | 83 | drivers/sound/sb_midi.c | if (mode != OPEN_WRITE && !sb_duplex_midi) |
mode | 91 | drivers/sound/sb_midi.c | if (mode != OPEN_WRITE) |
mode | 90 | drivers/sound/sb_mixer.c | sb_mixer_set_stereo (int mode) |
mode | 96 | drivers/sound/sb_mixer.c | | (mode ? STEREO_DAC : MONO_DAC))); |
mode | 243 | drivers/sound/sequencer.c | int mode = file->mode & O_ACCMODE; |
mode | 249 | drivers/sound/sequencer.c | if (mode == OPEN_READ) |
mode | 317 | drivers/sound/sequencer.c | int mode; |
mode | 326 | drivers/sound/sequencer.c | mode = file->mode & O_ACCMODE; |
mode | 328 | drivers/sound/sequencer.c | if ((err = midi_devs[dev]->open (dev, mode, |
mode | 994 | drivers/sound/sequencer.c | int retval, mode, i; |
mode | 1000 | drivers/sound/sequencer.c | mode = file->mode & O_ACCMODE; |
mode | 1076 | drivers/sound/sequencer.c | if (seq_mode == SEQ_1 && (mode == OPEN_READ || mode == OPEN_READWRITE)) |
mode | 1100 | drivers/sound/sequencer.c | if ((tmp = synth_devs[i]->open (i, mode)) < 0) |
mode | 1119 | drivers/sound/sequencer.c | if (seq_mode == SEQ_1 && (mode == OPEN_READ || mode == OPEN_READWRITE)) |
mode | 1126 | drivers/sound/sequencer.c | if ((retval = midi_devs[i]->open (i, mode, |
mode | 1184 | drivers/sound/sequencer.c | int mode = file->mode & O_ACCMODE; |
mode | 1204 | drivers/sound/sequencer.c | if (mode != OPEN_READ && !ISSET_FILE_FLAG (file, O_NONBLOCK)) |
mode | 1210 | drivers/sound/sequencer.c | if (mode != OPEN_READ) |
mode | 1215 | drivers/sound/sequencer.c | if (mode != OPEN_READ) |
mode | 1398 | drivers/sound/sequencer.c | int mode = file->mode & O_ACCMODE; |
mode | 1446 | drivers/sound/sequencer.c | if (mode == OPEN_READ) |
mode | 1478 | drivers/sound/sequencer.c | int err, mode; |
mode | 1480 | drivers/sound/sequencer.c | mode = file->mode & O_ACCMODE; |
mode | 1481 | drivers/sound/sequencer.c | if ((err = midi_devs[midi_dev]->open (midi_dev, mode, |
mode | 1498 | drivers/sound/sequencer.c | if (mode == OPEN_WRITE) |
mode | 1505 | drivers/sound/sequencer.c | if (mode == OPEN_READ) |
mode | 1739 | drivers/sound/sequencer.c | if (mode == OPEN_READ) |
mode | 1767 | drivers/sound/sequencer.c | midi_sleep_flag.mode = WK_SLEEP; |
mode | 1772 | drivers/sound/sequencer.c | midi_sleep_flag.mode &= ~WK_SLEEP; |
mode | 1781 | drivers/sound/sequencer.c | seq_sleep_flag.mode = WK_SLEEP; |
mode | 1786 | drivers/sound/sequencer.c | seq_sleep_flag.mode &= ~WK_SLEEP; |
mode | 5 | drivers/sound/sound_calls.h | int DMAbuf_open(int dev, int mode); |
mode | 6 | drivers/sound/sound_calls.h | int DMAbuf_release(int dev, int mode); |
mode | 141 | drivers/sound/sound_calls.h | void sb_mixer_set_stereo(int mode); |
mode | 152 | drivers/sound/sound_config.h | int mode; /* Open mode */ |
mode | 151 | drivers/sound/sound_timer.c | timer_open (int dev, int mode) |
mode | 104 | drivers/sound/soundcard.c | tmp_file.mode = 0; |
mode | 108 | drivers/sound/soundcard.c | tmp_file.mode = OPEN_READWRITE; |
mode | 110 | drivers/sound/soundcard.c | tmp_file.mode = OPEN_READ; |
mode | 112 | drivers/sound/soundcard.c | tmp_file.mode = OPEN_WRITE; |
mode | 345 | drivers/sound/sscape.c | do_dma (struct sscape_info *devc, int dma_chan, unsigned long buf, int blk_size, int mode) |
mode | 357 | drivers/sound/sscape.c | blk_size, mode); |
mode | 633 | drivers/sound/sscape.c | sscape_audio_open (int dev, int mode) |
mode | 111 | drivers/sound/sys_timer.c | def_tmr_open (int dev, int mode) |
mode | 132 | drivers/sound/uart6850.c | uart6850_open (int dev, int mode, |
mode | 148 | drivers/sound/uart6850.c | uart6850_opened = mode; |
mode | 103 | fs/exec.c | int open_inode(struct inode * inode, int mode) |
mode | 125 | fs/exec.c | f->f_flags = mode; |
mode | 126 | fs/exec.c | f->f_mode = (mode+1) & O_ACCMODE; |
mode | 303 | fs/ext/namei.c | int ext_create(struct inode * dir,const char * name, int len, int mode, |
mode | 319 | fs/ext/namei.c | inode->i_mode = mode; |
mode | 337 | fs/ext/namei.c | int ext_mknod(struct inode * dir, const char * name, int len, int mode, int rdev) |
mode | 357 | fs/ext/namei.c | inode->i_mode = mode; |
mode | 374 | fs/ext/namei.c | if (S_ISBLK(mode) || S_ISCHR(mode)) |
mode | 396 | fs/ext/namei.c | int ext_mkdir(struct inode * dir, const char * name, int len, int mode) |
mode | 443 | fs/ext/namei.c | inode->i_mode = S_IFDIR | (mode & 0777 & ~current->fs->umask); |
mode | 48 | fs/ext/symlink.c | int flag, int mode, struct inode ** res_inode) |
mode | 79 | fs/ext/symlink.c | error = open_namei(bh->b_data,flag,mode,res_inode,dir); |
mode | 28 | fs/ext2/acl.c | unsigned short mode = inode->i_mode; |
mode | 44 | fs/ext2/acl.c | mode >>= 6; |
mode | 46 | fs/ext2/acl.c | mode >>= 3; |
mode | 47 | fs/ext2/acl.c | if (((mode & mask & S_IRWXO) == mask)) |
mode | 268 | fs/ext2/ialloc.c | int mode) |
mode | 306 | fs/ext2/ialloc.c | struct inode * ext2_new_inode (const struct inode * dir, int mode) |
mode | 328 | fs/ext2/ialloc.c | if (S_ISDIR(mode)) { |
mode | 443 | fs/ext2/ialloc.c | if (S_ISDIR(mode)) |
mode | 449 | fs/ext2/ialloc.c | inode->i_mode = mode; |
mode | 459 | fs/ext2/ialloc.c | if (S_ISDIR(mode)) |
mode | 460 | fs/ext2/ialloc.c | mode |= S_ISGID; |
mode | 469 | fs/ext2/ialloc.c | if (S_ISLNK(mode)) |
mode | 482 | fs/ext2/ialloc.c | inc_inode_version (inode, gdp, mode); |
mode | 367 | fs/ext2/namei.c | int ext2_create (struct inode * dir,const char * name, int len, int mode, |
mode | 378 | fs/ext2/namei.c | inode = ext2_new_inode (dir, mode); |
mode | 384 | fs/ext2/namei.c | inode->i_mode = mode; |
mode | 408 | fs/ext2/namei.c | int ext2_mknod (struct inode * dir, const char * name, int len, int mode, |
mode | 424 | fs/ext2/namei.c | inode = ext2_new_inode (dir, mode); |
mode | 430 | fs/ext2/namei.c | inode->i_mode = mode; |
mode | 447 | fs/ext2/namei.c | if (S_ISBLK(mode) || S_ISCHR(mode)) |
mode | 472 | fs/ext2/namei.c | int ext2_mkdir (struct inode * dir, const char * name, int len, int mode) |
mode | 520 | fs/ext2/namei.c | inode->i_mode = S_IFDIR | (mode & S_IRWXUGO & ~current->fs->umask); |
mode | 53 | fs/ext2/symlink.c | int flag, int mode, struct inode ** res_inode) |
mode | 88 | fs/ext2/symlink.c | error = open_namei (link, flag, mode, res_inode, dir); |
mode | 80 | fs/isofs/file.c | int mode) |
mode | 88 | fs/isofs/file.c | if(mode == ISOFS_FILE_TEXT_M) outchar = 0x0a; |
mode | 89 | fs/isofs/file.c | if(mode == ISOFS_FILE_TEXT) outchar = ' '; |
mode | 70 | fs/isofs/inode.c | mode_t mode; |
mode | 85 | fs/isofs/inode.c | popt->mode = S_IRUGO; |
mode | 146 | fs/isofs/inode.c | popt->mode = ivalue; |
mode | 371 | fs/isofs/inode.c | s->u.isofs_sb.s_mode = opt.mode & 0777; |
mode | 299 | fs/isofs/rock.c | inode->i_mode = isonum_733(rr->u.PX.mode); |
mode | 30 | fs/isofs/rock.h | char mode[8]; |
mode | 50 | fs/isofs/symlink.c | int flag, int mode, struct inode ** res_inode) |
mode | 78 | fs/isofs/symlink.c | error = open_namei(pnt,flag,mode,res_inode,dir); |
mode | 215 | fs/minix/namei.c | int minix_create(struct inode * dir,const char * name, int len, int mode, |
mode | 232 | fs/minix/namei.c | inode->i_mode = mode; |
mode | 250 | fs/minix/namei.c | int minix_mknod(struct inode * dir, const char * name, int len, int mode, int rdev) |
mode | 271 | fs/minix/namei.c | inode->i_mode = mode; |
mode | 288 | fs/minix/namei.c | if (S_ISBLK(mode) || S_ISCHR(mode)) |
mode | 307 | fs/minix/namei.c | int minix_mkdir(struct inode * dir, const char * name, int len, int mode) |
mode | 354 | fs/minix/namei.c | inode->i_mode = S_IFDIR | (mode & 0777 & ~current->fs->umask); |
mode | 46 | fs/minix/symlink.c | int flag, int mode, struct inode ** res_inode) |
mode | 77 | fs/minix/symlink.c | error = open_namei(bh->b_data,flag,mode,res_inode,dir); |
mode | 217 | fs/msdos/namei.c | int msdos_create(struct inode *dir,const char *name,int len,int mode, |
mode | 239 | fs/msdos/namei.c | res = msdos_create_entry(dir,msdos_name,S_ISDIR(mode),result); |
mode | 266 | fs/msdos/namei.c | int msdos_mkdir(struct inode *dir,const char *name,int len,int mode) |
mode | 101 | fs/namei.c | int mode = inode->i_mode; |
mode | 108 | fs/namei.c | mode >>= 6; |
mode | 110 | fs/namei.c | mode >>= 3; |
mode | 111 | fs/namei.c | if (((mode & mask & 0007) == mask) || fsuser()) |
mode | 192 | fs/namei.c | int flag, int mode, struct inode ** res_inode) |
mode | 205 | fs/namei.c | return inode->i_op->follow_link(dir,inode,flag,mode,res_inode); |
mode | 332 | fs/namei.c | int open_namei(const char * pathname, int flag, int mode, |
mode | 339 | fs/namei.c | mode &= S_IALLUGO & ~current->fs->umask; |
mode | 340 | fs/namei.c | mode |= S_IFREG; |
mode | 374 | fs/namei.c | error = dir->i_op->create(dir,basename,namelen,mode,res_inode); |
mode | 386 | fs/namei.c | error = follow_link(dir,inode,flag,mode,&inode); |
mode | 440 | fs/namei.c | int do_mknod(const char * filename, int mode, dev_t dev) |
mode | 446 | fs/namei.c | mode &= ~current->fs->umask; |
mode | 468 | fs/namei.c | error = dir->i_op->mknod(dir,basename,namelen,mode,dev); |
mode | 474 | fs/namei.c | asmlinkage int sys_mknod(const char * filename, int mode, dev_t dev) |
mode | 479 | fs/namei.c | if (S_ISDIR(mode) || (!S_ISFIFO(mode) && !fsuser())) |
mode | 481 | fs/namei.c | switch (mode & S_IFMT) { |
mode | 483 | fs/namei.c | mode |= S_IFREG; |
mode | 492 | fs/namei.c | error = do_mknod(tmp,mode,dev); |
mode | 498 | fs/namei.c | static int do_mkdir(const char * pathname, int mode) |
mode | 525 | fs/namei.c | error = dir->i_op->mkdir(dir, basename, namelen, mode & 0777 & ~current->fs->umask); |
mode | 531 | fs/namei.c | asmlinkage int sys_mkdir(const char * pathname, int mode) |
mode | 538 | fs/namei.c | error = do_mkdir(tmp,mode); |
mode | 30 | fs/nfs/dir.c | static int nfs_create(struct inode *dir, const char *name, int len, int mode, |
mode | 32 | fs/nfs/dir.c | static int nfs_mkdir(struct inode *dir, const char *name, int len, int mode); |
mode | 39 | fs/nfs/dir.c | static int nfs_mknod(struct inode *dir, const char *name, int len, int mode, |
mode | 255 | fs/nfs/dir.c | entry->expiration_date = jiffies + (S_ISDIR(fattr->mode) |
mode | 340 | fs/nfs/dir.c | static int nfs_create(struct inode *dir, const char *name, int len, int mode, |
mode | 358 | fs/nfs/dir.c | sattr.mode = mode; |
mode | 376 | fs/nfs/dir.c | int mode, int rdev) |
mode | 392 | fs/nfs/dir.c | sattr.mode = mode; |
mode | 394 | fs/nfs/dir.c | if (S_ISCHR(mode) || S_ISBLK(mode)) |
mode | 407 | fs/nfs/dir.c | static int nfs_mkdir(struct inode *dir, const char *name, int len, int mode) |
mode | 423 | fs/nfs/dir.c | sattr.mode = mode; |
mode | 493 | fs/nfs/dir.c | sattr.mode = S_IFLNK | S_IRWXUGO; /* SunOS 4.1.2 crashes without this! */ |
mode | 586 | fs/nfs/dir.c | inode->i_mode = fattr->mode; |
mode | 250 | fs/nfs/inode.c | sattr.mode = attr->ia_mode; |
mode | 252 | fs/nfs/inode.c | sattr.mode = (unsigned) -1; |
mode | 173 | fs/nfs/proc.c | fattr->mode = ntohl(*p++); |
mode | 194 | fs/nfs/proc.c | *p++ = htonl(sattr->mode); |
mode | 51 | fs/nfs/symlink.c | int flag, int mode, struct inode **res_inode) |
mode | 92 | fs/nfs/symlink.c | error = open_namei(res2, flag, mode, res_inode, dir); |
mode | 232 | fs/open.c | asmlinkage int sys_access(const char * filename, int mode) |
mode | 238 | fs/open.c | if (mode != (mode & S_IRWXO)) /* where's F_OK, X_OK, W_OK, R_OK? */ |
mode | 246 | fs/open.c | res = permission(inode, mode); |
mode | 316 | fs/open.c | asmlinkage int sys_fchmod(unsigned int fd, mode_t mode) |
mode | 330 | fs/open.c | if (mode == (mode_t) -1) |
mode | 331 | fs/open.c | mode = inode->i_mode; |
mode | 332 | fs/open.c | newattrs.ia_mode = (mode & S_IALLUGO) | (inode->i_mode & ~S_IALLUGO); |
mode | 339 | fs/open.c | asmlinkage int sys_chmod(const char * filename, mode_t mode) |
mode | 356 | fs/open.c | if (mode == (mode_t) -1) |
mode | 357 | fs/open.c | mode = inode->i_mode; |
mode | 358 | fs/open.c | newattrs.ia_mode = (mode & S_IALLUGO) | (inode->i_mode & ~S_IALLUGO); |
mode | 468 | fs/open.c | int do_open(const char * filename,int flags,int mode) |
mode | 490 | fs/open.c | error = open_namei(filename,flag,mode,&inode,NULL); |
mode | 522 | fs/open.c | asmlinkage int sys_open(const char * filename,int flags,int mode) |
mode | 530 | fs/open.c | error = do_open(tmp,flags,mode); |
mode | 535 | fs/open.c | asmlinkage int sys_creat(const char * pathname, int mode) |
mode | 537 | fs/open.c | return sys_open(pathname, O_CREAT | O_WRONLY | O_TRUNC, mode); |
mode | 102 | fs/proc/link.c | int flag, int mode, struct inode ** res_inode) |
mode | 56 | fs/smbfs/dir.c | smb_create(struct inode *dir, const char *name, int len, int mode, |
mode | 60 | fs/smbfs/dir.c | smb_mkdir(struct inode *dir, const char *name, int len, int mode); |
mode | 763 | fs/smbfs/dir.c | smb_create(struct inode *dir, const char *name, int len, int mode, |
mode | 809 | fs/smbfs/dir.c | smb_mkdir(struct inode *dir, const char *name, int len, int mode) |
mode | 808 | fs/sysv/inode.c | umode_t mode; |
mode | 825 | fs/sysv/inode.c | mode = raw_inode->i_mode; |
mode | 827 | fs/sysv/inode.c | mode = from_coh_imode(mode); |
mode | 829 | fs/sysv/inode.c | inode->i_mode = mode; |
mode | 895 | fs/sysv/inode.c | umode_t mode; |
mode | 911 | fs/sysv/inode.c | mode = inode->i_mode; |
mode | 913 | fs/sysv/inode.c | mode = to_coh_imode(mode); |
mode | 914 | fs/sysv/inode.c | raw_inode->i_mode = mode; |
mode | 208 | fs/sysv/namei.c | int sysv_create(struct inode * dir,const char * name, int len, int mode, |
mode | 225 | fs/sysv/namei.c | inode->i_mode = mode; |
mode | 243 | fs/sysv/namei.c | int sysv_mknod(struct inode * dir, const char * name, int len, int mode, int rdev) |
mode | 264 | fs/sysv/namei.c | inode->i_mode = mode; |
mode | 281 | fs/sysv/namei.c | if (S_ISBLK(mode) || S_ISCHR(mode)) |
mode | 300 | fs/sysv/namei.c | int sysv_mkdir(struct inode * dir, const char * name, int len, int mode) |
mode | 345 | fs/sysv/namei.c | inode->i_mode = S_IFDIR | (mode & 0777 & ~current->fs->umask); |
mode | 52 | fs/sysv/symlink.c | int flag, int mode, struct inode ** res_inode) |
mode | 83 | fs/sysv/symlink.c | error = open_namei(bh->b_data,flag,mode,res_inode,dir); |
mode | 347 | fs/umsdos/dir.c | if (S_ISREG(entry->mode)) entry->mtime = inode->i_mtime; |
mode | 348 | fs/umsdos/dir.c | inode->i_mode = entry->mode; |
mode | 399 | fs/umsdos/dir.c | if (!S_ISDIR(entry->mode)){ |
mode | 699 | fs/umsdos/dir.c | umsdos_delentry (dir,&info,S_ISDIR(info.entry.mode)); |
mode | 423 | fs/umsdos/emd.c | if ((isdir != 0) != (S_ISDIR(info->entry.mode) != 0)){ |
mode | 424 | fs/umsdos/emd.c | if (S_ISDIR(info->entry.mode)){ |
mode | 487 | fs/umsdos/emd.c | if (S_ISDIR(info->entry.mode)){ |
mode | 335 | fs/umsdos/inode.c | entry.mode = attr->ia_mode; |
mode | 241 | fs/umsdos/ioctl.c | ,S_ISDIR(data.umsdos_dirent.mode)); |
mode | 310 | fs/umsdos/ioctl.c | dir->i_sb->u.msdos_sb.fs_umask = data.umsdos_dirent.mode; |
mode | 207 | fs/umsdos/namei.c | int mode, /* Permission bit + file type ??? */ |
mode | 220 | fs/umsdos/namei.c | info.entry.mode = mode; |
mode | 290 | fs/umsdos/namei.c | new_info->entry.mode = old_info->entry.mode; |
mode | 365 | fs/umsdos/namei.c | ,S_ISDIR(new_info.entry.mode)); |
mode | 369 | fs/umsdos/namei.c | ,S_ISDIR(old_info.entry.mode)); |
mode | 429 | fs/umsdos/namei.c | int mode, |
mode | 446 | fs/umsdos/namei.c | ret = umsdos_create_any (dir,name,len,mode,0,flags,&inode); |
mode | 672 | fs/umsdos/namei.c | int mode, /* Permission bit + file type ??? */ |
mode | 676 | fs/umsdos/namei.c | return umsdos_create_any (dir,name,len,mode,0,0,result); |
mode | 685 | fs/umsdos/namei.c | int mode) |
mode | 693 | fs/umsdos/namei.c | info.entry.mode = mode | S_IFDIR; |
mode | 707 | fs/umsdos/namei.c | ret = msdos_mkdir (dir,info.fake.fname,info.fake.len,mode); |
mode | 751 | fs/umsdos/namei.c | int mode, |
mode | 769 | fs/umsdos/namei.c | int ret = umsdos_create_any (dir,name,len,mode,rdev,0,&inode); |
mode | 995 | fs/umsdos/namei.c | ,info.entry.mode,ret)); |
mode | 57 | fs/umsdos/symlink.c | int mode, |
mode | 88 | fs/umsdos/symlink.c | ret = open_namei(path,flag,mode,res_inode,dir); |
mode | 248 | fs/xiafs/namei.c | int xiafs_create(struct inode * dir, const char * name, int len, int mode, |
mode | 264 | fs/xiafs/namei.c | inode->i_mode = mode; |
mode | 282 | fs/xiafs/namei.c | int xiafs_mknod(struct inode *dir, const char *name, int len, int mode, int rdev) |
mode | 302 | fs/xiafs/namei.c | inode->i_mode = mode; |
mode | 319 | fs/xiafs/namei.c | if (S_ISBLK(mode) || S_ISCHR(mode)) |
mode | 339 | fs/xiafs/namei.c | int xiafs_mkdir(struct inode * dir, const char * name, int len, int mode) |
mode | 385 | fs/xiafs/namei.c | inode->i_mode = S_IFDIR | (mode & S_IRWXUGO & ~current->fs->umask); |
mode | 80 | fs/xiafs/symlink.c | int flag, int mode, struct inode ** res_inode) |
mode | 115 | fs/xiafs/symlink.c | error = open_namei(bh->b_data,flag,mode,res_inode,dir); |
mode | 180 | include/asm-alpha/dma.h | static __inline__ void set_dma_mode(unsigned int dmanr, char mode) |
mode | 183 | include/asm-alpha/dma.h | dma_outb(mode | dmanr, DMA1_MODE_REG); |
mode | 185 | include/asm-alpha/dma.h | dma_outb(mode | (dmanr&3), DMA2_MODE_REG); |
mode | 193 | include/asm-alpha/unistd.h | static inline int open(const char * name, int mode, int flags) |
mode | 195 | include/asm-alpha/unistd.h | return sys_open(name, mode, flags); |
mode | 165 | include/asm-i386/dma.h | static __inline__ void set_dma_mode(unsigned int dmanr, char mode) |
mode | 168 | include/asm-i386/dma.h | dma_outb(mode | dmanr, DMA1_MODE_REG); |
mode | 170 | include/asm-i386/dma.h | dma_outb(mode | (dmanr&3), DMA2_MODE_REG); |
mode | 260 | include/asm-i386/unistd.h | static inline _syscall3(int,open,const char *,file,int,flag,int,mode) |
mode | 168 | include/asm-mips/dma.h | static __inline__ void set_dma_mode(unsigned int dmanr, char mode) |
mode | 171 | include/asm-mips/dma.h | dma_outb(mode | dmanr, DMA1_MODE_REG); |
mode | 173 | include/asm-mips/dma.h | dma_outb(mode | (dmanr&3), DMA2_MODE_REG); |
mode | 163 | include/asm-sparc/unistd.h | static inline _syscall3(int,open,const char *,file,int,flag,int,mode) |
mode | 46 | include/linux/binfmts.h | extern int open_inode(struct inode * inode, int mode); |
mode | 185 | include/linux/cdrom.h | u_char mode; /* cache control byte */ |
mode | 67 | include/linux/ext_fs.h | extern int ext_create(struct inode * dir,const char * name, int len, int mode, |
mode | 69 | include/linux/ext_fs.h | extern int ext_mkdir(struct inode * dir, const char * name, int len, int mode); |
mode | 75 | include/linux/ext_fs.h | extern int ext_mknod(struct inode * dir, const char * name, int len, int mode, int rdev); |
mode | 483 | include/linux/fs.h | extern int open_namei(const char * pathname, int flag, int mode, |
mode | 485 | include/linux/fs.h | extern int do_mknod(const char * filename, int mode, dev_t dev); |
mode | 15 | include/linux/ipc.h | ushort mode; /* access modes see mode flags below */ |
mode | 86 | include/linux/minix_fs.h | extern int minix_create(struct inode * dir,const char * name, int len, int mode, |
mode | 88 | include/linux/minix_fs.h | extern int minix_mkdir(struct inode * dir, const char * name, int len, int mode); |
mode | 94 | include/linux/minix_fs.h | extern int minix_mknod(struct inode * dir, const char * name, int len, int mode, int rdev); |
mode | 147 | include/linux/msdos_fs.h | extern int msdos_create(struct inode *dir,const char *name,int len,int mode, |
mode | 149 | include/linux/msdos_fs.h | extern int msdos_mkdir(struct inode *dir,const char *name,int len,int mode); |
mode | 131 | include/linux/nfs.h | u_int mode; |
mode | 147 | include/linux/nfs.h | u_int mode; |
mode | 132 | include/linux/skbuff.h | extern void dev_kfree_skb(struct sk_buff *skb, int mode); |
mode | 159 | include/linux/soundcard.h | unsigned long mode; |
mode | 919 | include/linux/soundcard.h | #define SEQ_VOLUME_MODE(dev, mode) {_SEQ_NEEDBUF(8);\ |
mode | 923 | include/linux/soundcard.h | _seqbuf[_seqbufptr+3] = (mode);\ |
mode | 279 | include/linux/sysv_fs.h | extern inline mode_t from_coh_imode(unsigned short mode) |
mode | 281 | include/linux/sysv_fs.h | if (mode == COH_KLUDGE_SYMLINK_MODE) |
mode | 284 | include/linux/sysv_fs.h | return mode; |
mode | 286 | include/linux/sysv_fs.h | extern inline unsigned short to_coh_imode(mode_t mode) |
mode | 288 | include/linux/sysv_fs.h | if (S_ISLNK(mode)) |
mode | 290 | include/linux/sysv_fs.h | else if (mode == COH_KLUDGE_SYMLINK_MODE) |
mode | 293 | include/linux/sysv_fs.h | return mode; |
mode | 366 | include/linux/sysv_fs.h | extern int sysv_create(struct inode * dir,const char * name, int len, int mode, |
mode | 368 | include/linux/sysv_fs.h | extern int sysv_mkdir(struct inode * dir, const char * name, int len, int mode); |
mode | 374 | include/linux/sysv_fs.h | extern int sysv_mknod(struct inode * dir, const char * name, int len, int mode, int rdev); |
mode | 78 | include/linux/timex.h | int mode; /* mode selector */ |
mode | 39 | include/linux/umsdos_fs.h | umode_t mode; /* Standard UNIX permissions bits + type of */ |
mode | 9 | include/linux/vt.h | char mode; /* vt mode */ |
mode | 125 | include/linux/xd.h | static u_int xd_command (u_char *command,u_char mode,u_char *indata,u_char *outdata,u_char *sense,u_long timeout); |
mode | 69 | include/linux/xia_fs.h | extern int xiafs_create(struct inode * dir,const char * name, int len, int mode, |
mode | 71 | include/linux/xia_fs.h | extern int xiafs_mkdir(struct inode * dir, const char * name, int len, int mode); |
mode | 79 | include/linux/xia_fs.h | int mode, int rdev); |
mode | 249 | ipc/msg.c | ipcp->mode = (msgflg & S_IRWXUGO); |
mode | 428 | ipc/msg.c | ipcp->mode = (ipcp->mode & ~S_IRWXUGO) | |
mode | 429 | ipc/msg.c | (S_IRWXUGO & tbuf.msg_perm.mode); |
mode | 113 | ipc/sem.c | ipcp->mode = (semflg & S_IRWXUGO); |
mode | 524 | ipc/sem.c | ipcp->mode = (ipcp->mode & ~S_IRWXUGO) |
mode | 525 | ipc/sem.c | | (tbuf.sem_perm.mode & S_IRWXUGO); |
mode | 111 | ipc/shm.c | shp->shm_perm.mode = (shmflg & S_IRWXUGO); |
mode | 149 | ipc/shm.c | if (shp->shm_perm.mode & SHM_DEST) |
mode | 291 | ipc/shm.c | if (!(ipcp->mode & SHM_LOCKED)) |
mode | 293 | ipc/shm.c | ipcp->mode &= ~SHM_LOCKED; |
mode | 301 | ipc/shm.c | if (ipcp->mode & SHM_LOCKED) |
mode | 303 | ipc/shm.c | ipcp->mode |= SHM_LOCKED; |
mode | 328 | ipc/shm.c | ipcp->mode = (ipcp->mode & ~S_IRWXUGO) |
mode | 329 | ipc/shm.c | | (tbuf.shm_perm.mode & S_IRWXUGO); |
mode | 337 | ipc/shm.c | shp->shm_perm.mode |= SHM_DEST; |
mode | 529 | ipc/shm.c | if (--shp->shm_nattch <= 0 && shp->shm_perm.mode & SHM_DEST) |
mode | 581 | ipc/shm.c | if (--shp->shm_nattch <= 0 && shp->shm_perm.mode & SHM_DEST) |
mode | 693 | ipc/shm.c | if (shp == IPC_UNUSED || shp == IPC_NOID || shp->shm_perm.mode & SHM_LOCKED ) { |
mode | 39 | ipc/util.c | granted_mode = ipcp->mode; |
mode | 362 | kernel/time.c | if (txc.mode && !suser()) |
mode | 368 | kernel/time.c | if (txc.mode != ADJ_OFFSET_SINGLESHOT && (txc.mode & ADJ_OFFSET)) |
mode | 375 | kernel/time.c | if (txc.mode & ADJ_STATUS) |
mode | 380 | kernel/time.c | if (txc.mode & ADJ_TICK) |
mode | 390 | kernel/time.c | if (txc.mode) |
mode | 395 | kernel/time.c | if (txc.mode & ADJ_STATUS) |
mode | 398 | kernel/time.c | if (txc.mode & ADJ_FREQUENCY) |
mode | 401 | kernel/time.c | if (txc.mode & ADJ_MAXERROR) |
mode | 404 | kernel/time.c | if (txc.mode & ADJ_ESTERROR) |
mode | 407 | kernel/time.c | if (txc.mode & ADJ_TIMECONST) |
mode | 410 | kernel/time.c | if (txc.mode & ADJ_OFFSET) |
mode | 411 | kernel/time.c | if (txc.mode == ADJ_OFFSET_SINGLESHOT) |
mode | 437 | kernel/time.c | if (txc.mode & ADJ_TICK) |
mode | 12 | lib/open.c | static inline _syscall3(int, open, const char *, filename, int, flag, int, mode) |
mode | 2090 | net/ax25/af_ax25.c | int mode; |
mode | 2096 | net/ax25/af_ax25.c | mode = ax25_ip_mode_get((ax25_address *)(bp + 1), dev); |
mode | 2098 | net/ax25/af_ax25.c | if (mode == 'V' || mode == 'v' || (mode == ' ' && sl_get_ax25_mode(dev))) { |
mode | 658 | net/core/skbuff.c | void dev_kfree_skb(struct sk_buff *skb, int mode) |
mode | 670 | net/core/skbuff.c | kfree_skb(skb,mode); |