Home
last modified time | relevance | path

Searched refs:open_flag (Results 1 – 14 of 14) sorted by relevance

/Linux-v5.4/sound/pci/asihpi/
Dhpimsgx.c123 int open_flag; member
392 if (instream_user_open[phm->adapter_index][phm->obj_index].open_flag) in instream_open()
402 obj_index].open_flag = 1; in instream_open()
415 obj_index].open_flag = 0; in instream_open()
419 obj_index].open_flag = 1; in instream_open()
463 obj_index].open_flag = 0; in instream_close()
489 if (outstream_user_open[phm->adapter_index][phm->obj_index].open_flag) in outstream_open()
499 obj_index].open_flag = 1; in outstream_open()
512 obj_index].open_flag = 0; in outstream_open()
516 obj_index].open_flag = 1; in outstream_open()
[all …]
/Linux-v5.4/fs/
Dfhandle.c216 int open_flag) in do_handle_open() argument
227 fd = get_unused_fd_flags(open_flag); in do_handle_open()
232 file = file_open_root(path.dentry, path.mnt, "", open_flag, 0); in do_handle_open()
Dnamei.c3048 int open_flag, umode_t mode) in atomic_open() argument
3054 if (!(~open_flag & (O_EXCL | O_CREAT))) /* both O_EXCL and O_CREAT */ in atomic_open()
3055 open_flag &= ~O_TRUNC; in atomic_open()
3058 open_flag |= O_DIRECTORY; in atomic_open()
3063 open_to_namei_flags(open_flag), mode); in atomic_open()
3073 WARN_ON(!(open_flag & O_CREAT)); in atomic_open()
3077 error = may_open(&file->f_path, acc_mode, open_flag); in atomic_open()
3124 int open_flag = op->open_flag; in lookup_open() local
3167 if (open_flag & O_CREAT) { in lookup_open()
3172 open_flag &= ~O_CREAT; in lookup_open()
[all …]
Dinternal.h117 int open_flag; member
Dbad_inode.c136 struct file *file, unsigned int open_flag, in bad_inode_atomic_open() argument
Dexec.c128 .open_flag = O_LARGEFILE | O_RDONLY | __FMODE_EXEC, in SYSCALL_DEFINE1()
844 .open_flag = O_LARGEFILE | O_RDONLY | __FMODE_EXEC, in do_open_execat()
Dopen.c1000 op->open_flag = flags; in build_open_flags()
/Linux-v5.4/drivers/watchdog/
Dsc1200wdt.c73 static unsigned long open_flag; variable
167 if (test_and_set_bit(0, &open_flag)) in sc1200wdt_open()
257 clear_bit(0, &open_flag); in sc1200wdt_release()
/Linux-v5.4/drivers/s390/char/
Dvmur.c181 if (urd->open_flag) { in ur_pm_suspend()
717 while (urd->open_flag) { in ur_open()
723 if (wait_event_interruptible(urd->wait, urd->open_flag == 0)) { in ur_open()
729 urd->open_flag++; in ur_open()
763 urd->open_flag--; in ur_open()
777 urf->urd->open_flag--; in ur_release()
Dvmur.h77 int open_flag; /* "urdev is open" flag */ member
/Linux-v5.4/fs/9p/
Dvfs_inode_dotl.c162 int open_flag; member
187 if (flags & dotl_oflag_map[i].open_flag) in v9fs_mapped_dotl_flags()
/Linux-v5.4/include/linux/
Dfs.h1722 int open_flag);
1880 struct file *, unsigned open_flag,
/Linux-v5.4/Documentation/filesystems/
Dlocking.rst80 struct file *, unsigned open_flag,
Dvfs.rst438 unsigned open_flag, umode_t create_mode);