/linux-4.1.27/sound/core/seq/oss/ |
H A D | seq_oss_ioctl.c | 97 if (! is_write_mode(dp->file_mode) || dp->writeq == NULL) snd_seq_oss_ioctl() 112 return snd_seq_oss_midi_open(dp, dev, dp->file_mode); snd_seq_oss_ioctl() 115 if (dp->readq == NULL || ! is_read_mode(dp->file_mode)) snd_seq_oss_ioctl() 120 if (! is_write_mode(dp->file_mode) || dp->writeq == NULL) snd_seq_oss_ioctl() 161 if (! is_write_mode(dp->file_mode)) snd_seq_oss_ioctl() 173 if (dp->readq == NULL || !is_read_mode(dp->file_mode)) snd_seq_oss_ioctl() 185 if (! is_write_mode(dp->file_mode)) snd_seq_oss_ioctl()
|
H A D | seq_oss_rw.c | 52 if (readq == NULL || ! is_read_mode(dp->file_mode)) snd_seq_oss_read() 59 !is_nonblock_mode(dp->file_mode) && result == 0) { snd_seq_oss_read() 102 if (! is_write_mode(dp->file_mode) || dp->writeq == NULL) snd_seq_oss_write() 186 if (is_nonblock_mode(dp->file_mode)) insert_queue() 205 if (dp->readq && is_read_mode(dp->file_mode)) { snd_seq_oss_poll() 211 if (dp->writeq && is_write_mode(dp->file_mode)) { snd_seq_oss_poll()
|
H A D | seq_oss_init.c | 241 dp->file_mode = translate_mode(file); snd_seq_oss_open() 244 if (is_read_mode(dp->file_mode)) { snd_seq_oss_open() 253 if (is_write_mode(dp->file_mode)) { snd_seq_oss_open() 275 else if (is_read_mode(dp->file_mode)) snd_seq_oss_open() 298 int file_mode = 0; translate_mode() local 300 file_mode |= SNDRV_SEQ_OSS_FILE_WRITE; translate_mode() 302 file_mode |= SNDRV_SEQ_OSS_FILE_READ; translate_mode() 304 file_mode |= SNDRV_SEQ_OSS_FILE_NONBLOCK; translate_mode() 305 return file_mode; translate_mode() 509 filemode_str(dp->file_mode)); snd_seq_oss_system_info_read() 514 if (is_read_mode(dp->file_mode) && dp->readq) snd_seq_oss_system_info_read()
|
H A 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);
|
H A D | seq_oss_synth.c | 231 info->arg.file_mode = dp->file_mode; snd_seq_oss_synth_setup() 281 if (snd_seq_oss_midi_open(dp, i, dp->file_mode) < 0) snd_seq_oss_synth_setup_midi() 284 info->arg.file_mode = dp->file_mode; snd_seq_oss_synth_setup_midi() 420 dp->file_mode) < 0) { snd_seq_oss_synth_reset()
|
H A D | seq_oss_device.h | 92 int file_mode; /* file access */ member in struct:seq_oss_devinfo
|
H A D | seq_oss_midi.c | 302 snd_seq_oss_midi_open_all(struct seq_oss_devinfo *dp, int file_mode) snd_seq_oss_midi_open_all() argument 306 snd_seq_oss_midi_open(dp, i, file_mode); snd_seq_oss_midi_open_all()
|
H A D | seq_oss_event.c | 79 if (! is_write_mode(dp->file_mode)) snd_seq_oss_process_event()
|
/linux-4.1.27/include/uapi/linux/ |
H A D | ncp_mount.h | 40 __kernel_mode_t file_mode; member in struct:ncp_mount_data 65 unsigned long file_mode; member in struct:ncp_mount_data_v4
|
/linux-4.1.27/tools/power/acpi/tools/ec/ |
H A D | ec_access.c | 209 int file_mode = O_RDONLY; main() local 215 file_mode = O_WRONLY; main() 217 file_mode = O_RDONLY; main() 221 fd = open(SYSFS_PATH, file_mode); main()
|
/linux-4.1.27/include/sound/ |
H A D | seq_oss.h | 33 int file_mode; /* file mode - see below */ member in struct:snd_seq_oss_arg 60 /* flag: file_mode */
|
/linux-4.1.27/fs/ncpfs/ |
H A D | inode.c | 175 inode->i_mode = server->m.file_mode; ncp_update_attrs() 344 tmp = server->m.file_mode & S_IALLUGO; ncp_show_options() 395 data->file_mode = NCP_DEFAULT_FILE_MODE; ncp_parse_options() 427 data->file_mode = optint; ncp_parse_options() 504 data.file_mode = md->file_mode; ncp_fill_super() 523 data.file_mode = md->file_mode; ncp_fill_super() 606 server->m.file_mode = (server->m.file_mode & S_IRWXUGO) | S_IFREG; ncp_fill_super() 919 if (newmode & ~server->m.file_mode & S_IXUGO) ncp_notify_change() 921 /* read for group/world and not in default file_mode */ ncp_notify_change() 922 else if (newmode & ~server->m.file_mode & S_IRUGO) ncp_notify_change() 926 newmode &= server->m.file_mode; ncp_notify_change()
|
H A D | ncp_fs_sb.h | 35 umode_t file_mode; member in struct:ncp_mount_data_kernel
|
/linux-4.1.27/include/linux/mtd/ |
H A D | blktrans.h | 52 fmode_t file_mode; member in struct:mtd_blktrans_dev
|
/linux-4.1.27/fs/hppfs/ |
H A D | hppfs.c | 409 static int file_mode(int fmode) file_mode() function 440 data->proc_file = dentry_open(&path, file_mode(file->f_mode), cred); hppfs_open() 495 data->proc_file = dentry_open(&path, file_mode(file->f_mode), cred); hppfs_dir_open()
|
/linux-4.1.27/fs/ |
H A D | compat.c | 666 compat_mode_t file_mode; member in struct:compat_ncp_mount_data 680 compat_ulong_t file_mode; member in struct:compat_ncp_mount_data_v4 693 n->file_mode = c_n->file_mode; do_ncp_super_data_conv() 704 n->file_mode = c_n->file_mode; do_ncp_super_data_conv()
|
/linux-4.1.27/include/linux/ |
H A D | kexec.h | 158 unsigned int file_mode:1; member in struct:kimage
|
/linux-4.1.27/kernel/ |
H A D | kexec.c | 575 image->file_mode = 1; kimage_file_alloc_init() 940 if (image->file_mode) 1075 if (image->file_mode) kimage_load_normal_segment() 1111 if (image->file_mode) kimage_load_normal_segment() 1122 if (image->file_mode) kimage_load_normal_segment() 1146 if (image->file_mode) kimage_load_crash_segment() 1174 if (image->file_mode) kimage_load_crash_segment() 1186 if (image->file_mode) kimage_load_crash_segment() 2125 if (!image->file_mode) kexec_add_buffer()
|
/linux-4.1.27/drivers/mtd/ |
H A D | mtdblock.c | 321 if (mbd->file_mode & FMODE_WRITE) mtdblock_release()
|
H A D | mtd_blkdevs.c | 220 dev->file_mode = mode; blktrans_open()
|
/linux-4.1.27/arch/x86/kernel/ |
H A D | machine_kexec_64.c | 190 if (!image->file_mode) arch_update_purgatory()
|
/linux-4.1.27/fs/cifs/ |
H A D | connect.c | 178 { Opt_file_mode, "file_mode=%s" }, 1245 vol->dir_mode = vol->file_mode = S_IRUGO | S_IXUGO | S_IWUSR; cifs_parse_mount_options() 1395 if (vol->file_mode == cifs_parse_mount_options() 1397 vol->file_mode = S_IALLUGO; cifs_parse_mount_options() 1532 cifs_dbg(VFS, "%s: Invalid file_mode value\n", cifs_parse_mount_options() 1536 vol->file_mode = option; cifs_parse_mount_options() 3191 cifs_sb->mnt_file_mode = pvolume_info->file_mode; cifs_setup_cifs_sb()
|
H A D | cifsfs.c | 442 seq_printf(s, ",file_mode=0%ho,dir_mode=0%ho", cifs_show_options()
|
H A D | cifsglob.h | 449 umode_t file_mode; member in struct:smb_vol
|