/kernel/linux/linux-5.10/sound/core/seq/oss/ |
H 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() 495 filemode_str(dp->file_mode)); in snd_seq_oss_system_info_read() [all...] |
H 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()
|
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() 89 if (! is_write_mode(dp->file_mode) || dp->writeq == NULL) in snd_seq_oss_write() 174 !is_nonblock_mode(dp->file_mode)); in insert_queue() 189 if (dp->readq && is_read_mode(dp->file_mode)) { in snd_seq_oss_poll() 195 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 | 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()
|
H A D | seq_oss_device.h | 80 int file_mode; /* file access */ member
|
/kernel/linux/linux-6.6/sound/core/seq/oss/ |
H A D | seq_oss_init.c | 227 dp->file_mode = translate_mode(file); in snd_seq_oss_open() 230 if (is_read_mode(dp->file_mode)) { in snd_seq_oss_open() 239 if (is_write_mode(dp->file_mode)) { in snd_seq_oss_open() 261 else if (is_read_mode(dp->file_mode)) in snd_seq_oss_open() 284 int file_mode = 0; in translate_mode() local 286 file_mode |= SNDRV_SEQ_OSS_FILE_WRITE; in translate_mode() 288 file_mode |= SNDRV_SEQ_OSS_FILE_READ; in translate_mode() 290 file_mode |= SNDRV_SEQ_OSS_FILE_NONBLOCK; in translate_mode() 291 return file_mode; in translate_mode() 496 filemode_str(dp->file_mode)); in snd_seq_oss_system_info_read() [all...] |
H 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()
|
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() 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()
|
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 | 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()
|
H A D | seq_oss_device.h | 80 int file_mode; /* file access */ member
|
/kernel/linux/linux-5.10/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()
|
/kernel/linux/linux-6.6/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()
|
/kernel/linux/linux-5.10/kernel/ |
H A D | kexec_core.c | 659 if (image->file_mode) in kimage_free() 791 if (image->file_mode) in kimage_load_normal_segment() 827 if (image->file_mode) in kimage_load_normal_segment() 838 if (image->file_mode) in kimage_load_normal_segment() 864 if (image->file_mode) in kimage_load_crash_segment() 893 if (image->file_mode) in kimage_load_crash_segment() 906 if (image->file_mode) in kimage_load_crash_segment()
|
/kernel/linux/linux-6.6/kernel/ |
H A D | kexec_core.c | 653 if (image->file_mode) in kimage_free() 783 if (image->file_mode) in kimage_load_normal_segment() 819 if (image->file_mode) in kimage_load_normal_segment() 830 if (image->file_mode) in kimage_load_normal_segment() 856 if (image->file_mode) in kimage_load_crash_segment() 885 if (image->file_mode) in kimage_load_crash_segment() 898 if (image->file_mode) in kimage_load_crash_segment()
|
/kernel/linux/linux-5.10/include/sound/ |
H A D | seq_oss.h | 20 int file_mode; /* file mode - see below */ member 47 /* flag: file_mode */
|
/kernel/linux/linux-6.6/include/sound/ |
H A D | seq_oss.h | 20 int file_mode; /* file mode - see below */ member 47 /* flag: file_mode */
|
/kernel/linux/linux-5.10/include/linux/mtd/ |
H A D | blktrans.h | 37 fmode_t file_mode; member
|
/kernel/linux/linux-5.10/arch/parisc/kernel/ |
H A D | kexec.c | 45 if (kimage->file_mode) { in kexec_image_info()
|
/kernel/linux/linux-6.6/arch/parisc/kernel/ |
H A D | kexec.c | 47 if (kimage->file_mode) { in kexec_image_info()
|
/kernel/linux/linux-6.6/fs/smb/client/ |
H A D | inode.c | 743 fattr->cf_mode |= S_IFCHR | cifs_sb->ctx->file_mode; in cifs_reparse_point_to_fattr() 748 fattr->cf_mode |= S_IFBLK | cifs_sb->ctx->file_mode; in cifs_reparse_point_to_fattr() 753 fattr->cf_mode |= S_IFIFO | cifs_sb->ctx->file_mode; in cifs_reparse_point_to_fattr() 757 fattr->cf_mode |= S_IFSOCK | cifs_sb->ctx->file_mode; in cifs_reparse_point_to_fattr() 761 fattr->cf_mode = S_IFLNK | cifs_sb->ctx->file_mode; in cifs_reparse_point_to_fattr() 773 fattr->cf_mode |= S_IFLNK | cifs_sb->ctx->file_mode; in cifs_reparse_point_to_fattr() 777 fattr->cf_mode |= S_IFIFO | cifs_sb->ctx->file_mode; in cifs_reparse_point_to_fattr() 781 fattr->cf_mode |= S_IFSOCK | cifs_sb->ctx->file_mode; in cifs_reparse_point_to_fattr() 785 fattr->cf_mode |= S_IFCHR | cifs_sb->ctx->file_mode; in cifs_reparse_point_to_fattr() 789 fattr->cf_mode |= S_IFBLK | cifs_sb->ctx->file_mode; in cifs_reparse_point_to_fattr() [all...] |
H A D | fs_context.h | 185 umode_t file_mode; member
|
/kernel/linux/linux-6.6/arch/riscv/kernel/ |
H A D | machine_kexec.c | 70 if (image->file_mode) in machine_kexec_prepare()
|
/kernel/linux/linux-5.10/include/linux/ |
H A D | kexec.h | 307 unsigned int file_mode:1; member
|