tag | line | file | source code |
mode | 619 | drivers/block/floppy.c | static void reset_fdc_info(int mode) |
mode | 629 | drivers/block/floppy.c | ( mode || UDRS->track != NEED_1_RECAL)) |
mode | 568 | drivers/block/sbpcd.c | u_char mode; /* read_mode: READ_M1, READ_M2, READ_SC, READ_AU */ |
mode | 2957 | drivers/block/sbpcd.c | DriveStruct[d].mode=READ_M1; |
mode | 3472 | drivers/block/sbpcd.c | DriveStruct[d].mode=READ_M1; |
mode | 3479 | drivers/block/sbpcd.c | DriveStruct[d].mode=READ_M2; |
mode | 3524 | drivers/block/sbpcd.c | DriveStruct[d].mode=READ_AU; |
mode | 3674 | drivers/block/sbpcd.c | DriveStruct[d].mode=READ_M1; |
mode | 493 | drivers/block/sonycd535.c | set_drive_mode(int mode, Byte status[2]) |
mode | 498 | 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 | 2217 | drivers/char/console.c | int do_screendump(unsigned long arg, int mode) |
mode | 2232 | drivers/char/console.c | l = verify_area(mode==2 ? VERIFY_READ :VERIFY_WRITE, |
mode | 2233 | drivers/char/console.c | buf, (2+chcount)*(mode ? 2 : 1)); |
mode | 2236 | drivers/char/console.c | if (mode<2) { |
mode | 2243 | drivers/char/console.c | switch(mode) { |
mode | 587 | drivers/char/keyboard.c | static void applkey(int key, char mode) |
mode | 591 | 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 | 79 | drivers/char/tty_io.c | extern int do_screendump(unsigned long arg, int mode); |
mode | 495 | drivers/char/tty_io.c | vt_cons[new_console]->vt_mode.mode = VT_AUTO; |
mode | 530 | drivers/char/tty_io.c | if (vt_cons[new_console]->vt_mode.mode == VT_PROCESS) |
mode | 598 | 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_fs_byte(argp); |
mode | 245 | drivers/char/vesa_blank.c | vesa_blanking_mode = ((mode < 3) ? mode : 0); |
mode | 624 | drivers/char/vt.c | char mode; |
mode | 631 | drivers/char/vt.c | mode = get_fs_byte(&vtmode->mode); |
mode | 632 | drivers/char/vt.c | if (mode != VT_AUTO && mode != VT_PROCESS) |
mode | 634 | drivers/char/vt.c | vt_cons[console]->vt_mode.mode = mode; |
mode | 652 | drivers/char/vt.c | put_fs_byte(vt_cons[console]->vt_mode.mode, &vtmode->mode); |
mode | 742 | 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 | 297 | drivers/net/depca.c | unsigned short mode; /* Mode register */ |
mode | 723 | drivers/net/depca.c | printk("\tmode: 0x%4.4x\n",lp->init_block.mode); |
mode | 777 | drivers/net/depca.c | lp->init_block.mode = DTX | DRX; /* Disable Rx and Tx. */ |
mode | 799 | drivers/net/depca.c | lp->init_block.mode = 0x0000; /* Enable the Tx and Rx */ |
mode | 1258 | drivers/net/depca.c | lp->init_block.mode &= ~PROM; /* Unset promiscuous mode */ |
mode | 1260 | drivers/net/depca.c | lp->init_block.mode |= PROM; /* Set promiscuous mode */ |
mode | 182 | drivers/net/lance.c | unsigned short mode; /* Pre-set mode (reg. 15) */ |
mode | 404 | drivers/net/lance.c | lp->init_block.mode = 0x0003; /* Disable Rx and Tx. */ |
mode | 641 | 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 | 256 | drivers/net/slip.c | if (sl->mode & (SL_MODE_ADAPTIVE | SL_MODE_CSLIP)) { |
mode | 260 | drivers/net/slip.c | if (!(sl->mode & SL_MODE_CSLIP)) { |
mode | 274 | drivers/net/slip.c | if (!(sl->mode & SL_MODE_CSLIP)) { |
mode | 276 | drivers/net/slip.c | sl->mode |= SL_MODE_CSLIP; |
mode | 277 | drivers/net/slip.c | sl->mode &= ~SL_MODE_ADAPTIVE; |
mode | 327 | drivers/net/slip.c | if (sl->mode & SL_MODE_CSLIP) { |
mode | 332 | drivers/net/slip.c | if(sl->mode & SL_MODE_SLIP6) |
mode | 441 | drivers/net/slip.c | if (sl->mode & SL_MODE_AX25) { |
mode | 458 | drivers/net/slip.c | if ((sl->mode & SL_MODE_AX25) && type != htons(ETH_P_AX25)) { |
mode | 476 | drivers/net/slip.c | if (sl->mode & SL_MODE_AX25) { |
mode | 653 | drivers/net/slip.c | if (sl->mode & SL_MODE_SLIP6) |
mode | 694 | drivers/net/slip.c | sl->mode = SL_MODE_DEFAULT; |
mode | 695 | drivers/net/slip.c | sl->dev->type = ARPHRD_SLIP + sl->mode; |
mode | 982 | drivers/net/slip.c | put_fs_long(sl->mode, (long *)arg); |
mode | 1020 | drivers/net/slip.c | sl->mode = tmp; |
mode | 1021 | 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 | 64 | drivers/sound/ad1848.c | int mode; |
mode | 88 | drivers/sound/ad1848.c | static int ad1848_open (int dev, int mode); |
mode | 190 | drivers/sound/ad1848.c | ad1848_open (int dev, int mode) |
mode | 196 | drivers/sound/ad1848.c | DEB (printk ("ad1848_open(int mode = %X)\n", mode)); |
mode | 389 | drivers/sound/ad1848.c | if (!(arg & ad_format_mask[devc->mode])) |
mode | 564 | drivers/sound/ad1848.c | if (devc->mode == 2) |
mode | 621 | drivers/sound/ad1848.c | if (devc->mode == 2) |
mode | 680 | drivers/sound/ad1848.c | devc->mode = 1; /* MODE1 = original AD1848 */ |
mode | 793 | drivers/sound/ad1848.c | devc->mode = 2; |
mode | 860 | drivers/sound/ad1848.c | audio_devs[my_dev]->format_mask = ad_format_mask[devc->mode]; |
mode | 89 | drivers/sound/audio.c | int mode = file->mode & O_ACCMODE; |
mode | 98 | drivers/sound/audio.c | if ((ret = DMAbuf_open (dev, mode)) < 0) |
mode | 125 | drivers/sound/audio.c | int mode; |
mode | 128 | drivers/sound/audio.c | mode = file->mode & O_ACCMODE; |
mode | 137 | drivers/sound/audio.c | DMAbuf_release (dev, mode); |
mode | 118 | drivers/sound/dev_table.h | int (*open) (int dev, int mode); |
mode | 148 | drivers/sound/dev_table.h | int (*open) (int dev, int mode); |
mode | 161 | drivers/sound/dev_table.h | void (*volume_method) (int dev, int mode); |
mode | 173 | drivers/sound/dev_table.h | int (*open) (int dev, int mode, |
mode | 192 | drivers/sound/dev_table.h | int (*open)(int dev, int mode); |
mode | 165 | drivers/sound/dmabuf.c | DMAbuf_open (int dev, int mode) |
mode | 195 | drivers/sound/dmabuf.c | if ((retval = audio_devs[dev]->open (dev, mode)) < 0) |
mode | 198 | drivers/sound/dmabuf.c | dmap->open_mode = mode; |
mode | 271 | drivers/sound/dmabuf.c | DMAbuf_release (int dev, int mode) |
mode | 879 | drivers/sound/dmabuf.c | DMAbuf_open (int dev, int mode) |
mode | 885 | 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 | 366 | drivers/sound/gus_wave.c | gus_voice_on (unsigned int mode) |
mode | 368 | drivers/sound/gus_wave.c | gus_write8 (0x00, (unsigned char) (mode & 0xfc)); |
mode | 370 | drivers/sound/gus_wave.c | gus_write8 (0x00, (unsigned char) (mode & 0xfc)); |
mode | 382 | drivers/sound/gus_wave.c | unsigned char mode = (unsigned char) (m & 0xff); |
mode | 385 | drivers/sound/gus_wave.c | (mode & 0xfc)); /* Don't touch last two bits */ |
mode | 387 | drivers/sound/gus_wave.c | gus_write8 (0x00, (gus_read8 (0x00) & 0x03) | (mode & 0xfc)); |
mode | 431 | drivers/sound/gus_wave.c | unsigned char mode = (unsigned char) (m & 0xff); |
mode | 433 | drivers/sound/gus_wave.c | gus_write8 (0x0d, mode & 0xfc); |
mode | 435 | drivers/sound/gus_wave.c | gus_write8 (0x0d, mode & 0xfc); |
mode | 441 | drivers/sound/gus_wave.c | unsigned char mode = (unsigned char) (m & 0xff); |
mode | 444 | drivers/sound/gus_wave.c | (mode & 0xfc)); /* Leave the last 2 bits alone */ |
mode | 446 | drivers/sound/gus_wave.c | gus_write8 (0x0d, (gus_read8 (0x0d) & 0x03) | (mode & 0xfc)); |
mode | 466 | drivers/sound/gus_wave.c | samples[sample_no].mode & WAVE_16_BITS); |
mode | 489 | drivers/sound/gus_wave.c | voices[voice].mode = 0; |
mode | 514 | drivers/sound/gus_wave.c | if (voices[voice].mode & WAVE_SUSTAIN_ON && voices[voice].env_phase == 2) |
mode | 594 | drivers/sound/gus_wave.c | voices[voice].mode &= ~WAVE_SUSTAIN_ON; |
mode | 617 | drivers/sound/gus_wave.c | is16bits = (samples[instr_no].mode & WAVE_16_BITS) ? 1 : 0; /* 8 or 16 bits */ |
mode | 619 | drivers/sound/gus_wave.c | if (voices[voice].mode & WAVE_ENVELOPES) |
mode | 938 | drivers/sound/gus_wave.c | if (voices[voice].mode & WAVE_ENVELOPES && voices[voice].env_phase != 2) |
mode | 977 | drivers/sound/gus_wave.c | guswave_volume_method (int dev, int mode) |
mode | 979 | drivers/sound/gus_wave.c | if (mode == VOL_METHOD_LINEAR || mode == VOL_METHOD_ADAGIO) |
mode | 980 | drivers/sound/gus_wave.c | volume_method = mode; |
mode | 1085 | drivers/sound/gus_wave.c | if (!(voices[voice].mode & WAVE_ENVELOPES)) |
mode | 1178 | drivers/sound/gus_wave.c | unsigned char mode = 0; |
mode | 1188 | drivers/sound/gus_wave.c | if (voices[voice].mode & WAVE_ENVELOPES) |
mode | 1246 | drivers/sound/gus_wave.c | is16bits = (samples[sample].mode & WAVE_16_BITS) ? 1 : 0; |
mode | 1247 | drivers/sound/gus_wave.c | voices[voice].mode = samples[sample].mode; |
mode | 1250 | drivers/sound/gus_wave.c | if (voices[voice].mode & WAVE_ENVELOPES) |
mode | 1286 | drivers/sound/gus_wave.c | if (samples[sample].mode & WAVE_16_BITS) |
mode | 1288 | drivers/sound/gus_wave.c | mode |= 0x04; /* 16 bits */ |
mode | 1305 | drivers/sound/gus_wave.c | if (voices[voice].mode & WAVE_ENVELOPES) |
mode | 1316 | drivers/sound/gus_wave.c | if (samples[sample].mode & WAVE_LOOP_BACK) |
mode | 1323 | drivers/sound/gus_wave.c | if (samples[sample].mode & WAVE_LOOPING) |
mode | 1325 | drivers/sound/gus_wave.c | mode |= 0x08; |
mode | 1327 | drivers/sound/gus_wave.c | if (samples[sample].mode & WAVE_BIDIR_LOOP) |
mode | 1328 | drivers/sound/gus_wave.c | mode |= 0x10; |
mode | 1330 | drivers/sound/gus_wave.c | if (samples[sample].mode & WAVE_LOOP_BACK) |
mode | 1335 | drivers/sound/gus_wave.c | mode |= 0x40; |
mode | 1345 | drivers/sound/gus_wave.c | mode |= 0x20; /* Loop IRQ at the end */ |
mode | 1355 | drivers/sound/gus_wave.c | gus_voice_on (mode); |
mode | 1371 | drivers/sound/gus_wave.c | int mode; |
mode | 1388 | drivers/sound/gus_wave.c | mode = gus_read8 (0x00); |
mode | 1389 | drivers/sound/gus_wave.c | if (mode & 0x20) |
mode | 1390 | drivers/sound/gus_wave.c | gus_write8 (0x00, mode & 0xdf); /* No interrupt! */ |
mode | 1406 | drivers/sound/gus_wave.c | if ((mode & 0x01) || (int) ((gus_read16 (0x09) >> 4) < 2065)) |
mode | 1440 | drivers/sound/gus_wave.c | guswave_open (int dev, int mode) |
mode | 1531 | drivers/sound/gus_wave.c | if (patch.mode & WAVE_LOOPING) |
mode | 1550 | drivers/sound/gus_wave.c | if (patch.mode & WAVE_16_BITS) |
mode | 1583 | drivers/sound/gus_wave.c | if (patch.mode & WAVE_ENVELOPES) |
mode | 1584 | drivers/sound/gus_wave.c | patch.mode &= ~WAVE_TREMOLO; |
mode | 1632 | drivers/sound/gus_wave.c | if (patch.mode & WAVE_UNSIGNED) |
mode | 1634 | drivers/sound/gus_wave.c | if (!(patch.mode & WAVE_16_BITS) || (i & 0x01)) |
mode | 1680 | drivers/sound/gus_wave.c | if (patch.mode & WAVE_UNSIGNED) |
mode | 1682 | drivers/sound/gus_wave.c | if (patch.mode & WAVE_16_BITS) |
mode | 1805 | drivers/sound/gus_wave.c | if (voices[voice].mode & WAVE_ENVELOPES) |
mode | 1814 | drivers/sound/gus_wave.c | if (voices[voice].mode & WAVE_ENVELOPES) |
mode | 1823 | drivers/sound/gus_wave.c | if (voices[voice].mode & WAVE_ENVELOPES) |
mode | 1833 | drivers/sound/gus_wave.c | if (voices[voice].mode & WAVE_ENVELOPES) |
mode | 1843 | drivers/sound/gus_wave.c | if (voices[voice].mode & WAVE_ENVELOPES) |
mode | 1972 | drivers/sound/gus_wave.c | gus_sampling_open (int dev, int mode) |
mode | 1994 | drivers/sound/gus_wave.c | if (mode & OPEN_READ) |
mode | 2042 | drivers/sound/gus_wave.c | unsigned char mode[2], ramp_mode[2]; |
mode | 2051 | drivers/sound/gus_wave.c | mode[chn] = 0x00; |
mode | 2056 | drivers/sound/gus_wave.c | mode[chn] |= 0x20; /* Loop IRQ */ |
mode | 2063 | drivers/sound/gus_wave.c | mode[chn] |= 0x04; /* 16 bit data */ |
mode | 2073 | drivers/sound/gus_wave.c | mode[chn] |= 0x08; /* Enable loop */ |
mode | 2119 | drivers/sound/gus_wave.c | mode[chn] |= 0x08; /* Enable looping */ |
mode | 2128 | drivers/sound/gus_wave.c | mode[chn] &= ~0x08; /* Disable looping */ |
mode | 2129 | drivers/sound/gus_wave.c | mode[chn] |= 0x20;/* Enable IRQ at the end */ |
mode | 2137 | drivers/sound/gus_wave.c | mode[chn] &= ~0x08; /* Disable looping */ |
mode | 2149 | drivers/sound/gus_wave.c | gus_voice_on (mode[chn]); |
mode | 2259 | drivers/sound/gus_wave.c | unsigned char mode; |
mode | 2265 | drivers/sound/gus_wave.c | mode = 0xa0; /* DMA IRQ enabled, invert MSB */ |
mode | 2268 | drivers/sound/gus_wave.c | mode |= 0x04; /* 16 bit DMA channel */ |
mode | 2270 | drivers/sound/gus_wave.c | mode |= 0x02; /* Stereo */ |
mode | 2271 | drivers/sound/gus_wave.c | mode |= 0x01; /* DMA enable */ |
mode | 2273 | drivers/sound/gus_wave.c | gus_write8 (0x49, mode); |
mode | 3009 | drivers/sound/gus_wave.c | int mode, parm; |
mode | 3021 | drivers/sound/gus_wave.c | mode = voices[voice].loop_irq_mode; |
mode | 3025 | drivers/sound/gus_wave.c | switch (mode) |
mode | 3097 | drivers/sound/gus_wave.c | int mode, parm; |
mode | 3110 | drivers/sound/gus_wave.c | mode = voices[voice].volume_irq_mode; |
mode | 3114 | drivers/sound/gus_wave.c | switch (mode) |
mode | 260 | drivers/sound/midi_synth.c | midi_synth_open (int dev, int mode) |
mode | 271 | 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 | 411 | drivers/sound/midibuf.c | input_sleep_flag[dev].mode = WK_SLEEP; |
mode | 421 | drivers/sound/midibuf.c | midi_sleep_flag[dev].mode = WK_SLEEP; |
mode | 55 | drivers/sound/mpu401.c | int mode; |
mode | 470 | drivers/sound/mpu401.c | if (devc->mode == MODE_SYNTH) |
mode | 506 | drivers/sound/mpu401.c | if (devc->base != 0 && (devc->opened & OPEN_READ || devc->mode == MODE_SYNTH)) |
mode | 513 | drivers/sound/mpu401.c | mpu401_open (int dev, int mode, |
mode | 537 | drivers/sound/mpu401.c | devc->mode = MODE_MIDI; |
mode | 543 | drivers/sound/mpu401.c | devc->opened = mode; |
mode | 559 | drivers/sound/mpu401.c | devc->mode = 0; |
mode | 852 | drivers/sound/mpu401.c | mpu_synth_open (int dev, int mode) |
mode | 870 | drivers/sound/mpu401.c | devc->opened = mode; |
mode | 871 | drivers/sound/mpu401.c | devc->mode = MODE_SYNTH; |
mode | 881 | drivers/sound/mpu401.c | if (mode & OPEN_READ) |
mode | 903 | drivers/sound/mpu401.c | devc->mode = 0; |
mode | 1336 | drivers/sound/mpu401.c | mpu_timer_open (int dev, int mode) |
mode | 62 | drivers/sound/opl3.c | int mode; |
mode | 318 | drivers/sound/opl3.c | voices[voice].mode = 0; |
mode | 451 | drivers/sound/opl3.c | if (voices[voice].mode == 0) |
mode | 454 | drivers/sound/opl3.c | if (voices[voice].mode == 2) |
mode | 706 | drivers/sound/opl3.c | voices[voice].mode = voice_mode; |
mode | 859 | drivers/sound/opl3.c | opl3_open (int dev, int mode) |
mode | 921 | drivers/sound/opl3.c | opl3_volume_method (int dev, int mode) |
mode | 957 | drivers/sound/opl3.c | if (voices[voice].mode == 4) |
mode | 68 | drivers/sound/os.h | int mode; int aborting; |
mode | 75 | drivers/sound/os.h | #define RESET_WAIT_QUEUE(q, f) {f.aborting = 0;f.mode = WK_NONE;} |
mode | 78 | drivers/sound/os.h | #define TIMED_OUT(q, f) (f.mode & WK_TIMEOUT) |
mode | 83 | drivers/sound/os.h | f.mode = WK_SLEEP;interruptible_sleep_on(&q); \ |
mode | 84 | drivers/sound/os.h | if (!(f.mode & WK_WAKEUP)) \ |
mode | 89 | drivers/sound/os.h | if (jiffies >= tl) f.mode |= WK_TIMEOUT; \ |
mode | 91 | drivers/sound/os.h | f.mode &= ~WK_SLEEP; \ |
mode | 93 | drivers/sound/os.h | #define SOMEONE_WAITING(q, f) (f.mode & WK_SLEEP) |
mode | 94 | 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 | 453 | drivers/sound/pss.c | PSS_write (MASTER_SWITCH | spk->mode); |
mode | 760 | drivers/sound/pss.c | int mode; |
mode | 773 | drivers/sound/pss.c | mode = file->mode & O_ACCMODE; |
mode | 774 | drivers/sound/pss.c | if (mode == O_WRONLY) |
mode | 787 | drivers/sound/pss.c | int mode; |
mode | 794 | drivers/sound/pss.c | mode = file->mode & O_ACCMODE; |
mode | 795 | drivers/sound/pss.c | if (mode == O_WRONLY && code_length > 0) |
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 | 92 | drivers/sound/sb_dsp.c | static int dsp_set_stereo (int mode); |
mode | 370 | drivers/sound/sb_dsp.c | dsp_set_stereo (int mode) |
mode | 382 | drivers/sound/sb_dsp.c | if (mode && sb_midi_busy) |
mode | 388 | drivers/sound/sb_dsp.c | dsp_stereo = !!mode; |
mode | 590 | drivers/sound/sb_dsp.c | sb_dsp_open (int dev, int mode) |
mode | 629 | 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 | 89 | drivers/sound/sb_mixer.c | sb_mixer_set_stereo (int mode) |
mode | 95 | drivers/sound/sb_mixer.c | | (mode ? STEREO_DAC : MONO_DAC))); |
mode | 236 | drivers/sound/sequencer.c | int mode = file->mode & O_ACCMODE; |
mode | 242 | drivers/sound/sequencer.c | if (mode == OPEN_READ) |
mode | 310 | drivers/sound/sequencer.c | int mode; |
mode | 319 | drivers/sound/sequencer.c | mode = file->mode & O_ACCMODE; |
mode | 321 | drivers/sound/sequencer.c | if ((err = midi_devs[dev]->open (dev, mode, |
mode | 927 | drivers/sound/sequencer.c | int retval, mode, i; |
mode | 933 | drivers/sound/sequencer.c | mode = file->mode & O_ACCMODE; |
mode | 1010 | drivers/sound/sequencer.c | if (seq_mode == SEQ_1 && (mode == OPEN_READ || mode == OPEN_READWRITE)) |
mode | 1034 | drivers/sound/sequencer.c | if ((tmp = synth_devs[i]->open (i, mode)) < 0) |
mode | 1053 | drivers/sound/sequencer.c | if (seq_mode == SEQ_1 && (mode == OPEN_READ || mode == OPEN_READWRITE)) |
mode | 1060 | drivers/sound/sequencer.c | if ((retval = midi_devs[i]->open (i, mode, |
mode | 1118 | drivers/sound/sequencer.c | int mode = file->mode & O_ACCMODE; |
mode | 1138 | drivers/sound/sequencer.c | if (mode != OPEN_READ) |
mode | 1144 | drivers/sound/sequencer.c | if (mode != OPEN_READ) |
mode | 1149 | drivers/sound/sequencer.c | if (mode != OPEN_READ) |
mode | 1329 | drivers/sound/sequencer.c | int mode = file->mode & O_ACCMODE; |
mode | 1377 | drivers/sound/sequencer.c | if (mode == OPEN_READ) |
mode | 1409 | drivers/sound/sequencer.c | int err, mode; |
mode | 1411 | drivers/sound/sequencer.c | mode = file->mode & O_ACCMODE; |
mode | 1412 | drivers/sound/sequencer.c | if ((err = midi_devs[midi_dev]->open (midi_dev, mode, |
mode | 1429 | drivers/sound/sequencer.c | if (mode == OPEN_WRITE) |
mode | 1436 | drivers/sound/sequencer.c | if (mode == OPEN_READ) |
mode | 1647 | drivers/sound/sequencer.c | if (mode == OPEN_READ) |
mode | 1675 | drivers/sound/sequencer.c | midi_sleep_flag.mode = WK_SLEEP; |
mode | 1687 | 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 | 92 | drivers/sound/sound_calls.h | int pro_midi_open(int dev, int mode); |
mode | 142 | drivers/sound/sound_calls.h | void sb_mixer_set_stereo(int mode); |
mode | 209 | drivers/sound/sound_config.h | int mode; /* Open mode */ |
mode | 151 | drivers/sound/sound_timer.c | timer_open (int dev, int mode) |
mode | 102 | drivers/sound/soundcard.c | files[dev].mode = 0; |
mode | 105 | drivers/sound/soundcard.c | files[dev].mode = OPEN_READWRITE; |
mode | 107 | drivers/sound/soundcard.c | files[dev].mode = OPEN_READ; |
mode | 109 | drivers/sound/soundcard.c | files[dev].mode = OPEN_WRITE; |
mode | 105 | drivers/sound/sys_timer.c | def_tmr_open (int dev, int mode) |
mode | 133 | drivers/sound/uart6850.c | uart6850_open (int dev, int mode, |
mode | 149 | drivers/sound/uart6850.c | uart6850_opened = mode; |
mode | 105 | fs/exec.c | int open_inode(struct inode * inode, int mode) |
mode | 127 | fs/exec.c | f->f_flags = mode; |
mode | 128 | 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 | 27 | fs/ext2/acl.c | unsigned short mode = inode->i_mode; |
mode | 43 | fs/ext2/acl.c | mode >>= 6; |
mode | 45 | fs/ext2/acl.c | mode >>= 3; |
mode | 46 | fs/ext2/acl.c | if (((mode & mask & S_IRWXO) == mask)) |
mode | 267 | fs/ext2/ialloc.c | int mode) |
mode | 305 | fs/ext2/ialloc.c | struct inode * ext2_new_inode (const struct inode * dir, int mode) |
mode | 327 | fs/ext2/ialloc.c | if (S_ISDIR(mode)) { |
mode | 442 | fs/ext2/ialloc.c | if (S_ISDIR(mode)) |
mode | 448 | fs/ext2/ialloc.c | inode->i_mode = mode; |
mode | 458 | fs/ext2/ialloc.c | if (S_ISDIR(mode)) |
mode | 459 | fs/ext2/ialloc.c | mode |= S_ISGID; |
mode | 468 | fs/ext2/ialloc.c | if (S_ISLNK(mode)) |
mode | 481 | fs/ext2/ialloc.c | inc_inode_version (inode, gdp, mode); |
mode | 364 | fs/ext2/namei.c | int ext2_create (struct inode * dir,const char * name, int len, int mode, |
mode | 375 | fs/ext2/namei.c | inode = ext2_new_inode (dir, mode); |
mode | 381 | fs/ext2/namei.c | inode->i_mode = mode; |
mode | 405 | fs/ext2/namei.c | int ext2_mknod (struct inode * dir, const char * name, int len, int mode, |
mode | 421 | fs/ext2/namei.c | inode = ext2_new_inode (dir, mode); |
mode | 427 | fs/ext2/namei.c | inode->i_mode = mode; |
mode | 444 | fs/ext2/namei.c | if (S_ISBLK(mode) || S_ISCHR(mode)) |
mode | 469 | fs/ext2/namei.c | int ext2_mkdir (struct inode * dir, const char * name, int len, int mode) |
mode | 517 | fs/ext2/namei.c | inode->i_mode = S_IFDIR | (mode & S_IRWXUGO & ~current->fs->umask); |
mode | 52 | fs/ext2/symlink.c | int flag, int mode, struct inode ** res_inode) |
mode | 87 | 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 | 68 | fs/isofs/inode.c | mode_t mode; |
mode | 82 | fs/isofs/inode.c | popt->mode = S_IRUGO; |
mode | 139 | fs/isofs/inode.c | popt->mode = ivalue; |
mode | 362 | 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 | 193 | fs/namei.c | int flag, int mode, struct inode ** res_inode) |
mode | 206 | fs/namei.c | return inode->i_op->follow_link(dir,inode,flag,mode,res_inode); |
mode | 333 | fs/namei.c | int open_namei(const char * pathname, int flag, int mode, |
mode | 340 | fs/namei.c | mode &= S_IALLUGO & ~current->fs->umask; |
mode | 341 | fs/namei.c | mode |= S_IFREG; |
mode | 375 | fs/namei.c | error = dir->i_op->create(dir,basename,namelen,mode,res_inode); |
mode | 387 | fs/namei.c | error = follow_link(dir,inode,flag,mode,&inode); |
mode | 441 | fs/namei.c | int do_mknod(const char * filename, int mode, dev_t dev) |
mode | 447 | fs/namei.c | mode &= ~current->fs->umask; |
mode | 469 | fs/namei.c | error = dir->i_op->mknod(dir,basename,namelen,mode,dev); |
mode | 475 | fs/namei.c | asmlinkage int sys_mknod(const char * filename, int mode, dev_t dev) |
mode | 480 | fs/namei.c | if (S_ISDIR(mode) || (!S_ISFIFO(mode) && !fsuser())) |
mode | 482 | fs/namei.c | switch (mode & S_IFMT) { |
mode | 484 | fs/namei.c | mode |= S_IFREG; |
mode | 493 | fs/namei.c | error = do_mknod(tmp,mode,dev); |
mode | 499 | fs/namei.c | static int do_mkdir(const char * pathname, int mode) |
mode | 526 | fs/namei.c | error = dir->i_op->mkdir(dir, basename, namelen, mode & 0777 & ~current->fs->umask); |
mode | 532 | fs/namei.c | asmlinkage int sys_mkdir(const char * pathname, int mode) |
mode | 539 | fs/namei.c | error = do_mkdir(tmp,mode); |
mode | 33 | fs/nfs/dir.c | static int nfs_create(struct inode *dir, const char *name, int len, int mode, |
mode | 35 | fs/nfs/dir.c | static int nfs_mkdir(struct inode *dir, const char *name, int len, int mode); |
mode | 42 | fs/nfs/dir.c | static int nfs_mknod(struct inode *dir, const char *name, int len, int mode, |
mode | 250 | fs/nfs/dir.c | entry->expiration_date = jiffies + (S_ISDIR(fattr->mode) |
mode | 335 | fs/nfs/dir.c | static int nfs_create(struct inode *dir, const char *name, int len, int mode, |
mode | 353 | fs/nfs/dir.c | sattr.mode = mode; |
mode | 371 | fs/nfs/dir.c | int mode, int rdev) |
mode | 387 | fs/nfs/dir.c | sattr.mode = mode; |
mode | 389 | fs/nfs/dir.c | if (S_ISCHR(mode) || S_ISBLK(mode)) |
mode | 402 | fs/nfs/dir.c | static int nfs_mkdir(struct inode *dir, const char *name, int len, int mode) |
mode | 418 | fs/nfs/dir.c | sattr.mode = mode; |
mode | 488 | fs/nfs/dir.c | sattr.mode = S_IFLNK | S_IRWXUGO; /* SunOS 4.1.2 crashes without this! */ |
mode | 581 | fs/nfs/dir.c | inode->i_mode = fattr->mode; |
mode | 220 | fs/nfs/inode.c | sattr.mode = attr->ia_mode; |
mode | 222 | 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 | 184 | fs/open.c | asmlinkage int sys_access(const char * filename, int mode) |
mode | 190 | fs/open.c | if (mode != (mode & S_IRWXO)) /* where's F_OK, X_OK, W_OK, R_OK? */ |
mode | 198 | fs/open.c | res = permission(inode, mode); |
mode | 268 | fs/open.c | asmlinkage int sys_fchmod(unsigned int fd, mode_t mode) |
mode | 280 | fs/open.c | if (mode == (mode_t) -1) |
mode | 281 | fs/open.c | mode = inode->i_mode; |
mode | 282 | fs/open.c | newattrs.ia_mode = (mode & S_IALLUGO) | (inode->i_mode & ~S_IALLUGO); |
mode | 289 | fs/open.c | asmlinkage int sys_chmod(const char * filename, mode_t mode) |
mode | 302 | fs/open.c | if (mode == (mode_t) -1) |
mode | 303 | fs/open.c | mode = inode->i_mode; |
mode | 304 | fs/open.c | newattrs.ia_mode = (mode & S_IALLUGO) | (inode->i_mode & ~S_IALLUGO); |
mode | 408 | fs/open.c | int do_open(const char * filename,int flags,int mode) |
mode | 430 | fs/open.c | error = open_namei(filename,flag,mode,&inode,NULL); |
mode | 462 | fs/open.c | asmlinkage int sys_open(const char * filename,int flags,int mode) |
mode | 470 | fs/open.c | error = do_open(tmp,flags,mode); |
mode | 475 | fs/open.c | asmlinkage int sys_creat(const char * pathname, int mode) |
mode | 477 | 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 | 809 | fs/sysv/inode.c | umode_t mode; |
mode | 826 | fs/sysv/inode.c | mode = raw_inode->i_mode; |
mode | 828 | fs/sysv/inode.c | mode = from_coh_imode(mode); |
mode | 830 | fs/sysv/inode.c | inode->i_mode = mode; |
mode | 896 | fs/sysv/inode.c | umode_t mode; |
mode | 912 | fs/sysv/inode.c | mode = inode->i_mode; |
mode | 914 | fs/sysv/inode.c | mode = to_coh_imode(mode); |
mode | 915 | 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 | 305 | fs/umsdos/dir.c | if (S_ISREG(entry->mode)) entry->mtime = inode->i_mtime; |
mode | 306 | fs/umsdos/dir.c | inode->i_mode = entry->mode; |
mode | 321 | fs/umsdos/dir.c | if (!S_ISDIR(entry->mode)){ |
mode | 581 | fs/umsdos/dir.c | umsdos_delentry (dir,&info,S_ISDIR(info.entry.mode)); |
mode | 435 | fs/umsdos/emd.c | if ((isdir != 0) != (S_ISDIR(info->entry.mode) != 0)){ |
mode | 436 | fs/umsdos/emd.c | if (S_ISDIR(info->entry.mode)){ |
mode | 499 | fs/umsdos/emd.c | if (S_ISDIR(info->entry.mode)){ |
mode | 335 | fs/umsdos/inode.c | entry.mode = attr->ia_mode; |
mode | 199 | fs/umsdos/ioctl.c | ,S_ISDIR(data.umsdos_dirent.mode)); |
mode | 268 | 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 | 169 | include/asm-alpha/dma.h | static __inline__ void set_dma_mode(unsigned int dmanr, char mode) |
mode | 172 | include/asm-alpha/dma.h | dma_outb(mode | dmanr, DMA1_MODE_REG); |
mode | 174 | include/asm-alpha/dma.h | dma_outb(mode | (dmanr&3), DMA2_MODE_REG); |
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 | 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 | 45 | 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 | 474 | include/linux/fs.h | extern int open_namei(const char * pathname, int flag, int mode, |
mode | 476 | 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 | 148 | include/linux/msdos_fs.h | extern int msdos_create(struct inode *dir,const char *name,int len,int mode, |
mode | 150 | 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 | 119 | include/linux/skbuff.h | extern void dev_kfree_skb(struct sk_buff *skb, int mode); |
mode | 137 | include/linux/soundcard.h | unsigned long mode; |
mode | 589 | include/linux/soundcard.h | int mode; |
mode | 829 | include/linux/soundcard.h | #define SEQ_VOLUME_MODE(dev, mode) {_SEQ_NEEDBUF(8);\ |
mode | 833 | 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 | 36 | 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 | 58 | init/main.c | static inline _syscall3(int,open,const char *,file,int,flag,int,mode) |
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 | 557 | ipc/shm.c | if (--shp->shm_nattch <= 0 && shp->shm_perm.mode & SHM_DEST) |
mode | 609 | ipc/shm.c | if (--shp->shm_nattch <= 0 && shp->shm_perm.mode & SHM_DEST) |
mode | 720 | ipc/shm.c | if (shp == IPC_UNUSED || shp == IPC_NOID || shp->shm_perm.mode & SHM_LOCKED ) { |
mode | 55 | ipc/util.c | granted_mode = ipcp->mode; |
mode | 345 | kernel/time.c | if (txc.mode && !suser()) |
mode | 351 | kernel/time.c | if (txc.mode != ADJ_OFFSET_SINGLESHOT && (txc.mode & ADJ_OFFSET)) |
mode | 358 | kernel/time.c | if (txc.mode & ADJ_STATUS) |
mode | 363 | kernel/time.c | if (txc.mode & ADJ_TICK) |
mode | 373 | kernel/time.c | if (txc.mode) |
mode | 378 | kernel/time.c | if (txc.mode & ADJ_STATUS) |
mode | 381 | kernel/time.c | if (txc.mode & ADJ_FREQUENCY) |
mode | 384 | kernel/time.c | if (txc.mode & ADJ_MAXERROR) |
mode | 387 | kernel/time.c | if (txc.mode & ADJ_ESTERROR) |
mode | 390 | kernel/time.c | if (txc.mode & ADJ_TIMECONST) |
mode | 393 | kernel/time.c | if (txc.mode & ADJ_OFFSET) |
mode | 394 | kernel/time.c | if (txc.mode == ADJ_OFFSET_SINGLESHOT) |
mode | 420 | 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 | 551 | net/inet/skbuff.c | void dev_kfree_skb(struct sk_buff *skb, int mode) |
mode | 563 | net/inet/skbuff.c | kfree_skb(skb,mode); |