Home
last modified time | relevance | path

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

12

/linux/sound/core/seq/oss/
A Dseq_oss_ioctl.c84 if (! is_write_mode(dp->file_mode) || dp->writeq == NULL) in snd_seq_oss_ioctl()
99 return snd_seq_oss_midi_open(dp, dev, dp->file_mode); in snd_seq_oss_ioctl()
102 if (dp->readq == NULL || ! is_read_mode(dp->file_mode)) in snd_seq_oss_ioctl()
107 if (! is_write_mode(dp->file_mode) || dp->writeq == NULL) in snd_seq_oss_ioctl()
148 if (! is_write_mode(dp->file_mode)) in snd_seq_oss_ioctl()
160 if (dp->readq == NULL || !is_read_mode(dp->file_mode)) in snd_seq_oss_ioctl()
172 if (! is_write_mode(dp->file_mode)) in snd_seq_oss_ioctl()
A Dseq_oss_init.c222 dp->file_mode = translate_mode(file); in snd_seq_oss_open()
225 if (is_read_mode(dp->file_mode)) { in snd_seq_oss_open()
234 if (is_write_mode(dp->file_mode)) { in snd_seq_oss_open()
256 else if (is_read_mode(dp->file_mode)) in snd_seq_oss_open()
279 int file_mode = 0; in translate_mode() local
281 file_mode |= SNDRV_SEQ_OSS_FILE_WRITE; in translate_mode()
283 file_mode |= SNDRV_SEQ_OSS_FILE_READ; in translate_mode()
285 file_mode |= SNDRV_SEQ_OSS_FILE_NONBLOCK; in translate_mode()
286 return file_mode; in translate_mode()
491 filemode_str(dp->file_mode)); in snd_seq_oss_system_info_read()
[all …]
A Dseq_oss_rw.c39 if (readq == NULL || ! is_read_mode(dp->file_mode)) in snd_seq_oss_read()
46 !is_nonblock_mode(dp->file_mode) && result == 0) { in snd_seq_oss_read()
89 if (! is_write_mode(dp->file_mode) || dp->writeq == NULL) in snd_seq_oss_write()
175 !is_nonblock_mode(dp->file_mode)); in insert_queue()
190 if (dp->readq && is_read_mode(dp->file_mode)) { in snd_seq_oss_poll()
196 if (dp->writeq && is_write_mode(dp->file_mode)) { in snd_seq_oss_poll()
A Dseq_oss_midi.h24 int snd_seq_oss_midi_open(struct seq_oss_devinfo *dp, int dev, int file_mode);
25 void snd_seq_oss_midi_open_all(struct seq_oss_devinfo *dp, int file_mode);
A Dseq_oss_synth.c219 info->arg.file_mode = dp->file_mode; in snd_seq_oss_synth_setup()
269 if (snd_seq_oss_midi_open(dp, i, dp->file_mode) < 0) in snd_seq_oss_synth_setup_midi()
272 info->arg.file_mode = dp->file_mode; in snd_seq_oss_synth_setup_midi()
408 dp->file_mode) < 0) { in snd_seq_oss_synth_reset()
A Dseq_oss_device.h80 int file_mode; /* file access */ member
A Dseq_oss_midi.c292 snd_seq_oss_midi_open_all(struct seq_oss_devinfo *dp, int file_mode) in snd_seq_oss_midi_open_all() argument
296 snd_seq_oss_midi_open(dp, i, file_mode); in snd_seq_oss_midi_open_all()
A Dseq_oss_event.c67 if (! is_write_mode(dp->file_mode)) in snd_seq_oss_process_event()
/linux/tools/power/acpi/tools/ec/
A Dec_access.c208 int file_mode = O_RDONLY; in main() local
214 file_mode = O_WRONLY; in main()
216 file_mode = O_RDONLY; in main()
220 fd = open(SYSFS_PATH, file_mode); in main()
/linux/kernel/
A Dkexec_core.c588 if (image->file_mode) in kimage_free()
718 if (image->file_mode) in kimage_load_normal_segment()
755 if (image->file_mode) in kimage_load_normal_segment()
760 if (image->file_mode) in kimage_load_normal_segment()
794 if (image->file_mode) in kimage_load_crash_segment()
824 if (image->file_mode) in kimage_load_crash_segment()
829 if (image->file_mode) in kimage_load_crash_segment()
A Dkexec_file.c286 image->file_mode = 1; in kimage_file_alloc_init()
663 if (!kbuf->image->file_mode) in kexec_add_buffer()
/linux/include/sound/
A Dseq_oss.h20 int file_mode; /* file mode - see below */ member
/linux/arch/parisc/kernel/
A Dkexec.c47 if (kimage->file_mode) { in kexec_image_info()
/linux/arch/x86/kernel/
A Dcrash.c421 if (image->file_mode) in arch_crash_hotplug_support()
470 if ((image->file_mode || image->elfcorehdr_updated) && in arch_crash_handle_hotplug_event()
/linux/arch/riscv/kernel/
A Dmachine_kexec.c44 if (image->file_mode) in machine_kexec_prepare()
/linux/fs/smb/client/
A Dfs_context.h198 umode_t file_mode; member
A Dfs_context.c1119 ctx->file_mode = result.uint_32; in smb3_fs_context_parse_param()
1501 if (ctx->file_mode == in smb3_fs_context_parse_param()
1503 ctx->file_mode = S_IALLUGO; in smb3_fs_context_parse_param()
1683 ctx->dir_mode = ctx->file_mode = S_IRUGO | S_IXUGO | S_IWUSR; in smb3_init_fs_context()
A Dinode.c825 fattr->cf_mode = cifs_sb->ctx->file_mode; in cifs_open_info_to_fattr()
840 fattr->cf_mode = S_IFREG | cifs_sb->ctx->file_mode; in cifs_open_info_to_fattr()
3195 cifs_sb->ctx->file_mode;
A Dreaddir.c184 fattr->cf_mode = S_IFREG | cifs_sb->ctx->file_mode; in cifs_fill_common_info()
A Dconnect.c2806 if (old->ctx->file_mode != new->ctx->file_mode || in compare_mount_options()
3297 ctx->file_mode, ctx->dir_mode); in cifs_setup_cifs_sb()
A Dfile.c1017 cifs_sb->ctx->file_mode /* ignored */, in cifs_open()
1206 cifs_sb->ctx->file_mode /* ignored */, in cifs_reopen_file()
A Dcifsfs.c610 cifs_sb->ctx->file_mode, in cifs_show_options()
/linux/include/linux/
A Dkexec.h320 unsigned int file_mode:1; member
/linux/arch/powerpc/kexec/
A Dcrash.c550 if (image->file_mode) in arch_crash_hotplug_support()
/linux/Documentation/sound/designs/
A 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

Completed in 92 milliseconds

12