Searched refs:f_flags (Results 276 - 300 of 344) sorted by path

<<11121314

/linux-master/include/sound/
H A Dpcm.h482 unsigned int f_flags; member in struct:snd_pcm_substream
/linux-master/include/uapi/linux/
H A Dcoff.h67 char f_flags[2]; /* flags */ member in struct:COFF_filehdr
71 * Bits for f_flags:
/linux-master/io_uring/
H A Dio_uring.c473 if (should_hash && (req->file->f_flags & O_DIRECT) &&
1781 if ((file->f_flags & O_NONBLOCK) || (file->f_mode & FMODE_NOWAIT))
1985 if (req->file->f_flags & O_NONBLOCK ||
H A Dnet.c783 if (sock->file->f_flags & O_NONBLOCK)
H A Dopenclose.c159 file->f_flags &= ~O_NONBLOCK;
H A Drw.c496 !(kiocb->ki_filp->f_flags & O_NONBLOCK))
743 ((file->f_flags & O_NONBLOCK) && !io_file_supports_nowait(req)))
/linux-master/ipc/
H A Dmqueue.c1140 if (f.file->f_flags & O_NONBLOCK) {
1244 if (f.file->f_flags & O_NONBLOCK) {
1477 old->mq_flags = f.file->f_flags & O_NONBLOCK;
1483 f.file->f_flags |= O_NONBLOCK;
1485 f.file->f_flags &= ~O_NONBLOCK;
H A Dshm.c1531 int f_flags; local
1564 f_flags = O_RDONLY;
1568 f_flags = O_RDWR;
1626 file = alloc_file_clone(base, f_flags,
/linux-master/kernel/bpf/
H A Dbpf_task_storage.c94 unsigned int f_flags; local
99 pid = pidfd_get_pid(fd, &f_flags);
128 unsigned int f_flags; local
133 pid = pidfd_get_pid(fd, &f_flags);
179 unsigned int f_flags; local
184 pid = pidfd_get_pid(fd, &f_flags);
H A Dinode.c530 int f_flags; local
534 f_flags = bpf_get_file_flag(flags);
535 if (f_flags < 0)
536 return f_flags;
538 raw = bpf_obj_do_get(path_fd, pathname, &type, f_flags);
545 ret = bpf_map_new_fd(raw, f_flags);
547 ret = (f_flags != O_RDWR) ? -EINVAL : bpf_link_new_fd(raw);
H A Dsyscall.c1191 int f_flags; local
1217 f_flags = bpf_get_file_flag(attr->map_flags);
1218 if (f_flags < 0)
1219 return f_flags;
1384 err = bpf_map_new_fd(map, f_flags);
4389 int f_flags; local
4399 f_flags = bpf_get_file_flag(attr->open_flags);
4400 if (f_flags < 0)
4401 return f_flags;
4414 fd = bpf_map_new_fd(map, f_flags);
[all...]
/linux-master/kernel/events/
H A Dcore.c12432 int f_flags = O_RDWR; local
12491 f_flags |= O_CLOEXEC;
12493 event_fd = get_unused_fd_flags(f_flags);
12704 event_file = anon_inode_getfile("[perf_event]", &perf_fops, event, f_flags);
/linux-master/kernel/
H A Dexit.c1648 unsigned int f_flags = 0; local
1684 pid = pidfd_get_pid(upid, &f_flags);
1698 if (f_flags & O_NONBLOCK)
H A Dfork.c2038 pidfd_file->f_flags |= (flags & PIDFD_THREAD);
H A Dpid.c549 *flags = f.file->f_flags;
570 unsigned int f_flags; local
574 pid = pidfd_get_pid(pidfd, &f_flags);
583 *flags = f_flags;
H A Dsignal.c3936 if (f.file->f_flags & PIDFD_THREAD)
/linux-master/kernel/power/
H A Duser.c63 if ((filp->f_flags & O_ACCMODE) == O_RDWR) {
72 if ((filp->f_flags & O_ACCMODE) == O_RDONLY) {
/linux-master/kernel/printk/
H A Dprintk.c805 if (file->f_flags & O_NONBLOCK) {
918 if ((file->f_flags & O_ACCMODE) != O_WRONLY) {
/linux-master/kernel/time/
H A Dposix-clock.c51 err = clk->ops.read(pccontext, fp->f_flags, buf, count);
/linux-master/kernel/trace/
H A Dftrace.c4061 if (file->f_flags & O_TRUNC) {
6117 if (file->f_flags & O_TRUNC)
7690 (file->f_flags & O_TRUNC))
H A Dtrace.c4881 if ((file->f_mode & FMODE_WRITE) && (file->f_flags & O_TRUNC)) {
6475 if ((filp->f_flags & O_NONBLOCK)) {
7806 if ((file->f_mode & FMODE_WRITE) && (file->f_flags & O_TRUNC))
7954 if ((filp->f_flags & O_NONBLOCK))
8173 if ((file->f_flags & O_NONBLOCK) || (flags & SPLICE_F_NONBLOCK))
H A Dtrace_dynevent.c232 if ((file->f_mode & FMODE_WRITE) && (file->f_flags & O_TRUNC)) {
H A Dtrace_events.c2261 (file->f_flags & O_TRUNC))
2282 (file->f_flags & O_TRUNC))
2303 (file->f_flags & O_TRUNC))
H A Dtrace_events_synth.c2273 if ((file->f_mode & FMODE_WRITE) && (file->f_flags & O_TRUNC)) {
/linux-master/kernel/trace/rv/
H A Drv.c504 if ((file->f_mode & FMODE_WRITE) && (file->f_flags & O_TRUNC))

Completed in 537 milliseconds

<<11121314