Home
last modified time | relevance | path

Searched refs:f_op (Results 1 – 25 of 117) sorted by relevance

12345

/linux-6.6.21/fs/ecryptfs/ !
Dfile.c196 if (!lower_file->f_op->mmap) in ecryptfs_mmap()
313 if (lower_file->f_op->flush) { in ecryptfs_flush()
315 return lower_file->f_op->flush(lower_file, td); in ecryptfs_flush()
360 if (lower_file->f_op->fasync) in ecryptfs_fasync()
361 rc = lower_file->f_op->fasync(fd, lower_file, flag); in ecryptfs_fasync()
371 if (!lower_file->f_op->unlocked_ioctl) in ecryptfs_unlocked_ioctl()
380 rc = lower_file->f_op->unlocked_ioctl(lower_file, cmd, arg); in ecryptfs_unlocked_ioctl()
396 if (!lower_file->f_op->compat_ioctl) in ecryptfs_compat_ioctl()
405 rc = lower_file->f_op->compat_ioctl(lower_file, cmd, arg); in ecryptfs_compat_ioctl()
/linux-6.6.21/fs/ !
Dread_write.c289 return file->f_op->llseek(file, offset, whence); in vfs_llseek()
422 if (unlikely(!file->f_op->read_iter || file->f_op->read)) in __kernel_read()
428 ret = file->f_op->read_iter(&kiocb, &iter); in __kernel_read()
467 if (file->f_op->read) in vfs_read()
468 ret = file->f_op->read(file, buf, count, pos); in vfs_read()
469 else if (file->f_op->read_iter) in vfs_read()
512 if (unlikely(!file->f_op->write_iter || file->f_op->write)) in __kernel_write_iter()
517 ret = file->f_op->write_iter(&kiocb, from); in __kernel_write_iter()
581 if (file->f_op->write) in vfs_write()
582 ret = file->f_op->write(file, buf, count, pos); in vfs_write()
[all …]
Dfile_table.c312 file->f_op = fop; in alloc_file()
380 if (file->f_op->fasync) in __fput()
381 file->f_op->fasync(-1, file, 0); in __fput()
383 if (file->f_op->release) in __fput()
384 file->f_op->release(inode, file); in __fput()
389 fops_put(file->f_op); in __fput()
Dopen.c320 if (!file->f_op->fallocate) in vfs_fallocate()
324 ret = file->f_op->fallocate(file, mode, offset, len); in vfs_fallocate()
888 f->f_op = &empty_fops; in do_dentry_open()
910 f->f_op = fops_get(inode->i_fop); in do_dentry_open()
911 if (WARN_ON(!f->f_op)) { in do_dentry_open()
927 open = f->f_op->open; in do_dentry_open()
935 likely(f->f_op->read || f->f_op->read_iter)) in do_dentry_open()
938 likely(f->f_op->write || f->f_op->write_iter)) in do_dentry_open()
940 if ((f->f_mode & FMODE_LSEEK) && !f->f_op->llseek) in do_dentry_open()
991 fops_put(f->f_op); in do_dentry_open()
[all …]
Dioctl.c48 if (!filp->f_op->unlocked_ioctl) in vfs_ioctl()
51 error = filp->f_op->unlocked_ioctl(filp, cmd, arg); in vfs_ioctl()
378 if (filp->f_op->fasync) in ioctl_fioasync()
380 error = filp->f_op->fasync(fd, filp, on); in ioctl_fioasync()
907 if (!file->f_op->unlocked_ioctl) in compat_ptr_ioctl()
910 return file->f_op->unlocked_ioctl(file, cmd, (unsigned long)compat_ptr(arg)); in compat_ptr_ioctl()
970 if (f.file->f_op->compat_ioctl) in COMPAT_SYSCALL_DEFINE3()
971 error = f.file->f_op->compat_ioctl(f.file, cmd, arg); in COMPAT_SYSCALL_DEFINE3()
Dremap_range.c385 if (!file_in->f_op->remap_file_range) in do_clone_file_range()
396 ret = file_in->f_op->remap_file_range(file_in, pos_in, in do_clone_file_range()
477 if (!dst_file->f_op->remap_file_range) in vfs_dedupe_file_range_one()
485 ret = dst_file->f_op->remap_file_range(src_file, src_pos, dst_file, in vfs_dedupe_file_range_one()
520 if (!file->f_op->remap_file_range) in vfs_dedupe_file_range()
Dsync.c184 if (!file->f_op->fsync) in vfs_fsync_range()
188 return file->f_op->fsync(file, start, end, datasync); in vfs_fsync_range()
Dlocks.c1957 if (filp->f_op->setlease) in vfs_setlease()
1958 return filp->f_op->setlease(filp, arg, lease, priv); in vfs_setlease()
2110 if (f.file->f_op->flock) in SYSCALL_DEFINE2()
2111 error = f.file->f_op->flock(f.file, in SYSCALL_DEFINE2()
2135 if (filp->f_op->lock) in vfs_test_lock()
2136 return filp->f_op->lock(filp, F_GETLK, fl); in vfs_test_lock()
2286 if (filp->f_op->lock) in vfs_lock_file()
2287 return filp->f_op->lock(filp, cmd, fl); in vfs_lock_file()
2588 if (filp->f_op->flock) in locks_remove_flock()
2589 filp->f_op->flock(filp, F_SETLKW, &fl); in locks_remove_flock()
[all …]
Deventfd.c337 if (file->f_op != &eventfd_fops) { in eventfd_fget()
380 if (file->f_op != &eventfd_fops) in eventfd_ctx_fileget()
/linux-6.6.21/drivers/hv/ !
Dhv_utils_transport.c33 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-6.6.21/include/linux/ !
Dpoll.h81 return file->f_op->poll; in file_can_poll()
86 if (unlikely(!file->f_op->poll)) in vfs_poll()
88 return file->f_op->poll(file, pt); in vfs_poll()
/linux-6.6.21/io_uring/ !
During_cmd.c120 if (!file->f_op->uring_cmd) in io_uring_cmd()
132 if (!file->f_op->uring_cmd_iopoll) in io_uring_cmd()
139 ret = file->f_op->uring_cmd(ioucmd, issue_flags); in io_uring_cmd()
Drw.c473 nr = file->f_op->read(file, addr, len, ppos); in loop_rw_iter()
475 nr = file->f_op->write(file, addr, len, ppos); in loop_rw_iter()
655 if (likely(file->f_op->read_iter)) in io_iter_do_read()
657 else if (file->f_op->read) in io_iter_do_read()
699 if (!(kiocb->ki_flags & IOCB_DIRECT) || !file->f_op->iopoll) in io_rw_init_file()
920 if (likely(req->file->f_op->write_iter)) in io_write()
922 else if (req->file->f_op->write) in io_write()
1026 ret = file->f_op->uring_cmd_iopoll(ioucmd, &iob, in io_do_iopoll()
1031 ret = file->f_op->iopoll(&rw->kiocb, &iob, poll_flags); in io_do_iopoll()
/linux-6.6.21/drivers/usb/core/ !
Dfile.c46 if (file->f_op->open) in usb_open()
47 err = file->f_op->open(inode, file); in usb_open()
/linux-6.6.21/mm/ !
Dfadvise.c182 if (file->f_op->fadvise) in vfs_fadvise()
183 return file->f_op->fadvise(file, offset, len, advice); in vfs_fadvise()
/linux-6.6.21/drivers/char/ !
Dmisc.c164 if (file->f_op->open) in misc_open()
165 err = file->f_op->open(inode, file); in misc_open()
/linux-6.6.21/fs/overlayfs/ !
Dfile.c90 if (file->f_op->check_flags) { in ovl_change_flags()
91 err = file->f_op->check_flags(flags); in ovl_change_flags()
534 if (!realfile->f_op->mmap) in ovl_mmap()
713 if (real.file->f_op->flush) { in ovl_flush()
715 err = real.file->f_op->flush(real.file, id); in ovl_flush()
/linux-6.6.21/tools/testing/selftests/bpf/progs/ !
Dbpf_iter_task_file.c38 (long)file->f_op); in dump_task_file()
/linux-6.6.21/drivers/accel/ !
Ddrm_accel.c274 if (filp->f_op->open) in accel_stub_open()
275 err = filp->f_op->open(inode, filp); in accel_stub_open()
/linux-6.6.21/security/landlock/ !
Dsyscalls.c219 if (ruleset_f.file->f_op != &ruleset_fops) { in get_ruleset_from_fd()
261 if ((f.file->f_op == &ruleset_fops) || in get_path_from_fd()
/linux-6.6.21/arch/powerpc/platforms/cell/spufs/ !
Dsyscalls.c48 if (filp->f_op != &spufs_context_fops) in do_spu_run()
/linux-6.6.21/sound/core/ !
Dsound.c168 if (file->f_op->open) in snd_open()
169 err = file->f_op->open(inode, file); in snd_open()
/linux-6.6.21/sound/ !
Dsound_core.c591 if (!file->f_op->open) in soundcore_open()
594 return file->f_op->open(inode, file); in soundcore_open()
/linux-6.6.21/tools/bpf/bpftool/skeleton/ !
Dpid_iter.bpf.c93 if (file->f_op != fops) in iter()
/linux-6.6.21/fs/cachefiles/ !
Dnamei.c496 if (unlikely(!file->f_op->read_iter) || in cachefiles_create_tmpfile()
497 unlikely(!file->f_op->write_iter)) { in cachefiles_create_tmpfile()
573 if (unlikely(!file->f_op->read_iter) || in cachefiles_open_file()
574 unlikely(!file->f_op->write_iter)) { in cachefiles_open_file()

12345