Home
last modified time | relevance | path

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

12345678910>>...17

/linux-6.6.21/fs/overlayfs/
Dfile.c43 struct inode *inode = file_inode(file); in ovl_open_realfile()
79 struct inode *inode = file_inode(file); in ovl_change_flags()
128 if (unlikely(file_inode(real->file) != d_inode(realpath.dentry))) { in ovl_real_fdget_meta()
195 struct inode *inode = file_inode(file); in ovl_llseek()
246 inode = file_inode(file); in ovl_file_accessed()
293 struct inode *inode = file_inode(orig_iocb->ki_filp); in ovl_aio_cleanup_handler()
332 old_cred = ovl_override_creds(file_inode(file)->i_sb); in ovl_read_iter()
365 struct inode *inode = file_inode(file); in ovl_write_iter()
399 old_cred = ovl_override_creds(file_inode(file)->i_sb); in ovl_write_iter()
449 old_cred = ovl_override_creds(file_inode(in)->i_sb); in ovl_splice_read()
[all …]
/linux-6.6.21/fs/ext2/
Dtrace.h25 __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-6.6.21/fs/orangefs/
Dfile.c329 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-6.6.21/fs/cachefiles/
Dio.c48 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()
155 trace_cachefiles_read(object, file_inode(file), ki->iocb.ki_pos, len - skipped); 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()
295 file, file_inode(file)->i_ino, start_pos, len, in __cachefiles_write()
296 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 …]
Dinterface.c126 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()
Dxattr.c71 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()
/linux-6.6.21/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()
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.6.21/fs/ceph/
Dioctl.c20 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()
275 struct ceph_mds_client *mdsc = ceph_sb_to_mdsc(file_inode(file)->i_sb); in vet_mds_for_fscrypt()
294 struct inode *inode = file_inode(file); in ceph_set_encryption_policy()
/linux-6.6.21/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()
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 …]
Dnfs4file.c112 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()
Dfile.c141 struct inode *inode = file_inode(file); in nfs_file_flush()
159 struct inode *inode = file_inode(iocb->ki_filp); in nfs_file_read()
185 struct inode *inode = file_inode(in); in nfs_file_splice_read()
205 struct inode *inode = file_inode(file); in nfs_file_mmap()
230 struct inode *inode = file_inode(file); in nfs_file_fsync_commit()
246 struct inode *inode = file_inode(file); in nfs_file_fsync()
322 if (pnfs_ld_read_whole_page(file_inode(file))) in nfs_want_read_modify_write()
515 struct inode *inode = file_inode(file); in nfs_swap_activate()
548 struct inode *inode = file_inode(file); in nfs_swap_deactivate()
554 cl->rpc_ops->disable_swap(file_inode(file)); in nfs_swap_deactivate()
[all …]
/linux-6.6.21/fs/zonefs/
Dfile.c162 struct inode *inode = file_inode(swap_file); in zonefs_swap_activate()
260 struct inode *inode = file_inode(file); in zonefs_file_fsync()
283 struct inode *inode = file_inode(vmf->vma->vm_file); in zonefs_filemap_page_mkwrite()
322 if (zonefs_inode_is_seq(file_inode(file)) && in zonefs_file_mmap()
334 loff_t isize = i_size_read(file_inode(file)); in zonefs_file_llseek()
347 struct inode *inode = file_inode(iocb->ki_filp); in zonefs_file_write_dio_end_io()
390 struct inode *inode = file_inode(file); in zonefs_write_check_limits()
415 struct inode *inode = file_inode(file); in zonefs_write_checks()
458 struct inode *inode = file_inode(iocb->ki_filp); in zonefs_file_dio_write()
544 struct inode *inode = file_inode(iocb->ki_filp); in zonefs_file_buffered_write()
[all …]
/linux-6.6.21/fs/coda/
Dfile.c44 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()
85 coda_inode->i_size = file_inode(host_file)->i_size; in coda_file_write_iter()
103 struct inode *coda_inode = file_inode(coda_file); in coda_file_splice_read()
155 struct inode *coda_inode = file_inode(coda_file); in coda_file_mmap()
158 struct inode *host_inode = file_inode(host_file); in coda_file_mmap()
276 host_inode = file_inode(cfi->cfi_container); in coda_release()
300 struct inode *coda_inode = file_inode(coda_file); in coda_fsync()
/linux-6.6.21/fs/ext4/
Dfile.c57 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()
426 struct inode *inode = file_inode(file); in ext4_dio_write_checks()
502 struct inode *inode = file_inode(iocb->ki_filp); in ext4_dio_write_iter()
[all …]
/linux-6.6.21/fs/ocfs2/
Dmmap.c51 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.6.21/fs/
Dremap_range.c276 struct inode *inode_in = file_inode(file_in); in __generic_remap_file_range_prep()
277 struct inode *inode_out = file_inode(file_out); in __generic_remap_file_range_prep()
378 if (file_inode(file_in)->i_sb != file_inode(file_out)->i_sb) in do_clone_file_range()
426 struct inode *inode = file_inode(file); in allow_file_dedupe()
469 if (file_inode(src_file)->i_sb != file_inode(dst_file)->i_sb) in vfs_dedupe_file_range_one()
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()
/linux-6.6.21/fs/xfs/
Dxfs_file.c205 struct xfs_inode *ip = XFS_I(file_inode(iocb->ki_filp)); in xfs_ilock_iocb()
223 struct xfs_inode *ip = XFS_I(file_inode(iocb->ki_filp)); in xfs_ilock_iocb_for_write()
259 struct xfs_inode *ip = XFS_I(file_inode(iocb->ki_filp)); in xfs_file_dio_read()
306 struct xfs_inode *ip = XFS_I(file_inode(iocb->ki_filp)); in xfs_file_buffered_read()
325 struct inode *inode = file_inode(iocb->ki_filp); in xfs_file_read_iter()
354 struct inode *inode = file_inode(in); in xfs_file_splice_read()
495 struct inode *inode = file_inode(iocb->ki_filp); in xfs_dio_write_end_io()
711 struct xfs_inode *ip = XFS_I(file_inode(iocb->ki_filp)); in xfs_file_dio_write()
928 struct xfs_inode *ip = XFS_I(file_inode(filp)); in xfs_file_sync_writes()
934 if (IS_SYNC(file_inode(filp))) in xfs_file_sync_writes()
[all …]
/linux-6.6.21/fs/xfs/scrub/
Dxfile.c89 inode = file_inode(xf->file); in xfile_create()
111 struct inode *inode = file_inode(xf->file); in xfile_destroy()
133 struct inode *inode = file_inode(xf->file); in xfile_pread()
210 struct inode *inode = file_inode(xf->file); in xfile_pwrite()
325 struct inode *inode = file_inode(xf->file); in xfile_get_page()
397 struct inode *inode = file_inode(xf->file); in xfile_put_page()
/linux-6.6.21/kernel/bpf/
Dbpf_inode_storage.c86 sdata = inode_storage_lookup(file_inode(f.file), map, true); in bpf_fd_inode_storage_lookup_elem()
99 if (!inode_storage_ptr(file_inode(f.file))) { in bpf_fd_inode_storage_update_elem()
104 sdata = bpf_local_storage_update(file_inode(f.file), in bpf_fd_inode_storage_update_elem()
132 err = inode_storage_delete(file_inode(f.file), map); in bpf_fd_inode_storage_delete_elem()
/linux-6.6.21/fs/iomap/
Dtrace.h208 __entry->dev = file_inode(iocb->ki_filp)->i_sb->s_dev;
209 __entry->ino = file_inode(iocb->ki_filp)->i_ino;
210 __entry->isize = file_inode(iocb->ki_filp)->i_size;
244 __entry->dev = file_inode(iocb->ki_filp)->i_sb->s_dev;
245 __entry->ino = file_inode(iocb->ki_filp)->i_ino;
246 __entry->isize = file_inode(iocb->ki_filp)->i_size;
/linux-6.6.21/fs/f2fs/
Dfile.c41 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()
387 if (unlikely(f2fs_cp_error(F2FS_I_SB(file_inode(file))))) in f2fs_sync_file()
519 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()
2045 struct inode *inode = file_inode(filp); in f2fs_ioc_getversion()
2052 struct inode *inode = file_inode(filp); in f2fs_ioc_start_atomic_write()
2160 struct inode *inode = file_inode(filp); in f2fs_ioc_commit_atomic_write()
2192 struct inode *inode = file_inode(filp); in f2fs_ioc_abort_atomic_write()
[all …]
/linux-6.6.21/fs/ecryptfs/
Dfile.c130 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-6.6.21/fs/proc/
Dinode.c248 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.6.21/fs/9p/
Dvfs_file.c106 struct inode *inode = file_inode(filp); in v9fs_file_lock()
160 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()
428 struct inode *inode = file_inode(file); in v9fs_file_write_iter()
502 struct inode *inode = file_inode(filp); in v9fs_file_mmap()
524 struct inode *inode = file_inode(filp); in v9fs_vm_page_mkwrite()
572 inode = file_inode(vma->vm_file); in v9fs_mmap_vm_close()
/linux-6.6.21/arch/x86/kernel/
Dmsr.c58 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()

12345678910>>...17