tag | line | file | source code |
mode | 283 | drivers/block/xd.c | u_char head,sector,control,mode,temp; |
mode | 302 | drivers/block/xd.c | mode = xd_setup_dma(operation == READ ? DMA_MODE_READ : DMA_MODE_WRITE,(u_char *)buffer,temp * 0x200); |
mode | 305 | drivers/block/xd.c | switch (xd_command(cmdblk,mode,(u_char *) buffer,(u_char *) buffer,sense,XD_TIMEOUT)) { |
mode | 349 | drivers/block/xd.c | static u_char xd_setup_dma (u_char mode,u_char *buffer,u_int count) |
mode | 360 | drivers/block/xd.c | set_dma_mode(xd_dma,mode); |
mode | 397 | 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 | 402 | 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 | 406 | drivers/block/xd.c | outb(mode,XD_CONTROL); |
mode | 415 | drivers/block/xd.c | case 0: if (mode == DMA_MODE) { |
mode | 423 | drivers/block/xd.c | case STAT_INPUT: if (mode == DMA_MODE) { |
mode | 1458 | drivers/char/console.c | vtmode.mode = VT_AUTO; |
mode | 392 | drivers/char/keyboard.c | static void applkey(int key, char mode) |
mode | 396 | drivers/char/keyboard.c | buf[1] = (mode ? 'O' : '['); |
mode | 1482 | drivers/char/tpqic02.c | static int start_dma(short mode, unsigned long bytes_todo) |
mode | 1494 | drivers/char/tpqic02.c | dma_mode = (mode == WRITE)? DMA_MODE_WRITE : DMA_MODE_READ; |
mode | 1516 | drivers/char/tpqic02.c | stat = tp_sense(((mode == WRITE)? 0 : TP_WRP) | TP_BOM | TP_FIL); |
mode | 1531 | drivers/char/tpqic02.c | stat = send_qic02_cmd((mode == WRITE)? QCMD_WRT_DATA : QCMD_RD_DATA, TIM_M, 0); |
mode | 1534 | drivers/char/tpqic02.c | (mode == WRITE)? "write" : "read"); |
mode | 1544 | drivers/char/tpqic02.c | switch (mode) { |
mode | 1552 | drivers/char/tpqic02.c | printk(TPQIC_NAME ": requested unknown mode %d\n", mode); |
mode | 376 | drivers/char/tty_io.c | if (vt_cons[new_console].vt_mode.mode == VT_PROCESS) |
mode | 399 | drivers/char/tty_io.c | vt_cons[new_console].vt_mode.mode = VT_AUTO; |
mode | 453 | drivers/char/tty_io.c | if (vt_cons[fg_console].vt_mode.mode == VT_PROCESS) |
mode | 485 | drivers/char/tty_io.c | vt_cons[fg_console].vt_mode.mode = VT_AUTO; |
mode | 428 | drivers/char/vt.c | char mode; |
mode | 433 | drivers/char/vt.c | mode = get_fs_byte(&vtmode->mode); |
mode | 434 | drivers/char/vt.c | if (mode != VT_AUTO && mode != VT_PROCESS) |
mode | 436 | drivers/char/vt.c | vt_cons[console].vt_mode.mode = mode; |
mode | 454 | drivers/char/vt.c | put_fs_byte(vt_cons[console].vt_mode.mode, &vtmode->mode); |
mode | 531 | drivers/char/vt.c | if (vt_cons[console].vt_mode.mode != VT_PROCESS) |
mode | 140 | drivers/net/atp.c | static void write_packet(short ioaddr, int length, unsigned char *packet, int mode); |
mode | 227 | drivers/net/depca.c | unsigned short mode; /* Mode register */ |
mode | 673 | drivers/net/depca.c | printk("\tmode: 0x%4.4x\n",lp->init_block.mode); |
mode | 725 | drivers/net/depca.c | lp->init_block.mode = DTX | DRX; /* Disable Rx and Tx. */ |
mode | 747 | 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; /* Set promiscuous mode */ |
mode | 1193 | drivers/net/depca.c | lp->init_block.mode &= ~PROM; /* Unset promiscuous mode */ |
mode | 1195 | drivers/net/depca.c | lp->init_block.mode |= PROM; /* Set promiscuous mode */ |
mode | 183 | drivers/net/lance.c | unsigned short mode; /* Pre-set mode (reg. 15) */ |
mode | 298 | drivers/net/lance.c | lp->init_block.mode = 0x0003; /* Disable Rx and Tx. */ |
mode | 458 | drivers/net/lance.c | lp->init_block.mode = 0x0000; |
mode | 140 | drivers/net/slip.c | sl->mode = SL_MODE_ADAPTIVE; /* automatic CSLIP recognition */ |
mode | 143 | drivers/net/slip.c | sl->mode = SL_MODE_CSLIP | SL_MODE_ADAPTIVE; /* Default */ |
mode | 145 | drivers/net/slip.c | sl->mode = SL_MODE_SLIP; /* Default for non compressors */ |
mode | 366 | drivers/net/slip.c | if (sl->mode & (SL_MODE_ADAPTIVE | SL_MODE_CSLIP)) { |
mode | 370 | drivers/net/slip.c | if (!(sl->mode & SL_MODE_CSLIP)) { |
mode | 396 | drivers/net/slip.c | if (!(sl->mode & SL_MODE_CSLIP)) { |
mode | 398 | drivers/net/slip.c | sl->mode |= SL_MODE_CSLIP; |
mode | 457 | drivers/net/slip.c | if(sl->mode & SL_MODE_CSLIP) |
mode | 495 | drivers/net/slip.c | if(sl->mode & SL_MODE_SLIP6) |
mode | 556 | drivers/net/slip.c | if(sl->mode & SL_MODE_AX25) |
mode | 569 | drivers/net/slip.c | if (!(sl->mode & SL_MODE_AX25)) { |
mode | 591 | drivers/net/slip.c | if(sl->mode&SL_MODE_AX25) |
mode | 605 | drivers/net/slip.c | if((sl->mode&SL_MODE_AX25) && type!=NET16(ETH_P_AX25)) |
mode | 620 | drivers/net/slip.c | if(sl->mode&SL_MODE_AX25) |
mode | 633 | drivers/net/slip.c | if(sl->mode&SL_MODE_AX25) |
mode | 804 | drivers/net/slip.c | if(sl->mode & SL_MODE_SLIP6) |
mode | 1112 | drivers/net/slip.c | put_fs_long(sl->mode,(long *)arg); |
mode | 1116 | drivers/net/slip.c | sl->mode=get_fs_long((long *)arg); |
mode | 1118 | drivers/net/slip.c | if(sl->mode & SL_MODE_AX25) |
mode | 65 | drivers/net/slip.h | unsigned char mode; /* SLIP mode */ |
mode | 274 | drivers/scsi/NCR5380.h | unsigned char *ptr, unsigned int count, unsigned char mode) { |
mode | 296 | drivers/scsi/NCR5380.h | set_dma_mode(instance->dma_channel, mode); |
mode | 57 | drivers/sound/audio.c | int mode = file->mode & O_ACCMODE; |
mode | 66 | drivers/sound/audio.c | if ((ret = DMAbuf_open (dev, mode)) < 0) |
mode | 84 | drivers/sound/audio.c | int mode; |
mode | 87 | drivers/sound/audio.c | mode = file->mode & O_ACCMODE; |
mode | 96 | drivers/sound/audio.c | DMAbuf_release (dev, mode); |
mode | 61 | drivers/sound/dev_table.h | int (*open) (int dev, int mode); |
mode | 86 | drivers/sound/dev_table.h | int (*open) (int dev, int mode); |
mode | 104 | drivers/sound/dev_table.h | int (*open) (int dev, int mode, |
mode | 122 | drivers/sound/dev_table.h | int (*open) (int dev, int mode); |
mode | 160 | drivers/sound/dma.h | static __inline__ void set_dma_mode(unsigned int dmanr, char mode) |
mode | 163 | drivers/sound/dma.h | deb_outb(mode | dmanr, DMA1_MODE_REG) |
mode | 165 | drivers/sound/dma.h | deb_outb(mode | (dmanr&3), DMA2_MODE_REG); |
mode | 193 | drivers/sound/dmabuf.c | DMAbuf_open (int dev, int mode) |
mode | 219 | drivers/sound/dmabuf.c | if ((retval = dsp_devs[dev]->open (dev, mode)) < 0) |
mode | 222 | drivers/sound/dmabuf.c | dev_modes[dev] = mode; |
mode | 296 | drivers/sound/dmabuf.c | DMAbuf_release (int dev, int mode) |
mode | 810 | drivers/sound/dmabuf.c | DMAbuf_open (int dev, int mode) |
mode | 816 | 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 | 44 | drivers/sound/gus_wave.c | unsigned long mode; |
mode | 426 | drivers/sound/gus_wave.c | gus_voice_on (unsigned int mode) |
mode | 428 | drivers/sound/gus_wave.c | gus_write8 (0x00, (unsigned char) (mode & 0xfc)); |
mode | 430 | drivers/sound/gus_wave.c | gus_write8 (0x00, (unsigned char) (mode & 0xfc)); |
mode | 442 | drivers/sound/gus_wave.c | unsigned char mode = (unsigned char) (m & 0xff); |
mode | 444 | drivers/sound/gus_wave.c | gus_write8 (0x00, (gus_read8 (0x00) & 0x03) | (mode & 0xfc)); /* |
mode | 453 | drivers/sound/gus_wave.c | gus_write8 (0x00, (gus_read8 (0x00) & 0x03) | (mode & 0xfc)); |
mode | 499 | drivers/sound/gus_wave.c | unsigned char mode = (unsigned char) (m & 0xff); |
mode | 501 | drivers/sound/gus_wave.c | gus_write8 (0x0d, mode & 0xfc); |
mode | 503 | drivers/sound/gus_wave.c | gus_write8 (0x0d, mode & 0xfc); |
mode | 509 | drivers/sound/gus_wave.c | unsigned char mode = (unsigned char) (m & 0xff); |
mode | 511 | drivers/sound/gus_wave.c | gus_write8 (0x0d, (gus_read8 (0x0d) & 0x03) | (mode & 0xfc)); /* |
mode | 520 | drivers/sound/gus_wave.c | gus_write8 (0x0d, (gus_read8 (0x0d) & 0x03) | (mode & 0xfc)); |
mode | 540 | drivers/sound/gus_wave.c | samples[sample_no].mode & WAVE_16_BITS); |
mode | 568 | drivers/sound/gus_wave.c | voices[voice].mode = 0; |
mode | 592 | drivers/sound/gus_wave.c | if (voices[voice].mode & WAVE_SUSTAIN_ON && voices[voice].env_phase == 2) |
mode | 682 | drivers/sound/gus_wave.c | voices[voice].mode &= ~WAVE_SUSTAIN_ON; |
mode | 700 | drivers/sound/gus_wave.c | is16bits = (samples[instr_no].mode & WAVE_16_BITS) ? 1 : 0; /* |
mode | 706 | drivers/sound/gus_wave.c | if (voices[voice].mode & WAVE_ENVELOPES) |
mode | 1104 | drivers/sound/gus_wave.c | if (voices[voice].mode & WAVE_ENVELOPES && voices[voice].env_phase != 2) |
mode | 1255 | drivers/sound/gus_wave.c | if (!(voices[voice].mode & WAVE_ENVELOPES)) |
mode | 1366 | drivers/sound/gus_wave.c | unsigned char mode = 0; |
mode | 1376 | drivers/sound/gus_wave.c | if (voices[voice].mode & WAVE_ENVELOPES) |
mode | 1435 | drivers/sound/gus_wave.c | is16bits = (samples[sample].mode & WAVE_16_BITS) ? 1 : 0; /* |
mode | 1440 | drivers/sound/gus_wave.c | voices[voice].mode = samples[sample].mode; |
mode | 1443 | drivers/sound/gus_wave.c | if (voices[voice].mode & WAVE_ENVELOPES) |
mode | 1480 | drivers/sound/gus_wave.c | if (samples[sample].mode & WAVE_16_BITS) |
mode | 1482 | drivers/sound/gus_wave.c | mode |= 0x04; /* |
mode | 1500 | drivers/sound/gus_wave.c | if (voices[voice].mode & WAVE_ENVELOPES) |
mode | 1508 | drivers/sound/gus_wave.c | if (samples[sample].mode & WAVE_LOOP_BACK) |
mode | 1516 | drivers/sound/gus_wave.c | if (samples[sample].mode & WAVE_LOOPING) |
mode | 1518 | drivers/sound/gus_wave.c | mode |= 0x08; /* |
mode | 1522 | drivers/sound/gus_wave.c | if (samples[sample].mode & WAVE_BIDIR_LOOP) |
mode | 1523 | drivers/sound/gus_wave.c | mode |= 0x10; /* |
mode | 1527 | drivers/sound/gus_wave.c | if (samples[sample].mode & WAVE_LOOP_BACK) |
mode | 1532 | drivers/sound/gus_wave.c | mode |= 0x40; |
mode | 1548 | drivers/sound/gus_wave.c | mode |= 0x20; /* |
mode | 1568 | drivers/sound/gus_wave.c | gus_voice_on (mode); |
mode | 1583 | drivers/sound/gus_wave.c | int mode; |
mode | 1597 | drivers/sound/gus_wave.c | mode = gus_read8 (0x00); |
mode | 1598 | drivers/sound/gus_wave.c | if (mode & 0x20) |
mode | 1599 | drivers/sound/gus_wave.c | gus_write8 (0x00, mode & 0xdf); /* No interrupt! */ |
mode | 1613 | drivers/sound/gus_wave.c | if ((mode & 0x01) || ((gus_read16 (0x09) >> 4) < 2065)) |
mode | 1647 | drivers/sound/gus_wave.c | guswave_open (int dev, int mode) |
mode | 1742 | drivers/sound/gus_wave.c | if (patch.mode & WAVE_LOOPING) |
mode | 1763 | drivers/sound/gus_wave.c | if (patch.mode & WAVE_16_BITS) |
mode | 1800 | drivers/sound/gus_wave.c | if (patch.mode & WAVE_ENVELOPES) |
mode | 1801 | drivers/sound/gus_wave.c | patch.mode &= ~WAVE_TREMOLO; |
mode | 1853 | drivers/sound/gus_wave.c | if (patch.mode & WAVE_UNSIGNED) |
mode | 1855 | drivers/sound/gus_wave.c | if (!(patch.mode & WAVE_16_BITS) || (i & 0x01)) |
mode | 1909 | drivers/sound/gus_wave.c | if (patch.mode & WAVE_UNSIGNED) |
mode | 1913 | drivers/sound/gus_wave.c | if (patch.mode & WAVE_16_BITS) |
mode | 2054 | drivers/sound/gus_wave.c | if (voices[voice].mode & WAVE_ENVELOPES) |
mode | 2065 | drivers/sound/gus_wave.c | if (voices[voice].mode & WAVE_ENVELOPES) |
mode | 2076 | drivers/sound/gus_wave.c | if (voices[voice].mode & WAVE_ENVELOPES) |
mode | 2090 | drivers/sound/gus_wave.c | if (voices[voice].mode & WAVE_ENVELOPES) |
mode | 2104 | drivers/sound/gus_wave.c | if (voices[voice].mode & WAVE_ENVELOPES) |
mode | 2237 | drivers/sound/gus_wave.c | gus_sampling_open (int dev, int mode) |
mode | 2258 | drivers/sound/gus_wave.c | if (mode & OPEN_READ) |
mode | 2306 | drivers/sound/gus_wave.c | unsigned char mode[2], ramp_mode[2]; |
mode | 2315 | drivers/sound/gus_wave.c | mode[chn] = 0x00; |
mode | 2322 | drivers/sound/gus_wave.c | mode[chn] |= 0x20; /* |
mode | 2331 | drivers/sound/gus_wave.c | mode[chn] |= 0x04; /* |
mode | 2345 | drivers/sound/gus_wave.c | mode[chn] |= 0x08; /* |
mode | 2417 | drivers/sound/gus_wave.c | mode[chn] |= 0x08; /* |
mode | 2428 | drivers/sound/gus_wave.c | mode[chn] &= ~0x08; /* |
mode | 2431 | drivers/sound/gus_wave.c | mode[chn] |= 0x20; /* |
mode | 2446 | drivers/sound/gus_wave.c | mode[chn] &= ~0x08; /* |
mode | 2460 | drivers/sound/gus_wave.c | gus_voice_on (mode[chn]); |
mode | 2581 | drivers/sound/gus_wave.c | unsigned char mode; |
mode | 2587 | drivers/sound/gus_wave.c | mode = 0xa0; /* |
mode | 2592 | drivers/sound/gus_wave.c | mode |= 0x04; /* |
mode | 2596 | drivers/sound/gus_wave.c | mode |= 0x02; /* |
mode | 2599 | drivers/sound/gus_wave.c | mode |= 0x01; /* |
mode | 2603 | drivers/sound/gus_wave.c | gus_write8 (0x49, mode); |
mode | 3195 | drivers/sound/gus_wave.c | int mode, parm; |
mode | 3207 | drivers/sound/gus_wave.c | mode = voices[voice].loop_irq_mode; |
mode | 3211 | drivers/sound/gus_wave.c | switch (mode) |
mode | 3276 | drivers/sound/gus_wave.c | int mode, parm; |
mode | 3289 | drivers/sound/gus_wave.c | mode = voices[voice].volume_irq_mode; |
mode | 3293 | drivers/sound/gus_wave.c | switch (mode) |
mode | 46 | drivers/sound/midibuf.c | int mode, err; |
mode | 49 | drivers/sound/midibuf.c | mode = file->mode & O_ACCMODE; |
mode | 60 | drivers/sound/midibuf.c | if ((err = midi_devs[mpu401_dev]->open (mpu401_dev, mode, NULL, NULL)) < 0) |
mode | 71 | drivers/sound/midibuf.c | int mode; |
mode | 74 | drivers/sound/midibuf.c | mode = file->mode & O_ACCMODE; |
mode | 119 | drivers/sound/mpu401.c | mpu401_open (int dev, int mode, |
mode | 133 | drivers/sound/mpu401.c | mpu401_opened = mode; |
mode | 57 | drivers/sound/opl3.c | int mode; |
mode | 257 | drivers/sound/opl3.c | voices[voice].mode = 0; |
mode | 357 | drivers/sound/opl3.c | if (voices[voice].mode == 0) |
mode | 360 | drivers/sound/opl3.c | if (voices[voice].mode == 2) |
mode | 552 | drivers/sound/opl3.c | voices[voice].mode = voice_mode; |
mode | 691 | drivers/sound/opl3.c | opl3_open (int dev, int mode) |
mode | 782 | drivers/sound/opl3.c | if (voices[voice].mode == 4) |
mode | 67 | drivers/sound/os.h | int mode; int aborting; |
mode | 74 | drivers/sound/os.h | #define RESET_WAIT_QUEUE(q, f) {f.aborting = 0;f.mode = WK_NONE;} |
mode | 77 | drivers/sound/os.h | #define TIMED_OUT(q, f) (f.mode & WK_TIMEOUT) |
mode | 82 | drivers/sound/os.h | f.mode = WK_SLEEP;interruptible_sleep_on(&q); \ |
mode | 83 | drivers/sound/os.h | if (!(f.mode & WK_WAKEUP)) \ |
mode | 88 | drivers/sound/os.h | if (jiffies >= tl) f.mode |= WK_TIMEOUT; \ |
mode | 90 | drivers/sound/os.h | f.mode &= ~WK_SLEEP; \ |
mode | 92 | drivers/sound/os.h | #define SOMEONE_WAITING(q, f) (f.mode & WK_SLEEP) |
mode | 93 | 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 | 80 | drivers/sound/pas2_midi.c | if (mode == OPEN_READ || mode == OPEN_READWRITE) |
mode | 86 | drivers/sound/pas2_midi.c | if (mode == OPEN_WRITE || mode == OPEN_READWRITE) |
mode | 199 | drivers/sound/pas2_pcm.c | pas_pcm_open (int dev, int mode) |
mode | 203 | drivers/sound/pas2_pcm.c | TRACE (printk ("pas2_pcm.c: static int pas_pcm_open(int mode = %X)\n", mode)); |
mode | 59 | drivers/sound/sb16_dsp.c | static int sb16_dsp_open (int dev, int mode); |
mode | 165 | drivers/sound/sb16_dsp.c | static int dsp_set_speed(int mode) |
mode | 167 | drivers/sound/sb16_dsp.c | DEB(printk("dsp_set_speed(%d)\n",mode)); |
mode | 168 | drivers/sound/sb16_dsp.c | if (mode) |
mode | 170 | drivers/sound/sb16_dsp.c | if (mode < 5000) mode = 5000; |
mode | 171 | drivers/sound/sb16_dsp.c | if (mode > 44100) mode = 44100; |
mode | 172 | drivers/sound/sb16_dsp.c | dsp_current_speed=mode; |
mode | 174 | drivers/sound/sb16_dsp.c | return mode; |
mode | 177 | drivers/sound/sb16_dsp.c | static int dsp_set_stereo(int mode) |
mode | 179 | drivers/sound/sb16_dsp.c | DEB(printk("dsp_set_stereo(%d)\n",mode)); |
mode | 181 | drivers/sound/sb16_dsp.c | dsp_stereo=mode; |
mode | 183 | drivers/sound/sb16_dsp.c | return mode; |
mode | 251 | drivers/sound/sb16_dsp.c | sb16_dsp_open (int dev, int mode) |
mode | 116 | drivers/sound/sb16_midi.c | sb16midi_open (int dev, int mode, |
mode | 129 | drivers/sound/sb16_midi.c | sb16midi_opened = mode; |
mode | 73 | drivers/sound/sb_dsp.c | static int dsp_set_stereo (int mode); |
mode | 297 | drivers/sound/sb_dsp.c | dsp_set_stereo (int mode) |
mode | 307 | drivers/sound/sb_dsp.c | if (mode && sb_midi_busy) |
mode | 313 | drivers/sound/sb_dsp.c | dsp_stereo = !!mode; |
mode | 491 | drivers/sound/sb_dsp.c | sb_dsp_open (int dev, int mode) |
mode | 59 | drivers/sound/sb_midi.c | sb_midi_open (int dev, int mode, |
mode | 72 | drivers/sound/sb_midi.c | if (mode != OPEN_WRITE && !sb_duplex_midi) |
mode | 80 | drivers/sound/sb_midi.c | if (mode != OPEN_WRITE) |
mode | 81 | drivers/sound/sb_mixer.c | sb_mixer_set_stereo(int mode) |
mode | 86 | drivers/sound/sb_mixer.c | | (mode ? STEREO_DAC : MONO_DAC))); |
mode | 161 | drivers/sound/sequencer.c | int mode = file->mode & O_ACCMODE; |
mode | 167 | drivers/sound/sequencer.c | if (mode == OPEN_READ) |
mode | 221 | drivers/sound/sequencer.c | int mode; |
mode | 230 | drivers/sound/sequencer.c | mode = file->mode & O_ACCMODE; |
mode | 232 | drivers/sound/sequencer.c | if ((err = midi_devs[dev]->open (dev, mode, |
mode | 467 | drivers/sound/sequencer.c | int retval, mode, i; |
mode | 470 | drivers/sound/sequencer.c | mode = file->mode & O_ACCMODE; |
mode | 505 | drivers/sound/sequencer.c | if (mode == OPEN_WRITE || mode == OPEN_READWRITE) |
mode | 507 | drivers/sound/sequencer.c | if (synth_devs[i]->open (i, mode) < 0) |
mode | 520 | drivers/sound/sequencer.c | if (mode == OPEN_READ || mode == OPEN_READWRITE) |
mode | 530 | drivers/sound/sequencer.c | if ((retval = midi_devs[i]->open (i, mode, |
mode | 583 | drivers/sound/sequencer.c | int mode = file->mode & O_ACCMODE; |
mode | 606 | drivers/sound/sequencer.c | if (mode != OPEN_READ) |
mode | 609 | drivers/sound/sequencer.c | if (mode != OPEN_READ) |
mode | 616 | drivers/sound/sequencer.c | if (mode == OPEN_WRITE || mode == OPEN_READWRITE) |
mode | 713 | drivers/sound/sequencer.c | int mode = file->mode & O_ACCMODE; |
mode | 724 | drivers/sound/sequencer.c | if (mode == OPEN_READ) |
mode | 749 | drivers/sound/sequencer.c | int err, mode; |
mode | 751 | drivers/sound/sequencer.c | mode = file->mode & O_ACCMODE; |
mode | 752 | drivers/sound/sequencer.c | if ((err = midi_devs[midi_dev]->open (midi_dev, mode, |
mode | 767 | drivers/sound/sequencer.c | if (mode == OPEN_WRITE) |
mode | 774 | drivers/sound/sequencer.c | if (mode == OPEN_READ) |
mode | 960 | drivers/sound/sequencer.c | if (mode == OPEN_READ) |
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 | 87 | drivers/sound/sound_calls.h | int pro_midi_open(int dev, int mode); |
mode | 136 | drivers/sound/sound_calls.h | void sb_mixer_set_stereo(int mode); |
mode | 203 | drivers/sound/sound_config.h | int mode; /* Open mode */ |
mode | 101 | drivers/sound/soundcard.c | files[dev].mode = 0; |
mode | 104 | drivers/sound/soundcard.c | files[dev].mode = OPEN_READWRITE; |
mode | 106 | drivers/sound/soundcard.c | files[dev].mode = OPEN_READ; |
mode | 108 | drivers/sound/soundcard.c | files[dev].mode = OPEN_WRITE; |
mode | 56 | fs/exec.c | int open_inode(struct inode * inode, int mode) |
mode | 76 | fs/exec.c | f->f_flags = mode; |
mode | 77 | fs/exec.c | f->f_mode = (mode+1) & O_ACCMODE; |
mode | 310 | fs/ext/namei.c | int ext_create(struct inode * dir,const char * name, int len, int mode, |
mode | 326 | fs/ext/namei.c | inode->i_mode = mode; |
mode | 344 | fs/ext/namei.c | int ext_mknod(struct inode * dir, const char * name, int len, int mode, int rdev) |
mode | 364 | fs/ext/namei.c | inode->i_mode = mode; |
mode | 381 | fs/ext/namei.c | if (S_ISBLK(mode) || S_ISCHR(mode)) |
mode | 403 | fs/ext/namei.c | int ext_mkdir(struct inode * dir, const char * name, int len, int mode) |
mode | 450 | fs/ext/namei.c | inode->i_mode = S_IFDIR | (mode & 0777 & ~current->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 | 38 | fs/ext2/acl.c | mode >>= 6; |
mode | 40 | fs/ext2/acl.c | mode >>= 3; |
mode | 41 | fs/ext2/acl.c | if (((mode & mask & S_IRWXO) == mask)) |
mode | 292 | fs/ext2/ialloc.c | int mode) |
mode | 330 | fs/ext2/ialloc.c | struct inode * ext2_new_inode (const struct inode * dir, int mode) |
mode | 352 | fs/ext2/ialloc.c | if (S_ISDIR(mode)) { |
mode | 467 | fs/ext2/ialloc.c | if (S_ISDIR(mode)) |
mode | 473 | fs/ext2/ialloc.c | inode->i_mode = mode; |
mode | 483 | fs/ext2/ialloc.c | if (S_ISDIR(mode)) |
mode | 484 | fs/ext2/ialloc.c | mode |= S_ISGID; |
mode | 504 | fs/ext2/ialloc.c | inc_inode_version (inode, gdp, mode); |
mode | 368 | fs/ext2/namei.c | int ext2_create (struct inode * dir,const char * name, int len, int mode, |
mode | 379 | fs/ext2/namei.c | inode = ext2_new_inode (dir, mode); |
mode | 385 | fs/ext2/namei.c | inode->i_mode = mode; |
mode | 411 | fs/ext2/namei.c | int ext2_mknod (struct inode * dir, const char * name, int len, int mode, |
mode | 427 | fs/ext2/namei.c | inode = ext2_new_inode (dir, mode); |
mode | 433 | fs/ext2/namei.c | inode->i_mode = mode; |
mode | 450 | fs/ext2/namei.c | if (S_ISBLK(mode) || S_ISCHR(mode)) |
mode | 485 | fs/ext2/namei.c | int ext2_mkdir (struct inode * dir, const char * name, int len, int mode) |
mode | 536 | fs/ext2/namei.c | inode->i_mode = S_IFDIR | (mode & S_IRWXUGO & ~current->umask); |
mode | 51 | fs/ext2/symlink.c | int flag, int mode, struct inode ** res_inode) |
mode | 86 | fs/ext2/symlink.c | error = open_namei (link, flag, mode, res_inode, dir); |
mode | 75 | fs/isofs/file.c | static inline void unixify_text_buffer(char * buffer, int chars, int mode) |
mode | 80 | fs/isofs/file.c | if(mode == ISOFS_FILE_TEXT_M) *buffer = 0x0a; |
mode | 81 | fs/isofs/file.c | if(mode == ISOFS_FILE_TEXT) *buffer = ' '; |
mode | 289 | fs/isofs/rock.c | inode->i_mode = isonum_733(rr->u.PX.mode); |
mode | 30 | fs/isofs/rock.h | char mode[8]; |
mode | 46 | fs/isofs/symlink.c | int flag, int mode, struct inode ** res_inode) |
mode | 74 | fs/isofs/symlink.c | error = open_namei(pnt,flag,mode,res_inode,dir); |
mode | 213 | fs/minix/namei.c | int minix_create(struct inode * dir,const char * name, int len, int mode, |
mode | 230 | fs/minix/namei.c | inode->i_mode = mode; |
mode | 248 | fs/minix/namei.c | int minix_mknod(struct inode * dir, const char * name, int len, int mode, int rdev) |
mode | 269 | fs/minix/namei.c | inode->i_mode = mode; |
mode | 286 | fs/minix/namei.c | if (S_ISBLK(mode) || S_ISCHR(mode)) |
mode | 305 | fs/minix/namei.c | int minix_mkdir(struct inode * dir, const char * name, int len, int mode) |
mode | 352 | fs/minix/namei.c | inode->i_mode = S_IFDIR | (mode & 0777 & ~current->umask); |
mode | 42 | fs/minix/symlink.c | int flag, int mode, struct inode ** res_inode) |
mode | 73 | fs/minix/symlink.c | error = open_namei(bh->b_data,flag,mode,res_inode,dir); |
mode | 196 | fs/msdos/namei.c | int msdos_create(struct inode *dir,const char *name,int len,int mode, |
mode | 217 | fs/msdos/namei.c | res = msdos_create_entry(dir,msdos_name,S_ISDIR(mode),result); |
mode | 244 | fs/msdos/namei.c | int msdos_mkdir(struct inode *dir,const char *name,int len,int mode) |
mode | 76 | fs/namei.c | int mode = inode->i_mode; |
mode | 81 | fs/namei.c | mode >>= 6; |
mode | 83 | fs/namei.c | mode >>= 3; |
mode | 84 | fs/namei.c | if (((mode & mask & 0007) == mask) || suser()) |
mode | 134 | fs/namei.c | int flag, int mode, struct inode ** res_inode) |
mode | 147 | fs/namei.c | return inode->i_op->follow_link(dir,inode,flag,mode,res_inode); |
mode | 274 | fs/namei.c | int open_namei(const char * pathname, int flag, int mode, |
mode | 282 | fs/namei.c | mode &= S_IALLUGO & ~current->umask; |
mode | 283 | fs/namei.c | mode |= S_IFREG; |
mode | 317 | fs/namei.c | error = dir->i_op->create(dir,basename,namelen,mode,res_inode); |
mode | 329 | fs/namei.c | error = follow_link(dir,inode,flag,mode,&inode); |
mode | 384 | fs/namei.c | int do_mknod(const char * filename, int mode, dev_t dev) |
mode | 390 | fs/namei.c | mode &= ~current->umask; |
mode | 411 | fs/namei.c | error = dir->i_op->mknod(dir,basename,namelen,mode,dev); |
mode | 416 | fs/namei.c | asmlinkage int sys_mknod(const char * filename, int mode, dev_t dev) |
mode | 421 | fs/namei.c | if (S_ISDIR(mode) || (!S_ISFIFO(mode) && !suser())) |
mode | 423 | fs/namei.c | switch (mode & S_IFMT) { |
mode | 425 | fs/namei.c | mode |= S_IFREG; |
mode | 434 | fs/namei.c | error = do_mknod(tmp,mode,dev); |
mode | 440 | fs/namei.c | static int do_mkdir(const char * pathname, int mode) |
mode | 466 | fs/namei.c | error = dir->i_op->mkdir(dir,basename,namelen,mode); |
mode | 471 | fs/namei.c | asmlinkage int sys_mkdir(const char * pathname, int mode) |
mode | 478 | fs/namei.c | error = do_mkdir(tmp,mode); |
mode | 26 | fs/nfs/dir.c | static int nfs_create(struct inode *dir, const char *name, int len, int mode, |
mode | 28 | fs/nfs/dir.c | static int nfs_mkdir(struct inode *dir, const char *name, int len, int mode); |
mode | 35 | fs/nfs/dir.c | static int nfs_mknod(struct inode *dir, const char *name, int len, int mode, |
mode | 243 | fs/nfs/dir.c | entry->expiration_date = jiffies + (S_ISDIR(fattr->mode) |
mode | 328 | fs/nfs/dir.c | static int nfs_create(struct inode *dir, const char *name, int len, int mode, |
mode | 346 | fs/nfs/dir.c | sattr.mode = mode; |
mode | 364 | fs/nfs/dir.c | int mode, int rdev) |
mode | 380 | fs/nfs/dir.c | sattr.mode = mode; |
mode | 382 | fs/nfs/dir.c | if (S_ISCHR(mode) || S_ISBLK(mode)) |
mode | 395 | fs/nfs/dir.c | static int nfs_mkdir(struct inode *dir, const char *name, int len, int mode) |
mode | 411 | fs/nfs/dir.c | sattr.mode = mode; |
mode | 481 | fs/nfs/dir.c | sattr.mode = S_IFLNK | S_IRWXUGO; /* SunOS 4.1.2 crashes without this! */ |
mode | 574 | fs/nfs/dir.c | inode->i_mode = fattr->mode; |
mode | 203 | fs/nfs/inode.c | sattr.mode = inode->i_mode; |
mode | 205 | fs/nfs/inode.c | sattr.mode = (unsigned) -1; |
mode | 134 | fs/nfs/proc.c | fattr->mode = ntohl(*p++); |
mode | 155 | fs/nfs/proc.c | *p++ = htonl(sattr->mode); |
mode | 44 | fs/nfs/symlink.c | int flag, int mode, struct inode **res_inode) |
mode | 78 | fs/nfs/symlink.c | error = open_namei(res, flag, mode, res_inode, dir); |
mode | 158 | fs/open.c | asmlinkage int sys_access(const char * filename,int mode) |
mode | 163 | fs/open.c | if (mode != (mode & S_IRWXO)) /* where's F_OK, X_OK, W_OK, R_OK? */ |
mode | 175 | fs/open.c | if ((res & mode) == mode) |
mode | 187 | fs/open.c | (S_ISDIR(i_mode) || !(mode & S_IXOTH) || (i_mode & S_IXUGO))) |
mode | 253 | fs/open.c | asmlinkage int sys_fchmod(unsigned int fd, mode_t mode) |
mode | 266 | fs/open.c | if (mode == (mode_t) -1) |
mode | 267 | fs/open.c | mode = inode->i_mode; |
mode | 268 | fs/open.c | inode->i_mode = (mode & S_IALLUGO) | (inode->i_mode & ~S_IALLUGO); |
mode | 276 | fs/open.c | asmlinkage int sys_chmod(const char * filename, mode_t mode) |
mode | 292 | fs/open.c | if (mode == (mode_t) -1) |
mode | 293 | fs/open.c | mode = inode->i_mode; |
mode | 294 | fs/open.c | inode->i_mode = (mode & S_IALLUGO) | (inode->i_mode & ~S_IALLUGO); |
mode | 376 | fs/open.c | int do_open(const char * filename,int flags,int mode) |
mode | 398 | fs/open.c | error = open_namei(filename,flag,mode,&inode,NULL); |
mode | 424 | fs/open.c | asmlinkage int sys_open(const char * filename,int flags,int mode) |
mode | 432 | fs/open.c | error = do_open(tmp,flags,mode); |
mode | 437 | fs/open.c | asmlinkage int sys_creat(const char * pathname, int mode) |
mode | 439 | fs/open.c | return sys_open(pathname, O_CREAT | O_WRONLY | O_TRUNC, mode); |
mode | 42 | fs/proc/link.c | int flag, int mode, struct inode ** res_inode) |
mode | 647 | fs/sysv/inode.c | umode_t mode; |
mode | 664 | fs/sysv/inode.c | mode = raw_inode->i_mode; |
mode | 666 | fs/sysv/inode.c | mode = from_coh_imode(mode); |
mode | 668 | fs/sysv/inode.c | inode->i_mode = mode; |
mode | 732 | fs/sysv/inode.c | umode_t mode; |
mode | 748 | fs/sysv/inode.c | mode = inode->i_mode; |
mode | 750 | fs/sysv/inode.c | mode = to_coh_imode(mode); |
mode | 751 | fs/sysv/inode.c | raw_inode->i_mode = mode; |
mode | 210 | fs/sysv/namei.c | int sysv_create(struct inode * dir,const char * name, int len, int mode, |
mode | 230 | fs/sysv/namei.c | inode->i_mode = mode; |
mode | 248 | fs/sysv/namei.c | int sysv_mknod(struct inode * dir, const char * name, int len, int mode, int rdev) |
mode | 269 | fs/sysv/namei.c | inode->i_mode = mode; |
mode | 289 | fs/sysv/namei.c | if (S_ISBLK(mode) || S_ISCHR(mode)) |
mode | 308 | fs/sysv/namei.c | int sysv_mkdir(struct inode * dir, const char * name, int len, int mode) |
mode | 354 | fs/sysv/namei.c | inode->i_mode = S_IFDIR | (mode & 0777 & ~current->umask); |
mode | 48 | fs/sysv/symlink.c | int flag, int mode, struct inode ** res_inode) |
mode | 80 | fs/sysv/symlink.c | error = open_namei(bh_data,flag,mode,res_inode,dir); |
mode | 244 | fs/xiafs/namei.c | int xiafs_create(struct inode * dir, const char * name, int len, int mode, |
mode | 260 | fs/xiafs/namei.c | inode->i_mode = mode; |
mode | 278 | fs/xiafs/namei.c | int xiafs_mknod(struct inode *dir, const char *name, int len, int mode, int rdev) |
mode | 298 | fs/xiafs/namei.c | inode->i_mode = mode; |
mode | 315 | fs/xiafs/namei.c | if (S_ISBLK(mode) || S_ISCHR(mode)) |
mode | 335 | fs/xiafs/namei.c | int xiafs_mkdir(struct inode * dir, const char * name, int len, int mode) |
mode | 380 | fs/xiafs/namei.c | inode->i_mode = S_IFDIR | (mode & S_IRWXUGO & ~current->umask); |
mode | 76 | fs/xiafs/symlink.c | int flag, int mode, struct inode ** res_inode) |
mode | 111 | fs/xiafs/symlink.c | error = open_namei(bh->b_data,flag,mode,res_inode,dir); |
mode | 158 | include/asm/dma.h | static __inline__ void set_dma_mode(unsigned int dmanr, char mode) |
mode | 161 | include/asm/dma.h | outb(mode | dmanr, DMA1_MODE_REG); |
mode | 163 | include/asm/dma.h | outb(mode | (dmanr&3), DMA2_MODE_REG); |
mode | 40 | include/linux/binfmts.h | extern int open_inode(struct inode * inode, int mode); |
mode | 167 | include/linux/cdrom.h | u_char mode; /* cache control byte */ |
mode | 66 | include/linux/ext_fs.h | extern int ext_create(struct inode * dir,const char * name, int len, int mode, |
mode | 68 | include/linux/ext_fs.h | extern int ext_mkdir(struct inode * dir, const char * name, int len, int mode); |
mode | 74 | include/linux/ext_fs.h | extern int ext_mknod(struct inode * dir, const char * name, int len, int mode, int rdev); |
mode | 373 | include/linux/fs.h | extern int open_namei(const char * pathname, int flag, int mode, |
mode | 375 | 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 | 80 | include/linux/minix_fs.h | extern int minix_create(struct inode * dir,const char * name, int len, int mode, |
mode | 82 | include/linux/minix_fs.h | extern int minix_mkdir(struct inode * dir, const char * name, int len, int mode); |
mode | 88 | include/linux/minix_fs.h | extern int minix_mknod(struct inode * dir, const char * name, int len, int mode, int rdev); |
mode | 159 | include/linux/msdos_fs.h | extern int msdos_create(struct inode *dir,const char *name,int len,int mode, |
mode | 161 | include/linux/msdos_fs.h | extern int msdos_mkdir(struct inode *dir,const char *name,int len,int mode); |
mode | 130 | include/linux/nfs.h | u_int mode; |
mode | 146 | include/linux/nfs.h | u_int mode; |
mode | 116 | include/linux/soundcard.h | unsigned long 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 | 393 | include/linux/sysv_fs.h | extern int sysv_create(struct inode * dir,const char * name, int len, int mode, |
mode | 395 | include/linux/sysv_fs.h | extern int sysv_mkdir(struct inode * dir, const char * name, int len, int mode); |
mode | 401 | 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 | 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 | 67 | include/linux/xia_fs.h | extern int xiafs_create(struct inode * dir,const char * name, int len, int mode, |
mode | 69 | include/linux/xia_fs.h | extern int xiafs_mkdir(struct inode * dir, const char * name, int len, int mode); |
mode | 77 | include/linux/xia_fs.h | int mode, int rdev); |
mode | 56 | 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 | 411 | ipc/msg.c | ipcp->mode = (ipcp->mode & ~S_IRWXUGO) | |
mode | 412 | ipc/msg.c | (S_IRWXUGO & tbuf.msg_perm.mode); |
mode | 85 | ipc/sem.c | ipcp->mode = (semflg & S_IRWXUGO); |
mode | 312 | ipc/sem.c | ipcp->mode = (ipcp->mode & ~S_IRWXUGO) |
mode | 313 | ipc/sem.c | | (tbuf.sem_perm.mode & S_IRWXUGO); |
mode | 105 | ipc/shm.c | shp->shm_perm.mode = (shmflg & S_IRWXUGO); |
mode | 143 | ipc/shm.c | if (shp->shm_perm.mode & SHM_DEST) |
mode | 275 | ipc/shm.c | if (!(ipcp->mode & SHM_LOCKED)) |
mode | 277 | ipc/shm.c | ipcp->mode &= ~SHM_LOCKED; |
mode | 285 | ipc/shm.c | if (ipcp->mode & SHM_LOCKED) |
mode | 287 | ipc/shm.c | ipcp->mode |= SHM_LOCKED; |
mode | 304 | ipc/shm.c | ipcp->mode = (ipcp->mode & ~S_IRWXUGO) |
mode | 305 | ipc/shm.c | | (tbuf.shm_perm.mode & S_IRWXUGO); |
mode | 313 | ipc/shm.c | shp->shm_perm.mode |= SHM_DEST; |
mode | 459 | ipc/shm.c | if (--shp->shm_nattch <= 0 && shp->shm_perm.mode & SHM_DEST) |
mode | 503 | ipc/shm.c | if (--shp->shm_nattch <= 0 && shp->shm_perm.mode & SHM_DEST) |
mode | 662 | ipc/shm.c | if (shp == IPC_UNUSED || shp == IPC_NOID || shp->shm_perm.mode & SHM_LOCKED ) { |
mode | 54 | ipc/util.c | granted_mode = ipcp->mode; |
mode | 307 | kernel/time.c | if (txc.mode && !suser()) |
mode | 313 | kernel/time.c | if (txc.mode & ADJ_OFFSET) |
mode | 320 | kernel/time.c | if (txc.mode & ADJ_STATUS) |
mode | 325 | kernel/time.c | if (txc.mode & ADJ_TICK) |
mode | 335 | kernel/time.c | if (txc.mode) |
mode | 340 | kernel/time.c | if (txc.mode & ADJ_STATUS) |
mode | 343 | kernel/time.c | if (txc.mode & ADJ_FREQUENCY) |
mode | 346 | kernel/time.c | if (txc.mode & ADJ_MAXERROR) |
mode | 349 | kernel/time.c | if (txc.mode & ADJ_ESTERROR) |
mode | 352 | kernel/time.c | if (txc.mode & ADJ_TIMECONST) |
mode | 355 | kernel/time.c | if (txc.mode & ADJ_OFFSET) |
mode | 356 | kernel/time.c | if (txc.mode == ADJ_OFFSET_SINGLESHOT) |
mode | 382 | kernel/time.c | if (txc.mode & ADJ_TICK) |
mode | 482 | net/inet/skbuff.c | void skb_device_release(struct sk_buff *skb, int mode) |
mode | 490 | net/inet/skbuff.c | kfree_skb(skb,mode); |
mode | 102 | net/inet/skbuff.h | extern void skb_device_release(struct sk_buff *skb, int mode); |