/linux/sound/core/seq/oss/ |
A D | seq_oss_init.c | 228 dp->file_mode = translate_mode(file); in snd_seq_oss_open() 231 if (is_read_mode(dp->file_mode)) { in snd_seq_oss_open() 240 if (is_write_mode(dp->file_mode)) { in snd_seq_oss_open() 262 else if (is_read_mode(dp->file_mode)) in snd_seq_oss_open() 285 int file_mode = 0; in translate_mode() local 287 file_mode |= SNDRV_SEQ_OSS_FILE_WRITE; in translate_mode() 289 file_mode |= SNDRV_SEQ_OSS_FILE_READ; in translate_mode() 291 file_mode |= SNDRV_SEQ_OSS_FILE_NONBLOCK; in translate_mode() 292 return file_mode; in translate_mode() 497 filemode_str(dp->file_mode)); in snd_seq_oss_system_info_read() [all …]
|
A D | seq_oss_ioctl.c | 84 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 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() 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 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);
|
A D | seq_oss_synth.c | 219 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 D | seq_oss_device.h | 80 int file_mode; /* file access */ member
|
A D | seq_oss_midi.c | 293 snd_seq_oss_midi_open_all(struct seq_oss_devinfo *dp, int file_mode) in snd_seq_oss_midi_open_all() argument 297 snd_seq_oss_midi_open(dp, i, file_mode); in snd_seq_oss_midi_open_all()
|
A D | seq_oss_event.c | 67 if (! is_write_mode(dp->file_mode)) in snd_seq_oss_process_event()
|
/linux/tools/power/acpi/tools/ec/ |
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/kernel/ |
A D | kexec_core.c | 660 if (image->file_mode) in kimage_free() 792 if (image->file_mode) in kimage_load_normal_segment() 828 if (image->file_mode) in kimage_load_normal_segment() 839 if (image->file_mode) in kimage_load_normal_segment() 865 if (image->file_mode) in kimage_load_crash_segment() 894 if (image->file_mode) in kimage_load_crash_segment() 907 if (image->file_mode) in kimage_load_crash_segment()
|
A D | kexec_file.c | 310 image->file_mode = 1; in kimage_file_alloc_init() 678 if (!kbuf->image->file_mode) in kexec_add_buffer()
|
/linux/fs/cifs/ |
A D | readdir.c | 169 fattr->cf_mode |= S_IFLNK | cifs_sb->ctx->file_mode; in cifs_fill_common_info() 172 fattr->cf_mode |= S_IFIFO | cifs_sb->ctx->file_mode; in cifs_fill_common_info() 175 fattr->cf_mode |= S_IFSOCK | cifs_sb->ctx->file_mode; in cifs_fill_common_info() 178 fattr->cf_mode |= S_IFCHR | cifs_sb->ctx->file_mode; in cifs_fill_common_info() 181 fattr->cf_mode |= S_IFBLK | cifs_sb->ctx->file_mode; in cifs_fill_common_info() 184 fattr->cf_mode = S_IFREG | cifs_sb->ctx->file_mode; in cifs_fill_common_info()
|
A D | fs_context.h | 182 umode_t file_mode; member
|
A D | fs_context.c | 993 ctx->file_mode = result.uint_32; in smb3_fs_context_parse_param() 1331 if (ctx->file_mode == in smb3_fs_context_parse_param() 1333 ctx->file_mode = S_IALLUGO; in smb3_fs_context_parse_param() 1512 ctx->dir_mode = ctx->file_mode = S_IRUGO | S_IXUGO | S_IWUSR; in smb3_init_fs_context()
|
A D | inode.c | 678 fattr->cf_mode |= S_IFLNK | cifs_sb->ctx->file_mode; 681 fattr->cf_mode |= S_IFIFO | cifs_sb->ctx->file_mode; 684 fattr->cf_mode |= S_IFSOCK | cifs_sb->ctx->file_mode; 687 fattr->cf_mode |= S_IFCHR | cifs_sb->ctx->file_mode; 690 fattr->cf_mode |= S_IFBLK | cifs_sb->ctx->file_mode; 705 fattr->cf_mode = S_IFREG | cifs_sb->ctx->file_mode; 2941 cifs_sb->ctx->file_mode;
|
A D | connect.c | 2458 if (old->ctx->file_mode != new->ctx->file_mode || in compare_mount_options() 2920 ctx->file_mode, ctx->dir_mode); in cifs_setup_cifs_sb()
|
A D | cifsfs.c | 559 cifs_sb->ctx->file_mode, in cifs_show_options()
|
/linux/include/sound/ |
A D | seq_oss.h | 20 int file_mode; /* file mode - see below */ member
|
/linux/include/linux/mtd/ |
A D | blktrans.h | 37 fmode_t file_mode; member
|
/linux/arch/parisc/kernel/ |
A D | kexec.c | 45 if (kimage->file_mode) { in kexec_image_info()
|
/linux/include/linux/ |
A D | kexec.h | 277 unsigned int file_mode:1; member
|
/linux/Documentation/sound/designs/ |
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/drivers/mtd/ |
A D | mtdblock.c | 289 if (mbd->file_mode & FMODE_WRITE) in mtdblock_release()
|
A D | mtd_blkdevs.c | 210 dev->file_mode = mode; in blktrans_open()
|
/linux/Documentation/admin-guide/cifs/ |
A D | usage.rst | 317 can be enabled by specifying file_mode and dir_mode on 336 file_mode
|