Home
last modified time | relevance | path

Searched refs:file_inode (Results 1 – 25 of 395) sorted by relevance

12345678910>>...16

/kernel/linux/linux-5.10/fs/overlayfs/
Dfile.c43 struct inode *inode = file_inode(file); in ovl_open_realfile()
76 struct inode *inode = file_inode(file); in ovl_change_flags()
112 struct inode *inode = file_inode(file); in ovl_real_fdget_meta()
124 if (unlikely(file_inode(real->file) != realinode)) { in ovl_real_fdget_meta()
180 struct inode *inode = file_inode(file); in ovl_llseek()
230 inode = file_inode(file); in ovl_file_accessed()
275 struct inode *inode = file_inode(orig_iocb->ki_filp); in ovl_aio_cleanup_handler()
278 __sb_writers_acquired(file_inode(iocb->ki_filp)->i_sb, in ovl_aio_cleanup_handler()
318 old_cred = ovl_override_creds(file_inode(file)->i_sb); in ovl_read_iter()
353 struct inode *inode = file_inode(file); in ovl_write_iter()
[all …]
/kernel/linux/linux-5.10/fs/orangefs/
Dfile.c351 down_read(&file_inode(iocb->ki_filp)->i_rwsem); in orangefs_file_read_iter()
352 ret = orangefs_revalidate_mapping(file_inode(iocb->ki_filp)); in orangefs_file_read_iter()
358 up_read(&file_inode(iocb->ki_filp)->i_rwsem); in orangefs_file_read_iter()
368 if (iocb->ki_pos > i_size_read(file_inode(iocb->ki_filp))) { in orangefs_file_write_iter()
369 ret = orangefs_revalidate_mapping(file_inode(iocb->ki_filp)); in orangefs_file_write_iter()
399 struct inode *inode = file_inode(file); in orangefs_ioctl()
485 ret = orangefs_revalidate_mapping(file_inode(file)); in orangefs_file_mmap()
523 if (file_inode(file) && in orangefs_file_release()
524 file_inode(file)->i_mapping && in orangefs_file_release()
525 mapping_nrpages(&file_inode(file)->i_data)) { in orangefs_file_release()
[all …]
/kernel/linux/linux-5.10/drivers/net/wireless/intersil/hostap/
Dhostap_proc.c100 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()
274 local_info_t *local = PDE_DATA(file_inode(m->file)); in prism2_scan_results_proc_show()
324 local_info_t *local = PDE_DATA(file_inode(m->file)); in prism2_scan_results_proc_start()
[all …]
/kernel/linux/linux-5.10/fs/nfs/
Dnfs42proc.c27 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()
287 struct inode *dst_inode = file_inode(dst); in _nfs42_proc_copy()
288 struct inode *src_inode = file_inode(src); in _nfs42_proc_copy()
308 status = nfs_filemap_write_and_wait_range(file_inode(src)->i_mapping, in _nfs42_proc_copy()
389 struct nfs_server *server = NFS_SERVER(file_inode(dst)); in nfs42_proc_copy()
393 .src_fh = NFS_FH(file_inode(src)), in nfs42_proc_copy()
[all …]
Dnfs4file.c115 struct inode *inode = file_inode(file); in nfs4_file_flush()
151 if (!nfs_server_capable(file_inode(file_out), NFS_CAP_COPY) || in __nfs4_copy_file_range()
152 !nfs_server_capable(file_inode(file_in), NFS_CAP_COPY)) in __nfs4_copy_file_range()
154 if (file_inode(file_in) == file_inode(file_out)) in __nfs4_copy_file_range()
159 if (count <= 2 * NFS_SERVER(file_inode(file_in))->rsize) in __nfs4_copy_file_range()
169 count <= 14 * NFS_SERVER(file_inode(file_in))->rsize) in __nfs4_copy_file_range()
226 struct inode *inode = file_inode(filep); in nfs42_fallocate()
248 struct inode *dst_inode = file_inode(dst_file); in nfs42_remap_file_range()
250 struct inode *src_inode = file_inode(src_file); in nfs42_remap_file_range()
Dfile.c142 struct inode *inode = file_inode(file); in nfs_file_flush()
160 struct inode *inode = file_inode(iocb->ki_filp); in nfs_file_read()
185 struct inode *inode = file_inode(file); in nfs_file_mmap()
210 struct inode *inode = file_inode(file); in nfs_file_fsync_commit()
227 struct inode *inode = file_inode(file); in nfs_file_fsync()
490 struct inode *inode = file_inode(file); in nfs_swap_activate()
514 struct inode *inode = file_inode(file); in nfs_swap_deactivate()
520 cl->rpc_ops->disable_swap(file_inode(file)); in nfs_swap_deactivate()
553 struct inode *inode = file_inode(filp); in nfs_vm_page_mkwrite()
615 struct inode *inode = file_inode(file); in nfs_file_write()
Dnfs42.h35 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()
/kernel/linux/linux-5.10/fs/ceph/
Dioctl.c19 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()
/kernel/linux/linux-5.10/fs/coda/
Dfile.c41 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()
/kernel/linux/linux-5.10/fs/ocfs2/
Dmmap.c53 struct inode *inode = file_inode(file); in __ocfs2_page_mkwrite()
118 struct inode *inode = file_inode(vmf->vma->vm_file); in ocfs2_page_mkwrite()
168 ret = ocfs2_inode_lock_atime(file_inode(file), in ocfs2_mmap()
174 ocfs2_inode_unlock(file_inode(file), lock_level); in ocfs2_mmap()
/kernel/linux/linux-5.10/fs/
Dremap_range.c103 struct inode *inode = file_inode(file); in remap_verify_area()
297 struct inode *inode_in = file_inode(file_in); in generic_remap_file_range_prep()
298 struct inode *inode_out = file_inode(file_out); in generic_remap_file_range_prep()
389 if (file_inode(file_in)->i_sb != file_inode(file_out)->i_sb) in do_clone_file_range()
440 if (uid_eq(current_fsuid(), file_inode(file)->i_uid)) in allow_file_dedupe()
442 if (!inode_permission(file_inode(file), MAY_WRITE)) in allow_file_dedupe()
473 if (S_ISDIR(file_inode(dst_file)->i_mode)) in vfs_dedupe_file_range_one()
497 struct inode *src = file_inode(file); in vfs_dedupe_file_range()
/kernel/linux/linux-5.10/security/selinux/
Dselinuxfs.c127 struct selinux_fs_info *fsi = file_inode(filp)->i_sb->s_fs_info; in sel_read_enforce()
141 struct selinux_fs_info *fsi = file_inode(file)->i_sb->s_fs_info; in sel_write_enforce()
204 struct selinux_fs_info *fsi = file_inode(filp)->i_sb->s_fs_info; in sel_read_handle_unknown()
208 ino_t ino = file_inode(filp)->i_ino; in sel_read_handle_unknown()
224 struct selinux_fs_info *fsi = file_inode(filp)->i_sb->s_fs_info; in sel_open_handle_status()
281 struct selinux_fs_info *fsi = file_inode(file)->i_sb->s_fs_info; in sel_write_disable()
373 struct selinux_fs_info *fsi = file_inode(filp)->i_sb->s_fs_info; in sel_read_mls()
618 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 …]
/kernel/linux/linux-5.10/fs/ecryptfs/
Dfile.c105 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()
/kernel/linux/linux-5.10/fs/ext4/
Dfile.c55 struct inode *inode = file_inode(iocb->ki_filp); in ext4_dio_read_iter()
88 struct inode *inode = file_inode(iocb->ki_filp); in ext4_dax_read_iter()
116 struct inode *inode = file_inode(iocb->ki_filp); in ext4_file_read_iter()
215 struct inode *inode = file_inode(iocb->ki_filp); in ext4_generic_write_checks()
258 struct inode *inode = file_inode(iocb->ki_filp); in ext4_buffered_write_iter()
374 struct inode *inode = file_inode(iocb->ki_filp); in ext4_dio_write_end_io()
425 struct inode *inode = file_inode(file); in ext4_dio_write_checks()
474 struct inode *inode = file_inode(iocb->ki_filp); in ext4_dio_write_iter()
623 struct inode *inode = file_inode(iocb->ki_filp); in ext4_dax_write_iter()
671 struct inode *inode = file_inode(iocb->ki_filp); in ext4_file_write_iter()
[all …]
/kernel/linux/linux-5.10/fs/xfs/
Dxfs_file.c222 struct xfs_inode *ip = XFS_I(file_inode(iocb->ki_filp)); in xfs_file_dio_aio_read()
279 struct xfs_inode *ip = XFS_I(file_inode(iocb->ki_filp)); in xfs_file_buffered_aio_read()
301 struct inode *inode = file_inode(iocb->ki_filp); in xfs_file_read_iter()
425 struct inode *inode = file_inode(iocb->ki_filp); in xfs_dio_write_end_io()
850 struct inode *inode = file_inode(file); in xfs_file_fallocate()
1040 struct xfs_inode *ip = XFS_I(file_inode(file)); in xfs_file_fadvise()
1061 struct xfs_inode *ip = XFS_I(file_inode(filp)); in xfs_file_sync_writes()
1067 if (IS_SYNC(file_inode(filp))) in xfs_file_sync_writes()
1082 struct inode *inode_in = file_inode(file_in); in xfs_file_remap_range()
1084 struct inode *inode_out = file_inode(file_out); in xfs_file_remap_range()
[all …]
/kernel/linux/linux-5.10/drivers/gpu/drm/amd/display/amdgpu_dm/
Damdgpu_dm_debugfs.c182 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()
367 struct amdgpu_dm_connector *connector = file_inode(f)->i_private; in dp_phy_settings_read()
407 struct amdgpu_dm_connector *connector = file_inode(f)->i_private; in dp_phy_settings_write()
550 struct amdgpu_dm_connector *connector = file_inode(f)->i_private; in dp_phy_test_pattern_debugfs_write()
884 struct amdgpu_dm_connector *connector = file_inode(f)->i_private; in dp_sdp_message_debugfs_write()
909 struct amdgpu_dm_connector *connector = file_inode(f)->i_private; in dp_dpcd_address_write()
924 struct amdgpu_dm_connector *connector = file_inode(f)->i_private; in dp_dpcd_size_write()
943 struct amdgpu_dm_connector *connector = file_inode(f)->i_private; in dp_dpcd_data_write()
967 struct amdgpu_dm_connector *connector = file_inode(f)->i_private; in dp_dpcd_data_read()
[all …]
/kernel/linux/linux-5.10/fs/verity/
Denable.c77 struct inode *inode = file_inode(filp); in build_merkle_tree_level()
183 struct inode *inode = file_inode(filp); in build_merkle_tree()
229 struct inode *inode = file_inode(filp); in enable_verity()
277 struct inode *inode = file_inode(filp); in fsverity_enable_with_descriptor()
399 struct inode *inode = file_inode(filp); in fsverity_ioctl_enable()
428 struct inode *inode = file_inode(filp); in check_file_and_enable_verity()
491 struct inode *inode = file_inode(filp); in code_sign_copy_merkle_tree()
599 struct inode *inode = file_inode(filp); in fsverity_ioctl_enable_code_sign()
/kernel/linux/linux-5.10/fs/f2fs/
Dfile.c38 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()
377 if (unlikely(f2fs_cp_error(F2FS_I_SB(file_inode(file))))) in f2fs_sync_file()
506 struct inode *inode = file_inode(file); in f2fs_file_mmap()
1717 struct inode *inode = file_inode(file); in f2fs_fallocate()
1804 struct inode *inode = file_inode(file); in f2fs_file_flush()
1955 struct inode *inode = file_inode(filp); in f2fs_ioc_getflags()
1975 struct inode *inode = file_inode(filp); in f2fs_ioc_setflags()
2016 struct inode *inode = file_inode(filp); in f2fs_ioc_getversion()
2023 struct inode *inode = file_inode(filp); in f2fs_ioc_start_atomic_write()
[all …]
/kernel/linux/linux-5.10/fs/epfs/
Dfile.c40 } else if (file_inode(origin_file) == inode) { in epfs_set_origin_fd()
46 fsstack_copy_attr_all(inode, file_inode(origin_file)); in epfs_set_origin_fd()
47 fsstack_copy_inode_size(inode, file_inode(origin_file)); in epfs_set_origin_fd()
196 struct inode *inode = file_inode(file); in epfs_read()
222 file_size = i_size_read(file_inode(origin_file)); in epfs_read()
/kernel/linux/linux-5.10/fs/proc/
Dinode.c244 pde->proc_ops->proc_release(file_inode(file), file); in close_pdeo()
288 struct proc_dir_entry *pde = PDE(file_inode(file)); in proc_reg_llseek()
302 struct proc_dir_entry *pde = PDE(file_inode(iocb->ki_filp)); in proc_reg_read_iter()
327 struct proc_dir_entry *pde = PDE(file_inode(file)); in proc_reg_read()
351 struct proc_dir_entry *pde = PDE(file_inode(file)); in proc_reg_write()
375 struct proc_dir_entry *pde = PDE(file_inode(file)); in proc_reg_poll()
399 struct proc_dir_entry *pde = PDE(file_inode(file)); in proc_reg_unlocked_ioctl()
424 struct proc_dir_entry *pde = PDE(file_inode(file)); in proc_reg_compat_ioctl()
448 struct proc_dir_entry *pde = PDE(file_inode(file)); in proc_reg_mmap()
482 struct proc_dir_entry *pde = PDE(file_inode(file)); in proc_reg_get_unmapped_area()
/kernel/linux/linux-5.10/arch/x86/kernel/
Dmsr.c59 int cpu = iminor(file_inode(file)); in msr_read()
117 int cpu = iminor(file_inode(file)); in msr_write()
155 int cpu = iminor(file_inode(file)); in msr_ioctl()
211 unsigned int cpu = iminor(file_inode(file)); in msr_open()
/kernel/linux/linux-5.10/arch/powerpc/kernel/
Dproc_powerpc.c28 PDE_DATA(file_inode(file)), PAGE_SIZE); in page_map_read()
37 __pa(PDE_DATA(file_inode(file))) >> PAGE_SHIFT, in page_map_mmap()
/kernel/linux/linux-5.10/fs/9p/
Dvfs_file.c119 struct inode *inode = file_inode(filp); in v9fs_file_lock()
178 v9ses = v9fs_inode2v9ses(file_inode(filp)); in v9fs_file_do_lock()
308 struct inode *inode = file_inode(filp); in v9fs_file_lock_dotl()
344 struct inode *inode = file_inode(filp); in v9fs_file_flock_dotl()
425 struct inode *inode = file_inode(file); in v9fs_file_write_iter()
515 inode = file_inode(filp); in v9fs_mmap_file_mmap()
551 struct inode *inode = file_inode(filp); in v9fs_vm_page_mkwrite()
626 inode = file_inode(vma->vm_file); in v9fs_mmap_vm_close()
/kernel/linux/linux-5.10/fs/sharefs/
Dfile.c25 file_inode(lower_file)); in sharefs_readdir()
183 file_inode(lower_file)); in sharefs_read_iter()
212 file_inode(lower_file)); in sharefs_write_iter()
214 file_inode(lower_file)); in sharefs_write_iter()
/kernel/linux/linux-5.10/drivers/misc/habanalabs/common/
Ddebugfs.c697 struct hl_dbg_device_entry *entry = file_inode(f)->i_private; in hl_data_read32()
732 struct hl_dbg_device_entry *entry = file_inode(f)->i_private; in hl_data_write32()
766 struct hl_dbg_device_entry *entry = file_inode(f)->i_private; in hl_data_read64()
796 struct hl_dbg_device_entry *entry = file_inode(f)->i_private; in hl_data_write64()
825 struct hl_dbg_device_entry *entry = file_inode(f)->i_private; in hl_get_power_state()
849 struct hl_dbg_device_entry *entry = file_inode(f)->i_private; in hl_set_power_state()
879 struct hl_dbg_device_entry *entry = file_inode(f)->i_private; in hl_i2c_data_read()
907 struct hl_dbg_device_entry *entry = file_inode(f)->i_private; in hl_i2c_data_write()
931 struct hl_dbg_device_entry *entry = file_inode(f)->i_private; in hl_led0_write()
950 struct hl_dbg_device_entry *entry = file_inode(f)->i_private; in hl_led1_write()
[all …]

12345678910>>...16