Searched refs:f_flags (Results 51 - 75 of 344) sorted by relevance

1234567891011>>

/linux-master/drivers/media/test-drivers/vivid/
H A Dvivid-radio-rx.c78 if (file->f_flags & O_NONBLOCK)
166 if (file->f_flags & O_NONBLOCK)
/linux-master/drivers/staging/media/av7110/
H A Dav7110_ca.c137 int non_blocking = file->f_flags & O_NONBLOCK;
176 int non_blocking = file->f_flags & O_NONBLOCK;
/linux-master/fs/
H A Deventfd.c224 if ((file->f_flags & O_NONBLOCK) ||
264 else if (!(file->f_flags & O_NONBLOCK)) {
H A Dsplice.c884 if (out->f_flags & O_NONBLOCK)
983 if ((in->f_flags & O_DIRECT) || IS_DAX(in->f_mapping->host))
1204 if (unlikely(out->f_flags & O_APPEND))
1328 if ((in->f_flags | out->f_flags) & O_NONBLOCK)
1343 if (unlikely(out->f_flags & O_APPEND))
1350 if (in->f_flags & O_NONBLOCK)
1376 if (out->f_flags & O_NONBLOCK)
1983 if ((in->f_flags | out->f_flags)
[all...]
H A Dopen.c163 if (file->f_flags & O_LARGEFILE)
917 if (unlikely(f->f_flags & O_PATH)) {
946 error = break_lease(file_inode(f), f->f_flags);
971 f->f_flags &= ~(O_CREAT | O_EXCL | O_NOCTTY | O_TRUNC);
976 if ((f->f_flags & O_DIRECT) && !(f->f_mode & FMODE_CAN_ODIRECT))
1606 if (!(filp->f_flags & O_LARGEFILE) && i_size_read(inode) > MAX_NON_LFS)
H A Dfile_table.c161 f->f_flags = flags;
417 if (unlikely(file->f_flags & FASYNC)) {
/linux-master/security/integrity/ima/
H A Dima_api.c317 if (file->f_flags & O_DIRECT)
378 if ((!result || result == -EEXIST) && !(file->f_flags & O_DIRECT)) {
/linux-master/include/linux/
H A Dfsnotify.h146 if (file->f_flags & __FMODE_EXEC) {
373 if (file->f_flags & __FMODE_EXEC)
/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/drivers/misc/genwqe/
H A Dcard_dev.c610 rc = __genwqe_execute_raw_ddcb(cd, req, filp->f_flags);
728 rc = __genwqe_execute_raw_ddcb(cd, cmd, filp->f_flags);
1005 rc = __genwqe_execute_raw_ddcb(cd, cmd, filp->f_flags);
1030 rc = __genwqe_execute_raw_ddcb(cd, cmd, filp->f_flags);
1097 if ((filp->f_flags & O_ACCMODE) == O_RDONLY)
1133 if ((filp->f_flags & O_ACCMODE) == O_RDONLY)
1156 if ((filp->f_flags & O_ACCMODE) == O_RDONLY)
H A Dcard_ddcb.c748 * @f_flags: file mode: blocking, non-blocking
755 unsigned int f_flags)
793 if (f_flags & O_NONBLOCK) {
909 * @f_flags: file mode: blocking, non-blocking
913 unsigned int f_flags)
929 rc = __genwqe_enqueue_ddcb(cd, req, f_flags);
754 __genwqe_enqueue_ddcb(struct genwqe_dev *cd, struct ddcb_requ *req, unsigned int f_flags) argument
911 __genwqe_execute_raw_ddcb(struct genwqe_dev *cd, struct genwqe_ddcb_cmd *cmd, unsigned int f_flags) argument
/linux-master/fs/notify/fanotify/
H A Dfanotify_user.c102 * Internal and external open flags are stored together in field f_flags of
257 client_fd = get_unused_fd_flags(group->fanotify_data.f_flags);
266 group->fanotify_data.f_flags | __FMODE_NONOTIFY,
816 if (file->f_flags & O_NONBLOCK)
1463 int f_flags, fd; local
1535 f_flags = O_RDWR | __FMODE_NONOTIFY;
1537 f_flags |= O_CLOEXEC;
1539 f_flags |= O_NONBLOCK;
1574 group->fanotify_data.f_flags = event_f_flags;
1613 fd = anon_inode_getfd("[fanotify]", &fanotify_fops, group, f_flags);
[all...]
/linux-master/drivers/media/usb/em28xx/
H A Dem28xx-audio.c232 nonblock = !!(substream->f_flags & O_NONBLOCK);
423 nonblock = !!(substream->f_flags & O_NONBLOCK);
462 nonblock = !!(substream->f_flags & O_NONBLOCK);
498 nonblock = !!(substream->f_flags & O_NONBLOCK);
540 nonblock = !!(substream->f_flags & O_NONBLOCK);
/linux-master/net/9p/
H A Dtrans_fd.c262 if (!(ts->rd->f_flags & O_NONBLOCK))
429 if (!(ts->wr->f_flags & O_NONBLOCK))
846 data_race(ts->rd->f_flags |= O_NONBLOCK);
852 data_race(ts->wr->f_flags |= O_NONBLOCK);
894 p->rd->f_flags |= O_NONBLOCK;
/linux-master/drivers/acpi/
H A Dacpi_dbg.c476 if ((file->f_flags & O_ACCMODE) != O_WRONLY) {
614 if (file->f_flags & O_NONBLOCK)
684 if (file->f_flags & O_NONBLOCK)
/linux-master/drivers/media/pci/saa7164/
H A Dsaa7164-vbi.c529 if ((file->f_flags & O_NONBLOCK) == 0) {
581 if ((file->f_flags & O_NONBLOCK) == 0) {
626 if ((file->f_flags & O_NONBLOCK) == 0) {
/linux-master/arch/mips/boot/
H A Delf2ecoff.c229 f->f_flags = swab16(f->f_flags);
446 efh.f_flags = 0x100f; /* Stripped, not shareable. */
/linux-master/drivers/char/
H A Ddtlk.c149 if (file->f_flags & O_NONBLOCK)
214 if (file->f_flags & O_NONBLOCK)
H A Dnvram.c355 if ((nvram_open_cnt && (file->f_flags & O_EXCL)) ||
370 if (file->f_flags & O_EXCL)
/linux-master/drivers/input/serio/
H A Dserio_raw.c171 (file->f_flags & O_NONBLOCK))
186 if (!(file->f_flags & O_NONBLOCK)) {
H A Duserio.c156 if (file->f_flags & O_NONBLOCK)
/linux-master/drivers/usb/
H A Dusb-skeleton.c254 if (file->f_flags & O_NONBLOCK) {
378 if (!(file->f_flags & O_NONBLOCK)) {
/linux-master/fs/nfs/
H A Dnfs4file.c35 unsigned openflags = filp->f_flags;
367 flags_to_mode(filep->f_flags), filep);
/linux-master/drivers/rpmsg/
H A Drpmsg_char.c219 if (filp->f_flags & O_NONBLOCK)
277 if (filp->f_flags & O_NONBLOCK) {
/linux-master/fs/bcachefs/
H A Dthread_with_file.c118 if (!(file->f_flags & O_NONBLOCK)) {
200 if ((file->f_flags & O_NONBLOCK)) {

Completed in 228 milliseconds

1234567891011>>