Home
last modified time | relevance | path

Searched refs:file_mode (Results 1 – 25 of 34) sorted by relevance

12

/openbmc/linux/sound/core/seq/oss/
H A Dseq_oss_ioctl.c84 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 Dseq_oss_init.c227 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 Dseq_oss_rw.c39 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 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_synth.c220 info->arg.file_mode = dp->file_mode; in snd_seq_oss_synth_setup()
270 if (snd_seq_oss_midi_open(dp, i, dp->file_mode) < 0) in snd_seq_oss_synth_setup_midi()
273 info->arg.file_mode = dp->file_mode; in snd_seq_oss_synth_setup_midi()
409 dp->file_mode) < 0) { in snd_seq_oss_synth_reset()
H A Dseq_oss_device.h80 int file_mode; /* file access */ member
H A Dseq_oss_midi.c297 snd_seq_oss_midi_open_all(struct seq_oss_devinfo *dp, int file_mode) in snd_seq_oss_midi_open_all() argument
301 snd_seq_oss_midi_open(dp, i, file_mode); in snd_seq_oss_midi_open_all()
/openbmc/linux/tools/power/acpi/tools/ec/
H A Dec_access.c208 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()
/openbmc/openbmc/poky/bitbake/lib/bb/compress/
H A D_pipecompress.py53 file_mode = mode.replace("t", "")
55 binary_file = cls(filename, file_mode, **kwargs)
57 binary_file = cls(None, file_mode, fileobj=filename, **kwargs)
/openbmc/linux/kernel/
H A Dkexec_core.c653 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()
H A Dcrash_core.c769 if (kexec_crash_image->file_mode) in crash_check_update_elfcorehdr()
814 if (!(image->file_mode || image->update_elfcorehdr)) in crash_handle_hotplug_event()
/openbmc/bmcweb/test/http/
H A Dhttp_body_test.cpp74 value.open(temporaryFile.stringPath.c_str(), boost::beast::file_mode::read, in TEST()
98 value.open(temporaryFile.stringPath.c_str(), boost::beast::file_mode::read, in TEST()
H A Dhttp_response_test.cpp165 file.open(temporaryFile.stringPath.c_str(), boost::beast::file_mode::read, in TEST()
180 file.open(temporaryFile.stringPath.c_str(), boost::beast::file_mode::read, in TEST()
/openbmc/linux/include/sound/
H A Dseq_oss.h20 int file_mode; /* file mode - see below */ member
/openbmc/openbmc/poky/meta/recipes-gnome/gnome/gconf/
H A Dcreate_config_directory.patch22 file_mode = dir_mode & (~0111);
/openbmc/linux/arch/parisc/kernel/
H A Dkexec.c47 if (kimage->file_mode) { in kexec_image_info()
/openbmc/linux/arch/riscv/kernel/
H A Dmachine_kexec.c70 if (image->file_mode) in machine_kexec_prepare()
/openbmc/bmcweb/src/
H A Dssl_key_handler.cpp141 file.open(filepath.c_str(), boost::beast::file_mode::read, ec); in verifyOpensslKeyCert()
262 file.open(filepath.c_str(), boost::beast::file_mode::write, ec); in writeCertificateToFile()
/openbmc/linux/fs/smb/client/
H A Dfs_context.h198 umode_t file_mode; member
H A Dfs_context.c1198 ctx->file_mode = result.uint_32; in smb3_fs_context_parse_param()
1580 if (ctx->file_mode == in smb3_fs_context_parse_param()
1582 ctx->file_mode = S_IALLUGO; in smb3_fs_context_parse_param()
1762 ctx->dir_mode = ctx->file_mode = S_IRUGO | S_IXUGO | S_IWUSR; in smb3_init_fs_context()
/openbmc/linux/include/linux/
H A Dkexec.h322 unsigned int file_mode:1; member
/openbmc/bmcweb/http/
H A Dhttp_response.hpp313 response.body().open(path.c_str(), boost::beast::file_mode::read, ec); in openFile()
H A Dhttp_body.hpp104 void open(const char* path, boost::beast::file_mode mode, in open()
/openbmc/linux/Documentation/sound/designs/
H A Dseq-oss.rst223 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
/openbmc/bmcweb/include/
H A Dpersistent_data.hpp237 persistentFile.open(filename, boost::beast::file_mode::write, ec); in writeData()

12