Home
last modified time | relevance | path

Searched defs:inode (Results 1 – 25 of 1323) sorted by relevance

12345678910>>...53

/linux/fs/
H A Dinode.c213 static int no_open(struct inode *inode, struct file *file) in no_open()
228 int inode_init_always_gfp(struct super_block *sb, struct inode *inode, gfp_t gfp) in inode_init_always_gfp()
316 void free_inode_nonrcu(struct inode *inode) in free_inode_nonrcu()
324 struct inode *inode = container_of(head, struct inode, i_rcu); in i_callback() local
344 struct inode *inode; in alloc_inode() local
368 void __destroy_inode(struct inode *inode) in __destroy_inode()
390 static void destroy_inode(struct inode *inode) in destroy_inode()
416 void drop_nlink(struct inode *inode) in drop_nlink()
433 void clear_nlink(struct inode *inode) in clear_nlink()
450 void set_nlink(struct inode *inode, unsigned int nlink) in set_nlink()
[all …]
H A Dfs-writeback.c114 static bool inode_io_list_move_locked(struct inode *inode, in inode_io_list_move_locked()
275 void __inode_attach_wb(struct inode *inode, struct folio *folio) in __inode_attach_wb()
313 static void inode_cgwb_move_to_attached(struct inode *inode, in inode_cgwb_move_to_attached()
337 locked_inode_to_wb_and_lock_list(struct inode *inode) in locked_inode_to_wb_and_lock_list()
374 static struct bdi_writeback *inode_to_wb_and_lock_list(struct inode *inode) in inode_to_wb_and_lock_list()
406 static bool inode_do_switch_wbs(struct inode *inode, in inode_do_switch_wbs()
598 static bool inode_prepare_wbs_switch(struct inode *inode, in inode_prepare_wbs_switch()
642 static void inode_switch_wbs(struct inode *inode, int new_wb_id) in inode_switch_wbs()
697 struct inode *inode; in isw_prepare_wbs_switch() local
784 struct inode *inode) in wbc_attach_and_unlock_inode()
[all …]
/linux/fs/nfs/
H A Dinode.c109 int nfs_drop_inode(struct inode *inode) in nfs_drop_inode()
115 void nfs_clear_inode(struct inode *inode) in nfs_clear_inode()
128 void nfs_evict_inode(struct inode *inode) in nfs_evict_inode()
135 int nfs_sync_inode(struct inode *inode) in nfs_sync_inode()
157 static int nfs_attribute_timeout(struct inode *inode) in nfs_attribute_timeout()
164 static bool nfs_check_cache_flags_invalid(struct inode *inode, in nfs_check_cache_flags_invalid()
172 bool nfs_check_cache_invalid(struct inode *inode, unsigned long flags) in nfs_check_cache_invalid()
192 void nfs_set_cache_invalid(struct inode *inode, unsigned long flags) in nfs_set_cache_invalid()
229 static void nfs_zap_caches_locked(struct inode *inode) in nfs_zap_caches_locked()
253 void nfs_zap_caches(struct inode *inode) in nfs_zap_caches()
[all …]
H A Dio.c34 nfs_start_io_read(struct inode *inode) in nfs_start_io_read()
65 nfs_end_io_read(struct inode *inode) in nfs_end_io_read()
78 nfs_start_io_write(struct inode *inode) in nfs_start_io_write()
97 nfs_end_io_write(struct inode *inode) in nfs_end_io_write()
104 static void nfs_block_buffered(struct nfs_inode *nfsi, struct inode *inode) in nfs_block_buffered()
129 nfs_start_io_direct(struct inode *inode) in nfs_start_io_direct()
160 nfs_end_io_direct(struct inode *inode) in nfs_end_io_direct()
H A Dfile.c63 nfs_file_open(struct inode *inode, struct file *filp) in nfs_file_open()
81 nfs_file_release(struct inode *inode, struct file *filp) in nfs_file_release()
103 static int nfs_revalidate_file_size(struct inode *inode, struct file *filp) in nfs_revalidate_file_size()
126 struct inode *inode = filp->f_mapping->host; in nfs_file_llseek() local
143 struct inode *inode = file_inode(file); in nfs_file_flush() local
161 struct inode *inode = file_inode(iocb->ki_filp); in nfs_file_read() local
192 struct inode *inode = file_inode(in); in nfs_file_splice_read() local
216 struct inode *inode = file_inode(file); in nfs_file_mmap_prepare() local
241 struct inode *inode = file_inode(file); in nfs_file_fsync_commit() local
257 struct inode *inode = file_inode(file); in nfs_file_fsync() local
[all …]
H A Ddelegation.c114 struct nfs_delegation *nfs4_get_valid_delegation(const struct inode *inode) in nfs4_get_valid_delegation()
128 static int nfs4_do_check_delegation(struct inode *inode, fmode_t type, in nfs4_do_check_delegation()
157 int nfs4_have_delegation(struct inode *inode, fmode_t type, int flags) in nfs4_have_delegation()
168 int nfs4_check_delegation(struct inode *inode, fmode_t type) in nfs4_check_delegation()
175 struct inode *inode = state->inode; in nfs_delegation_claim_locks() local
205 static int nfs_delegation_claim_opens(struct inode *inode, in nfs_delegation_claim_opens()
255 void nfs_inode_reclaim_delegation(struct inode *inode, const struct cred *cred, in nfs_inode_reclaim_delegation()
294 static int nfs_do_return_delegation(struct inode *inode, in nfs_do_return_delegation()
314 struct inode *inode = NULL; in nfs_delegation_grab_inode() local
434 int nfs_inode_set_delegation(struct inode *inode, const struct cred *cred, in nfs_inode_set_delegation()
[all …]
/linux/include/linux/
H A Dfs.h600 #define i_size_ordered_init(inode) seqcount_init(&inode->i_size_seqcount) argument
602 #define i_size_ordered_init(inode) do { } while (0) argument
766 struct inode { struct
777 const struct inode_operations *i_op; argument
792 * inode_(inc|dec)_link_count argument
794 union {
818 struct inode_state_flags i_state; argument
830 /* foreign inode detection, see wbc_detach_inode() */ argument
835 struct list_head i_lru; /* inode LRU list */ argument
852 void (*free_inode)(struct inode *); argument
[all …]
H A Dquotaops.h24 struct inode *inode, struct iattr *ia) in is_quota_modification()
216 static inline int dquot_initialize(struct inode *inode) in dquot_initialize()
221 static inline bool dquot_initialize_needed(struct inode *inode) in dquot_initialize_needed()
226 static inline void dquot_drop(struct inode *inode) in dquot_drop()
230 static inline int dquot_alloc_inode(struct inode *inode) in dquot_alloc_inode()
235 static inline void dquot_free_inode(struct inode *inode) in dquot_free_inode()
240 struct inode *inode, struct iattr *iattr) in dquot_transfer()
245 static inline int __dquot_alloc_space(struct inode *inode, qsize_t number, in __dquot_alloc_space()
253 static inline void __dquot_free_space(struct inode *inode, qsize_t number, in __dquot_free_space()
260 static inline void dquot_claim_space_nodirty(struct inode *inode, qsize_t number) in dquot_claim_space_nodirty()
[all …]
H A Diversion.h111 inode_set_iversion_raw(struct inode *inode, u64 val) in inode_set_iversion_raw()
128 inode_peek_iversion_raw(const struct inode *inode) in inode_peek_iversion_raw()
142 inode_set_max_iversion_raw(struct inode *inode, u64 val) in inode_set_max_iversion_raw()
165 inode_set_iversion(struct inode *inode, u64 val) in inode_set_iversion()
187 inode_set_iversion_queried(struct inode *inode, u64 val) in inode_set_iversion_queried()
203 inode_inc_iversion(struct inode *inode) in inode_inc_iversion()
216 inode_iversion_need_inc(struct inode *inode) in inode_iversion_need_inc()
233 inode_inc_iversion_raw(struct inode *inode) in inode_inc_iversion_raw()
250 inode_peek_iversion(const struct inode *inode) in inode_peek_iversion()
279 inode_eq_iversion_raw(const struct inode *inode, u64 old) in inode_eq_iversion_raw()
[all …]
H A Dfscrypt.h210 fscrypt_inode_info_addr(const struct inode *inode) in fscrypt_inode_info_addr()
224 fscrypt_get_inode_info_raw(const struct inode *inode) in fscrypt_get_inode_info_raw()
233 fscrypt_get_inode_info(const struct inode *inode) in fscrypt_get_inode_info()
255 static inline bool fscrypt_needs_contents_encryption(const struct inode *inode) in fscrypt_needs_contents_encryption()
487 fscrypt_get_inode_info(const struct inode *inode) in fscrypt_get_inode_info()
492 static inline bool fscrypt_needs_contents_encryption(const struct inode *inode) in fscrypt_needs_contents_encryption()
522 static inline int fscrypt_encrypt_block_inplace(const struct inode *inode, in fscrypt_encrypt_block_inplace()
536 static inline int fscrypt_decrypt_block_inplace(const struct inode *inode, in fscrypt_decrypt_block_inplace()
600 static inline int fscrypt_set_context(struct inode *inode, void *fs_data) in fscrypt_set_context()
669 struct inode *inode, in fscrypt_prepare_new_inode()
[all …]
H A Dbacking-dev.h160 static inline bool inode_cgwb_enabled(struct inode *inode) in inode_cgwb_enabled()
236 static inline struct bdi_writeback *inode_to_wb(const struct inode *inode) in inode_to_wb()
249 struct inode *inode, in inode_to_wb_wbc()
275 unlocked_inode_to_wb_begin(struct inode *inode, struct wb_lock_cookie *cookie) in unlocked_inode_to_wb_begin()
301 static inline void unlocked_inode_to_wb_end(struct inode *inode, in unlocked_inode_to_wb_end()
312 static inline bool inode_cgwb_enabled(struct inode *inode) in inode_cgwb_enabled()
328 static inline struct bdi_writeback *inode_to_wb(struct inode *inode) in inode_to_wb()
334 struct inode *inode, in inode_to_wb_wbc()
342 unlocked_inode_to_wb_begin(struct inode *inode, struct wb_lock_cookie *cookie) in unlocked_inode_to_wb_begin()
347 static inline void unlocked_inode_to_wb_end(struct inode *inode, in unlocked_inode_to_wb_end()
/linux/fs/nilfs2/
H A Dalloc.c28 nilfs_palloc_groups_per_desc_block(const struct inode *inode) in nilfs_palloc_groups_per_desc_block()
41 nilfs_palloc_groups_count(const struct inode *inode) in nilfs_palloc_groups_count()
53 int nilfs_palloc_init_blockgroup(struct inode *inode, unsigned int entry_size) in nilfs_palloc_init_blockgroup()
91 static unsigned long nilfs_palloc_group(const struct inode *inode, __u64 nr, in nilfs_palloc_group()
109 nilfs_palloc_desc_blkoff(const struct inode *inode, unsigned long group) in nilfs_palloc_desc_blkoff()
128 nilfs_palloc_bitmap_blkoff(const struct inode *inode, unsigned long group) in nilfs_palloc_bitmap_blkoff()
186 nilfs_palloc_entry_blkoff(const struct inode *inode, __u64 nr) in nilfs_palloc_entry_blkoff()
204 static void nilfs_palloc_desc_block_init(struct inode *inode, in nilfs_palloc_desc_block_init()
218 static int nilfs_palloc_get_block(struct inode *inode, unsigned long blkoff, in nilfs_palloc_get_block()
220 void (*init_block)(struct inode *, in nilfs_palloc_get_block()
[all …]
H A Dmdt.c30 nilfs_mdt_insert_new_block(struct inode *inode, unsigned long block, in nilfs_mdt_insert_new_block()
32 void (*init_block)(struct inode *, in nilfs_mdt_insert_new_block()
69 static int nilfs_mdt_create_block(struct inode *inode, unsigned long block, in nilfs_mdt_create_block()
71 void (*init_block)(struct inode *, in nilfs_mdt_create_block()
116 nilfs_mdt_submit_block(struct inode *inode, unsigned long blkoff, blk_opf_t opf, in nilfs_mdt_submit_block()
170 static int nilfs_mdt_read_block(struct inode *inode, unsigned long block, in nilfs_mdt_read_block()
245 int nilfs_mdt_get_block(struct inode *inode, unsigned long blkoff, int create, in nilfs_mdt_get_block()
246 void (*init_block)(struct inode *, in nilfs_mdt_get_block()
285 int nilfs_mdt_find_block(struct inode *inode, unsigned long start, in nilfs_mdt_find_block()
328 int nilfs_mdt_delete_block(struct inode *inode, unsigned long block) in nilfs_mdt_delete_block()
[all …]
H A Dinode.c43 void nilfs_inode_add_blocks(struct inode *inode, int n) in nilfs_inode_add_blocks()
52 void nilfs_inode_sub_blocks(struct inode *inode, int n) in nilfs_inode_sub_blocks()
74 int nilfs_get_block(struct inode *inode, sector_t blkoff, in nilfs_get_block()
162 struct inode *inode = mapping->host; in nilfs_writepages() local
180 struct inode *inode = mapping->host; in nilfs_dirty_folio() local
213 struct inode *inode = mapping->host; in nilfs_write_failed() local
227 struct inode *inode = mapping->host; in nilfs_write_begin() local
246 struct inode *inode = mapping->host; in nilfs_write_end() local
263 struct inode *inode = file_inode(iocb->ki_filp); in nilfs_direct_IO() local
289 static int nilfs_insert_inode_locked(struct inode *inode, in nilfs_insert_inode_locked()
[all …]
/linux/fs/ceph/
H A Dcache.h34 static inline void ceph_fscache_resize(struct inode *inode, loff_t to) in ceph_fscache_resize()
46 static inline int ceph_fscache_unpin_writeback(struct inode *inode, in ceph_fscache_unpin_writeback()
54 static inline bool ceph_is_cache_enabled(struct inode *inode) in ceph_is_cache_enabled()
70 static inline void ceph_fscache_register_inode_cookie(struct inode *inode) in ceph_fscache_register_inode_cookie()
78 static inline void ceph_fscache_use_cookie(struct inode *inode, bool will_modify) in ceph_fscache_use_cookie()
82 static inline void ceph_fscache_unuse_cookie(struct inode *inode, bool update) in ceph_fscache_unuse_cookie()
86 static inline void ceph_fscache_update(struct inode *inode) in ceph_fscache_update()
90 static inline void ceph_fscache_invalidate(struct inode *inode, bool dio_write) in ceph_fscache_invalidate()
99 static inline void ceph_fscache_resize(struct inode *inode, loff_t to) in ceph_fscache_resize()
103 static inline int ceph_fscache_unpin_writeback(struct inode *inode, in ceph_fscache_unpin_writeback()
[all …]
H A Dio.c22 static void ceph_block_o_direct(struct ceph_inode_info *ci, struct inode *inode) in ceph_block_o_direct()
59 int ceph_start_io_read(struct inode *inode) in ceph_start_io_read()
98 ceph_end_io_read(struct inode *inode) in ceph_end_io_read()
110 int ceph_start_io_write(struct inode *inode) in ceph_start_io_write()
126 ceph_end_io_write(struct inode *inode) in ceph_end_io_write()
132 static void ceph_block_buffered(struct ceph_inode_info *ci, struct inode *inode) in ceph_block_buffered()
171 int ceph_start_io_direct(struct inode *inode) in ceph_start_io_direct()
210 ceph_end_io_direct(struct inode *inode) in ceph_end_io_direct()
/linux/fs/ext4/
H A Dfile.c58 struct inode *inode = file_inode(iocb->ki_filp); in ext4_should_use_dio() local
73 struct inode *inode = file_inode(iocb->ki_filp); in ext4_dio_read_iter() local
105 struct inode *inode = file_inode(iocb->ki_filp); in ext4_dax_read_iter() local
133 struct inode *inode = file_inode(iocb->ki_filp); in ext4_file_read_iter() local
155 struct inode *inode = file_inode(in); in ext4_file_splice_read() local
167 static int ext4_release_file(struct inode *inode, struct file *filp) in ext4_release_file()
197 ext4_unaligned_io(struct inode *inode, struct iov_iter *from, loff_t pos) in ext4_unaligned_io()
209 ext4_extending_io(struct inode *inode, loff_t offset, size_t len) in ext4_extending_io()
218 static bool ext4_overwrite_io(struct inode *inode, in ext4_overwrite_io()
247 struct inode *inode = file_inode(iocb->ki_filp); in ext4_generic_write_checks() local
[all …]
H A Dextents.c48 static __le32 ext4_extent_block_csum(struct inode *inode, in ext4_extent_block_csum()
59 static int ext4_extent_block_csum_verify(struct inode *inode, in ext4_extent_block_csum_verify()
73 static void ext4_extent_block_csum_set(struct inode *inode, in ext4_extent_block_csum_set()
90 static int ext4_ext_trunc_restart_fn(struct inode *inode, int *dropped) in ext4_ext_trunc_restart_fn()
138 int ext4_datasem_ensure_credits(handle_t *handle, struct inode *inode, in ext4_datasem_ensure_credits()
157 static int ext4_ext_get_access(handle_t *handle, struct inode *inode, in ext4_ext_get_access()
188 handle_t *handle, struct inode *inode, in __ext4_ext_dirty()
212 #define ext4_ext_dirty(handle, inode, path) \ argument
215 static ext4_fsblk_t ext4_ext_find_goal(struct inode *inode, in ext4_ext_find_goal()
265 ext4_ext_new_meta_block(handle_t *handle, struct inode *inode, in ext4_ext_new_meta_block()
[all …]
/linux/fs/netfs/
H A Dlocking.c22 static int netfs_inode_dio_wait_interruptible(struct inode *inode) in netfs_inode_dio_wait_interruptible()
56 int netfs_start_io_read(struct inode *inode) in netfs_start_io_read()
87 void netfs_end_io_read(struct inode *inode) in netfs_end_io_read()
101 int netfs_start_io_write(struct inode *inode) in netfs_start_io_write()
124 void netfs_end_io_write(struct inode *inode) in netfs_end_io_write()
132 static int netfs_block_buffered(struct inode *inode) in netfs_block_buffered()
167 int netfs_start_io_direct(struct inode *inode) in netfs_start_io_direct()
200 void netfs_end_io_direct(struct inode *inode) in netfs_end_io_direct()
/linux/fs/ocfs2/
H A Dfile.c53 static int ocfs2_init_file_private(struct inode *inode, struct file *file) in ocfs2_init_file_private()
69 static void ocfs2_free_file_private(struct inode *inode, struct file *file) in ocfs2_free_file_private()
82 static int ocfs2_file_open(struct inode *inode, struct file *file) in ocfs2_file_open()
134 static int ocfs2_file_release(struct inode *inode, struct file *file) in ocfs2_file_release()
154 static int ocfs2_dir_open(struct inode *inode, struct file *file) in ocfs2_dir_open()
159 static int ocfs2_dir_release(struct inode *inode, struct file *file) in ocfs2_dir_release()
169 struct inode *inode = file->f_mapping->host; in ocfs2_sync_file() local
207 int ocfs2_should_update_atime(struct inode *inode, in ocfs2_should_update_atime()
254 int ocfs2_update_inode_atime(struct inode *inode, in ocfs2_update_inode_atime()
294 struct inode *inode, in ocfs2_set_inode_size()
[all …]
/linux/fs/udf/
H A Dinode.c70 static void __udf_clear_extent_cache(struct inode *inode) in __udf_clear_extent_cache()
81 static void udf_clear_extent_cache(struct inode *inode) in udf_clear_extent_cache()
91 static int udf_read_extent_cache(struct inode *inode, loff_t bcount, in udf_read_extent_cache()
113 static void udf_update_extent_cache(struct inode *inode, loff_t estart, in udf_update_extent_cache()
136 void udf_evict_inode(struct inode *inode) in udf_evict_inode()
169 struct inode *inode = mapping->host; in udf_write_failed() local
187 struct inode *inode = mapping->host; in udf_adinicb_writepages() local
207 struct inode *inode = mapping->host; in udf_writepages() local
217 struct inode *inode = folio->mapping->host; in udf_adinicb_read_folio() local
285 struct inode *inode = file_inode(iocb->ki_filp); in udf_write_end() local
[all …]
/linux/fs/zonefs/
H A Dfile.c27 static int zonefs_read_iomap_begin(struct inode *inode, loff_t offset, in zonefs_read_iomap_begin()
64 static int zonefs_write_iomap_begin(struct inode *inode, loff_t offset, in zonefs_write_iomap_begin()
173 struct inode *inode = file_inode(swap_file); in zonefs_swap_activate() local
198 int zonefs_file_truncate(struct inode *inode, loff_t isize) in zonefs_file_truncate()
271 struct inode *inode = file_inode(file); in zonefs_file_fsync() local
294 struct inode *inode = file_inode(vmf->vma->vm_file); in zonefs_filemap_page_mkwrite() local
361 struct inode *inode = file_inode(iocb->ki_filp); in zonefs_file_write_dio_end_io() local
404 struct inode *inode = file_inode(file); in zonefs_write_check_limits() local
429 struct inode *inode = file_inode(file); in zonefs_write_checks() local
472 struct inode *inode = file_inode(iocb->ki_filp); in zonefs_file_dio_write() local
[all …]
/linux/fs/btrfs/
H A Dverity.c85 static loff_t merkle_file_pos(const struct inode *inode) in merkle_file_pos()
108 static int drop_verity_items(struct btrfs_inode *inode, u8 key_type) in drop_verity_items()
182 int btrfs_drop_verity_items(struct btrfs_inode *inode) in btrfs_drop_verity_items()
211 static int write_key_bytes(struct btrfs_inode *inode, u8 key_type, u64 offset, in write_key_bytes()
288 static int read_key_bytes(struct btrfs_inode *inode, u8 key_type, u64 offset, in read_key_bytes()
416 static int del_orphan(struct btrfs_trans_handle *trans, struct btrfs_inode *inode) in del_orphan()
448 static int rollback_verity(struct btrfs_inode *inode) in rollback_verity()
514 static int finish_verity(struct btrfs_inode *inode, const void *desc, in finish_verity()
571 struct btrfs_inode *inode = BTRFS_I(file_inode(filp)); in btrfs_begin_enable_verity() local
623 struct btrfs_inode *inode = BTRFS_I(file_inode(filp)); in btrfs_end_enable_verity() local
[all …]
H A Dinode.c215 static void print_data_reloc_error(const struct btrfs_inode *inode, u64 file_off, in print_data_reloc_error()
311 static void __cold btrfs_print_data_csum_error(struct btrfs_inode *inode, in btrfs_print_data_csum_error()
352 int btrfs_inode_lock(struct btrfs_inode *inode, unsigned int ilock_flags) in btrfs_inode_lock()
382 void btrfs_inode_unlock(struct btrfs_inode *inode, unsigned int ilock_flags) in btrfs_inode_unlock()
402 static inline void btrfs_cleanup_ordered_extents(struct btrfs_inode *inode, in btrfs_cleanup_ordered_extents()
461 struct btrfs_inode *inode, bool extent_inserted, in insert_inline_extent()
568 static bool can_cow_file_range_inline(struct btrfs_inode *inode, in can_cow_file_range_inline()
626 static noinline int __cow_file_range_inline(struct btrfs_inode *inode, in __cow_file_range_inline()
706 static noinline int cow_file_range_inline(struct btrfs_inode *inode, in cow_file_range_inline()
763 struct btrfs_inode *inode; member
[all …]
/linux/fs/ext2/
H A Dinode.c48 static inline int ext2_inode_is_fast_symlink(struct inode *inode) in ext2_inode_is_fast_symlink()
61 struct inode *inode = mapping->host; in ext2_write_failed() local
72 void ext2_evict_inode(struct inode * inode) in ext2_evict_inode()
163 static int ext2_block_to_path(struct inode *inode, in ext2_block_to_path()
234 static Indirect *ext2_get_branch(struct inode *inode, in ext2_get_branch()
294 static ext2_fsblk_t ext2_find_near(struct inode *inode, Indirect *ind) in ext2_find_near()
330 static inline ext2_fsblk_t ext2_find_goal(struct inode *inode, long block, in ext2_find_goal()
399 static int ext2_alloc_blocks(struct inode *inode, in ext2_alloc_blocks()
479 static int ext2_alloc_branch(struct inode *inode, in ext2_alloc_branch()
561 static void ext2_splice_branch(struct inode *inode, in ext2_splice_branch()
[all …]

12345678910>>...53