tag | line | file | source code |
mode | 282 | drivers/block/xd.c | u_char head,sector,control,mode,temp; |
mode | 301 | drivers/block/xd.c | mode = xd_setup_dma(operation == READ ? DMA_MODE_READ : DMA_MODE_WRITE,(u_char *)buffer,temp * 0x200); |
mode | 304 | drivers/block/xd.c | switch (xd_command(cmdblk,mode,(u_char *) buffer,(u_char *) buffer,sense,XD_TIMEOUT)) { |
mode | 348 | drivers/block/xd.c | static u_char xd_setup_dma (u_char mode,u_char *buffer,u_int count) |
mode | 359 | drivers/block/xd.c | set_dma_mode(xd_dma,mode); |
mode | 396 | 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 | 401 | 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 | 405 | drivers/block/xd.c | outb(mode,XD_CONTROL); |
mode | 414 | drivers/block/xd.c | case 0: if (mode == DMA_MODE) { |
mode | 422 | drivers/block/xd.c | case STAT_INPUT: if (mode == DMA_MODE) { |
mode | 1419 | drivers/char/console.c | vtmode.mode = VT_AUTO; |
mode | 318 | drivers/char/keyboard.c | static void applkey(int key, char mode) |
mode | 322 | 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 | 346 | drivers/char/tty_io.c | if (vt_cons[new_console].vt_mode.mode == VT_PROCESS) |
mode | 368 | drivers/char/tty_io.c | vt_cons[new_console].vt_mode.mode = VT_AUTO; |
mode | 422 | drivers/char/tty_io.c | if (vt_cons[fg_console].vt_mode.mode == VT_PROCESS) |
mode | 453 | drivers/char/tty_io.c | vt_cons[fg_console].vt_mode.mode = VT_AUTO; |
mode | 363 | drivers/char/vt.c | char mode; |
mode | 368 | drivers/char/vt.c | mode = get_fs_byte(&vtmode->mode); |
mode | 369 | drivers/char/vt.c | if (mode != VT_AUTO && mode != VT_PROCESS) |
mode | 371 | drivers/char/vt.c | vt_cons[console].vt_mode.mode = mode; |
mode | 389 | drivers/char/vt.c | put_fs_byte(vt_cons[console].vt_mode.mode, &vtmode->mode); |
mode | 466 | drivers/char/vt.c | if (vt_cons[console].vt_mode.mode != VT_PROCESS) |
mode | 184 | drivers/net/lance.c | unsigned short mode; /* Pre-set mode (reg. 15) */ |
mode | 300 | drivers/net/lance.c | lp->init_block.mode = 0x0003; /* Disable Rx and Tx. */ |
mode | 459 | drivers/net/lance.c | lp->init_block.mode = 0x0000; |
mode | 139 | drivers/net/slip.c | sl->mode = SL_MODE_CSLIP; /* Default */ |
mode | 141 | drivers/net/slip.c | sl->mode = SL_MODE_SLIP; /* Default for non compressors */ |
mode | 354 | drivers/net/slip.c | if (sl->mode & SL_MODE_CSLIP) { |
mode | 433 | drivers/net/slip.c | if(sl->mode & SL_MODE_CSLIP) |
mode | 471 | drivers/net/slip.c | if(sl->mode & SL_MODE_SLIP6) |
mode | 516 | drivers/net/slip.c | if(sl->mode & SL_MODE_AX25) |
mode | 541 | drivers/net/slip.c | if(sl->mode&SL_MODE_AX25) |
mode | 556 | drivers/net/slip.c | if((sl->mode&SL_MODE_AX25) && type!=NET16(ETH_P_AX25)) |
mode | 619 | drivers/net/slip.c | if(sl->mode&SL_MODE_AX25) |
mode | 632 | drivers/net/slip.c | if(sl->mode&SL_MODE_AX25) |
mode | 803 | drivers/net/slip.c | if(sl->mode & SL_MODE_SLIP6) |
mode | 1080 | drivers/net/slip.c | put_fs_long(sl->mode,(long *)arg); |
mode | 1084 | drivers/net/slip.c | sl->mode=get_fs_long((long *)arg); |
mode | 1086 | drivers/net/slip.c | if(sl->mode & SL_MODE_AX25) |
mode | 65 | drivers/net/slip.h | unsigned char mode; /* SLIP 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 | 194 | drivers/sound/dmabuf.c | DMAbuf_open (int dev, int mode) |
mode | 216 | drivers/sound/dmabuf.c | if ((retval = dsp_devs[dev]->open (dev, mode)) < 0) |
mode | 219 | drivers/sound/dmabuf.c | dev_modes[dev] = mode; |
mode | 293 | drivers/sound/dmabuf.c | DMAbuf_release (int dev, int mode) |
mode | 796 | drivers/sound/dmabuf.c | DMAbuf_open (int dev, int mode) |
mode | 802 | 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 | 46 | drivers/sound/gus_wave.c | unsigned long mode; |
mode | 351 | drivers/sound/gus_wave.c | gus_voice_on (unsigned char mode) |
mode | 353 | drivers/sound/gus_wave.c | gus_write8 (0x00, mode & 0xfc); |
mode | 355 | drivers/sound/gus_wave.c | gus_write8 (0x00, mode & 0xfc); |
mode | 365 | drivers/sound/gus_wave.c | gus_voice_mode (unsigned char mode) |
mode | 367 | drivers/sound/gus_wave.c | gus_write8 (0x00, (gus_read8 (0x00) & 0x03) | (mode & 0xfc)); /* Don't start or stop |
mode | 370 | drivers/sound/gus_wave.c | gus_write8 (0x00, (gus_read8 (0x00) & 0x03) | (mode & 0xfc)); |
mode | 412 | drivers/sound/gus_wave.c | gus_rampon (unsigned char mode) |
mode | 414 | drivers/sound/gus_wave.c | gus_write8 (0x0d, mode & 0xfc); |
mode | 416 | drivers/sound/gus_wave.c | gus_write8 (0x0d, mode & 0xfc); |
mode | 420 | drivers/sound/gus_wave.c | gus_ramp_mode (unsigned char mode) |
mode | 422 | drivers/sound/gus_wave.c | gus_write8 (0x0d, (gus_read8 (0x0d) & 0x03) | (mode & 0xfc)); /* Don't start or stop |
mode | 425 | drivers/sound/gus_wave.c | gus_write8 (0x0d, (gus_read8 (0x0d) & 0x03) | (mode & 0xfc)); |
mode | 448 | drivers/sound/gus_wave.c | voices[voice].mode = 0; |
mode | 471 | drivers/sound/gus_wave.c | if (voices[voice].mode & WAVE_SUSTAIN_ON && voices[voice].env_phase == 2) |
mode | 543 | drivers/sound/gus_wave.c | voices[voice].mode &= ~WAVE_SUSTAIN_ON; |
mode | 559 | drivers/sound/gus_wave.c | is16bits = (samples[instr_no].mode & WAVE_16_BITS) ? 1 : 0; /* 8 or 16 bit samples */ |
mode | 561 | drivers/sound/gus_wave.c | if (voices[voice].mode & WAVE_ENVELOPES) |
mode | 847 | drivers/sound/gus_wave.c | if (voices[voice].mode & WAVE_ENVELOPES && voices[voice].env_phase != 2) |
mode | 972 | drivers/sound/gus_wave.c | if (!(voices[voice].mode & WAVE_ENVELOPES)) |
mode | 1056 | drivers/sound/gus_wave.c | unsigned char mode = 0; |
mode | 1066 | drivers/sound/gus_wave.c | if (voices[voice].mode & WAVE_ENVELOPES) |
mode | 1121 | drivers/sound/gus_wave.c | is16bits = (samples[sample].mode & WAVE_16_BITS) ? 1 : 0; /* 8 or 16 bit samples */ |
mode | 1122 | drivers/sound/gus_wave.c | voices[voice].mode = samples[sample].mode; |
mode | 1125 | drivers/sound/gus_wave.c | if (voices[voice].mode & WAVE_ENVELOPES) |
mode | 1160 | drivers/sound/gus_wave.c | if (samples[sample].mode & WAVE_16_BITS) |
mode | 1162 | drivers/sound/gus_wave.c | mode |= 0x04; /* 16 bits */ |
mode | 1176 | drivers/sound/gus_wave.c | if (voices[voice].mode & WAVE_ENVELOPES) |
mode | 1184 | drivers/sound/gus_wave.c | if (samples[sample].mode & WAVE_LOOP_BACK) |
mode | 1189 | drivers/sound/gus_wave.c | if (samples[sample].mode & WAVE_LOOPING) |
mode | 1191 | drivers/sound/gus_wave.c | mode |= 0x08; /* Looping on */ |
mode | 1193 | drivers/sound/gus_wave.c | if (samples[sample].mode & WAVE_BIDIR_LOOP) |
mode | 1194 | drivers/sound/gus_wave.c | mode |= 0x10; /* Bidirectional looping on */ |
mode | 1196 | drivers/sound/gus_wave.c | if (samples[sample].mode & WAVE_LOOP_BACK) |
mode | 1200 | drivers/sound/gus_wave.c | mode |= 0x40; /* Loop backwards */ |
mode | 1208 | drivers/sound/gus_wave.c | mode |= 0x20; /* Loop irq at the end */ |
mode | 1217 | drivers/sound/gus_wave.c | gus_voice_on (mode); |
mode | 1233 | drivers/sound/gus_wave.c | guswave_open (int dev, int mode) |
mode | 1323 | drivers/sound/gus_wave.c | if (patch.mode & WAVE_LOOPING) |
mode | 1342 | drivers/sound/gus_wave.c | if (patch.mode & WAVE_16_BITS) |
mode | 1373 | drivers/sound/gus_wave.c | if (patch.mode & WAVE_ENVELOPES) |
mode | 1374 | drivers/sound/gus_wave.c | patch.mode &= ~WAVE_TREMOLO; |
mode | 1422 | drivers/sound/gus_wave.c | if (patch.mode & WAVE_UNSIGNED) |
mode | 1424 | drivers/sound/gus_wave.c | if (!(patch.mode & WAVE_16_BITS) || (i & 0x01)) |
mode | 1467 | drivers/sound/gus_wave.c | if (patch.mode & WAVE_UNSIGNED) |
mode | 1469 | drivers/sound/gus_wave.c | if (patch.mode & WAVE_16_BITS) |
mode | 1590 | drivers/sound/gus_wave.c | if (voices[voice].mode & WAVE_ENVELOPES) |
mode | 1599 | drivers/sound/gus_wave.c | if (voices[voice].mode & WAVE_ENVELOPES) |
mode | 1608 | drivers/sound/gus_wave.c | if (voices[voice].mode & WAVE_ENVELOPES) |
mode | 1618 | drivers/sound/gus_wave.c | if (voices[voice].mode & WAVE_ENVELOPES) |
mode | 1628 | drivers/sound/gus_wave.c | if (voices[voice].mode & WAVE_ENVELOPES) |
mode | 1749 | drivers/sound/gus_wave.c | gus_sampling_open (int dev, int mode) |
mode | 1786 | drivers/sound/gus_wave.c | unsigned char mode[2], ramp_mode[2]; |
mode | 1795 | drivers/sound/gus_wave.c | mode[chn] = 0x00; |
mode | 1800 | drivers/sound/gus_wave.c | mode[chn] |= 0x20; /* Loop irq */ |
mode | 1807 | drivers/sound/gus_wave.c | mode[chn] |= 0x04; /* 16 bit data */ |
mode | 1817 | drivers/sound/gus_wave.c | mode[chn] |= 0x08; /* Enable loop */ |
mode | 1862 | drivers/sound/gus_wave.c | mode[chn] |= 0x08; /* Enable loop */ |
mode | 1869 | drivers/sound/gus_wave.c | mode[chn] &= ~0x08; /* Disable loop */ |
mode | 1870 | drivers/sound/gus_wave.c | mode[chn] |= 0x20;/* Enable loop IRQ */ |
mode | 1877 | drivers/sound/gus_wave.c | mode[chn] &= ~0x08; /* Disable loop */ |
mode | 1889 | drivers/sound/gus_wave.c | gus_voice_on (mode[chn]); |
mode | 1991 | drivers/sound/gus_wave.c | unsigned char mode; |
mode | 1997 | drivers/sound/gus_wave.c | mode = 0xa0; /* DMA IRQ enable, invert MSB */ |
mode | 2000 | drivers/sound/gus_wave.c | mode |= 0x04; /* 16 bit DMA channel */ |
mode | 2002 | drivers/sound/gus_wave.c | mode |= 0x02; /* Stereo */ |
mode | 2003 | drivers/sound/gus_wave.c | mode |= 0x01; /* DMA enable */ |
mode | 2005 | drivers/sound/gus_wave.c | gus_write8 (0x49, mode); |
mode | 2364 | drivers/sound/gus_wave.c | int mode, parm; |
mode | 2374 | drivers/sound/gus_wave.c | mode = voices[voice].loop_irq_mode; |
mode | 2378 | drivers/sound/gus_wave.c | switch (mode) |
mode | 2431 | drivers/sound/gus_wave.c | int mode, parm; |
mode | 2442 | drivers/sound/gus_wave.c | mode = voices[voice].volume_irq_mode; |
mode | 2446 | 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 | 258 | drivers/sound/opl3.c | voices[voice].mode = 0; |
mode | 358 | drivers/sound/opl3.c | if (voices[voice].mode == 0) |
mode | 361 | drivers/sound/opl3.c | if (voices[voice].mode == 2) |
mode | 553 | drivers/sound/opl3.c | voices[voice].mode = voice_mode; |
mode | 692 | drivers/sound/opl3.c | opl3_open (int dev, int mode) |
mode | 783 | drivers/sound/opl3.c | if (voices[voice].mode == 4) |
mode | 76 | drivers/sound/os.h | int mode; int aborting; |
mode | 83 | drivers/sound/os.h | #define RESET_WAIT_QUEUE(q, f) {f.aborting = 0;f.mode = WK_NONE;} |
mode | 86 | drivers/sound/os.h | #define TIMED_OUT(q, f) (f.mode & WK_TIMEOUT) |
mode | 91 | drivers/sound/os.h | f.mode = WK_SLEEP;interruptible_sleep_on(&q); \ |
mode | 92 | drivers/sound/os.h | if (!(f.mode & WK_WAKEUP)) \ |
mode | 97 | drivers/sound/os.h | if (jiffies >= tl) f.mode |= WK_TIMEOUT; \ |
mode | 99 | drivers/sound/os.h | f.mode &= ~WK_SLEEP; \ |
mode | 101 | drivers/sound/os.h | #define SOMEONE_WAITING(f) (f.mode & WK_SLEEP) |
mode | 102 | 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 | 197 | drivers/sound/pas2_pcm.c | pas_pcm_open (int dev, int mode) |
mode | 201 | drivers/sound/pas2_pcm.c | TRACE (printk ("pas2_pcm.c: static int pas_pcm_open(int mode = %X)\n", mode)); |
mode | 73 | drivers/sound/sb_dsp.c | static int dsp_set_stereo (int mode); |
mode | 293 | drivers/sound/sb_dsp.c | dsp_set_stereo (int mode) |
mode | 303 | drivers/sound/sb_dsp.c | if (mode && sb_midi_busy) |
mode | 309 | drivers/sound/sb_dsp.c | dsp_stereo = !!mode; |
mode | 487 | 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 | 159 | drivers/sound/sequencer.c | int mode = file->mode & O_ACCMODE; |
mode | 165 | drivers/sound/sequencer.c | if (mode == OPEN_READ) |
mode | 219 | drivers/sound/sequencer.c | int mode; |
mode | 228 | drivers/sound/sequencer.c | mode = file->mode & O_ACCMODE; |
mode | 230 | drivers/sound/sequencer.c | if ((err = midi_devs[dev]->open (dev, mode, |
mode | 465 | drivers/sound/sequencer.c | int retval, mode, i; |
mode | 468 | drivers/sound/sequencer.c | mode = file->mode & O_ACCMODE; |
mode | 503 | drivers/sound/sequencer.c | if (mode == OPEN_WRITE || mode == OPEN_READWRITE) |
mode | 505 | drivers/sound/sequencer.c | if (synth_devs[i]->open (i, mode) < 0) |
mode | 518 | drivers/sound/sequencer.c | if (mode == OPEN_READ || mode == OPEN_READWRITE) |
mode | 528 | drivers/sound/sequencer.c | if ((retval = midi_devs[i]->open (i, mode, |
mode | 581 | drivers/sound/sequencer.c | int mode = file->mode & O_ACCMODE; |
mode | 604 | drivers/sound/sequencer.c | if (mode != OPEN_READ) |
mode | 607 | drivers/sound/sequencer.c | if (mode != OPEN_READ) |
mode | 614 | drivers/sound/sequencer.c | if (mode == OPEN_WRITE || mode == OPEN_READWRITE) |
mode | 710 | drivers/sound/sequencer.c | int mode = file->mode & O_ACCMODE; |
mode | 721 | drivers/sound/sequencer.c | if (mode == OPEN_READ) |
mode | 746 | drivers/sound/sequencer.c | int err, mode; |
mode | 748 | drivers/sound/sequencer.c | mode = file->mode & O_ACCMODE; |
mode | 749 | drivers/sound/sequencer.c | if ((err = midi_devs[midi_dev]->open (midi_dev, mode, |
mode | 764 | drivers/sound/sequencer.c | if (mode == OPEN_WRITE) |
mode | 771 | drivers/sound/sequencer.c | if (mode == OPEN_READ) |
mode | 957 | 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 | 121 | drivers/sound/sound_calls.h | void sb_mixer_set_stereo(int mode); |
mode | 199 | drivers/sound/sound_config.h | int mode; /* Open mode */ |
mode | 304 | drivers/sound/soundcard.c | files[dev].mode = 0; |
mode | 307 | drivers/sound/soundcard.c | files[dev].mode = OPEN_READWRITE; |
mode | 309 | drivers/sound/soundcard.c | files[dev].mode = OPEN_READ; |
mode | 311 | 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 | 26 | fs/ext2/acl.c | unsigned short mode = inode->i_mode; |
mode | 33 | fs/ext2/acl.c | mode >>= 6; |
mode | 35 | fs/ext2/acl.c | mode >>= 3; |
mode | 36 | fs/ext2/acl.c | if (((mode & mask & S_IRWXO) == mask)) |
mode | 285 | fs/ext2/ialloc.c | int mode) |
mode | 339 | fs/ext2/ialloc.c | struct inode * ext2_new_inode (const struct inode * dir, int mode) |
mode | 359 | fs/ext2/ialloc.c | if (S_ISDIR(mode)) { |
mode | 459 | fs/ext2/ialloc.c | if (S_ISDIR(mode)) |
mode | 465 | fs/ext2/ialloc.c | inode->i_mode = mode; |
mode | 489 | fs/ext2/ialloc.c | inc_inode_version (inode, gdp, mode); |
mode | 315 | fs/ext2/namei.c | int ext2_create (struct inode * dir,const char * name, int len, int mode, |
mode | 326 | fs/ext2/namei.c | inode = ext2_new_inode (dir, mode); |
mode | 332 | fs/ext2/namei.c | inode->i_mode = mode; |
mode | 358 | fs/ext2/namei.c | int ext2_mknod (struct inode * dir, const char * name, int len, int mode, |
mode | 374 | fs/ext2/namei.c | inode = ext2_new_inode (dir, mode); |
mode | 380 | fs/ext2/namei.c | inode->i_mode = mode; |
mode | 397 | fs/ext2/namei.c | if (S_ISBLK(mode) || S_ISCHR(mode)) |
mode | 432 | fs/ext2/namei.c | int ext2_mkdir (struct inode * dir, const char * name, int len, int mode) |
mode | 483 | fs/ext2/namei.c | inode->i_mode = S_IFDIR | (mode & S_IRWXUGO & ~current->umask); |
mode | 49 | fs/ext2/symlink.c | int flag, int mode, struct inode ** res_inode) |
mode | 84 | 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 | 281 | 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 | 322 | fs/namei.c | error = dir->i_op->create(dir,basename,namelen,mode,res_inode); |
mode | 337 | fs/namei.c | error = follow_link(dir,inode,flag,mode,&inode); |
mode | 392 | fs/namei.c | int do_mknod(const char * filename, int mode, dev_t dev) |
mode | 398 | fs/namei.c | mode &= ~current->umask; |
mode | 418 | fs/namei.c | return dir->i_op->mknod(dir,basename,namelen,mode,dev); |
mode | 421 | fs/namei.c | asmlinkage int sys_mknod(const char * filename, int mode, dev_t dev) |
mode | 426 | fs/namei.c | if (S_ISDIR(mode) || (!S_ISFIFO(mode) && !suser())) |
mode | 428 | fs/namei.c | switch (mode & S_IFMT) { |
mode | 430 | fs/namei.c | mode |= S_IFREG; |
mode | 439 | fs/namei.c | error = do_mknod(tmp,mode,dev); |
mode | 445 | fs/namei.c | static int do_mkdir(const char * pathname, int mode) |
mode | 470 | fs/namei.c | return dir->i_op->mkdir(dir,basename,namelen,mode); |
mode | 473 | fs/namei.c | asmlinkage int sys_mkdir(const char * pathname, int mode) |
mode | 480 | 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 | 117 | fs/nfs/proc.c | fattr->mode = ntohl(*p++); |
mode | 138 | 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 | 234 | fs/open.c | asmlinkage int sys_fchmod(unsigned int fd, mode_t mode) |
mode | 247 | fs/open.c | inode->i_mode = (mode & S_IALLUGO) | (inode->i_mode & ~S_IALLUGO); |
mode | 255 | fs/open.c | asmlinkage int sys_chmod(const char * filename, mode_t mode) |
mode | 271 | fs/open.c | inode->i_mode = (mode & S_IALLUGO) | (inode->i_mode & ~S_IALLUGO); |
mode | 353 | fs/open.c | int do_open(const char * filename,int flags,int mode) |
mode | 375 | fs/open.c | error = open_namei(filename,flag,mode,&inode,NULL); |
mode | 401 | fs/open.c | asmlinkage int sys_open(const char * filename,int flags,int mode) |
mode | 409 | fs/open.c | error = do_open(tmp,flags,mode); |
mode | 414 | fs/open.c | asmlinkage int sys_creat(const char * pathname, int mode) |
mode | 416 | 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 | 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 | 366 | include/linux/fs.h | extern int open_namei(const char * pathname, int flag, int mode, |
mode | 368 | 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 | 77 | include/linux/minix_fs.h | extern int minix_create(struct inode * dir,const char * name, int len, int mode, |
mode | 79 | include/linux/minix_fs.h | extern int minix_mkdir(struct inode * dir, const char * name, int len, int mode); |
mode | 85 | 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 | 114 | include/linux/soundcard.h | unsigned long mode; |
mode | 80 | 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 | 412 | ipc/msg.c | ipcp->mode = (ipcp->mode & ~S_IRWXUGO) | |
mode | 413 | ipc/msg.c | (S_IRWXUGO & tbuf.msg_perm.mode); |
mode | 84 | 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 | 104 | ipc/shm.c | shp->shm_perm.mode = (shmflg & S_IRWXUGO); |
mode | 142 | 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 | 453 | ipc/shm.c | if (--shp->shm_nattch <= 0 && shp->shm_perm.mode & SHM_DEST) |
mode | 495 | ipc/shm.c | if (--shp->shm_nattch <= 0 && shp->shm_perm.mode & SHM_DEST) |
mode | 654 | ipc/shm.c | if (shp == IPC_UNUSED || shp == IPC_NOID || shp->shm_perm.mode & SHM_LOCKED ) { |
mode | 65 | ipc/util.c | if (!(flag & perm) || flag & perm & ~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 | 330 | kernel/time.c | if (txc.mode) |
mode | 335 | kernel/time.c | if (txc.mode & ADJ_STATUS) |
mode | 338 | kernel/time.c | if (txc.mode & ADJ_FREQUENCY) |
mode | 341 | kernel/time.c | if (txc.mode & ADJ_MAXERROR) |
mode | 344 | kernel/time.c | if (txc.mode & ADJ_ESTERROR) |
mode | 347 | kernel/time.c | if (txc.mode & ADJ_TIMECONST) |
mode | 350 | kernel/time.c | if (txc.mode & ADJ_OFFSET) |
mode | 351 | kernel/time.c | if (txc.mode == ADJ_OFFSET_SINGLESHOT) |