Home
last modified time | relevance | path

Searched refs:file_mode (Results 1 – 21 of 21) sorted by relevance

/Linux-v4.19/sound/core/seq/oss/
Dseq_oss_ioctl.c97 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()
Dseq_oss_init.c241 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 …]
Dseq_oss_rw.c52 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()
Dseq_oss_midi.h37 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);
Dseq_oss_synth.c232 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()
Dseq_oss_device.h92 int file_mode; /* file access */ member
Dseq_oss_midi.c303 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()
Dseq_oss_event.c80 if (! is_write_mode(dp->file_mode)) in snd_seq_oss_process_event()
/Linux-v4.19/tools/power/acpi/tools/ec/
Dec_access.c209 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/
Dkexec_core.c648 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()
Dkexec_file.c276 image->file_mode = 1; in kimage_file_alloc_init()
559 if (!kbuf->image->file_mode) in kexec_add_buffer()
/Linux-v4.19/include/sound/
Dseq_oss.h33 int file_mode; /* file mode - see below */ member
/Linux-v4.19/include/linux/mtd/
Dblktrans.h52 fmode_t file_mode; member
/Linux-v4.19/include/linux/
Dkexec.h237 unsigned int file_mode:1; member
/Linux-v4.19/Documentation/sound/designs/
Dseq-oss.rst223 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/
Dmtdblock.c300 if (mbd->file_mode & FMODE_WRITE) in mtdblock_release()
Dmtd_blkdevs.c229 dev->file_mode = mode; in blktrans_open()
/Linux-v4.19/arch/x86/kernel/
Dmachine_kexec_64.c212 if (!image->file_mode) in arch_update_purgatory()
/Linux-v4.19/fs/cifs/
Dconnect.c1371 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()
Dcifsglob.h507 umode_t file_mode; member
/Linux-v4.19/Documentation/filesystems/cifs/
DREADME287 can be enabled by specifying file_mode and dir_mode on
301 file_mode If CIFS Unix extensions are not supported by the server