| /OK3568_Linux_fs/kernel/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
|
| H A D | seq_oss_midi.c | 292 snd_seq_oss_midi_open_all(struct seq_oss_devinfo *dp, int file_mode) in snd_seq_oss_midi_open_all() argument 296 snd_seq_oss_midi_open(dp, i, file_mode); in snd_seq_oss_midi_open_all()
|
| H A D | seq_oss_event.c | 67 if (! is_write_mode(dp->file_mode)) in snd_seq_oss_process_event()
|
| /OK3568_Linux_fs/kernel/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()
|
| /OK3568_Linux_fs/yocto/poky/bitbake/lib/bb/compress/ |
| H A D | _pipecompress.py | 53 file_mode = mode.replace("t", "") 55 binary_file = cls(filename, file_mode, **kwargs) 57 binary_file = cls(None, file_mode, fileobj=filename, **kwargs)
|
| /OK3568_Linux_fs/kernel/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()
|
| H A D | kexec_file.c | 285 image->file_mode = 1; in kimage_file_alloc_init() 648 if (!kbuf->image->file_mode) in kexec_add_buffer()
|
| /OK3568_Linux_fs/kernel/drivers/net/wireless/rockchip_wlan/rkwifi/bcmdhd/ |
| H A D | dhd_fwtrace.c | 328 uint32 file_mode; in fwtrace_open_file() local 338 file_mode = O_CREAT | O_WRONLY | O_SYNC; in fwtrace_open_file() 351 filp_open(fwtrace_info->trace_file, file_mode, 0664); in fwtrace_open_file()
|
| H A D | dhd_pktlog.c | 1197 uint32 file_mode; in dhd_pktlog_dump_write_file() local 1205 file_mode = O_CREAT | O_WRONLY; in dhd_pktlog_dump_write_file() 1207 w_pcap_fp = filp_open(pktlogdump_path, file_mode, 0664); in dhd_pktlog_dump_write_file()
|
| /OK3568_Linux_fs/kernel/include/sound/ |
| H A D | seq_oss.h | 20 int file_mode; /* file mode - see below */ member
|
| /OK3568_Linux_fs/kernel/include/linux/mtd/ |
| H A D | blktrans.h | 37 fmode_t file_mode; member
|
| /OK3568_Linux_fs/yocto/poky/meta/recipes-gnome/gnome/gconf/ |
| H A D | create_config_directory.patch | 22 file_mode = dir_mode & (~0111);
|
| /OK3568_Linux_fs/kernel/arch/parisc/kernel/ |
| H A D | kexec.c | 45 if (kimage->file_mode) { in kexec_image_info()
|
| /OK3568_Linux_fs/kernel/Documentation/sound/designs/ |
| H A D | seq-oss.rst | 223 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
|
| /OK3568_Linux_fs/kernel/include/linux/ |
| H A D | kexec.h | 307 unsigned int file_mode:1; member
|
| /OK3568_Linux_fs/kernel/drivers/mtd/ |
| H A D | mtdblock.c | 289 if (mbd->file_mode & FMODE_WRITE) in mtdblock_release()
|
| H A D | mtd_blkdevs.c | 233 dev->file_mode = mode; in blktrans_open()
|
| /OK3568_Linux_fs/external/rkwifibt/drivers/bcmdhd/ |
| H A D | dhd_pktlog.c | 1197 uint32 file_mode; in dhd_pktlog_dump_write_file() local 1205 file_mode = O_CREAT | O_WRONLY; in dhd_pktlog_dump_write_file() 1207 w_pcap_fp = dhd_filp_open(pktlogdump_path, file_mode, 0664); in dhd_pktlog_dump_write_file()
|
| /OK3568_Linux_fs/kernel/fs/cifs/ |
| H A D | connect.c | 1442 vol->dir_mode = vol->file_mode = S_IRUGO | S_IXUGO | S_IWUSR; in cifs_parse_mount_options() 1621 if (vol->file_mode == in cifs_parse_mount_options() 1623 vol->file_mode = S_IALLUGO; in cifs_parse_mount_options() 1826 vol->file_mode = option; in cifs_parse_mount_options() 3934 cifs_sb->mnt_file_mode = pvolume_info->file_mode; in cifs_setup_cifs_sb()
|
| /OK3568_Linux_fs/external/rkwifibt/drivers/infineon/ |
| H A D | dhd_linux.c | 16203 uint32 file_mode; local 16214 file_mode = O_CREAT | O_WRONLY | O_SYNC; 16218 file_mode = O_CREAT | O_WRONLY | O_SYNC; 16222 file_mode = O_CREAT | O_WRONLY; 16227 file_mode = O_CREAT | O_WRONLY | O_SYNC; 16237 file_mode = O_CREAT | O_WRONLY | O_SYNC; 16239 struct file *fp = filp_open(memdump_path, file_mode, 0664); 16253 file_mode = O_CREAT | O_WRONLY; 16264 ret = write_file(memdump_path, file_mode, buf, size); 17483 uint32 file_mode = O_RDONLY; local [all …]
|