/linux/fs/orangefs/ |
H A D | file.c | 329 down_read(&file_inode(iocb->ki_filp)->i_rwsem); in orangefs_file_read_iter() 330 ret = orangefs_revalidate_mapping(file_inode(iocb->ki_filp)); in orangefs_file_read_iter() 336 up_read(&file_inode(iocb->ki_filp)->i_rwsem); in orangefs_file_read_iter() 344 struct inode *inode = file_inode(in); in orangefs_file_splice_read() 366 if (iocb->ki_pos > i_size_read(file_inode(iocb->ki_filp))) { in orangefs_file_write_iter() 367 ret = orangefs_revalidate_mapping(file_inode(iocb->ki_filp)); in orangefs_file_write_iter() 405 ret = orangefs_revalidate_mapping(file_inode(file)); in orangefs_file_mmap() 463 ORANGEFS_I(file_inode(file)); in orangefs_fsync() 466 ret = filemap_write_and_wait_range(file_inode(file)->i_mapping, in orangefs_fsync() 478 get_interruptible_flag(file_inode(file))); in orangefs_fsync() [all …]
|
/linux/fs/ext2/ |
H A D | trace.h | 25 __entry->dev = file_inode(iocb->ki_filp)->i_sb->s_dev; 26 __entry->ino = file_inode(iocb->ki_filp)->i_ino; 27 __entry->isize = file_inode(iocb->ki_filp)->i_size; 69 __entry->dev = file_inode(iocb->ki_filp)->i_sb->s_dev; 70 __entry->ino = file_inode(iocb->ki_filp)->i_ino; 71 __entry->isize = file_inode(iocb->ki_filp)->i_size;
|
/linux/fs/ceph/ |
H A D | ioctl.c | 20 struct ceph_inode_info *ci = ceph_inode(file_inode(file)); in ceph_ioctl_get_layout() 24 err = ceph_do_getattr(file_inode(file), CEPH_STAT_CAP_LAYOUT, false); in ceph_ioctl_get_layout() 67 struct inode *inode = file_inode(file); in ceph_ioctl_set_layout() 71 struct ceph_inode_info *ci = ceph_inode(file_inode(file)); in ceph_ioctl_set_layout() 79 err = ceph_do_getattr(file_inode(file), CEPH_STAT_CAP_LAYOUT, false); in ceph_ioctl_set_layout() 139 struct inode *inode = file_inode(file); in ceph_ioctl_set_layout_policy() 183 struct inode *inode = file_inode(file); in ceph_ioctl_get_dataloc() 245 struct inode *inode = file_inode(file); in ceph_ioctl_lazyio() 278 struct ceph_mds_client *mdsc = ceph_sb_to_mdsc(file_inode(file)->i_sb); in vet_mds_for_fscrypt() 297 struct inode *inode = file_inode(file); in ceph_set_encryption_policy() [all …]
|
/linux/fs/cachefiles/ |
H A D | io.c | 49 struct inode *inode = file_inode(ki->iocb.ki_filp); in cachefiles_read_complete() 96 file, file_inode(file)->i_ino, start_pos, len, in cachefiles_read() 97 i_size_read(file_inode(file))); in cachefiles_read() 156 trace_cachefiles_read(object, file_inode(file), ki->iocb.ki_pos, len - skipped); in cachefiles_read() 217 file, file_inode(file)->i_ino, start, len, in cachefiles_query_occupancy() 218 i_size_read(file_inode(file))); in cachefiles_query_occupancy() 259 struct inode *inode = file_inode(ki->iocb.ki_filp); in cachefiles_write_complete() 297 file, file_inode(file)->i_ino, start_pos, len, in __cachefiles_write() 298 i_size_read(file_inode(file))); in __cachefiles_write() 327 trace_cachefiles_write(object, file_inode(file), ki->iocb.ki_pos, len); in __cachefiles_write() [all …]
|
H A D | xattr.c | 77 trace_cachefiles_vfs_error(object, file_inode(file), ret, in cachefiles_set_object_xattr() 79 trace_cachefiles_coherency(object, file_inode(file)->i_ino, in cachefiles_set_object_xattr() 87 trace_cachefiles_coherency(object, file_inode(file)->i_ino, in cachefiles_set_object_xattr() 121 trace_cachefiles_vfs_error(object, file_inode(file), xlen, in cachefiles_check_auxdata() 144 trace_cachefiles_coherency(object, file_inode(file)->i_ino, in cachefiles_check_auxdata()
|
/linux/fs/nfs/ |
H A D | nfs42proc.c | 27 struct nfs_client *clp = (NFS_SERVER(file_inode(filep)))->nfs_client; in nfs42_set_netaddr() 47 struct inode *inode = file_inode(filep); in _nfs42_proc_fallocate() 102 struct inode *inode = file_inode(filep); in nfs42_proc_fallocate() 137 struct inode *inode = file_inode(filep); in nfs42_proc_allocate() 158 struct inode *inode = file_inode(filep); in nfs42_proc_deallocate() 324 struct inode *dst_inode = file_inode(dst); in _nfs42_proc_copy() 325 struct inode *src_inode = file_inode(src); in _nfs42_proc_copy() 417 struct nfs_server *server = NFS_SERVER(file_inode(dst)); in nfs42_proc_copy() 421 .src_fh = NFS_FH(file_inode(src)), in nfs42_proc_copy() 423 .dst_fh = NFS_FH(file_inode(dst)), in nfs42_proc_copy() [all …]
|
H A D | nfs4file.c | 113 struct inode *inode = file_inode(file); in nfs4_file_flush() 149 if (!nfs_server_capable(file_inode(file_out), NFS_CAP_COPY) || in __nfs4_copy_file_range() 150 !nfs_server_capable(file_inode(file_in), NFS_CAP_COPY)) in __nfs4_copy_file_range() 152 if (file_inode(file_in) == file_inode(file_out)) in __nfs4_copy_file_range() 157 if (count <= 2 * NFS_SERVER(file_inode(file_in))->rsize) in __nfs4_copy_file_range() 222 struct inode *inode = file_inode(filep); in nfs42_fallocate() 244 struct inode *dst_inode = file_inode(dst_file); in nfs42_remap_file_range() 246 struct inode *src_inode = file_inode(src_file); in nfs42_remap_file_range()
|
H A D | file.c | 141 struct inode *inode = file_inode(file); in nfs_file_flush() 159 struct inode *inode = file_inode(iocb->ki_filp); in nfs_file_read() 188 struct inode *inode = file_inode(in); in nfs_file_splice_read() 211 struct inode *inode = file_inode(file); in nfs_file_mmap() 236 struct inode *inode = file_inode(file); in nfs_file_fsync_commit() 252 struct inode *inode = file_inode(file); in nfs_file_fsync() 328 if (pnfs_ld_read_whole_page(file_inode(file))) in nfs_want_read_modify_write() 523 struct inode *inode = file_inode(file); in nfs_swap_activate() 556 struct inode *inode = file_inode(file); in nfs_swap_deactivate() 562 cl->rpc_ops->disable_swap(file_inode(file)); in nfs_swap_deactivate() [all …]
|
H A D | nfs42.h | 36 struct nfs_client *c_in = (NFS_SERVER(file_inode(in)))->nfs_client; in nfs42_files_from_same_server() 37 struct nfs_client *c_out = (NFS_SERVER(file_inode(out)))->nfs_client; in nfs42_files_from_same_server()
|
/linux/fs/zonefs/ |
H A D | file.c | 163 struct inode *inode = file_inode(swap_file); in zonefs_swap_activate() 261 struct inode *inode = file_inode(file); in zonefs_file_fsync() 284 struct inode *inode = file_inode(vmf->vma->vm_file); in zonefs_filemap_page_mkwrite() 323 if (zonefs_inode_is_seq(file_inode(file)) && in zonefs_file_mmap() 335 loff_t isize = i_size_read(file_inode(file)); in zonefs_file_llseek() 348 struct inode *inode = file_inode(iocb->ki_filp); in zonefs_file_write_dio_end_io() 391 struct inode *inode = file_inode(file); in zonefs_write_check_limits() 416 struct inode *inode = file_inode(file); in zonefs_write_checks() 459 struct inode *inode = file_inode(iocb->ki_filp); in zonefs_file_dio_write() 545 struct inode *inode = file_inode(iocb->ki_filp); in zonefs_file_buffered_write() [all …]
|
/linux/fs/xfs/scrub/ |
H A D | xfile.c | 70 inode = file_inode(xf->file); in xfile_create() 93 struct inode *inode = file_inode(xf->file); in xfile_destroy() 113 struct inode *inode = file_inode(xf->file); in xfile_load() 176 struct inode *inode = file_inode(xf->file); in xfile_store() 252 struct inode *inode = file_inode(xf->file); in xfile_get_folio() 323 shmem_truncate_range(file_inode(xf->file), pos, pos + count - 1); in xfile_discard()
|
/linux/fs/coda/ |
H A D | file.c | 44 struct inode *coda_inode = file_inode(coda_file); in coda_file_read_iter() 69 struct inode *coda_inode = file_inode(coda_file); in coda_file_write_iter() 84 coda_inode->i_size = file_inode(host_file)->i_size; in coda_file_write_iter() 101 struct inode *coda_inode = file_inode(coda_file); in coda_file_splice_read() 153 struct inode *coda_inode = file_inode(coda_file); in coda_file_mmap() 156 struct inode *host_inode = file_inode(host_file); in coda_file_mmap() 274 host_inode = file_inode(cfi->cfi_container); in coda_release() 298 struct inode *coda_inode = file_inode(coda_file); in coda_fsync()
|
/linux/fs/ext4/ |
H A D | file.c | 57 struct inode *inode = file_inode(iocb->ki_filp); in ext4_should_use_dio() 72 struct inode *inode = file_inode(iocb->ki_filp); in ext4_dio_read_iter() 104 struct inode *inode = file_inode(iocb->ki_filp); in ext4_dax_read_iter() 132 struct inode *inode = file_inode(iocb->ki_filp); in ext4_file_read_iter() 154 struct inode *inode = file_inode(in); in ext4_file_splice_read() 246 struct inode *inode = file_inode(iocb->ki_filp); in ext4_generic_write_checks() 289 struct inode *inode = file_inode(iocb->ki_filp); in ext4_buffered_write_iter() 378 struct inode *inode = file_inode(iocb->ki_filp); in ext4_dio_write_end_io() 427 struct inode *inode = file_inode(file); in ext4_dio_write_checks() 503 struct inode *inode = file_inode(iocb->ki_filp); in ext4_dio_write_iter() [all …]
|
/linux/fs/ |
H A D | remap_range.c | 282 struct inode *inode_in = file_inode(file_in); in __generic_remap_file_range_prep() 283 struct inode *inode_out = file_inode(file_out); in __generic_remap_file_range_prep() 384 if (file_inode(file_in)->i_sb != file_inode(file_out)->i_sb) in vfs_clone_file_range() 419 struct inode *inode = file_inode(file); in may_dedupe_file() 467 if (file_inode(src_file)->i_sb != file_inode(dst_file)->i_sb) in vfs_dedupe_file_range_one() 471 if (S_ISDIR(file_inode(dst_file)->i_mode)) in vfs_dedupe_file_range_one() 495 struct inode *src = file_inode(file); in vfs_dedupe_file_range()
|
/linux/fs/ocfs2/ |
H A D | mmap.c | 51 struct inode *inode = file_inode(file); in __ocfs2_page_mkwrite() 116 struct inode *inode = file_inode(vmf->vma->vm_file); in ocfs2_page_mkwrite() 166 ret = ocfs2_inode_lock_atime(file_inode(file), in ocfs2_mmap() 172 ocfs2_inode_unlock(file_inode(file), lock_level); in ocfs2_mmap()
|
/linux/fs/f2fs/ |
H A D | file.c | 40 struct inode *inode = file_inode(vmf->vma->vm_file); in f2fs_filemap_fault() 57 struct inode *inode = file_inode(vmf->vma->vm_file); in f2fs_vm_page_mkwrite() 393 if (unlikely(f2fs_cp_error(F2FS_I_SB(file_inode(file))))) in f2fs_sync_file() 537 struct inode *inode = file_inode(file); in f2fs_file_mmap() 1882 struct inode *inode = file_inode(file); in f2fs_fallocate() 1975 struct inode *inode = file_inode(file); in f2fs_file_flush() 2145 struct inode *inode = file_inode(filp); in f2fs_ioc_getversion() 2152 struct inode *inode = file_inode(filp); in f2fs_ioc_start_atomic_write() 2264 struct inode *inode = file_inode(filp); in f2fs_ioc_commit_atomic_write() 2299 struct inode *inode = file_inode(filp); in f2fs_ioc_abort_atomic_write() [all …]
|
/linux/kernel/bpf/ |
H A D | bpf_inode_storage.c | 85 sdata = inode_storage_lookup(file_inode(fd_file(f)), map, true); in bpf_fd_inode_storage_lookup_elem() 97 if (!inode_storage_ptr(file_inode(fd_file(f)))) in bpf_fd_inode_storage_update_elem() 100 sdata = bpf_local_storage_update(file_inode(fd_file(f)), in bpf_fd_inode_storage_update_elem() 125 return inode_storage_delete(file_inode(fd_file(f)), map); in bpf_fd_inode_storage_delete_elem()
|
/linux/fs/xfs/ |
H A D | xfs_buf_mem.c | 70 inode = file_inode(file); in xmbuf_alloc() 135 struct inode *inode = file_inode(bp->b_target->bt_file); in xmbuf_map_page() 201 struct inode *inode = file_inode(btp->bt_file); in xmbuf_verify_daddr() 213 struct inode *inode = file_inode(bp->b_target->bt_file); in xmbuf_stale()
|
/linux/fs/ecryptfs/ |
H A D | file.c | 130 struct inode *inode = file_inode(file); in ecryptfs_readdir() 140 fsstack_copy_attr_atime(inode, file_inode(lower_file)); in ecryptfs_readdir() 381 fsstack_copy_attr_all(file_inode(file), file_inode(lower_file)); in ecryptfs_unlocked_ioctl() 406 fsstack_copy_attr_all(file_inode(file), file_inode(lower_file)); in ecryptfs_compat_ioctl()
|
/linux/fs/proc/ |
H A D | inode.c | 242 pde->proc_ops->proc_release(file_inode(file), file); in close_pdeo() 277 struct proc_dir_entry *pde = PDE(file_inode(file)); in proc_reg_llseek() 291 struct proc_dir_entry *pde = PDE(file_inode(iocb->ki_filp)); in proc_reg_read_iter() 314 struct proc_dir_entry *pde = PDE(file_inode(file)); in proc_reg_read() 336 struct proc_dir_entry *pde = PDE(file_inode(file)); in proc_reg_write() 358 struct proc_dir_entry *pde = PDE(file_inode(file)); in proc_reg_poll() 380 struct proc_dir_entry *pde = PDE(file_inode(file)); in proc_reg_unlocked_ioctl() 403 struct proc_dir_entry *pde = PDE(file_inode(file)); in proc_reg_compat_ioctl() 425 struct proc_dir_entry *pde = PDE(file_inode(file)); in proc_reg_mmap() 457 struct proc_dir_entry *pde = PDE(file_inode(file)); in proc_reg_get_unmapped_area()
|
/linux/drivers/accel/habanalabs/common/ |
H A D | debugfs.c | 608 struct hl_dbg_device_entry *entry = file_inode(f)->i_private; in hl_memory_scrub() 840 struct hl_dbg_device_entry *entry = file_inode(f)->i_private; in hl_data_read32() 869 struct hl_dbg_device_entry *entry = file_inode(f)->i_private; in hl_data_write32() 895 struct hl_dbg_device_entry *entry = file_inode(f)->i_private; in hl_data_read64() 922 struct hl_dbg_device_entry *entry = file_inode(f)->i_private; in hl_data_write64() 947 struct hl_dbg_device_entry *entry = file_inode(f)->i_private; in hl_dma_size_write() 1004 struct hl_dbg_device_entry *entry = file_inode(f)->i_private; in hl_monitor_dump_trigger() 1048 struct hl_dbg_device_entry *entry = file_inode(f)->i_private; in hl_get_power_state() 1072 struct hl_dbg_device_entry *entry = file_inode(f)->i_private; in hl_set_power_state() 1102 struct hl_dbg_device_entry *entry = file_inode(f)->i_private; in hl_i2c_data_read() [all …]
|
/linux/arch/x86/kernel/ |
H A D | msr.c | 58 int cpu = iminor(file_inode(file)); in msr_read() 114 int cpu = iminor(file_inode(file)); in msr_write() 152 int cpu = iminor(file_inode(file)); in msr_ioctl() 208 unsigned int cpu = iminor(file_inode(file)); in msr_open()
|
/linux/fs/afs/ |
H A D | file.c | 380 struct afs_vnode *vnode = AFS_FS_I(file_inode(file)); in afs_check_write_begin() 461 struct afs_vnode *vnode = AFS_FS_I(file_inode(file)); in afs_file_mmap() 476 afs_add_open_mmap(AFS_FS_I(file_inode(vma->vm_file))); in afs_vm_open() 481 afs_drop_open_mmap(AFS_FS_I(file_inode(vma->vm_file))); in afs_vm_close() 486 struct afs_vnode *vnode = AFS_FS_I(file_inode(vmf->vma->vm_file)); in afs_vm_map_pages() 495 struct inode *inode = file_inode(iocb->ki_filp); in afs_file_read_iter() 517 struct inode *inode = file_inode(in); in afs_file_splice_read()
|
/linux/mm/ |
H A D | memfd.c | 176 return &SHMEM_I(file_inode(file))->seals; in memfd_file_seals_ptr() 180 return &HUGETLBFS_I(file_inode(file))->seals; in memfd_file_seals_ptr() 195 struct inode *inode = file_inode(file); in memfd_add_seals() 402 struct inode *inode = file_inode(file); in SYSCALL_DEFINE2()
|
/linux/fs/9p/ |
H A D | vfs_file.c | 106 struct inode *inode = file_inode(filp); in v9fs_file_lock() 159 v9ses = v9fs_inode2v9ses(file_inode(filp)); in v9fs_file_do_lock() 290 struct inode *inode = file_inode(filp); in v9fs_file_lock_dotl() 321 struct inode *inode = file_inode(filp); in v9fs_file_flock_dotl() 460 struct inode *inode = file_inode(filp); in v9fs_file_mmap() 501 inode = file_inode(vma->vm_file); in v9fs_mmap_vm_close()
|