/linux-6.3-rc2/fs/overlayfs/ |
A D | file.c | 44 struct inode *inode = file_inode(file); in ovl_open_realfile() 80 struct inode *inode = file_inode(file); in ovl_change_flags() 179 struct inode *inode = file_inode(file); in ovl_llseek() 229 inode = file_inode(file); in ovl_file_accessed() 351 struct inode *inode = file_inode(file); in ovl_write_iter() 435 struct inode *inode = file_inode(out); in ovl_splice_write() 481 if (file_inode(real.file) == ovl_inode_upper(file_inode(file))) { in ovl_fsync() 516 struct inode *inode = file_inode(file); in ovl_fallocate() 576 struct inode *inode_out = file_inode(file_out); in ovl_copyfile() 659 (!ovl_inode_upper(file_inode(file_in)) || in ovl_remap_file_range() [all …]
|
/linux-6.3-rc2/fs/cachefiles/ |
A D | io.c | 48 struct inode *inode = file_inode(ki->iocb.ki_filp); in cachefiles_read_complete() 95 file, file_inode(file)->i_ino, start_pos, len, in cachefiles_read() 96 i_size_read(file_inode(file))); in cachefiles_read() 216 file, file_inode(file)->i_ino, start, len, in cachefiles_query_occupancy() 217 i_size_read(file_inode(file))); in cachefiles_query_occupancy() 258 struct inode *inode = file_inode(ki->iocb.ki_filp); in cachefiles_write_complete() 298 file, file_inode(file)->i_ino, start_pos, len, in __cachefiles_write() 299 i_size_read(file_inode(file))); in __cachefiles_write() 330 inode = file_inode(file); in __cachefiles_write() 402 ino_t ino = file ? file_inode(file)->i_ino : 0; in cachefiles_do_prepare_read() [all …]
|
A D | interface.c | 126 oi_size = i_size_read(file_inode(file)); in cachefiles_adjust_size() 130 inode_lock(file_inode(file)); in cachefiles_adjust_size() 155 inode_unlock(file_inode(file)); in cachefiles_adjust_size() 158 trace_cachefiles_io_error(NULL, file_inode(file), ret, in cachefiles_adjust_size() 231 struct inode *inode = file_inode(file); in cachefiles_shorten_object() 244 trace_cachefiles_io_error(object, file_inode(file), ret, in cachefiles_shorten_object() 259 trace_cachefiles_io_error(object, file_inode(file), ret, in cachefiles_shorten_object()
|
A D | xattr.c | 71 trace_cachefiles_vfs_error(object, file_inode(file), ret, in cachefiles_set_object_xattr() 73 trace_cachefiles_coherency(object, file_inode(file)->i_ino, in cachefiles_set_object_xattr() 81 trace_cachefiles_coherency(object, file_inode(file)->i_ino, in cachefiles_set_object_xattr() 114 trace_cachefiles_vfs_error(object, file_inode(file), xlen, in cachefiles_check_auxdata() 136 trace_cachefiles_coherency(object, file_inode(file)->i_ino, in cachefiles_check_auxdata()
|
A D | namei.c | 70 struct inode *inode = file_inode(file); in cachefiles_unmark_inode_in_use() 467 trace_cachefiles_tmpfile(object, file_inode(file)); in cachefiles_create_tmpfile() 470 if (!cachefiles_mark_inode_in_use(object, file_inode(file))) in cachefiles_create_tmpfile() 481 trace_cachefiles_trunc(object, file_inode(file), 0, ni_size, in cachefiles_create_tmpfile() 488 object, file_inode(file), ret, in cachefiles_create_tmpfile() 506 cachefiles_do_unmark_inode_in_use(object, file_inode(file)); in cachefiles_create_tmpfile() 532 _debug("create -> %pD{ino=%lu}", file, file_inode(file)->i_ino); in cachefiles_create_file() 656 _leave(" = t [%lu]", file_inode(object->file)->i_ino); in cachefiles_look_up_object() 691 if (d_backing_inode(dentry) == file_inode(object->file)) { in cachefiles_commit_tmpfile() 724 trace_cachefiles_link(object, file_inode(object->file)); in cachefiles_commit_tmpfile()
|
/linux-6.3-rc2/fs/orangefs/ |
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() 346 if (iocb->ki_pos > i_size_read(file_inode(iocb->ki_filp))) { in orangefs_file_write_iter() 347 ret = orangefs_revalidate_mapping(file_inode(iocb->ki_filp)); in orangefs_file_write_iter() 385 ret = orangefs_revalidate_mapping(file_inode(file)); in orangefs_file_mmap() 443 ORANGEFS_I(file_inode(file)); in orangefs_fsync() 446 ret = filemap_write_and_wait_range(file_inode(file)->i_mapping, in orangefs_fsync() 458 get_interruptible_flag(file_inode(file))); in orangefs_fsync() 480 struct inode *inode = file_inode(file); in orangefs_file_llseek() [all …]
|
/linux-6.3-rc2/drivers/net/wireless/intersil/hostap/ |
A D | hostap_proc.c | 100 local_info_t *local = pde_data(file_inode(m->file)); in prism2_wds_proc_start() 107 local_info_t *local = pde_data(file_inode(m->file)); in prism2_wds_proc_next() 113 local_info_t *local = pde_data(file_inode(m->file)); in prism2_wds_proc_stop() 126 local_info_t *local = pde_data(file_inode(m->file)); in prism2_bss_list_proc_show() 154 local_info_t *local = pde_data(file_inode(m->file)); in prism2_bss_list_proc_start() 161 local_info_t *local = pde_data(file_inode(m->file)); in prism2_bss_list_proc_next() 168 local_info_t *local = pde_data(file_inode(m->file)); in prism2_bss_list_proc_stop() 201 local_info_t *local = pde_data(file_inode(file)); in prism2_pda_proc_read() 275 local_info_t *local = pde_data(file_inode(m->file)); in prism2_scan_results_proc_show() 325 local_info_t *local = pde_data(file_inode(m->file)); in prism2_scan_results_proc_start() [all …]
|
/linux-6.3-rc2/fs/nfs/ |
A D | nfs42proc.c | 47 struct inode *inode = file_inode(filep); in _nfs42_proc_fallocate() 101 struct inode *inode = file_inode(filep); in nfs42_proc_fallocate() 136 struct inode *inode = file_inode(filep); in nfs42_proc_allocate() 420 .src_fh = NFS_FH(file_inode(src)), in nfs42_proc_copy() 422 .dst_fh = NFS_FH(file_inode(dst)), in nfs42_proc_copy() 429 .inode = file_inode(src), in nfs42_proc_copy() 433 .inode = file_inode(dst), in nfs42_proc_copy() 454 inode_lock(file_inode(dst)); in nfs42_proc_copy() 459 inode_unlock(file_inode(dst)); in nfs42_proc_copy() 630 .inode = file_inode(src), in nfs42_proc_copy_notify() [all …]
|
A D | nfs4file.c | 112 struct inode *inode = file_inode(file); in nfs4_file_flush() 148 if (!nfs_server_capable(file_inode(file_out), NFS_CAP_COPY) || in __nfs4_copy_file_range() 149 !nfs_server_capable(file_inode(file_in), NFS_CAP_COPY)) in __nfs4_copy_file_range() 151 if (file_inode(file_in) == file_inode(file_out)) in __nfs4_copy_file_range() 156 if (count <= 2 * NFS_SERVER(file_inode(file_in))->rsize) in __nfs4_copy_file_range() 221 struct inode *inode = file_inode(filep); in nfs42_fallocate() 243 struct inode *dst_inode = file_inode(dst_file); in nfs42_remap_file_range() 245 struct inode *src_inode = file_inode(src_file); in nfs42_remap_file_range()
|
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() 184 struct inode *inode = file_inode(file); in nfs_file_mmap() 209 struct inode *inode = file_inode(file); in nfs_file_fsync_commit() 225 struct inode *inode = file_inode(file); in nfs_file_fsync() 301 if (pnfs_ld_read_whole_page(file_inode(file))) in nfs_want_read_modify_write() 502 struct inode *inode = file_inode(file); in nfs_swap_activate() 535 struct inode *inode = file_inode(file); in nfs_swap_deactivate() 541 cl->rpc_ops->disable_swap(file_inode(file)); in nfs_swap_deactivate() 571 struct inode *inode = file_inode(filp); in nfs_vm_page_mkwrite() [all …]
|
A D | nfs42.h | 35 struct nfs_client *c_in = (NFS_SERVER(file_inode(in)))->nfs_client; in nfs42_files_from_same_server() 36 struct nfs_client *c_out = (NFS_SERVER(file_inode(out)))->nfs_client; in nfs42_files_from_same_server()
|
/linux-6.3-rc2/fs/ceph/ |
A D | ioctl.c | 19 struct ceph_inode_info *ci = ceph_inode(file_inode(file)); in ceph_ioctl_get_layout() 23 err = ceph_do_getattr(file_inode(file), CEPH_STAT_CAP_LAYOUT, false); in ceph_ioctl_get_layout() 66 struct inode *inode = file_inode(file); in ceph_ioctl_set_layout() 70 struct ceph_inode_info *ci = ceph_inode(file_inode(file)); in ceph_ioctl_set_layout() 78 err = ceph_do_getattr(file_inode(file), CEPH_STAT_CAP_LAYOUT, false); in ceph_ioctl_set_layout() 138 struct inode *inode = file_inode(file); in ceph_ioctl_set_layout_policy() 182 struct inode *inode = file_inode(file); in ceph_ioctl_get_dataloc() 244 struct inode *inode = file_inode(file); in ceph_ioctl_lazyio()
|
/linux-6.3-rc2/fs/coda/ |
A D | file.c | 43 struct inode *coda_inode = file_inode(coda_file); in coda_file_read_iter() 68 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() 128 struct inode *coda_inode = file_inode(coda_file); in coda_file_mmap() 131 struct inode *host_inode = file_inode(host_file); in coda_file_mmap() 249 host_inode = file_inode(cfi->cfi_container); in coda_release() 273 struct inode *coda_inode = file_inode(coda_file); in coda_fsync()
|
/linux-6.3-rc2/fs/zonefs/ |
A D | file.c | 162 struct inode *inode = file_inode(swap_file); in zonefs_swap_activate() 261 struct inode *inode = file_inode(file); in zonefs_file_fsync() 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() 381 struct inode *inode = file_inode(iocb->ki_filp); in zonefs_file_dio_append() 456 struct inode *inode = file_inode(file); in zonefs_write_check_limits() 481 struct inode *inode = file_inode(file); in zonefs_write_checks() 524 struct inode *inode = file_inode(iocb->ki_filp); in zonefs_file_dio_write() 600 struct inode *inode = file_inode(iocb->ki_filp); in zonefs_file_buffered_write() [all …]
|
/linux-6.3-rc2/fs/ocfs2/ |
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-6.3-rc2/fs/ |
A D | remap_range.c | 273 struct inode *inode_in = file_inode(file_in); in __generic_remap_file_range_prep() 274 struct inode *inode_out = file_inode(file_out); in __generic_remap_file_range_prep() 375 if (file_inode(file_in)->i_sb != file_inode(file_out)->i_sb) in do_clone_file_range() 423 struct inode *inode = file_inode(file); in allow_file_dedupe() 466 if (file_inode(src_file)->i_sb != file_inode(dst_file)->i_sb) in vfs_dedupe_file_range_one() 470 if (S_ISDIR(file_inode(dst_file)->i_mode)) in vfs_dedupe_file_range_one() 494 struct inode *src = file_inode(file); in vfs_dedupe_file_range()
|
/linux-6.3-rc2/fs/xfs/ |
A D | xfs_file.c | 288 struct inode *inode = file_inode(iocb->ki_filp); in xfs_file_read_iter() 430 struct inode *inode = file_inode(iocb->ki_filp); in xfs_dio_write_end_io() 869 struct xfs_inode *ip = XFS_I(file_inode(filp)); in xfs_file_sync_writes() 875 if (IS_SYNC(file_inode(filp))) in xfs_file_sync_writes() 893 struct inode *inode = file_inode(file); in xfs_file_fallocate() 1083 struct xfs_inode *ip = XFS_I(file_inode(file)); in xfs_file_fadvise() 1110 struct inode *inode_in = file_inode(file_in); in xfs_file_remap_range() 1215 struct inode *inode = file_inode(file); in xfs_file_readdir() 1354 IS_DAX(file_inode(vmf->vma->vm_file)) && in xfs_filemap_fault() 1363 if (!IS_DAX(file_inode(vmf->vma->vm_file))) in xfs_filemap_huge_fault() [all …]
|
/linux-6.3-rc2/fs/ext4/ |
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() 235 struct inode *inode = file_inode(iocb->ki_filp); in ext4_generic_write_checks() 278 struct inode *inode = file_inode(iocb->ki_filp); in ext4_buffered_write_iter() 394 struct inode *inode = file_inode(iocb->ki_filp); in ext4_dio_write_end_io() 450 struct inode *inode = file_inode(file); in ext4_dio_write_checks() 499 struct inode *inode = file_inode(iocb->ki_filp); in ext4_dio_write_iter() 650 struct inode *inode = file_inode(iocb->ki_filp); in ext4_dax_write_iter() [all …]
|
/linux-6.3-rc2/security/selinux/ |
A D | selinuxfs.c | 128 struct selinux_fs_info *fsi = file_inode(filp)->i_sb->s_fs_info; in sel_read_enforce() 142 struct selinux_fs_info *fsi = file_inode(file)->i_sb->s_fs_info; in sel_write_enforce() 207 struct selinux_fs_info *fsi = file_inode(filp)->i_sb->s_fs_info; in sel_read_handle_unknown() 211 ino_t ino = file_inode(filp)->i_ino; in sel_read_handle_unknown() 880 ino_t ino = file_inode(file)->i_ino; in selinux_transaction_write() 1276 unsigned index = file_inode(filep)->i_ino & SEL_INO_MASK; in sel_read_bool() 1316 unsigned index = file_inode(filep)->i_ino & SEL_INO_MASK; in sel_write_bool() 1760 sid = file_inode(file)->i_ino&SEL_INO_MASK; in sel_read_initcon() 1827 unsigned long ino = file_inode(file)->i_ino; in sel_read_class() 1841 unsigned long ino = file_inode(file)->i_ino; in sel_read_perm() [all …]
|
/linux-6.3-rc2/fs/ecryptfs/ |
A D | file.c | 105 struct inode *inode = file_inode(file); in ecryptfs_readdir() 115 fsstack_copy_attr_atime(inode, file_inode(lower_file)); in ecryptfs_readdir() 356 fsstack_copy_attr_all(file_inode(file), file_inode(lower_file)); in ecryptfs_unlocked_ioctl() 381 fsstack_copy_attr_all(file_inode(file), file_inode(lower_file)); in ecryptfs_compat_ioctl()
|
/linux-6.3-rc2/fs/f2fs/ |
A D | file.c | 521 struct inode *inode = file_inode(file); in f2fs_file_mmap() 1790 struct inode *inode = file_inode(file); in f2fs_fallocate() 1875 struct inode *inode = file_inode(file); in f2fs_file_flush() 2038 struct inode *inode = file_inode(filp); in f2fs_ioc_getversion() 2045 struct inode *inode = file_inode(filp); in f2fs_ioc_start_atomic_write() 2149 struct inode *inode = file_inode(filp); in f2fs_ioc_commit_atomic_write() 2181 struct inode *inode = file_inode(filp); in f2fs_ioc_abort_atomic_write() 2205 struct inode *inode = file_inode(filp); in f2fs_ioc_shutdown() 2287 struct inode *inode = file_inode(filp); in f2fs_ioc_fitrim() 2332 struct inode *inode = file_inode(filp); in f2fs_ioc_set_encryption_policy() [all …]
|
/linux-6.3-rc2/fs/proc/ |
A D | inode.c | 248 pde->proc_ops->proc_release(file_inode(file), file); in close_pdeo() 283 struct proc_dir_entry *pde = PDE(file_inode(file)); in proc_reg_llseek() 297 struct proc_dir_entry *pde = PDE(file_inode(iocb->ki_filp)); in proc_reg_read_iter() 322 struct proc_dir_entry *pde = PDE(file_inode(file)); in proc_reg_read() 346 struct proc_dir_entry *pde = PDE(file_inode(file)); in proc_reg_write() 370 struct proc_dir_entry *pde = PDE(file_inode(file)); in proc_reg_poll() 394 struct proc_dir_entry *pde = PDE(file_inode(file)); in proc_reg_unlocked_ioctl() 419 struct proc_dir_entry *pde = PDE(file_inode(file)); in proc_reg_compat_ioctl() 443 struct proc_dir_entry *pde = PDE(file_inode(file)); in proc_reg_mmap() 477 struct proc_dir_entry *pde = PDE(file_inode(file)); in proc_reg_get_unmapped_area()
|
/linux-6.3-rc2/arch/x86/kernel/ |
A D | msr.c | 59 int cpu = iminor(file_inode(file)); in msr_read() 115 int cpu = iminor(file_inode(file)); in msr_write() 153 int cpu = iminor(file_inode(file)); in msr_ioctl() 209 unsigned int cpu = iminor(file_inode(file)); in msr_open()
|
/linux-6.3-rc2/drivers/accel/habanalabs/common/ |
A D | debugfs.c | 630 struct hl_dbg_device_entry *entry = file_inode(f)->i_private; in hl_memory_scrub() 868 struct hl_dbg_device_entry *entry = file_inode(f)->i_private; in hl_data_read32() 897 struct hl_dbg_device_entry *entry = file_inode(f)->i_private; in hl_data_write32() 923 struct hl_dbg_device_entry *entry = file_inode(f)->i_private; in hl_data_read64() 950 struct hl_dbg_device_entry *entry = file_inode(f)->i_private; in hl_data_write64() 975 struct hl_dbg_device_entry *entry = file_inode(f)->i_private; in hl_dma_size_write() 1032 struct hl_dbg_device_entry *entry = file_inode(f)->i_private; in hl_monitor_dump_trigger() 1076 struct hl_dbg_device_entry *entry = file_inode(f)->i_private; in hl_get_power_state() 1100 struct hl_dbg_device_entry *entry = file_inode(f)->i_private; in hl_set_power_state() 1130 struct hl_dbg_device_entry *entry = file_inode(f)->i_private; in hl_i2c_data_read() [all …]
|
/linux-6.3-rc2/fs/9p/ |
A D | vfs_file.c | 120 struct inode *inode = file_inode(filp); in v9fs_file_lock() 174 v9ses = v9fs_inode2v9ses(file_inode(filp)); in v9fs_file_do_lock() 304 struct inode *inode = file_inode(filp); in v9fs_file_lock_dotl() 335 struct inode *inode = file_inode(filp); in v9fs_file_flock_dotl() 407 struct inode *inode = file_inode(file); in v9fs_file_write_iter() 498 inode = file_inode(filp); in v9fs_mmap_file_mmap() 534 struct inode *inode = file_inode(filp); in v9fs_vm_page_mkwrite() 614 inode = file_inode(vma->vm_file); in v9fs_mmap_vm_close()
|