/Linux-v5.10/fs/ecryptfs/ |
D | file.c | 177 if (!lower_file->f_op->mmap) in ecryptfs_mmap() 294 if (lower_file->f_op->flush) { in ecryptfs_flush() 296 return lower_file->f_op->flush(lower_file, td); in ecryptfs_flush() 341 if (lower_file->f_op->fasync) in ecryptfs_fasync() 342 rc = lower_file->f_op->fasync(fd, lower_file, flag); in ecryptfs_fasync() 352 if (!lower_file->f_op->unlocked_ioctl) in ecryptfs_unlocked_ioctl() 361 rc = lower_file->f_op->unlocked_ioctl(lower_file, cmd, arg); in ecryptfs_unlocked_ioctl() 377 if (!lower_file->f_op->compat_ioctl) in ecryptfs_compat_ioctl() 386 rc = lower_file->f_op->compat_ioctl(lower_file, cmd, arg); in ecryptfs_compat_ioctl()
|
/Linux-v5.10/fs/ |
D | read_write.c | 297 if (file->f_op->llseek) in vfs_llseek() 298 fn = file->f_op->llseek; in vfs_llseek() 448 if (unlikely(!file->f_op->read_iter || file->f_op->read)) in __kernel_read() 454 ret = file->f_op->read_iter(&kiocb, &iter); in __kernel_read() 493 if (file->f_op->read) in vfs_read() 494 ret = file->f_op->read(file, buf, count, pos); in vfs_read() 495 else if (file->f_op->read_iter) in vfs_read() 544 if (unlikely(!file->f_op->write_iter || file->f_op->write)) in __kernel_write() 550 ret = file->f_op->write_iter(&kiocb, &iter); in __kernel_write() 602 if (file->f_op->write) in vfs_write() [all …]
|
D | file_table.c | 209 file->f_op = fop; in alloc_file() 277 if (file->f_op->fasync) in __fput() 278 file->f_op->fasync(-1, file, 0); in __fput() 280 if (file->f_op->release) in __fput() 281 file->f_op->release(inode, file); in __fput() 286 fops_put(file->f_op); in __fput()
|
D | ioctl.c | 45 if (!filp->f_op->unlocked_ioctl) in vfs_ioctl() 48 error = filp->f_op->unlocked_ioctl(filp, cmd, arg); in vfs_ioctl() 581 if (filp->f_op->fasync) in ioctl_fioasync() 583 error = filp->f_op->fasync(fd, filp, on); in ioctl_fioasync() 786 if (!file->f_op->unlocked_ioctl) in compat_ptr_ioctl() 789 return file->f_op->unlocked_ioctl(file, cmd, (unsigned long)compat_ptr(arg)); in compat_ptr_ioctl() 841 if (f.file->f_op->compat_ioctl) in COMPAT_SYSCALL_DEFINE3() 842 error = f.file->f_op->compat_ioctl(f.file, cmd, arg); in COMPAT_SYSCALL_DEFINE3()
|
D | open.c | 305 if (!file->f_op->fallocate) in vfs_fallocate() 309 ret = file->f_op->fallocate(file, mode, offset, len); in vfs_fallocate() 778 f->f_op = &empty_fops; in do_dentry_open() 798 f->f_op = fops_get(inode->i_fop); in do_dentry_open() 799 if (WARN_ON(!f->f_op)) { in do_dentry_open() 815 open = f->f_op->open; in do_dentry_open() 825 likely(f->f_op->read || f->f_op->read_iter)) in do_dentry_open() 828 likely(f->f_op->write || f->f_op->write_iter)) in do_dentry_open() 854 fops_put(f->f_op); in do_dentry_open() 1275 if (filp->f_op->flush) in filp_close() [all …]
|
D | remap_range.c | 395 if (!file_in->f_op->remap_file_range) in do_clone_file_range() 406 ret = file_in->f_op->remap_file_range(file_in, pos_in, in do_clone_file_range() 476 if (!dst_file->f_op->remap_file_range) in vfs_dedupe_file_range_one() 484 ret = dst_file->f_op->remap_file_range(src_file, src_pos, dst_file, in vfs_dedupe_file_range_one() 519 if (!file->f_op->remap_file_range) in vfs_dedupe_file_range()
|
D | binfmt_aout.c | 138 if (!bprm->file->f_op->mmap) in load_aout_binary() 213 if (!bprm->file->f_op->mmap||((fd_offset & ~PAGE_MASK) != 0)) { in load_aout_binary() 282 if (!file->f_op->mmap) in load_aout_library()
|
D | coredump.c | 863 if (file->f_op->llseek && file->f_op->llseek != no_llseek) { in dump_skip() 865 file->f_op->llseek(file, nr, SEEK_CUR) < 0) in dump_skip() 933 if (file->f_op->llseek && file->f_op->llseek != no_llseek) { in dump_truncate() 934 offset = file->f_op->llseek(file, 0, SEEK_CUR); in dump_truncate()
|
D | readdir.c | 45 if (file->f_op->iterate_shared) in iterate_dir() 47 else if (!file->f_op->iterate) in iterate_dir() 65 res = file->f_op->iterate_shared(file, ctx); in iterate_dir() 67 res = file->f_op->iterate(file, ctx); in iterate_dir()
|
D | sync.c | 196 if (!file->f_op->fsync) in vfs_fsync_range() 200 return file->f_op->fsync(file, start, end, datasync); in vfs_fsync_range()
|
D | binfmt_em86.c | 43 !bprm->file->f_op->mmap) { in load_em86()
|
D | locks.c | 2108 if (filp->f_op->setlease) in vfs_setlease() 2109 return filp->f_op->setlease(filp, arg, lease, priv); in vfs_setlease() 2254 if (f.file->f_op->flock) in SYSCALL_DEFINE2() 2255 error = f.file->f_op->flock(f.file, in SYSCALL_DEFINE2() 2280 if (filp->f_op->lock) in vfs_test_lock() 2281 return filp->f_op->lock(filp, F_GETLK, fl); in vfs_test_lock() 2430 if (filp->f_op->lock) in vfs_lock_file() 2431 return filp->f_op->lock(filp, cmd, fl); in vfs_lock_file() 2747 if (filp->f_op->flock) in locks_remove_flock() 2748 filp->f_op->flock(filp, F_SETLKW, &fl); in locks_remove_flock() [all …]
|
D | nsfs.c | 234 return file->f_op == &ns_file_operations; in proc_ns_file() 245 if (file->f_op != &ns_file_operations) in proc_ns_fget()
|
/Linux-v5.10/drivers/hv/ |
D | hv_utils_transport.c | 33 hvt = container_of(file->f_op, struct hvutil_transport, fops); in hvt_op_read() 81 hvt = container_of(file->f_op, struct hvutil_transport, fops); in hvt_op_write() 101 hvt = container_of(file->f_op, struct hvutil_transport, fops); in hvt_op_poll() 120 hvt = container_of(file->f_op, struct hvutil_transport, fops); in hvt_op_open() 164 hvt = container_of(file->f_op, struct hvutil_transport, fops); in hvt_op_release()
|
/Linux-v5.10/include/linux/ |
D | poll.h | 83 return file->f_op->poll; in file_can_poll() 88 if (unlikely(!file->f_op->poll)) in vfs_poll() 90 return file->f_op->poll(file, pt); in vfs_poll()
|
/Linux-v5.10/fs/coda/ |
D | dir.c | 431 if (host_file->f_op->iterate || host_file->f_op->iterate_shared) { in coda_readdir() 435 if (host_file->f_op->iterate_shared) { in coda_readdir() 437 ret = host_file->f_op->iterate_shared(host_file, ctx); in coda_readdir() 442 ret = host_file->f_op->iterate(host_file, ctx); in coda_readdir()
|
/Linux-v5.10/mm/ |
D | fadvise.c | 183 if (file->f_op->fadvise) in vfs_fadvise() 184 return file->f_op->fadvise(file, offset, len, advice); in vfs_fadvise()
|
/Linux-v5.10/drivers/usb/core/ |
D | file.c | 47 if (file->f_op->open) in usb_open() 48 err = file->f_op->open(inode, file); in usb_open()
|
/Linux-v5.10/drivers/char/ |
D | misc.c | 140 if (file->f_op->open) in misc_open() 141 err = file->f_op->open(inode, file); in misc_open()
|
/Linux-v5.10/tools/testing/selftests/bpf/progs/ |
D | bpf_iter_task_file.c | 32 (long)file->f_op); in dump_task_file()
|
/Linux-v5.10/arch/powerpc/platforms/cell/spufs/ |
D | syscalls.c | 48 if (filp->f_op != &spufs_context_fops) in do_spu_run()
|
/Linux-v5.10/fs/pstore/ |
D | blk.c | 335 const struct file_operations f_op = {.fsync = blkdev_fsync}; in psblk_generic_blk_write() local 337 file.f_op = &f_op; in psblk_generic_blk_write()
|
/Linux-v5.10/tools/bpf/bpftool/skeleton/ |
D | pid_iter.bpf.c | 69 if (file->f_op != fops) in iter()
|
/Linux-v5.10/sound/core/ |
D | sound.c | 162 if (file->f_op->open) in snd_open() 163 err = file->f_op->open(inode, file); in snd_open()
|
/Linux-v5.10/sound/ |
D | sound_core.c | 592 if (file->f_op->open) in soundcore_open() 593 err = file->f_op->open(inode,file); in soundcore_open()
|