Searched refs:file_mode (Results 1 - 24 of 24) sorted by relevance

/linux-master/sound/core/seq/oss/
H A Dseq_oss_midi.h24 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 Dseq_oss_ioctl.c84 if (! is_write_mode(dp->file_mode) || dp->writeq == NULL)
99 return snd_seq_oss_midi_open(dp, dev, dp->file_mode);
102 if (dp->readq == NULL || ! is_read_mode(dp->file_mode))
107 if (! is_write_mode(dp->file_mode) || dp->writeq == NULL)
148 if (! is_write_mode(dp->file_mode))
160 if (dp->readq == NULL || !is_read_mode(dp->file_mode))
172 if (! is_write_mode(dp->file_mode))
H A Dseq_oss_rw.c39 if (readq == NULL || ! is_read_mode(dp->file_mode))
46 !is_nonblock_mode(dp->file_mode) && result == 0) {
89 if (! is_write_mode(dp->file_mode) || dp->writeq == NULL)
175 !is_nonblock_mode(dp->file_mode));
190 if (dp->readq && is_read_mode(dp->file_mode)) {
196 if (dp->writeq && is_write_mode(dp->file_mode)) {
H A Dseq_oss_init.c222 dp->file_mode = translate_mode(file);
225 if (is_read_mode(dp->file_mode)) {
234 if (is_write_mode(dp->file_mode)) {
256 else if (is_read_mode(dp->file_mode))
279 int file_mode = 0; local
281 file_mode |= SNDRV_SEQ_OSS_FILE_WRITE;
283 file_mode |= SNDRV_SEQ_OSS_FILE_READ;
285 file_mode |= SNDRV_SEQ_OSS_FILE_NONBLOCK;
286 return file_mode;
491 filemode_str(dp->file_mode));
[all...]
H A Dseq_oss_synth.c219 info->arg.file_mode = dp->file_mode;
269 if (snd_seq_oss_midi_open(dp, i, dp->file_mode) < 0)
272 info->arg.file_mode = dp->file_mode;
408 dp->file_mode) < 0) {
H A Dseq_oss_device.h80 int file_mode; /* file access */ member in struct:seq_oss_devinfo
H A Dseq_oss_midi.c292 snd_seq_oss_midi_open_all(struct seq_oss_devinfo *dp, int file_mode) argument
296 snd_seq_oss_midi_open(dp, i, file_mode);
H A Dseq_oss_event.c67 if (! is_write_mode(dp->file_mode))
/linux-master/include/sound/
H A Dseq_oss.h20 int file_mode; /* file mode - see below */ member in struct:snd_seq_oss_arg
47 /* flag: file_mode */
/linux-master/tools/power/acpi/tools/ec/
H A Dec_access.c208 int file_mode = O_RDONLY; local
214 file_mode = O_WRONLY;
216 file_mode = O_RDONLY;
220 fd = open(SYSFS_PATH, file_mode);
/linux-master/arch/parisc/kernel/
H A Dkexec.c47 if (kimage->file_mode) {
/linux-master/arch/riscv/kernel/
H A Dmachine_kexec.c44 if (image->file_mode)
/linux-master/kernel/
H A Dkexec_core.c588 if (image->file_mode)
718 if (image->file_mode)
755 if (image->file_mode)
760 if (image->file_mode)
794 if (image->file_mode)
824 if (image->file_mode)
829 if (image->file_mode)
H A Dcrash_core.c511 if (kexec_crash_image->file_mode)
556 if (!(image->file_mode || image->update_elfcorehdr))
H A Dkexec_file.c286 image->file_mode = 1;
658 if (!kbuf->image->file_mode)
/linux-master/fs/smb/client/
H A Dfs_context.h198 umode_t file_mode; member in struct:smb3_fs_context
H A Dfs_context.c137 fsparam_u32("file_mode", Opt_file_mode),
1124 ctx->file_mode = result.uint_32;
1506 if (ctx->file_mode ==
1508 ctx->file_mode = S_IALLUGO;
1688 ctx->dir_mode = ctx->file_mode = S_IRUGO | S_IXUGO | S_IWUSR;
H A Dreaddir.c184 fattr->cf_mode = S_IFREG | cifs_sb->ctx->file_mode;
H A Dinode.c764 fattr->cf_mode = cifs_sb->ctx->file_mode;
779 fattr->cf_mode = S_IFREG | cifs_sb->ctx->file_mode;
3131 cifs_sb->ctx->file_mode;
H A Dconnect.c2795 if (old->ctx->file_mode != new->ctx->file_mode ||
3277 ctx->file_mode, ctx->dir_mode);
H A Dcifsfs.c593 seq_printf(s, ",file_mode=0%ho,dir_mode=0%ho",
594 cifs_sb->ctx->file_mode,
H A Dfile.c832 cifs_sb->ctx->file_mode /* ignored */,
1021 cifs_sb->ctx->file_mode /* ignored */,
/linux-master/include/linux/
H A Dkexec.h320 unsigned int file_mode:1; member in struct:kimage
/linux-master/arch/x86/kernel/
H A Dcrash.c450 if ((image->file_mode || image->elfcorehdr_updated) &&

Completed in 197 milliseconds