| /linux/sound/core/seq/oss/ |
| H A D | seq_oss_ioctl.c | 86 if (! is_write_mode(dp->file_mode) || dp->writeq == NULL) in snd_seq_oss_ioctl() 101 return snd_seq_oss_midi_open(dp, dev, dp->file_mode); in snd_seq_oss_ioctl() 104 if (dp->readq == NULL || ! is_read_mode(dp->file_mode)) in snd_seq_oss_ioctl() 109 if (! is_write_mode(dp->file_mode) || dp->writeq == NULL) in snd_seq_oss_ioctl() 150 if (! is_write_mode(dp->file_mode)) in snd_seq_oss_ioctl() 162 if (dp->readq == NULL || !is_read_mode(dp->file_mode)) in snd_seq_oss_ioctl() 174 if (! is_write_mode(dp->file_mode)) in snd_seq_oss_ioctl()
|
| H A D | seq_oss_init.c | 222 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() 485 filemode_str(dp->file_mode)); in snd_seq_oss_system_info_read() [all...] |
| H A D | seq_oss_rw.c | 39 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() 90 if (! is_write_mode(dp->file_mode) || dp->writeq == NULL) in snd_seq_oss_write() 178 !is_nonblock_mode(dp->file_mode)); 193 if (dp->readq && is_read_mode(dp->file_mode)) { in snd_seq_oss_poll() 199 if (dp->writeq && is_write_mode(dp->file_mode)) { in snd_seq_oss_poll()
|
| H A D | seq_oss_midi.h | 24 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);
|
| H A D | seq_oss_synth.c | 201 info->arg.file_mode = dp->file_mode; in snd_seq_oss_synth_setup() 247 if (snd_seq_oss_midi_open(dp, i, dp->file_mode) < 0) in snd_seq_oss_synth_setup_midi() 250 info->arg.file_mode = dp->file_mode; in snd_seq_oss_synth_setup_midi() 381 dp->file_mode) < 0) { in snd_seq_oss_synth_reset()
|
| H A D | seq_oss_midi.c | 280 snd_seq_oss_midi_open_all(struct seq_oss_devinfo *dp, int file_mode) in snd_seq_oss_midi_open_all() argument 284 snd_seq_oss_midi_open(dp, i, file_mode); in snd_seq_oss_midi_open_all()
|
| /linux/tools/power/acpi/tools/ec/ |
| H A D | ec_access.c | 208 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/include/sound/ |
| H A D | seq_oss.h | 20 int file_mode; /* file mode - see below */ member
|
| /linux/arch/parisc/kernel/ |
| H A D | kexec.c | 47 if (kimage->file_mode) { in kexec_image_info()
|
| /linux/arch/riscv/kernel/ |
| H A D | machine_kexec.c | 44 if (image->file_mode) in machine_kexec_prepare()
|
| /linux/arch/loongarch/kernel/ |
| H A D | machine_kexec.c | 51 if (kimage->file_mode == 1) { in machine_kexec_prepare()
|
| /linux/Documentation/sound/designs/ |
| H A 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/include/linux/ |
| H A D | kexec.h | 366 unsigned int file_mode:1; member
|
| /linux/fs/smb/client/ |
| H A D | fs_context.h | 241 umode_t file_mode; member
|
| H A D | fs_context.c | 147 fsparam_u32("file_mode", Opt_file_mode), 1415 ctx->file_mode = result.uint_32; in smb3_fs_context_parse_param() 1794 if (ctx->file_mode == in smb3_fs_context_parse_param() 1796 ctx->file_mode = S_IALLUGO; in smb3_fs_context_parse_param() 2004 ctx->dir_mode = ctx->file_mode = S_IRUGO | S_IXUGO | S_IWUSR; in smb3_init_fs_context()
|
| H A D | inode.c | 936 fattr->cf_mode = cifs_sb->ctx->file_mode; in cifs_open_info_to_fattr() 951 fattr->cf_mode = S_IFREG | cifs_sb->ctx->file_mode; in cifs_open_info_to_fattr() 3442 cifs_sb->ctx->file_mode;
|
| H A D | readdir.c | 201 fattr->cf_mode = S_IFREG | cifs_sb->ctx->file_mode; in cifs_fill_common_info()
|
| H A D | connect.c | 2952 if (old->ctx->file_mode != new->ctx->file_mode || in compare_mount_options() 3490 ctx->file_mode, ctx->dir_mode); in cifs_setup_cifs_sb()
|
| H A D | file.c | 1110 cifs_sb->ctx->file_mode /* ignored */, in cifs_open() 1299 cifs_sb->ctx->file_mode /* ignored */, in cifs_reopen_file()
|
| H A D | cifsfs.c | 669 seq_printf(s, ",file_mode=0%ho,dir_mode=0%ho", in cifs_show_options() 670 cifs_sb->ctx->file_mode, in cifs_show_options()
|
| /linux/Documentation/admin-guide/cifs/ |
| H A D | usage.rst | 319 can be enabled by specifying file_mode and dir_mode on 338 file_mode
|