/Linux-v4.19/sound/core/seq/oss/ |
D | seq_oss_ioctl.c | 97 if (! is_write_mode(dp->file_mode) || dp->writeq == NULL) in snd_seq_oss_ioctl() 112 return snd_seq_oss_midi_open(dp, dev, dp->file_mode); in snd_seq_oss_ioctl() 115 if (dp->readq == NULL || ! is_read_mode(dp->file_mode)) in snd_seq_oss_ioctl() 120 if (! is_write_mode(dp->file_mode) || dp->writeq == NULL) in snd_seq_oss_ioctl() 161 if (! is_write_mode(dp->file_mode)) in snd_seq_oss_ioctl() 173 if (dp->readq == NULL || !is_read_mode(dp->file_mode)) in snd_seq_oss_ioctl() 185 if (! is_write_mode(dp->file_mode)) in snd_seq_oss_ioctl()
|
D | seq_oss_init.c | 241 dp->file_mode = translate_mode(file); in snd_seq_oss_open() 244 if (is_read_mode(dp->file_mode)) { in snd_seq_oss_open() 253 if (is_write_mode(dp->file_mode)) { in snd_seq_oss_open() 275 else if (is_read_mode(dp->file_mode)) in snd_seq_oss_open() 298 int file_mode = 0; in translate_mode() local 300 file_mode |= SNDRV_SEQ_OSS_FILE_WRITE; in translate_mode() 302 file_mode |= SNDRV_SEQ_OSS_FILE_READ; in translate_mode() 304 file_mode |= SNDRV_SEQ_OSS_FILE_NONBLOCK; in translate_mode() 305 return file_mode; in translate_mode() 508 filemode_str(dp->file_mode)); in snd_seq_oss_system_info_read() [all …]
|
D | seq_oss_rw.c | 52 if (readq == NULL || ! is_read_mode(dp->file_mode)) in snd_seq_oss_read() 59 !is_nonblock_mode(dp->file_mode) && result == 0) { in snd_seq_oss_read() 102 if (! is_write_mode(dp->file_mode) || dp->writeq == NULL) in snd_seq_oss_write() 186 if (is_nonblock_mode(dp->file_mode)) in insert_queue() 205 if (dp->readq && is_read_mode(dp->file_mode)) { in snd_seq_oss_poll() 211 if (dp->writeq && is_write_mode(dp->file_mode)) { in snd_seq_oss_poll()
|
D | seq_oss_midi.h | 37 int snd_seq_oss_midi_open(struct seq_oss_devinfo *dp, int dev, int file_mode); 38 void snd_seq_oss_midi_open_all(struct seq_oss_devinfo *dp, int file_mode);
|
D | seq_oss_synth.c | 232 info->arg.file_mode = dp->file_mode; in snd_seq_oss_synth_setup() 282 if (snd_seq_oss_midi_open(dp, i, dp->file_mode) < 0) in snd_seq_oss_synth_setup_midi() 285 info->arg.file_mode = dp->file_mode; in snd_seq_oss_synth_setup_midi() 421 dp->file_mode) < 0) { in snd_seq_oss_synth_reset()
|
D | seq_oss_device.h | 92 int file_mode; /* file access */ member
|
D | seq_oss_midi.c | 303 snd_seq_oss_midi_open_all(struct seq_oss_devinfo *dp, int file_mode) in snd_seq_oss_midi_open_all() argument 307 snd_seq_oss_midi_open(dp, i, file_mode); in snd_seq_oss_midi_open_all()
|
D | seq_oss_event.c | 80 if (! is_write_mode(dp->file_mode)) in snd_seq_oss_process_event()
|
/Linux-v4.19/tools/power/acpi/tools/ec/ |
D | ec_access.c | 209 int file_mode = O_RDONLY; in main() local 215 file_mode = O_WRONLY; in main() 217 file_mode = O_RDONLY; in main() 221 fd = open(SYSFS_PATH, file_mode); in main()
|
/Linux-v4.19/kernel/ |
D | kexec_core.c | 648 if (image->file_mode) in kimage_free() 780 if (image->file_mode) in kimage_load_normal_segment() 816 if (image->file_mode) in kimage_load_normal_segment() 827 if (image->file_mode) in kimage_load_normal_segment() 853 if (image->file_mode) in kimage_load_crash_segment() 881 if (image->file_mode) in kimage_load_crash_segment() 893 if (image->file_mode) in kimage_load_crash_segment()
|
D | kexec_file.c | 276 image->file_mode = 1; in kimage_file_alloc_init() 559 if (!kbuf->image->file_mode) in kexec_add_buffer()
|
/Linux-v4.19/include/sound/ |
D | seq_oss.h | 33 int file_mode; /* file mode - see below */ member
|
/Linux-v4.19/include/linux/mtd/ |
D | blktrans.h | 52 fmode_t file_mode; member
|
/Linux-v4.19/include/linux/ |
D | kexec.h | 237 unsigned int file_mode:1; member
|
/Linux-v4.19/Documentation/sound/designs/ |
D | seq-oss.rst | 223 int file_mode; 230 The first three fields, ``app_index``, ``file_mode`` and ``seq_mode`` 233 ``file_mode`` is bit-flags indicating the file operation mode. See
|
/Linux-v4.19/drivers/mtd/ |
D | mtdblock.c | 300 if (mbd->file_mode & FMODE_WRITE) in mtdblock_release()
|
D | mtd_blkdevs.c | 229 dev->file_mode = mode; in blktrans_open()
|
/Linux-v4.19/arch/x86/kernel/ |
D | machine_kexec_64.c | 212 if (!image->file_mode) in arch_update_purgatory()
|
/Linux-v4.19/fs/cifs/ |
D | connect.c | 1371 vol->dir_mode = vol->file_mode = S_IRUGO | S_IXUGO | S_IWUSR; in cifs_parse_mount_options() 1532 if (vol->file_mode == in cifs_parse_mount_options() 1534 vol->file_mode = S_IALLUGO; in cifs_parse_mount_options() 1715 vol->file_mode = option; in cifs_parse_mount_options() 3658 cifs_sb->mnt_file_mode = pvolume_info->file_mode; in cifs_setup_cifs_sb()
|
D | cifsglob.h | 507 umode_t file_mode; member
|
/Linux-v4.19/Documentation/filesystems/cifs/ |
D | README | 287 can be enabled by specifying file_mode and dir_mode on 301 file_mode If CIFS Unix extensions are not supported by the server
|