/linux-4.4.14/sound/core/seq/oss/ |
D | seq_oss_ioctl.c | 97 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()
|
D | seq_oss_init.c | 241 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 …]
|
D | seq_oss_rw.c | 52 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()
|
D | seq_oss_midi.h | 37 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);
|
D | seq_oss_synth.c | 231 info->arg.file_mode = dp->file_mode; in snd_seq_oss_synth_setup() 281 if (snd_seq_oss_midi_open(dp, i, dp->file_mode) < 0) in snd_seq_oss_synth_setup_midi() 284 info->arg.file_mode = dp->file_mode; in snd_seq_oss_synth_setup_midi() 420 dp->file_mode) < 0) { in snd_seq_oss_synth_reset()
|
D | seq_oss_device.h | 92 int file_mode; /* file access */ member
|
D | seq_oss_midi.c | 302 snd_seq_oss_midi_open_all(struct seq_oss_devinfo *dp, int file_mode) in snd_seq_oss_midi_open_all() argument 306 snd_seq_oss_midi_open(dp, i, file_mode); in snd_seq_oss_midi_open_all()
|
D | seq_oss_event.c | 79 if (! is_write_mode(dp->file_mode)) in snd_seq_oss_process_event()
|
/linux-4.4.14/tools/power/acpi/tools/ec/ |
D | ec_access.c | 209 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-4.4.14/include/uapi/linux/ |
D | ncp_mount.h | 40 __kernel_mode_t file_mode; member 65 unsigned long file_mode; member
|
/linux-4.4.14/fs/ncpfs/ |
D | inode.c | 175 inode->i_mode = server->m.file_mode; in ncp_update_attrs() 344 tmp = server->m.file_mode & S_IALLUGO; in ncp_show_options() 395 data->file_mode = NCP_DEFAULT_FILE_MODE; in ncp_parse_options() 427 data->file_mode = optint; in ncp_parse_options() 504 data.file_mode = md->file_mode; in ncp_fill_super() 523 data.file_mode = md->file_mode; in ncp_fill_super() 606 server->m.file_mode = (server->m.file_mode & S_IRWXUGO) | S_IFREG; in ncp_fill_super() 919 if (newmode & ~server->m.file_mode & S_IXUGO) in ncp_notify_change() 922 else if (newmode & ~server->m.file_mode & S_IRUGO) in ncp_notify_change() 926 newmode &= server->m.file_mode; in ncp_notify_change()
|
D | ncp_fs_sb.h | 35 umode_t file_mode; member
|
/linux-4.4.14/include/sound/ |
D | seq_oss.h | 33 int file_mode; /* file mode - see below */ member
|
/linux-4.4.14/kernel/ |
D | kexec_core.c | 582 if (image->file_mode) in kimage_free() 714 if (image->file_mode) in kimage_load_normal_segment() 750 if (image->file_mode) in kimage_load_normal_segment() 761 if (image->file_mode) in kimage_load_normal_segment() 785 if (image->file_mode) in kimage_load_crash_segment() 813 if (image->file_mode) in kimage_load_crash_segment() 825 if (image->file_mode) in kimage_load_crash_segment()
|
D | kexec_file.c | 265 image->file_mode = 1; in kimage_file_alloc_init() 493 if (!image->file_mode) in kexec_add_buffer()
|
/linux-4.4.14/include/linux/mtd/ |
D | blktrans.h | 52 fmode_t file_mode; member
|
/linux-4.4.14/fs/ |
D | compat.c | 666 compat_mode_t file_mode; member 680 compat_ulong_t file_mode; member 693 n->file_mode = c_n->file_mode; in do_ncp_super_data_conv() 704 n->file_mode = c_n->file_mode; in do_ncp_super_data_conv()
|
/linux-4.4.14/include/linux/ |
D | kexec.h | 158 unsigned int file_mode:1; member
|
/linux-4.4.14/drivers/mtd/ |
D | mtdblock.c | 321 if (mbd->file_mode & FMODE_WRITE) in mtdblock_release()
|
D | mtd_blkdevs.c | 216 dev->file_mode = mode; in blktrans_open()
|
/linux-4.4.14/arch/x86/kernel/ |
D | machine_kexec_64.c | 192 if (!image->file_mode) in arch_update_purgatory()
|
/linux-4.4.14/fs/cifs/ |
D | connect.c | 1262 vol->dir_mode = vol->file_mode = S_IRUGO | S_IXUGO | S_IWUSR; in cifs_parse_mount_options() 1412 if (vol->file_mode == in cifs_parse_mount_options() 1414 vol->file_mode = S_IALLUGO; in cifs_parse_mount_options() 1580 vol->file_mode = option; in cifs_parse_mount_options() 3272 cifs_sb->mnt_file_mode = pvolume_info->file_mode; in cifs_setup_cifs_sb()
|
D | cifsglob.h | 458 umode_t file_mode; member
|
/linux-4.4.14/Documentation/filesystems/cifs/ |
D | README | 288 can be enabled by specifying file_mode and dir_mode on 302 file_mode If CIFS Unix extensions are not supported by the server
|
D | CHANGES | 587 Allow file_mode and dir_mode (specified at mount time) to be enforced
|