tag | line | file | source code |
mode | 748 | drivers/block/floppy.c | static void reset_fdc_info(int mode) |
mode | 758 | drivers/block/floppy.c | (mode || UDRS->track != NEED_1_RECAL)) |
mode | 338 | drivers/block/xd.c | u_char head,sector,control,mode,temp; |
mode | 357 | drivers/block/xd.c | mode = xd_setup_dma(operation == READ ? DMA_MODE_READ : DMA_MODE_WRITE,(u_char *)buffer,temp * 0x200); |
mode | 360 | drivers/block/xd.c | switch (xd_command(cmdblk,mode,(u_char *) buffer,(u_char *) buffer,sense,XD_TIMEOUT)) { |
mode | 408 | drivers/block/xd.c | static u_char xd_setup_dma (u_char mode,u_char *buffer,u_int count) |
mode | 419 | drivers/block/xd.c | set_dma_mode(xd_dma,mode); |
mode | 456 | 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 | 461 | 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 | 465 | drivers/block/xd.c | outb(mode,XD_CONTROL); |
mode | 475 | drivers/block/xd.c | if (mode == DMA_MODE) { |
mode | 483 | drivers/block/xd.c | if (mode == DMA_MODE) { |
mode | 1637 | drivers/cdrom/mcdx.c | mcdx_setdrivemode(struct s_drive_stuff *stuffp, enum drivemodes mode, int tries) |
mode | 1642 | drivers/cdrom/mcdx.c | TRACE((HW, "setdrivemode() %d\n", mode)); |
mode | 1647 | drivers/cdrom/mcdx.c | switch (mode) { |
mode | 1660 | drivers/cdrom/mcdx.c | mcdx_setdatamode(struct s_drive_stuff *stuffp, enum datamodes mode, int tries) |
mode | 1663 | drivers/cdrom/mcdx.c | TRACE((HW, "setdatamode() %d\n", mode)); |
mode | 1664 | drivers/cdrom/mcdx.c | switch (mode) { |
mode | 1710 | drivers/cdrom/mcdx.c | mcdx_reset(struct s_drive_stuff *stuffp, enum resetmodes mode, int tries) |
mode | 1712 | drivers/cdrom/mcdx.c | if (mode == HARD) { |
mode | 599 | drivers/cdrom/sbpcd.c | u_char mode; /* read_mode: READ_M1, READ_M2, READ_SC, READ_AU */ |
mode | 3529 | drivers/cdrom/sbpcd.c | D_S[d].mode=READ_M1; |
mode | 4009 | drivers/cdrom/sbpcd.c | D_S[d].mode=READ_M1; |
mode | 4016 | drivers/cdrom/sbpcd.c | D_S[d].mode=READ_M2; |
mode | 4079 | drivers/cdrom/sbpcd.c | D_S[d].mode=READ_AU; |
mode | 4232 | drivers/cdrom/sbpcd.c | D_S[d].mode=READ_M1; |
mode | 568 | drivers/cdrom/sonycd535.c | set_drive_mode(int mode, Byte status[2]) |
mode | 574 | drivers/cdrom/sonycd535.c | cmd_buff[1] = mode; |
mode | 609 | drivers/char/keyboard.c | static void applkey(int key, char mode) |
mode | 613 | drivers/char/keyboard.c | buf[1] = (mode ? 'O' : '['); |
mode | 1578 | drivers/char/tpqic02.c | static int start_dma(short mode, unsigned long bytes_todo) |
mode | 1590 | drivers/char/tpqic02.c | dma_mode = (mode == WRITE)? DMA_MODE_WRITE : DMA_MODE_READ; |
mode | 1612 | drivers/char/tpqic02.c | stat = tp_sense(((mode == WRITE)? 0 : TP_WRP) | TP_BOM | TP_FIL); |
mode | 1632 | drivers/char/tpqic02.c | stat = send_qic02_cmd((mode == WRITE)? QCMD_WRT_DATA : QCMD_RD_DATA, TIM_M, 0); |
mode | 1635 | drivers/char/tpqic02.c | (mode == WRITE)? "write" : "read"); |
mode | 1645 | drivers/char/tpqic02.c | switch (mode) { |
mode | 1653 | drivers/char/tpqic02.c | printk(TPQIC02_NAME ": requested unknown mode %d\n", mode); |
mode | 509 | drivers/char/tty_io.c | vt_cons[new_console]->vt_mode.mode = VT_AUTO; |
mode | 545 | drivers/char/tty_io.c | if (vt_cons[new_console]->vt_mode.mode == VT_PROCESS) |
mode | 617 | drivers/char/tty_io.c | if (vt_cons[fg_console]->vt_mode.mode == VT_PROCESS) |
mode | 127 | drivers/char/vesa_blank.c | int mode; |
mode | 129 | drivers/char/vesa_blank.c | if((mode = vesa_blanking_mode) == 0) |
mode | 139 | drivers/char/vesa_blank.c | if(mode == 2) { |
mode | 182 | drivers/char/vesa_blank.c | if (mode == 2) { |
mode | 199 | drivers/char/vesa_blank.c | vesa_blanked = mode; |
mode | 244 | drivers/char/vesa_blank.c | unsigned int mode = get_user(argp); |
mode | 245 | drivers/char/vesa_blank.c | vesa_blanking_mode = ((mode < 3) ? mode : 0); |
mode | 680 | drivers/char/vt.c | char mode; |
mode | 687 | drivers/char/vt.c | mode = get_user(&vtmode->mode); |
mode | 688 | drivers/char/vt.c | if (mode != VT_AUTO && mode != VT_PROCESS) |
mode | 690 | drivers/char/vt.c | vt_cons[console]->vt_mode.mode = mode; |
mode | 708 | drivers/char/vt.c | put_user(vt_cons[console]->vt_mode.mode, &vtmode->mode); |
mode | 797 | drivers/char/vt.c | if (vt_cons[console]->vt_mode.mode != VT_PROCESS) |
mode | 135 | drivers/net/atp.c | static void write_packet(short ioaddr, int length, unsigned char *packet, int mode); |
mode | 444 | drivers/net/de4x5.c | static char *build_setup_frame(struct device *dev, int mode); |
mode | 2426 | drivers/net/de4x5.c | static char *build_setup_frame(struct device *dev, int mode) |
mode | 2433 | drivers/net/de4x5.c | if (mode == ALL) { |
mode | 306 | drivers/net/depca.c | u16 mode; /* Mode register */ |
mode | 712 | drivers/net/depca.c | printk("\tmode: 0x%4.4x\n",readw(&p->mode)); |
mode | 797 | drivers/net/depca.c | lp->init_block.mode = 0x0000; /* Enable the Tx and Rx */ |
mode | 1175 | drivers/net/depca.c | lp->init_block.mode &= ~PROM; /* Unset promiscuous mode */ |
mode | 1177 | drivers/net/depca.c | lp->init_block.mode |= PROM; /* Set promiscuous mode */ |
mode | 1705 | drivers/net/depca.c | lp->init_block.mode |= PROM; /* Set promiscuous mode */ |
mode | 1723 | drivers/net/depca.c | lp->init_block.mode &= ~PROM; /* Clear promiscuous mode */ |
mode | 782 | drivers/net/eepro.c | unsigned short mode; |
mode | 794 | drivers/net/eepro.c | mode = inb(ioaddr + REG2); |
mode | 795 | drivers/net/eepro.c | outb(mode | PRMSC_Mode, ioaddr + REG2); |
mode | 796 | drivers/net/eepro.c | mode = inb(ioaddr + REG3); |
mode | 797 | drivers/net/eepro.c | outb(mode, ioaddr + REG3); /* writing reg. 3 to complete the update */ |
mode | 803 | drivers/net/eepro.c | mode = inb(ioaddr + REG2); |
mode | 804 | drivers/net/eepro.c | outb(mode & 0xd6, ioaddr + REG2); /* Turn off Multi-IA and PRMSC_Mode bits */ |
mode | 805 | drivers/net/eepro.c | mode = inb(ioaddr + REG3); |
mode | 806 | drivers/net/eepro.c | outb(mode, ioaddr + REG3); /* writing reg. 3 to complete the update */ |
mode | 819 | drivers/net/eepro.c | mode = inb(ioaddr + REG2); |
mode | 820 | drivers/net/eepro.c | outb(mode | Multi_IA, ioaddr + REG2); |
mode | 821 | drivers/net/eepro.c | mode = inb(ioaddr + REG3); |
mode | 822 | drivers/net/eepro.c | outb(mode, ioaddr + REG3); /* writing reg. 3 to complete the update */ |
mode | 180 | drivers/net/lance.c | unsigned short mode; /* Pre-set mode (reg. 15) */ |
mode | 419 | drivers/net/lance.c | lp->init_block.mode = 0x0003; /* Disable Rx and Tx. */ |
mode | 683 | drivers/net/lance.c | lp->init_block.mode = 0x0000; |
mode | 360 | 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 | 1031 | drivers/net/sk_g16.c | static int SK_lance_init(struct device *dev, unsigned short mode) |
mode | 1085 | 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 | 344 | drivers/net/slip.c | if (sl->mode & (SL_MODE_ADAPTIVE | SL_MODE_CSLIP)) { |
mode | 348 | drivers/net/slip.c | if (!(sl->mode & SL_MODE_CSLIP)) { |
mode | 362 | drivers/net/slip.c | if (!(sl->mode & SL_MODE_CSLIP)) { |
mode | 364 | drivers/net/slip.c | sl->mode |= SL_MODE_CSLIP; |
mode | 365 | drivers/net/slip.c | sl->mode &= ~SL_MODE_ADAPTIVE; |
mode | 385 | drivers/net/slip.c | if(sl->mode & SL_MODE_AX25) |
mode | 419 | drivers/net/slip.c | if (sl->mode & SL_MODE_CSLIP) { |
mode | 424 | drivers/net/slip.c | if(sl->mode & SL_MODE_SLIP6) |
mode | 537 | drivers/net/slip.c | if (sl->mode & SL_MODE_AX25 && type != htons(ETH_P_AX25)) { |
mode | 555 | drivers/net/slip.c | if (sl->mode & SL_MODE_AX25) { |
mode | 708 | drivers/net/slip.c | if (sl->mode & SL_MODE_SLIP6) |
mode | 749 | drivers/net/slip.c | sl->mode = SL_MODE_DEFAULT; |
mode | 750 | drivers/net/slip.c | sl->dev->type = ARPHRD_SLIP + sl->mode; |
mode | 1034 | drivers/net/slip.c | put_user(sl->mode, (int *)arg); |
mode | 1072 | drivers/net/slip.c | sl->mode = tmp; |
mode | 1073 | drivers/net/slip.c | sl->dev->type = ARPHRD_SLIP+sl->mode; |
mode | 91 | 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 | 289 | drivers/scsi/NCR53c406a.c | unsigned char mode) { |
mode | 316 | drivers/scsi/NCR53c406a.c | set_dma_mode(dma_chan, mode); |
mode | 123 | drivers/scsi/scsi_proc.c | scsi_hba_dir->entry.mode = S_IFREG | S_IRUGO | S_IWUSR; |
mode | 70 | drivers/sound/ad1848.c | int mode; |
mode | 116 | drivers/sound/ad1848.c | static int ad1848_open (int dev, int mode); |
mode | 440 | drivers/sound/ad1848.c | if (devc->mode != MD_1848) |
mode | 543 | drivers/sound/ad1848.c | ad1848_open (int dev, int mode) |
mode | 645 | drivers/sound/ad1848.c | if (devc->mode == MD_1845) /* AD1845 has different timer than others */ |
mode | 752 | drivers/sound/ad1848.c | if (!(arg & ad_format_mask[devc->mode])) |
mode | 909 | drivers/sound/ad1848.c | if (devc->mode == MD_1848 || !devc->dual_dma) /* Single DMA channel mode */ |
mode | 948 | drivers/sound/ad1848.c | if (devc->mode == MD_1845) /* Use alternate speed select registers */ |
mode | 975 | drivers/sound/ad1848.c | if (devc->mode != MD_1848) |
mode | 1025 | drivers/sound/ad1848.c | if (devc->mode != MD_1848) |
mode | 1047 | drivers/sound/ad1848.c | if (devc->mode == MD_1848) |
mode | 1071 | drivers/sound/ad1848.c | if (devc->mode == MD_1848) |
mode | 1140 | drivers/sound/ad1848.c | devc->mode = MD_1848; /* AD1848 or CS4248 */ |
mode | 1272 | drivers/sound/ad1848.c | devc->mode = MD_4231; |
mode | 1287 | drivers/sound/ad1848.c | devc->mode = MD_4231A; |
mode | 1292 | drivers/sound/ad1848.c | devc->mode = MD_4231A; |
mode | 1297 | drivers/sound/ad1848.c | devc->mode = MD_4231A; |
mode | 1315 | drivers/sound/ad1848.c | devc->mode = MD_1845; |
mode | 1323 | drivers/sound/ad1848.c | devc->mode = MD_4231; |
mode | 1334 | drivers/sound/ad1848.c | if (devc->mode != MD_1848) |
mode | 1388 | drivers/sound/ad1848.c | if (devc->mode > MD_1848) |
mode | 1405 | drivers/sound/ad1848.c | if (devc->mode == MD_4231A) |
mode | 1408 | drivers/sound/ad1848.c | if (devc->mode == MD_1845) |
mode | 1440 | drivers/sound/ad1848.c | if (devc->mode != MD_1848) |
mode | 1473 | drivers/sound/ad1848.c | audio_devs[my_dev]->format_mask = ad_format_mask[devc->mode]; |
mode | 1477 | drivers/sound/ad1848.c | if (devc->mode != MD_1848 && devc->irq_ok) |
mode | 1584 | drivers/sound/ad1848.c | if (devc->mode != MD_1848) |
mode | 1800 | drivers/sound/ad1848.c | if (devc->mode == MD_1845) |
mode | 92 | drivers/sound/audio.c | int mode = file->mode & O_ACCMODE; |
mode | 101 | drivers/sound/audio.c | if ((ret = DMAbuf_open (dev, mode)) < 0) |
mode | 140 | drivers/sound/audio.c | int mode; |
mode | 143 | drivers/sound/audio.c | mode = file->mode & O_ACCMODE; |
mode | 154 | drivers/sound/audio.c | DMAbuf_release (dev, mode); |
mode | 148 | drivers/sound/dev_table.h | int (*open) (int dev, int mode); |
mode | 186 | drivers/sound/dev_table.h | int (*open) (int dev, int mode); |
mode | 199 | drivers/sound/dev_table.h | void (*volume_method) (int dev, int mode); |
mode | 227 | drivers/sound/dev_table.h | int (*open) (int dev, int mode, |
mode | 254 | drivers/sound/dev_table.h | int (*open)(int dev, int mode); |
mode | 158 | drivers/sound/dmabuf.c | out_sleep_flag[dev].mode = WK_NONE; |
mode | 161 | drivers/sound/dmabuf.c | in_sleep_flag[dev].mode = WK_NONE; |
mode | 174 | drivers/sound/dmabuf.c | open_dmap (int dev, int mode, struct dma_buffparms *dmap, int chan) |
mode | 195 | drivers/sound/dmabuf.c | dmap->open_mode = mode; |
mode | 219 | drivers/sound/dmabuf.c | DMAbuf_open (int dev, int mode) |
mode | 243 | drivers/sound/dmabuf.c | if ((retval = audio_devs[dev]->open (dev, mode)) < 0) |
mode | 249 | drivers/sound/dmabuf.c | if ((retval = open_dmap (dev, mode, dmap_out, audio_devs[dev]->dmachan1)) < 0) |
mode | 255 | drivers/sound/dmabuf.c | audio_devs[dev]->enable_bits = mode; |
mode | 257 | drivers/sound/dmabuf.c | if ((retval = open_dmap (dev, mode, dmap_in, audio_devs[dev]->dmachan2)) < 0) |
mode | 263 | drivers/sound/dmabuf.c | audio_devs[dev]->open_mode = mode; |
mode | 349 | drivers/sound/dmabuf.c | out_sleep_flag[dev].mode = WK_SLEEP; |
mode | 351 | drivers/sound/dmabuf.c | if (!(out_sleep_flag[dev].mode & WK_WAKEUP)) |
mode | 354 | drivers/sound/dmabuf.c | out_sleep_flag[dev].mode |= WK_TIMEOUT; |
mode | 356 | drivers/sound/dmabuf.c | out_sleep_flag[dev].mode &= ~WK_SLEEP; |
mode | 358 | drivers/sound/dmabuf.c | if ((out_sleep_flag[dev].mode & WK_TIMEOUT)) |
mode | 386 | drivers/sound/dmabuf.c | out_sleep_flag[dev].mode = WK_SLEEP; |
mode | 388 | drivers/sound/dmabuf.c | if (!(out_sleep_flag[dev].mode & WK_WAKEUP)) |
mode | 391 | drivers/sound/dmabuf.c | out_sleep_flag[dev].mode |= WK_TIMEOUT; |
mode | 393 | drivers/sound/dmabuf.c | out_sleep_flag[dev].mode &= ~WK_SLEEP; |
mode | 403 | drivers/sound/dmabuf.c | DMAbuf_release (int dev, int mode) |
mode | 526 | drivers/sound/dmabuf.c | in_sleep_flag[dev].mode = WK_SLEEP; |
mode | 528 | drivers/sound/dmabuf.c | if (!(in_sleep_flag[dev].mode & WK_WAKEUP)) |
mode | 531 | drivers/sound/dmabuf.c | in_sleep_flag[dev].mode |= WK_TIMEOUT; |
mode | 533 | drivers/sound/dmabuf.c | in_sleep_flag[dev].mode &= ~WK_SLEEP; |
mode | 535 | drivers/sound/dmabuf.c | if ((in_sleep_flag[dev].mode & WK_TIMEOUT)) |
mode | 989 | drivers/sound/dmabuf.c | out_sleep_flag[dev].mode = WK_SLEEP; |
mode | 991 | drivers/sound/dmabuf.c | if (!(out_sleep_flag[dev].mode & WK_WAKEUP)) |
mode | 994 | drivers/sound/dmabuf.c | out_sleep_flag[dev].mode |= WK_TIMEOUT; |
mode | 996 | drivers/sound/dmabuf.c | out_sleep_flag[dev].mode &= ~WK_SLEEP; |
mode | 998 | drivers/sound/dmabuf.c | if ((out_sleep_flag[dev].mode & WK_TIMEOUT)) |
mode | 1220 | drivers/sound/dmabuf.c | if ((out_sleep_flag[dev].mode & WK_SLEEP)) |
mode | 1223 | drivers/sound/dmabuf.c | out_sleep_flag[dev].mode = WK_WAKEUP; |
mode | 1282 | drivers/sound/dmabuf.c | if ((in_sleep_flag[dev].mode & WK_SLEEP)) |
mode | 1285 | drivers/sound/dmabuf.c | in_sleep_flag[dev].mode = WK_WAKEUP; |
mode | 1386 | drivers/sound/dmabuf.c | in_sleep_flag[dev].mode = WK_SLEEP; |
mode | 1412 | drivers/sound/dmabuf.c | out_sleep_flag[dev].mode = WK_SLEEP; |
mode | 1434 | drivers/sound/dmabuf.c | DMAbuf_open (int dev, int mode) |
mode | 1440 | drivers/sound/dmabuf.c | DMAbuf_release (int dev, int mode) |
mode | 54 | drivers/sound/gus_midi.c | gus_midi_open (int dev, int mode, |
mode | 72 | drivers/sound/gus_midi.c | if (mode == OPEN_READ || mode == OPEN_READWRITE) |
mode | 78 | drivers/sound/gus_midi.c | if (mode == OPEN_WRITE || mode == OPEN_READWRITE) |
mode | 43 | drivers/sound/gus_wave.c | unsigned long mode; |
mode | 387 | drivers/sound/gus_wave.c | gus_voice_on (unsigned int mode) |
mode | 389 | drivers/sound/gus_wave.c | gus_write8 (0x00, (unsigned char) (mode & 0xfc)); |
mode | 391 | drivers/sound/gus_wave.c | gus_write8 (0x00, (unsigned char) (mode & 0xfc)); |
mode | 403 | drivers/sound/gus_wave.c | unsigned char mode = (unsigned char) (m & 0xff); |
mode | 406 | drivers/sound/gus_wave.c | (mode & 0xfc)); /* Don't touch last two bits */ |
mode | 408 | drivers/sound/gus_wave.c | gus_write8 (0x00, (gus_read8 (0x00) & 0x03) | (mode & 0xfc)); |
mode | 452 | drivers/sound/gus_wave.c | unsigned char mode = (unsigned char) (m & 0xff); |
mode | 454 | drivers/sound/gus_wave.c | gus_write8 (0x0d, mode & 0xfc); |
mode | 456 | drivers/sound/gus_wave.c | gus_write8 (0x0d, mode & 0xfc); |
mode | 462 | drivers/sound/gus_wave.c | unsigned char mode = (unsigned char) (m & 0xff); |
mode | 465 | drivers/sound/gus_wave.c | (mode & 0xfc)); /* Leave the last 2 bits alone */ |
mode | 467 | drivers/sound/gus_wave.c | gus_write8 (0x0d, (gus_read8 (0x0d) & 0x03) | (mode & 0xfc)); |
mode | 487 | drivers/sound/gus_wave.c | samples[sample_no].mode & WAVE_16_BITS); |
mode | 513 | drivers/sound/gus_wave.c | voices[voice].mode = 0; |
mode | 538 | drivers/sound/gus_wave.c | if (voices[voice].mode & WAVE_SUSTAIN_ON && voices[voice].env_phase == 2) |
mode | 620 | drivers/sound/gus_wave.c | voices[voice].mode &= ~WAVE_SUSTAIN_ON; |
mode | 644 | drivers/sound/gus_wave.c | is16bits = (samples[instr_no].mode & WAVE_16_BITS) ? 1 : 0; /* 8 or 16 bits */ |
mode | 646 | drivers/sound/gus_wave.c | if (voices[voice].mode & WAVE_ENVELOPES) |
mode | 994 | drivers/sound/gus_wave.c | guswave_volume_method (int dev, int mode) |
mode | 996 | drivers/sound/gus_wave.c | if (mode == VOL_METHOD_LINEAR || mode == VOL_METHOD_ADAGIO) |
mode | 997 | drivers/sound/gus_wave.c | volume_method = mode; |
mode | 1104 | drivers/sound/gus_wave.c | if (!(voices[voice].mode & WAVE_ENVELOPES)) |
mode | 1199 | drivers/sound/gus_wave.c | unsigned char mode = 0; |
mode | 1209 | drivers/sound/gus_wave.c | if (voices[voice].mode & WAVE_ENVELOPES) |
mode | 1267 | drivers/sound/gus_wave.c | is16bits = (samples[sample].mode & WAVE_16_BITS) ? 1 : 0; |
mode | 1268 | drivers/sound/gus_wave.c | voices[voice].mode = samples[sample].mode; |
mode | 1271 | drivers/sound/gus_wave.c | if (voices[voice].mode & WAVE_ENVELOPES) |
mode | 1307 | drivers/sound/gus_wave.c | if (samples[sample].mode & WAVE_16_BITS) |
mode | 1309 | drivers/sound/gus_wave.c | mode |= 0x04; /* 16 bits */ |
mode | 1327 | drivers/sound/gus_wave.c | if (voices[voice].mode & WAVE_ENVELOPES) |
mode | 1341 | drivers/sound/gus_wave.c | if (samples[sample].mode & WAVE_LOOP_BACK) |
mode | 1348 | drivers/sound/gus_wave.c | if (samples[sample].mode & WAVE_LOOPING) |
mode | 1350 | drivers/sound/gus_wave.c | mode |= 0x08; |
mode | 1352 | drivers/sound/gus_wave.c | if (samples[sample].mode & WAVE_BIDIR_LOOP) |
mode | 1353 | drivers/sound/gus_wave.c | mode |= 0x10; |
mode | 1355 | drivers/sound/gus_wave.c | if (samples[sample].mode & WAVE_LOOP_BACK) |
mode | 1360 | drivers/sound/gus_wave.c | mode |= 0x40; |
mode | 1370 | drivers/sound/gus_wave.c | mode |= 0x20; /* Loop IRQ at the end */ |
mode | 1380 | drivers/sound/gus_wave.c | gus_voice_on (mode); |
mode | 1396 | drivers/sound/gus_wave.c | int mode; |
mode | 1415 | drivers/sound/gus_wave.c | mode = gus_read8 (0x00); |
mode | 1416 | drivers/sound/gus_wave.c | if (mode & 0x20) |
mode | 1417 | drivers/sound/gus_wave.c | gus_write8 (0x00, mode & 0xdf); /* No interrupt! */ |
mode | 1435 | drivers/sound/gus_wave.c | if ((mode & 0x01) || (int) ((gus_read16 (0x09) >> 4) < 2065)) |
mode | 1469 | drivers/sound/gus_wave.c | guswave_open (int dev, int mode) |
mode | 1487 | drivers/sound/gus_wave.c | dram_sleep_flag.mode = WK_NONE; |
mode | 1567 | drivers/sound/gus_wave.c | if (patch.mode & WAVE_LOOPING) |
mode | 1586 | drivers/sound/gus_wave.c | if (patch.mode & WAVE_16_BITS) |
mode | 1619 | drivers/sound/gus_wave.c | if (patch.mode & WAVE_ENVELOPES) |
mode | 1620 | drivers/sound/gus_wave.c | patch.mode &= ~WAVE_TREMOLO; |
mode | 1670 | drivers/sound/gus_wave.c | if (patch.mode & WAVE_UNSIGNED) |
mode | 1672 | drivers/sound/gus_wave.c | if (!(patch.mode & WAVE_16_BITS) || (i & 0x01)) |
mode | 1718 | drivers/sound/gus_wave.c | if (patch.mode & WAVE_UNSIGNED) |
mode | 1720 | drivers/sound/gus_wave.c | if (patch.mode & WAVE_16_BITS) |
mode | 1740 | drivers/sound/gus_wave.c | dram_sleep_flag.mode = WK_SLEEP; |
mode | 1742 | drivers/sound/gus_wave.c | if (!(dram_sleep_flag.mode & WK_WAKEUP)) |
mode | 1745 | drivers/sound/gus_wave.c | dram_sleep_flag.mode |= WK_TIMEOUT; |
mode | 1747 | drivers/sound/gus_wave.c | dram_sleep_flag.mode &= ~WK_SLEEP; |
mode | 1749 | drivers/sound/gus_wave.c | if ((dram_sleep_flag.mode & WK_TIMEOUT)) |
mode | 1865 | drivers/sound/gus_wave.c | if (voices[voice].mode & WAVE_ENVELOPES) |
mode | 1875 | drivers/sound/gus_wave.c | if (voices[voice].mode & WAVE_ENVELOPES) |
mode | 1885 | drivers/sound/gus_wave.c | if (voices[voice].mode & WAVE_ENVELOPES) |
mode | 1896 | drivers/sound/gus_wave.c | if (voices[voice].mode & WAVE_ENVELOPES) |
mode | 1907 | drivers/sound/gus_wave.c | if (voices[voice].mode & WAVE_ENVELOPES) |
mode | 2056 | drivers/sound/gus_wave.c | gus_sampling_open (int dev, int mode) |
mode | 2073 | drivers/sound/gus_wave.c | if (mode & OPEN_READ) |
mode | 2078 | drivers/sound/gus_wave.c | only_read_access = !(mode & OPEN_WRITE); |
mode | 2079 | drivers/sound/gus_wave.c | only_8_bits = mode & OPEN_READ; |
mode | 2131 | drivers/sound/gus_wave.c | unsigned char mode[2], ramp_mode[2]; |
mode | 2140 | drivers/sound/gus_wave.c | mode[chn] = 0x00; |
mode | 2145 | drivers/sound/gus_wave.c | mode[chn] |= 0x20; /* Loop IRQ */ |
mode | 2152 | drivers/sound/gus_wave.c | mode[chn] |= 0x04; /* 16 bit data */ |
mode | 2162 | drivers/sound/gus_wave.c | mode[chn] |= 0x08; /* Enable loop */ |
mode | 2209 | drivers/sound/gus_wave.c | mode[chn] |= 0x08; /* Enable looping */ |
mode | 2218 | drivers/sound/gus_wave.c | mode[chn] &= ~0x08; /* Disable looping */ |
mode | 2219 | drivers/sound/gus_wave.c | mode[chn] |= 0x20; /* Enable IRQ at the end */ |
mode | 2227 | drivers/sound/gus_wave.c | mode[chn] &= ~0x08; /* Disable looping */ |
mode | 2240 | drivers/sound/gus_wave.c | gus_voice_on (mode[chn]); |
mode | 2351 | drivers/sound/gus_wave.c | unsigned char mode; |
mode | 2358 | drivers/sound/gus_wave.c | mode = 0xa0; /* DMA IRQ enabled, invert MSB */ |
mode | 2361 | drivers/sound/gus_wave.c | mode |= 0x04; /* 16 bit DMA channel */ |
mode | 2363 | drivers/sound/gus_wave.c | mode |= 0x02; /* Stereo */ |
mode | 2364 | drivers/sound/gus_wave.c | mode |= 0x01; /* DMA enable */ |
mode | 2366 | drivers/sound/gus_wave.c | gus_write8 (0x49, mode); |
mode | 3181 | drivers/sound/gus_wave.c | int mode, parm; |
mode | 3197 | drivers/sound/gus_wave.c | mode = voices[voice].loop_irq_mode; |
mode | 3201 | drivers/sound/gus_wave.c | switch (mode) |
mode | 3277 | drivers/sound/gus_wave.c | int mode, parm; |
mode | 3291 | drivers/sound/gus_wave.c | mode = voices[voice].volume_irq_mode; |
mode | 3295 | drivers/sound/gus_wave.c | switch (mode) |
mode | 3389 | drivers/sound/gus_wave.c | if ((dram_sleep_flag.mode & WK_SLEEP)) |
mode | 3391 | drivers/sound/gus_wave.c | dram_sleep_flag.mode = WK_WAKEUP; |
mode | 185 | drivers/sound/mad16_sb_midi.c | mad16_sb_midi_open (int dev, int mode, |
mode | 200 | drivers/sound/mad16_sb_midi.c | if (mode != OPEN_WRITE && !mad16_sb_duplex_midi) |
mode | 208 | drivers/sound/mad16_sb_midi.c | if (mode != OPEN_WRITE) |
mode | 446 | drivers/sound/midi_synth.c | midi_synth_open (int dev, int mode) |
mode | 460 | drivers/sound/midi_synth.c | if ((err = midi_devs[orig_dev]->open (orig_dev, mode, |
mode | 546 | drivers/sound/midi_synth.c | sysex_sleep_flag.mode = WK_NONE; |
mode | 578 | drivers/sound/midi_synth.c | sysex_sleep_flag.mode = WK_SLEEP; |
mode | 580 | drivers/sound/midi_synth.c | if (!(sysex_sleep_flag.mode & WK_WAKEUP)) |
mode | 583 | drivers/sound/midi_synth.c | sysex_sleep_flag.mode |= WK_TIMEOUT; |
mode | 585 | drivers/sound/midi_synth.c | sysex_sleep_flag.mode &= ~WK_SLEEP; |
mode | 7 | drivers/sound/midi_synth.h | int midi_synth_open (int dev, int mode); |
mode | 119 | drivers/sound/midibuf.c | midi_sleep_flag[dev].mode = WK_SLEEP; |
mode | 121 | drivers/sound/midibuf.c | if (!(midi_sleep_flag[dev].mode & WK_WAKEUP)) |
mode | 124 | drivers/sound/midibuf.c | midi_sleep_flag[dev].mode |= WK_TIMEOUT; |
mode | 126 | drivers/sound/midibuf.c | midi_sleep_flag[dev].mode &= ~WK_SLEEP; |
mode | 146 | drivers/sound/midibuf.c | if ((input_sleep_flag[dev].mode & WK_SLEEP)) |
mode | 148 | drivers/sound/midibuf.c | input_sleep_flag[dev].mode = WK_WAKEUP; |
mode | 185 | drivers/sound/midibuf.c | (midi_sleep_flag[dev].mode & WK_SLEEP)) |
mode | 187 | drivers/sound/midibuf.c | midi_sleep_flag[dev].mode = WK_WAKEUP; |
mode | 205 | drivers/sound/midibuf.c | int mode, err; |
mode | 209 | drivers/sound/midibuf.c | mode = file->mode & O_ACCMODE; |
mode | 229 | drivers/sound/midibuf.c | if ((err = midi_devs[dev]->open (dev, mode, |
mode | 238 | drivers/sound/midibuf.c | midi_sleep_flag[dev].mode = WK_NONE; |
mode | 239 | drivers/sound/midibuf.c | input_sleep_flag[dev].mode = WK_NONE; |
mode | 281 | drivers/sound/midibuf.c | int mode; |
mode | 285 | drivers/sound/midibuf.c | mode = file->mode & O_ACCMODE; |
mode | 294 | drivers/sound/midibuf.c | if (mode != OPEN_READ) |
mode | 311 | drivers/sound/midibuf.c | midi_sleep_flag[dev].mode = WK_SLEEP; |
mode | 313 | drivers/sound/midibuf.c | if (!(midi_sleep_flag[dev].mode & WK_WAKEUP)) |
mode | 316 | drivers/sound/midibuf.c | midi_sleep_flag[dev].mode |= WK_TIMEOUT; |
mode | 318 | drivers/sound/midibuf.c | midi_sleep_flag[dev].mode &= ~WK_SLEEP; |
mode | 371 | drivers/sound/midibuf.c | midi_sleep_flag[dev].mode = WK_SLEEP; |
mode | 373 | drivers/sound/midibuf.c | if (!(midi_sleep_flag[dev].mode & WK_WAKEUP)) |
mode | 376 | drivers/sound/midibuf.c | midi_sleep_flag[dev].mode |= WK_TIMEOUT; |
mode | 378 | drivers/sound/midibuf.c | midi_sleep_flag[dev].mode &= ~WK_SLEEP; |
mode | 430 | drivers/sound/midibuf.c | input_sleep_flag[dev].mode = WK_SLEEP; |
mode | 432 | drivers/sound/midibuf.c | if (!(input_sleep_flag[dev].mode & WK_WAKEUP)) |
mode | 435 | drivers/sound/midibuf.c | input_sleep_flag[dev].mode |= WK_TIMEOUT; |
mode | 437 | drivers/sound/midibuf.c | input_sleep_flag[dev].mode &= ~WK_SLEEP; |
mode | 513 | drivers/sound/midibuf.c | input_sleep_flag[dev].mode = WK_SLEEP; |
mode | 523 | drivers/sound/midibuf.c | midi_sleep_flag[dev].mode = WK_SLEEP; |
mode | 63 | drivers/sound/mpu401.c | int mode; |
mode | 428 | drivers/sound/mpu401.c | if (devc->mode == MODE_SYNTH) |
mode | 478 | drivers/sound/mpu401.c | if (devc->base != 0 && (devc->opened & OPEN_READ || devc->mode == MODE_SYNTH)) |
mode | 489 | 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 | 649 | drivers/sound/mpu401.c | if (devc->opened && devc->mode == MODE_SYNTH) |
mode | 863 | drivers/sound/mpu401.c | mpu_synth_open (int dev, int mode) |
mode | 900 | drivers/sound/mpu401.c | devc->mode = MODE_SYNTH; |
mode | 915 | drivers/sound/mpu401.c | devc->opened = mode; |
mode | 918 | drivers/sound/mpu401.c | if (mode & OPEN_READ) |
mode | 944 | drivers/sound/mpu401.c | devc->mode = 0; |
mode | 1455 | drivers/sound/mpu401.c | mpu_timer_open (int dev, int mode) |
mode | 54 | drivers/sound/opl3.c | int mode; |
mode | 345 | drivers/sound/opl3.c | devc->voc[voice].mode = 0; |
mode | 450 | drivers/sound/opl3.c | if (devc->voc[voice].mode == 0) |
mode | 453 | drivers/sound/opl3.c | if (devc->voc[voice].mode == 2) |
mode | 689 | drivers/sound/opl3.c | devc->voc[voice].mode = voice_mode; |
mode | 836 | drivers/sound/opl3.c | opl3_open (int dev, int mode) |
mode | 908 | drivers/sound/opl3.c | opl3_volume_method (int dev, int mode) |
mode | 944 | drivers/sound/opl3.c | if (devc->voc[voice].mode == 4) |
mode | 35 | drivers/sound/os.h | int mode; |
mode | 49 | drivers/sound/pas2_midi.c | pas_midi_open (int dev, int mode, |
mode | 85 | drivers/sound/pas2_midi.c | if (mode == OPEN_READ || mode == OPEN_READWRITE) |
mode | 93 | drivers/sound/pas2_midi.c | if (mode == OPEN_WRITE || mode == OPEN_READWRITE) |
mode | 232 | drivers/sound/pas2_pcm.c | pas_pcm_open (int dev, int mode) |
mode | 236 | drivers/sound/pas2_pcm.c | TRACE (printk ("pas2_pcm.c: static int pas_pcm_open(int mode = %X)\n", mode)); |
mode | 66 | drivers/sound/patmgr.c | server_wait_flag[dev].mode = WK_NONE; |
mode | 83 | drivers/sound/patmgr.c | if ((appl_wait_flag.mode & WK_SLEEP)) |
mode | 85 | drivers/sound/patmgr.c | appl_wait_flag.mode = WK_WAKEUP; |
mode | 121 | drivers/sound/patmgr.c | server_wait_flag[dev].mode = WK_SLEEP; |
mode | 123 | drivers/sound/patmgr.c | if (!(server_wait_flag[dev].mode & WK_WAKEUP)) |
mode | 126 | drivers/sound/patmgr.c | server_wait_flag[dev].mode |= WK_TIMEOUT; |
mode | 128 | drivers/sound/patmgr.c | server_wait_flag[dev].mode &= ~WK_SLEEP; |
mode | 192 | drivers/sound/patmgr.c | if ((appl_wait_flag.mode & WK_SLEEP)) |
mode | 195 | drivers/sound/patmgr.c | appl_wait_flag.mode = WK_WAKEUP; |
mode | 223 | drivers/sound/patmgr.c | if ((server_wait_flag[dev].mode & WK_SLEEP)) |
mode | 226 | drivers/sound/patmgr.c | server_wait_flag[dev].mode = WK_WAKEUP; |
mode | 239 | drivers/sound/patmgr.c | appl_wait_flag.mode = WK_SLEEP; |
mode | 241 | drivers/sound/patmgr.c | if (!(appl_wait_flag.mode & WK_WAKEUP)) |
mode | 244 | drivers/sound/patmgr.c | appl_wait_flag.mode |= WK_TIMEOUT; |
mode | 246 | drivers/sound/patmgr.c | appl_wait_flag.mode &= ~WK_SLEEP; |
mode | 301 | drivers/sound/patmgr.c | if ((server_wait_flag[dev].mode & WK_SLEEP)) |
mode | 304 | drivers/sound/patmgr.c | server_wait_flag[dev].mode = WK_WAKEUP; |
mode | 317 | drivers/sound/patmgr.c | appl_wait_flag.mode = WK_SLEEP; |
mode | 319 | drivers/sound/patmgr.c | if (!(appl_wait_flag.mode & WK_WAKEUP)) |
mode | 322 | drivers/sound/patmgr.c | appl_wait_flag.mode |= WK_TIMEOUT; |
mode | 324 | drivers/sound/patmgr.c | appl_wait_flag.mode &= ~WK_SLEEP; |
mode | 60 | drivers/sound/sb16_dsp.c | static int sb16_dsp_open (int dev, int mode); |
mode | 109 | drivers/sound/sb16_dsp.c | dsp_set_speed (int mode) |
mode | 111 | drivers/sound/sb16_dsp.c | DEB (printk ("dsp_set_speed(%d)\n", mode)); |
mode | 112 | drivers/sound/sb16_dsp.c | if (mode) |
mode | 114 | drivers/sound/sb16_dsp.c | if (mode < 5000) |
mode | 115 | drivers/sound/sb16_dsp.c | mode = 5000; |
mode | 116 | drivers/sound/sb16_dsp.c | if (mode > 44100) |
mode | 117 | drivers/sound/sb16_dsp.c | mode = 44100; |
mode | 118 | drivers/sound/sb16_dsp.c | dsp_current_speed = mode; |
mode | 120 | drivers/sound/sb16_dsp.c | return mode; |
mode | 124 | drivers/sound/sb16_dsp.c | dsp_set_stereo (int mode) |
mode | 126 | drivers/sound/sb16_dsp.c | DEB (printk ("dsp_set_stereo(%d)\n", mode)); |
mode | 128 | drivers/sound/sb16_dsp.c | dsp_stereo = mode; |
mode | 130 | drivers/sound/sb16_dsp.c | return mode; |
mode | 206 | drivers/sound/sb16_dsp.c | sb16_dsp_open (int dev, int mode) |
mode | 86 | drivers/sound/sb16_midi.c | sb16midi_open (int dev, int mode, |
mode | 99 | drivers/sound/sb16_midi.c | sb16midi_opened = mode; |
mode | 118 | drivers/sound/sb_dsp.c | static int dsp_set_stereo (int mode); |
mode | 372 | drivers/sound/sb_dsp.c | dsp_set_stereo (int mode) |
mode | 384 | drivers/sound/sb_dsp.c | if (mode && sb_midi_busy) |
mode | 390 | drivers/sound/sb_dsp.c | dsp_stereo = !!mode; |
mode | 620 | drivers/sound/sb_dsp.c | sb_dsp_open (int dev, int mode) |
mode | 630 | drivers/sound/sb_dsp.c | if (sb_no_recording && mode & OPEN_READ) |
mode | 677 | drivers/sound/sb_dsp.c | open_mode = mode; |
mode | 69 | drivers/sound/sb_midi.c | sb_midi_open (int dev, int mode, |
mode | 85 | drivers/sound/sb_midi.c | if (mode != OPEN_WRITE && !sb_duplex_midi) |
mode | 93 | drivers/sound/sb_midi.c | if (mode != OPEN_WRITE) |
mode | 93 | drivers/sound/sb_mixer.c | sb_mixer_set_stereo (int mode) |
mode | 99 | drivers/sound/sb_mixer.c | | (mode ? STEREO_DAC : MONO_DAC))); |
mode | 138 | drivers/sound/sequencer.c | midi_sleep_flag.mode = WK_SLEEP; |
mode | 140 | drivers/sound/sequencer.c | if (!(midi_sleep_flag.mode & WK_WAKEUP)) |
mode | 143 | drivers/sound/sequencer.c | midi_sleep_flag.mode |= WK_TIMEOUT; |
mode | 145 | drivers/sound/sequencer.c | midi_sleep_flag.mode &= ~WK_SLEEP; |
mode | 201 | drivers/sound/sequencer.c | if ((midi_sleep_flag.mode & WK_SLEEP)) |
mode | 204 | drivers/sound/sequencer.c | midi_sleep_flag.mode = WK_WAKEUP; |
mode | 270 | drivers/sound/sequencer.c | int mode = file->mode & O_ACCMODE; |
mode | 276 | drivers/sound/sequencer.c | if (mode == OPEN_READ) |
mode | 344 | drivers/sound/sequencer.c | int mode; |
mode | 353 | drivers/sound/sequencer.c | mode = file->mode & O_ACCMODE; |
mode | 355 | drivers/sound/sequencer.c | if ((err = midi_devs[dev]->open (dev, mode, |
mode | 409 | drivers/sound/sequencer.c | if (!nonblock && qlen >= SEQ_MAX_QUEUE && !(seq_sleep_flag.mode & WK_SLEEP)) |
mode | 422 | drivers/sound/sequencer.c | seq_sleep_flag.mode = WK_SLEEP; |
mode | 424 | drivers/sound/sequencer.c | if (!(seq_sleep_flag.mode & WK_WAKEUP)) |
mode | 427 | drivers/sound/sequencer.c | seq_sleep_flag.mode |= WK_TIMEOUT; |
mode | 429 | drivers/sound/sequencer.c | seq_sleep_flag.mode &= ~WK_SLEEP; |
mode | 728 | drivers/sound/sequencer.c | if ((seq_sleep_flag.mode & WK_SLEEP)) |
mode | 731 | drivers/sound/sequencer.c | seq_sleep_flag.mode = WK_WAKEUP; |
mode | 768 | drivers/sound/sequencer.c | if ((seq_sleep_flag.mode & WK_SLEEP)) |
mode | 771 | drivers/sound/sequencer.c | seq_sleep_flag.mode = WK_WAKEUP; |
mode | 904 | drivers/sound/sequencer.c | if ((seq_sleep_flag.mode & WK_SLEEP)) |
mode | 907 | drivers/sound/sequencer.c | seq_sleep_flag.mode = WK_WAKEUP; |
mode | 1040 | drivers/sound/sequencer.c | if ((seq_sleep_flag.mode & WK_SLEEP)) |
mode | 1043 | drivers/sound/sequencer.c | seq_sleep_flag.mode = WK_WAKEUP; |
mode | 1096 | drivers/sound/sequencer.c | int retval, mode, i; |
mode | 1102 | drivers/sound/sequencer.c | mode = file->mode & O_ACCMODE; |
mode | 1181 | drivers/sound/sequencer.c | if (seq_mode == SEQ_1 && (mode == OPEN_READ || mode == OPEN_READWRITE)) |
mode | 1205 | drivers/sound/sequencer.c | if ((tmp = synth_devs[i]->open (i, mode)) < 0) |
mode | 1224 | drivers/sound/sequencer.c | if (seq_mode == SEQ_1 && (mode == OPEN_READ || mode == OPEN_READWRITE)) |
mode | 1231 | drivers/sound/sequencer.c | if ((retval = midi_devs[i]->open (i, mode, |
mode | 1243 | drivers/sound/sequencer.c | seq_sleep_flag.mode = WK_NONE; |
mode | 1244 | drivers/sound/sequencer.c | midi_sleep_flag.mode = WK_NONE; |
mode | 1288 | drivers/sound/sequencer.c | seq_sleep_flag.mode = WK_SLEEP; |
mode | 1290 | drivers/sound/sequencer.c | if (!(seq_sleep_flag.mode & WK_WAKEUP)) |
mode | 1293 | drivers/sound/sequencer.c | seq_sleep_flag.mode |= WK_TIMEOUT; |
mode | 1295 | drivers/sound/sequencer.c | seq_sleep_flag.mode &= ~WK_SLEEP; |
mode | 1305 | drivers/sound/sequencer.c | int mode = file->mode & O_ACCMODE; |
mode | 1325 | drivers/sound/sequencer.c | if (mode != OPEN_READ && !(file->flags & (O_NONBLOCK) ? |
mode | 1332 | drivers/sound/sequencer.c | if (mode != OPEN_READ) |
mode | 1337 | drivers/sound/sequencer.c | if (mode != OPEN_READ) |
mode | 1378 | drivers/sound/sequencer.c | if (qlen && !(seq_sleep_flag.mode & WK_SLEEP)) |
mode | 1388 | drivers/sound/sequencer.c | seq_sleep_flag.mode = WK_SLEEP; |
mode | 1390 | drivers/sound/sequencer.c | if (!(seq_sleep_flag.mode & WK_WAKEUP)) |
mode | 1393 | drivers/sound/sequencer.c | seq_sleep_flag.mode |= WK_TIMEOUT; |
mode | 1395 | drivers/sound/sequencer.c | seq_sleep_flag.mode &= ~WK_SLEEP; |
mode | 1433 | drivers/sound/sequencer.c | seq_sleep_flag.mode = WK_SLEEP; |
mode | 1435 | drivers/sound/sequencer.c | if (!(seq_sleep_flag.mode & WK_WAKEUP)) |
mode | 1438 | drivers/sound/sequencer.c | seq_sleep_flag.mode |= WK_TIMEOUT; |
mode | 1440 | drivers/sound/sequencer.c | seq_sleep_flag.mode &= ~WK_SLEEP; |
mode | 1519 | drivers/sound/sequencer.c | if ((seq_sleep_flag.mode & WK_SLEEP)) |
mode | 1523 | drivers/sound/sequencer.c | seq_sleep_flag.mode = WK_WAKEUP; |
mode | 1558 | drivers/sound/sequencer.c | int mode = file->mode & O_ACCMODE; |
mode | 1606 | drivers/sound/sequencer.c | if (mode == OPEN_READ) |
mode | 1638 | drivers/sound/sequencer.c | int err, mode; |
mode | 1640 | drivers/sound/sequencer.c | mode = file->mode & O_ACCMODE; |
mode | 1641 | drivers/sound/sequencer.c | if ((err = midi_devs[midi_dev]->open (midi_dev, mode, |
mode | 1658 | drivers/sound/sequencer.c | if (mode == OPEN_WRITE) |
mode | 1665 | drivers/sound/sequencer.c | if (mode == OPEN_READ) |
mode | 1909 | drivers/sound/sequencer.c | if (mode == OPEN_READ) |
mode | 1937 | drivers/sound/sequencer.c | midi_sleep_flag.mode = WK_SLEEP; |
mode | 1942 | drivers/sound/sequencer.c | midi_sleep_flag.mode &= ~WK_SLEEP; |
mode | 1952 | drivers/sound/sequencer.c | seq_sleep_flag.mode = WK_SLEEP; |
mode | 1957 | 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 | 124 | drivers/sound/sound_calls.h | void sb_mixer_set_stereo(int mode); |
mode | 140 | drivers/sound/sound_config.h | int mode; /* Open mode */ |
mode | 110 | drivers/sound/sound_timer.c | timer_open (int dev, int mode) |
mode | 127 | drivers/sound/soundcard.c | tmp_file.mode = 0; |
mode | 131 | drivers/sound/soundcard.c | tmp_file.mode = OPEN_READWRITE; |
mode | 133 | drivers/sound/soundcard.c | tmp_file.mode = OPEN_READ; |
mode | 135 | drivers/sound/soundcard.c | tmp_file.mode = OPEN_WRITE; |
mode | 308 | drivers/sound/sscape.c | if ((sscape_sleep_flag.mode & WK_SLEEP)) |
mode | 311 | drivers/sound/sscape.c | sscape_sleep_flag.mode = WK_WAKEUP; |
mode | 372 | drivers/sound/sscape.c | do_dma (struct sscape_info *devc, int dma_chan, unsigned long buf, int blk_size, int mode) |
mode | 384 | drivers/sound/sscape.c | blk_size, mode); |
mode | 452 | drivers/sound/sscape.c | sscape_sleep_flag.mode = WK_NONE; |
mode | 514 | drivers/sound/sscape.c | sscape_sleep_flag.mode = WK_NONE; |
mode | 529 | drivers/sound/sscape.c | sscape_sleep_flag.mode = WK_SLEEP; |
mode | 531 | drivers/sound/sscape.c | if (!(sscape_sleep_flag.mode & WK_WAKEUP)) |
mode | 534 | drivers/sound/sscape.c | sscape_sleep_flag.mode |= WK_TIMEOUT; |
mode | 536 | drivers/sound/sscape.c | sscape_sleep_flag.mode &= ~WK_SLEEP; |
mode | 577 | drivers/sound/sscape.c | sscape_sleep_flag.mode = WK_SLEEP; |
mode | 579 | drivers/sound/sscape.c | if (!(sscape_sleep_flag.mode & WK_WAKEUP)) |
mode | 582 | drivers/sound/sscape.c | sscape_sleep_flag.mode |= WK_TIMEOUT; |
mode | 584 | drivers/sound/sscape.c | sscape_sleep_flag.mode &= ~WK_SLEEP; |
mode | 610 | drivers/sound/sscape.c | sscape_sleep_flag.mode = WK_SLEEP; |
mode | 612 | drivers/sound/sscape.c | if (!(sscape_sleep_flag.mode & WK_WAKEUP)) |
mode | 615 | drivers/sound/sscape.c | sscape_sleep_flag.mode |= WK_TIMEOUT; |
mode | 617 | drivers/sound/sscape.c | sscape_sleep_flag.mode &= ~WK_SLEEP; |
mode | 711 | drivers/sound/sscape.c | sscape_audio_open (int dev, int mode) |
mode | 106 | drivers/sound/sys_timer.c | def_tmr_open (int dev, int mode) |
mode | 142 | drivers/sound/uart6850.c | uart6850_open (int dev, int mode, |
mode | 158 | drivers/sound/uart6850.c | uart6850_opened = mode; |
mode | 104 | fs/exec.c | int open_inode(struct inode * inode, int mode) |
mode | 126 | fs/exec.c | f->f_flags = mode; |
mode | 127 | fs/exec.c | f->f_mode = (mode+1) & O_ACCMODE; |
mode | 307 | fs/ext/namei.c | int ext_create(struct inode * dir,const char * name, int len, int mode, |
mode | 323 | fs/ext/namei.c | inode->i_mode = mode; |
mode | 341 | fs/ext/namei.c | int ext_mknod(struct inode * dir, const char * name, int len, int mode, int rdev) |
mode | 361 | fs/ext/namei.c | inode->i_mode = mode; |
mode | 378 | fs/ext/namei.c | if (S_ISBLK(mode) || S_ISCHR(mode)) |
mode | 400 | fs/ext/namei.c | int ext_mkdir(struct inode * dir, const char * name, int len, int mode) |
mode | 447 | fs/ext/namei.c | inode->i_mode = S_IFDIR | (mode & 0777 & ~current->fs->umask); |
mode | 48 | fs/ext/symlink.c | int flag, int mode, struct inode ** res_inode) |
mode | 79 | fs/ext/symlink.c | error = open_namei(bh->b_data,flag,mode,res_inode,dir); |
mode | 28 | fs/ext2/acl.c | unsigned short mode = inode->i_mode; |
mode | 44 | fs/ext2/acl.c | mode >>= 6; |
mode | 46 | fs/ext2/acl.c | mode >>= 3; |
mode | 47 | fs/ext2/acl.c | if (((mode & mask & S_IRWXO) == mask)) |
mode | 268 | fs/ext2/ialloc.c | int mode) |
mode | 306 | fs/ext2/ialloc.c | struct inode * ext2_new_inode (const struct inode * dir, int mode) |
mode | 328 | fs/ext2/ialloc.c | if (S_ISDIR(mode)) { |
mode | 443 | fs/ext2/ialloc.c | if (S_ISDIR(mode)) |
mode | 449 | fs/ext2/ialloc.c | inode->i_mode = mode; |
mode | 459 | fs/ext2/ialloc.c | if (S_ISDIR(mode)) |
mode | 460 | fs/ext2/ialloc.c | mode |= S_ISGID; |
mode | 469 | fs/ext2/ialloc.c | if (S_ISLNK(mode)) |
mode | 482 | fs/ext2/ialloc.c | inc_inode_version (inode, gdp, mode); |
mode | 367 | fs/ext2/namei.c | int ext2_create (struct inode * dir,const char * name, int len, int mode, |
mode | 378 | fs/ext2/namei.c | inode = ext2_new_inode (dir, mode); |
mode | 384 | fs/ext2/namei.c | inode->i_mode = mode; |
mode | 408 | fs/ext2/namei.c | int ext2_mknod (struct inode * dir, const char * name, int len, int mode, |
mode | 424 | fs/ext2/namei.c | inode = ext2_new_inode (dir, mode); |
mode | 430 | fs/ext2/namei.c | inode->i_mode = mode; |
mode | 447 | fs/ext2/namei.c | if (S_ISBLK(mode) || S_ISCHR(mode)) |
mode | 472 | fs/ext2/namei.c | int ext2_mkdir (struct inode * dir, const char * name, int len, int mode) |
mode | 520 | fs/ext2/namei.c | inode->i_mode = S_IFDIR | (mode & S_IRWXUGO & ~current->fs->umask); |
mode | 53 | fs/ext2/symlink.c | int flag, int mode, struct inode ** res_inode) |
mode | 88 | fs/ext2/symlink.c | error = open_namei (link, flag, mode, res_inode, dir); |
mode | 74 | fs/isofs/file.c | int mode) |
mode | 82 | fs/isofs/file.c | if(mode == ISOFS_FILE_TEXT_M) outchar = 0x0a; |
mode | 83 | fs/isofs/file.c | if(mode == ISOFS_FILE_TEXT) outchar = ' '; |
mode | 65 | fs/isofs/inode.c | mode_t mode; |
mode | 80 | fs/isofs/inode.c | popt->mode = S_IRUGO; |
mode | 141 | fs/isofs/inode.c | popt->mode = ivalue; |
mode | 365 | fs/isofs/inode.c | s->u.isofs_sb.s_mode = opt.mode & 0777; |
mode | 296 | 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 | 211 | fs/minix/namei.c | int minix_create(struct inode * dir,const char * name, int len, int mode, |
mode | 228 | fs/minix/namei.c | inode->i_mode = mode; |
mode | 246 | fs/minix/namei.c | int minix_mknod(struct inode * dir, const char * name, int len, int mode, int rdev) |
mode | 267 | fs/minix/namei.c | inode->i_mode = mode; |
mode | 284 | fs/minix/namei.c | if (S_ISBLK(mode) || S_ISCHR(mode)) |
mode | 303 | fs/minix/namei.c | int minix_mkdir(struct inode * dir, const char * name, int len, int mode) |
mode | 350 | fs/minix/namei.c | inode->i_mode = S_IFDIR | (mode & 0777 & ~current->fs->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 | 241 | fs/msdos/namei.c | int msdos_create(struct inode *dir,const char *name,int len,int mode, |
mode | 274 | fs/msdos/namei.c | res = msdos_create_entry(dir,msdos_name,S_ISDIR(mode),is_hid,result); |
mode | 301 | fs/msdos/namei.c | int msdos_mkdir(struct inode *dir,const char *name,int len,int mode) |
mode | 101 | fs/namei.c | int mode = inode->i_mode; |
mode | 108 | fs/namei.c | mode >>= 6; |
mode | 110 | fs/namei.c | mode >>= 3; |
mode | 111 | fs/namei.c | if (((mode & mask & 0007) == mask) || fsuser()) |
mode | 192 | fs/namei.c | int flag, int mode, struct inode ** res_inode) |
mode | 205 | fs/namei.c | return inode->i_op->follow_link(dir,inode,flag,mode,res_inode); |
mode | 332 | fs/namei.c | int open_namei(const char * pathname, int flag, int mode, |
mode | 339 | fs/namei.c | mode &= S_IALLUGO & ~current->fs->umask; |
mode | 340 | fs/namei.c | mode |= S_IFREG; |
mode | 374 | fs/namei.c | error = dir->i_op->create(dir,basename,namelen,mode,res_inode); |
mode | 386 | fs/namei.c | error = follow_link(dir,inode,flag,mode,&inode); |
mode | 440 | fs/namei.c | int do_mknod(const char * filename, int mode, dev_t dev) |
mode | 446 | fs/namei.c | mode &= ~current->fs->umask; |
mode | 468 | fs/namei.c | error = dir->i_op->mknod(dir,basename,namelen,mode,dev); |
mode | 474 | fs/namei.c | asmlinkage int sys_mknod(const char * filename, int mode, dev_t dev) |
mode | 479 | fs/namei.c | if (S_ISDIR(mode) || (!S_ISFIFO(mode) && !fsuser())) |
mode | 481 | fs/namei.c | switch (mode & S_IFMT) { |
mode | 483 | fs/namei.c | mode |= S_IFREG; |
mode | 492 | fs/namei.c | error = do_mknod(tmp,mode,dev); |
mode | 498 | fs/namei.c | static int do_mkdir(const char * pathname, int mode) |
mode | 525 | fs/namei.c | error = dir->i_op->mkdir(dir, basename, namelen, mode & 0777 & ~current->fs->umask); |
mode | 531 | fs/namei.c | asmlinkage int sys_mkdir(const char * pathname, int mode) |
mode | 538 | fs/namei.c | error = do_mkdir(tmp,mode); |
mode | 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 | 283 | fs/nfs/dir.c | entry->expiration_date = jiffies + (S_ISDIR(fattr->mode) |
mode | 368 | fs/nfs/dir.c | static int nfs_create(struct inode *dir, const char *name, int len, int mode, |
mode | 386 | fs/nfs/dir.c | sattr.mode = mode; |
mode | 404 | fs/nfs/dir.c | int mode, int rdev) |
mode | 420 | fs/nfs/dir.c | sattr.mode = mode; |
mode | 422 | fs/nfs/dir.c | if (S_ISCHR(mode) || S_ISBLK(mode)) |
mode | 435 | fs/nfs/dir.c | static int nfs_mkdir(struct inode *dir, const char *name, int len, int mode) |
mode | 451 | fs/nfs/dir.c | sattr.mode = mode; |
mode | 521 | fs/nfs/dir.c | sattr.mode = S_IFLNK | S_IRWXUGO; /* SunOS 4.1.2 crashes without this! */ |
mode | 614 | fs/nfs/dir.c | inode->i_mode = fattr->mode; |
mode | 252 | fs/nfs/inode.c | sattr.mode = attr->ia_mode; |
mode | 254 | fs/nfs/inode.c | sattr.mode = (unsigned) -1; |
mode | 169 | fs/nfs/proc.c | fattr->mode = ntohl(*p++); |
mode | 190 | fs/nfs/proc.c | *p++ = htonl(sattr->mode); |
mode | 47 | fs/nfs/symlink.c | int flag, int mode, struct inode **res_inode) |
mode | 88 | fs/nfs/symlink.c | error = open_namei(res2, flag, mode, res_inode, dir); |
mode | 228 | fs/open.c | asmlinkage int sys_access(const char * filename, int mode) |
mode | 234 | fs/open.c | if (mode != (mode & S_IRWXO)) /* where's F_OK, X_OK, W_OK, R_OK? */ |
mode | 242 | fs/open.c | res = permission(inode, mode); |
mode | 312 | fs/open.c | asmlinkage int sys_fchmod(unsigned int fd, mode_t mode) |
mode | 326 | fs/open.c | if (mode == (mode_t) -1) |
mode | 327 | fs/open.c | mode = inode->i_mode; |
mode | 328 | fs/open.c | newattrs.ia_mode = (mode & S_IALLUGO) | (inode->i_mode & ~S_IALLUGO); |
mode | 335 | fs/open.c | asmlinkage int sys_chmod(const char * filename, mode_t mode) |
mode | 352 | fs/open.c | if (mode == (mode_t) -1) |
mode | 353 | fs/open.c | mode = inode->i_mode; |
mode | 354 | fs/open.c | newattrs.ia_mode = (mode & S_IALLUGO) | (inode->i_mode & ~S_IALLUGO); |
mode | 464 | fs/open.c | int do_open(const char * filename,int flags,int mode) |
mode | 479 | fs/open.c | error = open_namei(filename,flag,mode,&inode,NULL); |
mode | 526 | fs/open.c | asmlinkage int sys_open(const char * filename,int flags,int mode) |
mode | 534 | fs/open.c | error = do_open(tmp,flags,mode); |
mode | 539 | fs/open.c | asmlinkage int sys_creat(const char * pathname, int mode) |
mode | 541 | fs/open.c | return sys_open(pathname, O_CREAT | O_WRONLY | O_TRUNC, mode); |
mode | 80 | fs/proc/inode.c | if (de->mode) { |
mode | 81 | fs/proc/inode.c | inode->i_mode = de->mode; |
mode | 64 | fs/proc/link.c | int flag, int mode, struct inode ** res_inode) |
mode | 140 | fs/proc/root.c | if (S_ISDIR(dp->mode)) |
mode | 153 | fs/proc/root.c | if (S_ISDIR(dp->mode)) |
mode | 166 | fs/proc/root.c | int flag, int mode, struct inode ** res_inode) |
mode | 50 | fs/smbfs/dir.c | smb_create(struct inode *dir, const char *name, int len, int mode, |
mode | 54 | fs/smbfs/dir.c | smb_mkdir(struct inode *dir, const char *name, int len, int mode); |
mode | 760 | fs/smbfs/dir.c | smb_create(struct inode *dir, const char *name, int len, int mode, |
mode | 806 | fs/smbfs/dir.c | smb_mkdir(struct inode *dir, const char *name, int len, int mode) |
mode | 804 | fs/sysv/inode.c | umode_t mode; |
mode | 823 | fs/sysv/inode.c | mode = raw_inode->i_mode; |
mode | 825 | fs/sysv/inode.c | mode = from_coh_imode(mode); |
mode | 827 | fs/sysv/inode.c | inode->i_mode = mode; |
mode | 893 | fs/sysv/inode.c | umode_t mode; |
mode | 910 | fs/sysv/inode.c | mode = inode->i_mode; |
mode | 912 | fs/sysv/inode.c | mode = to_coh_imode(mode); |
mode | 913 | fs/sysv/inode.c | raw_inode->i_mode = mode; |
mode | 204 | fs/sysv/namei.c | int sysv_create(struct inode * dir,const char * name, int len, int mode, |
mode | 221 | fs/sysv/namei.c | inode->i_mode = mode; |
mode | 239 | fs/sysv/namei.c | int sysv_mknod(struct inode * dir, const char * name, int len, int mode, int rdev) |
mode | 260 | fs/sysv/namei.c | inode->i_mode = mode; |
mode | 277 | fs/sysv/namei.c | if (S_ISBLK(mode) || S_ISCHR(mode)) |
mode | 296 | fs/sysv/namei.c | int sysv_mkdir(struct inode * dir, const char * name, int len, int mode) |
mode | 341 | fs/sysv/namei.c | inode->i_mode = S_IFDIR | (mode & 0777 & ~current->fs->umask); |
mode | 48 | fs/sysv/symlink.c | int flag, int mode, struct inode ** res_inode) |
mode | 79 | fs/sysv/symlink.c | error = open_namei(bh->b_data,flag,mode,res_inode,dir); |
mode | 343 | fs/umsdos/dir.c | if (S_ISREG(entry->mode)) entry->mtime = inode->i_mtime; |
mode | 344 | fs/umsdos/dir.c | inode->i_mode = entry->mode; |
mode | 395 | fs/umsdos/dir.c | if (!S_ISDIR(entry->mode)){ |
mode | 695 | fs/umsdos/dir.c | umsdos_delentry (dir,&info,S_ISDIR(info.entry.mode)); |
mode | 421 | fs/umsdos/emd.c | if ((isdir != 0) != (S_ISDIR(info->entry.mode) != 0)){ |
mode | 422 | fs/umsdos/emd.c | if (S_ISDIR(info->entry.mode)){ |
mode | 485 | fs/umsdos/emd.c | if (S_ISDIR(info->entry.mode)){ |
mode | 329 | fs/umsdos/inode.c | entry.mode = attr->ia_mode; |
mode | 238 | fs/umsdos/ioctl.c | ,S_ISDIR(data.umsdos_dirent.mode)); |
mode | 307 | fs/umsdos/ioctl.c | dir->i_sb->u.msdos_sb.fs_umask = data.umsdos_dirent.mode; |
mode | 203 | fs/umsdos/namei.c | int mode, /* Permission bit + file type ??? */ |
mode | 216 | fs/umsdos/namei.c | info.entry.mode = mode; |
mode | 286 | fs/umsdos/namei.c | new_info->entry.mode = old_info->entry.mode; |
mode | 361 | fs/umsdos/namei.c | ,S_ISDIR(new_info.entry.mode)); |
mode | 365 | fs/umsdos/namei.c | ,S_ISDIR(old_info.entry.mode)); |
mode | 425 | fs/umsdos/namei.c | int mode, |
mode | 442 | fs/umsdos/namei.c | ret = umsdos_create_any (dir,name,len,mode,0,flags,&inode); |
mode | 668 | fs/umsdos/namei.c | int mode, /* Permission bit + file type ??? */ |
mode | 672 | fs/umsdos/namei.c | return umsdos_create_any (dir,name,len,mode,0,0,result); |
mode | 681 | fs/umsdos/namei.c | int mode) |
mode | 689 | fs/umsdos/namei.c | info.entry.mode = mode | S_IFDIR; |
mode | 703 | fs/umsdos/namei.c | ret = msdos_mkdir (dir,info.fake.fname,info.fake.len,mode); |
mode | 747 | fs/umsdos/namei.c | int mode, |
mode | 765 | fs/umsdos/namei.c | int ret = umsdos_create_any (dir,name,len,mode,rdev,0,&inode); |
mode | 991 | fs/umsdos/namei.c | ,info.entry.mode,ret)); |
mode | 55 | fs/umsdos/symlink.c | int mode, |
mode | 86 | fs/umsdos/symlink.c | ret = open_namei(path,flag,mode,res_inode,dir); |
mode | 245 | fs/xiafs/namei.c | int xiafs_create(struct inode * dir, const char * name, int len, int mode, |
mode | 261 | fs/xiafs/namei.c | inode->i_mode = mode; |
mode | 279 | fs/xiafs/namei.c | int xiafs_mknod(struct inode *dir, const char *name, int len, int mode, int rdev) |
mode | 299 | fs/xiafs/namei.c | inode->i_mode = mode; |
mode | 316 | fs/xiafs/namei.c | if (S_ISBLK(mode) || S_ISCHR(mode)) |
mode | 336 | fs/xiafs/namei.c | int xiafs_mkdir(struct inode * dir, const char * name, int len, int mode) |
mode | 382 | fs/xiafs/namei.c | inode->i_mode = S_IFDIR | (mode & S_IRWXUGO & ~current->fs->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 | 180 | include/asm-alpha/dma.h | static __inline__ void set_dma_mode(unsigned int dmanr, char mode) |
mode | 183 | include/asm-alpha/dma.h | dma_outb(mode | dmanr, DMA1_MODE_REG); |
mode | 185 | include/asm-alpha/dma.h | dma_outb(mode | (dmanr&3), DMA2_MODE_REG); |
mode | 21 | include/asm-alpha/floppy.h | #define fd_set_dma_mode(mode) set_dma_mode(FLOPPY_DMA,mode) |
mode | 201 | include/asm-alpha/unistd.h | static inline int open(const char * name, int mode, int flags) |
mode | 203 | include/asm-alpha/unistd.h | return sys_open(name, mode, flags); |
mode | 165 | include/asm-i386/dma.h | static __inline__ void set_dma_mode(unsigned int dmanr, char mode) |
mode | 168 | include/asm-i386/dma.h | dma_outb(mode | dmanr, DMA1_MODE_REG); |
mode | 170 | include/asm-i386/dma.h | dma_outb(mode | (dmanr&3), DMA2_MODE_REG); |
mode | 21 | include/asm-i386/floppy.h | #define fd_set_dma_mode(mode) set_dma_mode(FLOPPY_DMA,mode) |
mode | 269 | include/asm-i386/unistd.h | static inline _syscall3(int,open,const char *,file,int,flag,int,mode) |
mode | 168 | include/asm-mips/dma.h | static __inline__ void set_dma_mode(unsigned int dmanr, char mode) |
mode | 171 | include/asm-mips/dma.h | dma_outb(mode | dmanr, DMA1_MODE_REG); |
mode | 173 | include/asm-mips/dma.h | dma_outb(mode | (dmanr&3), DMA2_MODE_REG); |
mode | 27 | include/asm-mips/floppy.h | #define fd_set_dma_mode(mode) feature->fd_set_dma_mode(mode) |
mode | 163 | include/asm-sparc/unistd.h | static inline _syscall3(int,open,const char *,file,int,flag,int,mode) |
mode | 46 | include/linux/binfmts.h | extern int open_inode(struct inode * inode, int mode); |
mode | 123 | include/linux/cdk.h | unsigned short mode; |
mode | 439 | 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 | 481 | include/linux/fs.h | extern int open_namei(const char * pathname, int flag, int mode, |
mode | 483 | include/linux/fs.h | extern int do_mknod(const char * filename, int mode, dev_t dev); |
mode | 96 | include/linux/if_ppp.h | enum NPmode mode; |
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 | 152 | include/linux/msdos_fs.h | extern int msdos_create(struct inode *dir,const char *name,int len,int mode, |
mode | 154 | 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 | 141 | include/linux/proc_fs.h | mode_t mode; |
mode | 134 | include/linux/skbuff.h | extern void dev_kfree_skb(struct sk_buff *skb, int mode); |
mode | 121 | include/linux/socket.h | extern int verify_iovec(struct msghdr *m, struct iovec *iov, char *address, int mode); |
mode | 164 | include/linux/soundcard.h | unsigned long mode; |
mode | 970 | include/linux/soundcard.h | #define SEQ_VOLUME_MODE(dev, mode) {_SEQ_NEEDBUF(8);\ |
mode | 974 | 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 | 39 | include/linux/umsdos_fs.h | umode_t mode; /* Standard UNIX permissions bits + type of */ |
mode | 9 | include/linux/vt.h | char mode; /* vt mode */ |
mode | 124 | include/linux/xd.h | static u_int xd_command (u_char *command,u_char mode,u_char *indata,u_char *outdata,u_char *sense,u_long timeout); |
mode | 69 | include/linux/xia_fs.h | extern int xiafs_create(struct inode * dir,const char * name, int len, int mode, |
mode | 71 | include/linux/xia_fs.h | extern int xiafs_mkdir(struct inode * dir, const char * name, int len, int mode); |
mode | 79 | include/linux/xia_fs.h | int mode, int rdev); |
mode | 249 | ipc/msg.c | ipcp->mode = (msgflg & S_IRWXUGO); |
mode | 428 | ipc/msg.c | ipcp->mode = (ipcp->mode & ~S_IRWXUGO) | |
mode | 429 | ipc/msg.c | (S_IRWXUGO & tbuf.msg_perm.mode); |
mode | 113 | ipc/sem.c | ipcp->mode = (semflg & S_IRWXUGO); |
mode | 524 | ipc/sem.c | ipcp->mode = (ipcp->mode & ~S_IRWXUGO) |
mode | 525 | ipc/sem.c | | (tbuf.sem_perm.mode & S_IRWXUGO); |
mode | 111 | ipc/shm.c | shp->shm_perm.mode = (shmflg & S_IRWXUGO); |
mode | 149 | ipc/shm.c | if (shp->shm_perm.mode & SHM_DEST) |
mode | 291 | ipc/shm.c | if (!(ipcp->mode & SHM_LOCKED)) |
mode | 293 | ipc/shm.c | ipcp->mode &= ~SHM_LOCKED; |
mode | 301 | ipc/shm.c | if (ipcp->mode & SHM_LOCKED) |
mode | 303 | ipc/shm.c | ipcp->mode |= SHM_LOCKED; |
mode | 328 | ipc/shm.c | ipcp->mode = (ipcp->mode & ~S_IRWXUGO) |
mode | 329 | ipc/shm.c | | (tbuf.shm_perm.mode & S_IRWXUGO); |
mode | 337 | ipc/shm.c | shp->shm_perm.mode |= SHM_DEST; |
mode | 530 | ipc/shm.c | if (--shp->shm_nattch <= 0 && shp->shm_perm.mode & SHM_DEST) |
mode | 580 | ipc/shm.c | if (--shp->shm_nattch <= 0 && shp->shm_perm.mode & SHM_DEST) |
mode | 692 | ipc/shm.c | if (shp == IPC_UNUSED || shp == IPC_NOID || shp->shm_perm.mode & SHM_LOCKED ) { |
mode | 39 | ipc/util.c | granted_mode = ipcp->mode; |
mode | 12 | lib/open.c | static inline _syscall3(int, open, const char *, filename, int, flag, int, mode) |
mode | 2257 | net/ax25/af_ax25.c | int mode; |
mode | 2264 | net/ax25/af_ax25.c | mode = ax25_ip_mode_get((ax25_address *)(bp + 1), dev); |
mode | 2265 | net/ax25/af_ax25.c | if (mode == 'V' || mode == 'v' || (mode == ' ' && ax25_dev_get_value(dev, AX25_VALUES_IPDEFMODE) == 'V')) |
mode | 28 | net/core/iovec.c | int verify_iovec(struct msghdr *m, struct iovec *iov, char *address, int mode) |
mode | 36 | net/core/iovec.c | if(mode==VERIFY_READ) |
mode | 39 | net/core/iovec.c | err=verify_area(mode, m->msg_name, m->msg_namelen); |
mode | 45 | net/core/iovec.c | err=verify_area(mode, m->msg_accrights, m->msg_accrightslen); |
mode | 56 | net/core/iovec.c | err=verify_area(mode, iov[ct].iov_base, iov[ct].iov_len); |
mode | 669 | net/core/skbuff.c | void dev_kfree_skb(struct sk_buff *skb, int mode) |
mode | 681 | net/core/skbuff.c | kfree_skb(skb,mode); |
mode | 900 | net/unix/af_unix.c | static int unix_shutdown(struct socket *sock, int mode) |
mode | 904 | net/unix/af_unix.c | if(mode&SEND_SHUTDOWN) |
mode | 915 | net/unix/af_unix.c | if(mode&RCV_SHUTDOWN) |