| /OK3568_Linux_fs/kernel/fs/ecryptfs/ |
| H A 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()
|
| /OK3568_Linux_fs/kernel/fs/ |
| H A 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 …]
|
| H A 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()
|
| H A 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()
|
| H A D | open.c | 306 if (!file->f_op->fallocate) in vfs_fallocate() 310 ret = file->f_op->fallocate(file, mode, offset, len); in vfs_fallocate() 779 f->f_op = &empty_fops; in do_dentry_open() 799 f->f_op = fops_get(inode->i_fop); in do_dentry_open() 800 if (WARN_ON(!f->f_op)) { in do_dentry_open() 817 open = f->f_op->open; in do_dentry_open() 827 likely(f->f_op->read || f->f_op->read_iter)) in do_dentry_open() 830 likely(f->f_op->write || f->f_op->write_iter)) in do_dentry_open() 865 fops_put(f->f_op); in do_dentry_open() 1324 if (filp->f_op->flush) in filp_close() [all …]
|
| H A D | remap_range.c | 396 if (!file_in->f_op->remap_file_range) in do_clone_file_range() 407 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()
|
| H A 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()
|
| H A D | coredump.c | 864 if (file->f_op->llseek && file->f_op->llseek != no_llseek) { in dump_skip() 866 file->f_op->llseek(file, nr, SEEK_CUR) < 0) in dump_skip() 934 if (file->f_op->llseek && file->f_op->llseek != no_llseek) { in dump_truncate() 935 offset = file->f_op->llseek(file, 0, SEEK_CUR); in dump_truncate()
|
| H A 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()
|
| /OK3568_Linux_fs/kernel/drivers/input/sensors/ |
| H A D | sensor-dev.c | 929 if (!file->f_op || !file->f_op->unlocked_ioctl) { in compass_dev_compat_ioctl() 936 if (file->f_op->unlocked_ioctl) in compass_dev_compat_ioctl() 937 result = file->f_op->unlocked_ioctl(file, ECS_IOCTL_APP_SET_MFLAG, (unsigned long)arg64); in compass_dev_compat_ioctl() 940 if (file->f_op->unlocked_ioctl) in compass_dev_compat_ioctl() 941 result = file->f_op->unlocked_ioctl(file, ECS_IOCTL_APP_GET_MFLAG, (unsigned long)arg64); in compass_dev_compat_ioctl() 944 if (file->f_op->unlocked_ioctl) in compass_dev_compat_ioctl() 945 result = file->f_op->unlocked_ioctl(file, ECS_IOCTL_APP_SET_AFLAG, (unsigned long)arg64); in compass_dev_compat_ioctl() 948 if (file->f_op->unlocked_ioctl) in compass_dev_compat_ioctl() 949 result = file->f_op->unlocked_ioctl(file, ECS_IOCTL_APP_GET_AFLAG, (unsigned long)arg64); in compass_dev_compat_ioctl() 952 if (file->f_op->unlocked_ioctl) in compass_dev_compat_ioctl() [all …]
|
| /OK3568_Linux_fs/kernel/drivers/hv/ |
| H A 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()
|
| /OK3568_Linux_fs/kernel/include/linux/ |
| H A 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()
|
| /OK3568_Linux_fs/external/rkwifibt/drivers/rtl8852bs/os_dep/ |
| H A D | osdep_service_linux.c | 420 if (!fp->f_op || !fp->f_op->read) in readFile() 430 rlen = fp->f_op->read(fp, buf + sum, len - sum, &fp->f_pos); in readFile() 452 if (!fp->f_op || !fp->f_op->write) in writeFile() 462 wlen = fp->f_op->write(fp, buf + sum, len - sum, &fp->f_pos); in writeFile()
|
| /OK3568_Linux_fs/external/rkwifibt/drivers/rtl8852be/os_dep/ |
| H A D | osdep_service_linux.c | 420 if (!fp->f_op || !fp->f_op->read) in readFile() 430 rlen = fp->f_op->read(fp, buf + sum, len - sum, &fp->f_pos); in readFile() 452 if (!fp->f_op || !fp->f_op->write) in writeFile() 462 wlen = fp->f_op->write(fp, buf + sum, len - sum, &fp->f_pos); in writeFile()
|
| /OK3568_Linux_fs/kernel/fs/coda/ |
| H A 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()
|
| /OK3568_Linux_fs/kernel/drivers/net/wireless/rockchip_wlan/ssv6xxx/ssvdevice/ |
| H A D | ssvdevice.c | 106 if (fp->f_op && fp->f_op->read) in read_line() 107 num_read = fp->f_op->read(fp, &ch, 1, &fp->f_pos); in read_line()
|
| /OK3568_Linux_fs/kernel/drivers/net/wireless/rockchip_wlan/ssv6xxx/smac/ |
| H A D | efuse.c | 32 if (fp->f_op && fp->f_op->read) in readFile() 33 return fp->f_op->read(fp,buf,readlen, &fp->f_pos); in readFile() 95 fp->f_op->write(fp, (char *)buf, len, &fp->f_pos); in write_mac_to_file()
|
| /OK3568_Linux_fs/kernel/mm/ |
| H A 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()
|
| /OK3568_Linux_fs/kernel/fs/fuse/ |
| H A D | passthrough.c | 175 if (!passthrough_filp->f_op->mmap) in fuse_passthrough_mmap() 215 if (!passthrough_filp->f_op->read_iter || in fuse_passthrough_open() 216 !passthrough_filp->f_op->write_iter) { in fuse_passthrough_open()
|
| /OK3568_Linux_fs/kernel/drivers/usb/core/ |
| H A D | file.c | 47 if (file->f_op->open) in usb_open() 48 err = file->f_op->open(inode, file); in usb_open()
|
| /OK3568_Linux_fs/kernel/drivers/input/touchscreen/hyn_cst2xx/ |
| H A D | hyn_cst2xx.c | 784 filp->f_op->llseek(filp, 0, 0); in cst2xx_open_fw_file() 815 length = fp->f_op->llseek(fp, 0, SEEK_END); in cst2xx_read_fw_file() 816 fp->f_op->llseek(fp, 0, 0); in cst2xx_read_fw_file() 817 size = fp->f_op->read(fp, pdata, length, &fp->f_pos); in cst2xx_read_fw_file() 845 filp->f_op->llseek(filp, 0, 0); in cst2xx_open_fw_file() 874 length = fp->f_op->llseek(fp, 0, SEEK_END); in cst2xx_read_fw_file() 875 fp->f_op->llseek(fp, 0, 0); in cst2xx_read_fw_file() 876 size = fp->f_op->read(fp, pdata, length, &fp->f_pos); in cst2xx_read_fw_file()
|
| /OK3568_Linux_fs/kernel/drivers/char/ |
| H A D | misc.c | 140 if (file->f_op->open) in misc_open() 141 err = file->f_op->open(inode, file); in misc_open()
|
| /OK3568_Linux_fs/kernel/drivers/input/sensors/accel/ |
| H A D | mc3230.c | 192 if (IS_ERR(fp) || !fp->f_op) in openFile() 200 if (fp->f_op && fp->f_op->read) in readFile() 201 return fp->f_op->read(fp, buf, readlen, &fp->f_pos); in readFile() 208 if (fp->f_op && fp->f_op->write) in writeFile() 209 return fp->f_op->write(fp, buf, writelen, &fp->f_pos); in writeFile()
|
| /OK3568_Linux_fs/kernel/drivers/input/touchscreen/gt9xx/ |
| H A D | gt9xx_update.c | 696 file_len = update_msg.cfg_file->f_op->llseek(update_msg.cfg_file, 0, SEEK_END); in gup_update_config() 711 update_msg.cfg_file->f_op->llseek(update_msg.cfg_file, 0, SEEK_SET); in gup_update_config() 714 …ret = update_msg.cfg_file->f_op->read(update_msg.cfg_file, (char*)pre_buf, file_len, &update_msg.c… in gup_update_config() 957 update_msg.file->f_op->llseek(update_msg.file, 0, SEEK_SET); in gup_check_update_file() 958 update_msg.fw_total_len = update_msg.file->f_op->llseek(update_msg.file, 0, SEEK_END); in gup_check_update_file() 969 update_msg.file->f_op->llseek(update_msg.file, 0, SEEK_SET); in gup_check_update_file() 970 …ret = update_msg.file->f_op->read(update_msg.file, (char*)buf, FW_HEAD_LENGTH, &update_msg.file->f… in gup_check_update_file() 984 ret = update_msg.file->f_op->read(update_msg.file, (char*)buf, 2, &update_msg.file->f_pos); in gup_check_update_file() 1101 … ret = update_msg.file->f_op->read(update_msg.file, (char *)buf, length, &update_msg.file->f_pos); in gup_load_section_file() 3442 update_msg.file->f_op->llseek(update_msg.file, 0, SEEK_SET); in gup_prepare_fl_fw() [all …]
|
| /OK3568_Linux_fs/kernel/fs/pstore/ |
| H A 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()
|