/Linux-v5.15/fs/overlayfs/ |
D | file.c | 42 struct inode *inode = file_inode(file); in ovl_open_realfile() 76 struct inode *inode = file_inode(file); in ovl_change_flags() 106 struct inode *inode = file_inode(file); in ovl_real_fdget_meta() 118 if (unlikely(file_inode(real->file) != realinode)) { in ovl_real_fdget_meta() 174 struct inode *inode = file_inode(file); in ovl_llseek() 224 inode = file_inode(file); in ovl_file_accessed() 261 struct inode *inode = file_inode(orig_iocb->ki_filp); in ovl_aio_cleanup_handler() 264 __sb_writers_acquired(file_inode(iocb->ki_filp)->i_sb, in ovl_aio_cleanup_handler() 305 old_cred = ovl_override_creds(file_inode(file)->i_sb); in ovl_read_iter() 338 struct inode *inode = file_inode(file); in ovl_write_iter() [all …]
|
/Linux-v5.15/fs/orangefs/ |
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() 420 if (file_inode(file) && in orangefs_file_release() 421 file_inode(file)->i_mapping && in orangefs_file_release() 422 mapping_nrpages(&file_inode(file)->i_data)) { in orangefs_file_release() 446 ORANGEFS_I(file_inode(file)); in orangefs_fsync() [all …]
|
/Linux-v5.15/drivers/net/wireless/intersil/hostap/ |
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-v5.15/fs/nfs/ |
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() 93 struct inode *inode = file_inode(filep); in nfs42_proc_fallocate() 128 struct inode *inode = file_inode(filep); in nfs42_proc_allocate() 149 struct inode *inode = file_inode(filep); in nfs42_proc_deallocate() 314 struct inode *dst_inode = file_inode(dst); in _nfs42_proc_copy() 315 struct inode *src_inode = file_inode(src); in _nfs42_proc_copy() 335 status = nfs_filemap_write_and_wait_range(file_inode(src)->i_mapping, in _nfs42_proc_copy() 406 struct nfs_server *server = NFS_SERVER(file_inode(dst)); in nfs42_proc_copy() 410 .src_fh = NFS_FH(file_inode(src)), in nfs42_proc_copy() [all …]
|
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()
|
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-v5.15/fs/ceph/ |
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-v5.15/fs/coda/ |
D | file.c | 41 struct inode *coda_inode = file_inode(coda_file); in coda_file_read_iter() 66 struct inode *coda_inode = file_inode(coda_file); in coda_file_write_iter() 82 coda_inode->i_size = file_inode(host_file)->i_size; in coda_file_write_iter() 126 struct inode *coda_inode = file_inode(coda_file); in coda_file_mmap() 129 struct inode *host_inode = file_inode(host_file); in coda_file_mmap() 248 host_inode = file_inode(cfi->cfi_container); in coda_release() 272 struct inode *coda_inode = file_inode(coda_file); in coda_fsync()
|
/Linux-v5.15/fs/ocfs2/ |
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-v5.15/fs/xfs/ |
D | xfs_file.c | 232 struct xfs_inode *ip = XFS_I(file_inode(iocb->ki_filp)); in xfs_ilock_iocb() 249 struct xfs_inode *ip = XFS_I(file_inode(iocb->ki_filp)); in xfs_file_dio_read() 296 struct xfs_inode *ip = XFS_I(file_inode(iocb->ki_filp)); in xfs_file_buffered_read() 315 struct inode *inode = file_inode(iocb->ki_filp); in xfs_file_read_iter() 458 struct inode *inode = file_inode(iocb->ki_filp); in xfs_dio_write_end_io() 674 struct xfs_inode *ip = XFS_I(file_inode(iocb->ki_filp)); in xfs_file_dio_write() 911 struct inode *inode = file_inode(file); in xfs_file_fallocate() 1102 struct xfs_inode *ip = XFS_I(file_inode(file)); in xfs_file_fadvise() 1123 struct xfs_inode *ip = XFS_I(file_inode(filp)); in xfs_file_sync_writes() 1129 if (IS_SYNC(file_inode(filp))) in xfs_file_sync_writes() [all …]
|
/Linux-v5.15/security/selinux/ |
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() 227 struct selinux_fs_info *fsi = file_inode(filp)->i_sb->s_fs_info; in sel_open_handle_status() 284 struct selinux_fs_info *fsi = file_inode(file)->i_sb->s_fs_info; in sel_write_disable() 376 struct selinux_fs_info *fsi = file_inode(filp)->i_sb->s_fs_info; in sel_read_mls() 617 struct selinux_fs_info *fsi = file_inode(file)->i_sb->s_fs_info; in sel_write_load() 678 struct selinux_fs_info *fsi = file_inode(file)->i_sb->s_fs_info; in sel_write_context() 715 struct selinux_fs_info *fsi = file_inode(filp)->i_sb->s_fs_info; in sel_read_checkreqprot() [all …]
|
/Linux-v5.15/fs/ecryptfs/ |
D | file.c | 105 struct inode *inode = file_inode(file); in ecryptfs_readdir() 120 file_inode(lower_file)); in ecryptfs_readdir() 362 fsstack_copy_attr_all(file_inode(file), file_inode(lower_file)); in ecryptfs_unlocked_ioctl() 387 fsstack_copy_attr_all(file_inode(file), file_inode(lower_file)); in ecryptfs_compat_ioctl()
|
/Linux-v5.15/fs/cachefiles/ |
D | io.c | 72 file, file_inode(file)->i_ino, start_pos, len, in cachefiles_read() 73 i_size_read(file_inode(file))); in cachefiles_read() 165 struct inode *inode = file_inode(ki->iocb.ki_filp); in cachefiles_write_complete() 196 file, file_inode(file)->i_ino, start_pos, len, in cachefiles_write() 197 i_size_read(file_inode(file))); in cachefiles_write() 223 inode = file_inode(file); in cachefiles_write() 401 if (!S_ISREG(file_inode(file)->i_mode)) in cachefiles_begin_read_operation()
|
/Linux-v5.15/fs/ext4/ |
D | file.c | 55 struct inode *inode = file_inode(iocb->ki_filp); in ext4_dio_read_iter() 87 struct inode *inode = file_inode(iocb->ki_filp); in ext4_dax_read_iter() 115 struct inode *inode = file_inode(iocb->ki_filp); in ext4_file_read_iter() 214 struct inode *inode = file_inode(iocb->ki_filp); in ext4_generic_write_checks() 257 struct inode *inode = file_inode(iocb->ki_filp); in ext4_buffered_write_iter() 375 struct inode *inode = file_inode(iocb->ki_filp); in ext4_dio_write_end_io() 426 struct inode *inode = file_inode(file); in ext4_dio_write_checks() 475 struct inode *inode = file_inode(iocb->ki_filp); in ext4_dio_write_iter() 620 struct inode *inode = file_inode(iocb->ki_filp); in ext4_dax_write_iter() 668 struct inode *inode = file_inode(iocb->ki_filp); in ext4_file_write_iter() [all …]
|
/Linux-v5.15/fs/f2fs/ |
D | file.c | 40 struct inode *inode = file_inode(vmf->vma->vm_file); in f2fs_filemap_fault() 56 struct inode *inode = file_inode(vmf->vma->vm_file); in f2fs_vm_page_mkwrite() 389 if (unlikely(f2fs_cp_error(F2FS_I_SB(file_inode(file))))) in f2fs_sync_file() 521 struct inode *inode = file_inode(file); in f2fs_file_mmap() 1733 struct inode *inode = file_inode(file); in f2fs_fallocate() 1816 struct inode *inode = file_inode(file); in f2fs_file_flush() 1978 struct inode *inode = file_inode(filp); in f2fs_ioc_getversion() 1985 struct inode *inode = file_inode(filp); in f2fs_ioc_start_atomic_write() 2054 struct inode *inode = file_inode(filp); in f2fs_ioc_commit_atomic_write() 2096 struct inode *inode = file_inode(filp); in f2fs_ioc_start_volatile_write() [all …]
|
/Linux-v5.15/fs/proc/ |
D | inode.c | 244 pde->proc_ops->proc_release(file_inode(file), file); in close_pdeo() 278 struct proc_dir_entry *pde = PDE(file_inode(file)); in proc_reg_llseek() 292 struct proc_dir_entry *pde = PDE(file_inode(iocb->ki_filp)); in proc_reg_read_iter() 317 struct proc_dir_entry *pde = PDE(file_inode(file)); in proc_reg_read() 341 struct proc_dir_entry *pde = PDE(file_inode(file)); in proc_reg_write() 365 struct proc_dir_entry *pde = PDE(file_inode(file)); in proc_reg_poll() 389 struct proc_dir_entry *pde = PDE(file_inode(file)); in proc_reg_unlocked_ioctl() 414 struct proc_dir_entry *pde = PDE(file_inode(file)); in proc_reg_compat_ioctl() 438 struct proc_dir_entry *pde = PDE(file_inode(file)); in proc_reg_mmap() 472 struct proc_dir_entry *pde = PDE(file_inode(file)); in proc_reg_get_unmapped_area()
|
/Linux-v5.15/drivers/misc/habanalabs/common/ |
D | debugfs.c | 619 struct hl_dbg_device_entry *entry = file_inode(f)->i_private; in hl_data_read32() 656 struct hl_dbg_device_entry *entry = file_inode(f)->i_private; in hl_data_write32() 692 struct hl_dbg_device_entry *entry = file_inode(f)->i_private; in hl_data_read64() 729 struct hl_dbg_device_entry *entry = file_inode(f)->i_private; in hl_data_write64() 765 struct hl_dbg_device_entry *entry = file_inode(f)->i_private; in hl_dma_size_write() 822 struct hl_dbg_device_entry *entry = file_inode(f)->i_private; in hl_get_power_state() 846 struct hl_dbg_device_entry *entry = file_inode(f)->i_private; in hl_set_power_state() 874 struct hl_dbg_device_entry *entry = file_inode(f)->i_private; in hl_i2c_data_read() 902 struct hl_dbg_device_entry *entry = file_inode(f)->i_private; in hl_i2c_data_write() 926 struct hl_dbg_device_entry *entry = file_inode(f)->i_private; in hl_led0_write() [all …]
|
/Linux-v5.15/drivers/gpu/drm/amd/display/amdgpu_dm/ |
D | amdgpu_dm_debugfs.c | 182 struct amdgpu_dm_connector *connector = file_inode(f)->i_private; in dp_link_settings_read() 248 struct amdgpu_dm_connector *connector = file_inode(f)->i_private; in dp_link_settings_write() 366 struct amdgpu_dm_connector *connector = file_inode(f)->i_private; in dp_phy_settings_read() 406 struct amdgpu_dm_connector *connector = file_inode(m->file)->i_private; in dp_lttpr_status_show() 470 struct amdgpu_dm_connector *connector = file_inode(f)->i_private; in dp_phy_settings_write() 613 struct amdgpu_dm_connector *connector = file_inode(f)->i_private; in dp_phy_test_pattern_debugfs_write() 900 struct amdgpu_dm_connector *aconnector = file_inode(f)->i_private; in dp_dsc_passthrough_set() 1004 struct amdgpu_dm_connector *connector = file_inode(f)->i_private; in dp_sdp_message_debugfs_write() 1029 struct amdgpu_dm_connector *connector = file_inode(f)->i_private; in dp_dpcd_address_write() 1044 struct amdgpu_dm_connector *connector = file_inode(f)->i_private; in dp_dpcd_size_write() [all …]
|
/Linux-v5.15/fs/ |
D | remap_range.c | 284 struct inode *inode_in = file_inode(file_in); in generic_remap_file_range_prep() 285 struct inode *inode_out = file_inode(file_out); in generic_remap_file_range_prep() 376 if (file_inode(file_in)->i_sb != file_inode(file_out)->i_sb) in do_clone_file_range() 424 struct inode *inode = file_inode(file); in allow_file_dedupe() 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-v5.15/arch/x86/kernel/ |
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-v5.15/arch/powerpc/kernel/ |
D | proc_powerpc.c | 28 PDE_DATA(file_inode(file)), PAGE_SIZE); in page_map_read() 37 __pa(PDE_DATA(file_inode(file))) >> PAGE_SHIFT, in page_map_mmap()
|
/Linux-v5.15/fs/9p/ |
D | vfs_file.c | 120 struct inode *inode = file_inode(filp); in v9fs_file_lock() 175 v9ses = v9fs_inode2v9ses(file_inode(filp)); in v9fs_file_do_lock() 305 struct inode *inode = file_inode(filp); in v9fs_file_lock_dotl() 336 struct inode *inode = file_inode(filp); in v9fs_file_flock_dotl() 408 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() 605 inode = file_inode(vma->vm_file); in v9fs_mmap_vm_close()
|
/Linux-v5.15/security/integrity/ima/ |
D | ima_main.c | 94 inode = file_inode(file); in mmap_violation_check() 122 struct inode *inode = file_inode(file); in ima_rdwr_violation_check() 188 struct inode *inode = file_inode(file); in ima_file_free() 205 struct inode *inode = file_inode(file); in process_measurement() 372 integrity_audit_msg(AUDIT_INTEGRITY_DATA, file_inode(file), in process_measurement() 450 inode = file_inode(vma->vm_file); in ima_file_mprotect() 580 return __ima_inode_hash(file_inode(file), buf, buf_size); in ima_file_hash() 989 process_buffer_measurement(file_mnt_user_ns(f.file), file_inode(f.file), in ima_kexec_cmdline()
|
/Linux-v5.15/drivers/pci/ |
D | proc.c | 24 struct pci_dev *dev = PDE_DATA(file_inode(file)); in proc_bus_pci_lseek() 31 struct pci_dev *dev = PDE_DATA(file_inode(file)); in proc_bus_pci_read() 116 struct inode *ino = file_inode(file); in proc_bus_pci_write() 199 struct pci_dev *dev = PDE_DATA(file_inode(file)); in proc_bus_pci_ioctl() 247 struct pci_dev *dev = PDE_DATA(file_inode(file)); in proc_bus_pci_mmap()
|
/Linux-v5.15/kernel/locking/ |
D | lock_events.c | 71 id = (long)file_inode(file)->i_private; in lockevent_read() 96 if ((long)file_inode(file)->i_private != LOCKEVENT_reset_cnts) in lockevent_write()
|