/kernel/linux/linux-5.10/fs/ |
H A D | inode.c | 4 * (C) 1999 Andrea Arcangeli <andrea@suse.de> (dynamic inode allocation) 31 * inode->i_lock protects: 32 * inode->i_state, inode->i_hash, __iget() 34 * inode->i_sb->s_inode_lru, inode->i_lru 35 * inode->i_sb->s_inode_list_lock protects: 36 * inode->i_sb->s_inodes, inode->i_sb_list 38 * bdi->wb.b_{dirty,io,more_io,dirty_time}, inode 120 no_open(struct inode *inode, struct file *file) no_open() argument 133 inode_init_always(struct super_block *sb, struct inode *inode) inode_init_always() argument 213 free_inode_nonrcu(struct inode *inode) free_inode_nonrcu() argument 221 struct inode *inode = container_of(head, struct inode, i_rcu); i_callback() local 231 struct inode *inode; alloc_inode() local 255 __destroy_inode(struct inode *inode) __destroy_inode() argument 278 destroy_inode(struct inode *inode) destroy_inode() argument 304 drop_nlink(struct inode *inode) drop_nlink() argument 321 clear_nlink(struct inode *inode) clear_nlink() argument 338 set_nlink(struct inode *inode, unsigned int nlink) set_nlink() argument 360 inc_nlink(struct inode *inode) inc_nlink() argument 392 inode_init_once(struct inode *inode) inode_init_once() argument 407 struct inode *inode = (struct inode *) foo; init_once() local 415 __iget(struct inode *inode) __iget() argument 423 ihold(struct inode *inode) ihold() argument 429 inode_lru_list_add(struct inode *inode) inode_lru_list_add() argument 442 inode_add_lru(struct inode *inode) inode_add_lru() argument 451 inode_lru_list_del(struct inode *inode) inode_lru_list_del() argument 458 inode_pin_lru_isolating(struct inode *inode) inode_pin_lru_isolating() argument 465 inode_unpin_lru_isolating(struct inode *inode) inode_unpin_lru_isolating() argument 475 inode_wait_for_lru_isolating(struct inode *inode) inode_wait_for_lru_isolating() argument 495 inode_sb_list_add(struct inode *inode) inode_sb_list_add() argument 503 inode_sb_list_del(struct inode *inode) inode_sb_list_del() argument 530 __insert_inode_hash(struct inode *inode, unsigned long hashval) __insert_inode_hash() argument 548 __remove_inode_hash(struct inode *inode) __remove_inode_hash() argument 558 clear_inode(struct inode *inode) clear_inode() argument 591 evict(struct inode *inode) evict() argument 644 struct inode *inode; dispose_list() local 665 struct inode *inode, *next; evict_inodes() local 716 struct inode *inode, *next; invalidate_inodes() local 775 struct inode *inode = container_of(item, struct inode, i_lru); inode_lru_isolate() local 857 struct inode *inode = NULL; find_inode() local 888 struct inode *inode = NULL; find_inode_fast() local 966 struct inode *inode = alloc_inode(sb); new_inode_pseudo() local 991 struct inode *inode; new_inode() local 1003 lockdep_annotate_inode_mutex_key(struct inode *inode) lockdep_annotate_inode_mutex_key() argument 1030 unlock_new_inode(struct inode *inode) unlock_new_inode() argument 1042 discard_new_inode(struct inode *inode) discard_new_inode() argument 1152 inode_insert5(struct inode *inode, unsigned long hashval, int (*test)(struct inode *, void *), int (*set)(struct inode *, void *), void *data) inode_insert5() argument 1225 struct inode *inode = ilookup5(sb, hashval, test, data); iget5_locked() local 1257 struct inode *inode; iget_locked() local 1325 struct inode *inode; test_inode_iunique() local 1373 igrab(struct inode *inode) igrab() argument 1412 struct inode *inode; ilookup5_nowait() local 1442 struct inode *inode; ilookup5() local 1467 struct inode *inode; ilookup() local 1516 struct inode *inode, *ret_inode = NULL; find_inode_nowait() local 1561 struct inode *inode; find_inode_rcu() local 1599 struct inode *inode; find_inode_by_ino_rcu() local 1614 insert_inode_locked(struct inode *inode) insert_inode_locked() argument 1661 insert_inode_locked4(struct inode *inode, unsigned long hashval, int (*test)(struct inode *, void *), void *data) insert_inode_locked4() argument 1678 generic_delete_inode(struct inode *inode) generic_delete_inode() argument 1694 iput_final(struct inode *inode) iput_final() argument 1746 iput(struct inode *inode) iput() argument 1780 bmap(struct inode *inode, sector_t *block) bmap() argument 1796 relatime_need_update(struct vfsmount *mnt, struct inode *inode, struct timespec64 now) relatime_need_update() argument 1825 generic_update_time(struct inode *inode, struct timespec64 *time, int flags) generic_update_time() argument 1853 inode_update_time(struct inode *inode, struct timespec64 *time, int flags) inode_update_time() argument 1870 atime_needs_update(const struct path *path, struct inode *inode) atime_needs_update() argument 1908 struct inode *inode = d_inode(path->dentry); touch_atime() local 1943 struct inode *inode = d_inode(dentry); dentry_needs_remove_privs() local 1978 struct inode *inode = file_inode(file); file_remove_privs() local 2018 struct inode *inode = file_inode(file); file_update_time() local 2071 inode_needs_sync(struct inode *inode) inode_needs_sync() argument 2092 __wait_on_freeing_inode(struct inode *inode) __wait_on_freeing_inode() argument 2164 init_special_inode(struct inode *inode, umode_t mode, dev_t rdev) init_special_inode() argument 2190 inode_init_owner(struct inode *inode, const struct inode *dir, umode_t mode) inode_init_owner() argument 2213 inode_owner_or_capable(const struct inode *inode) inode_owner_or_capable() argument 2230 __inode_dio_wait(struct inode *inode) __inode_dio_wait() argument 2253 inode_dio_wait(struct inode *inode) inode_dio_wait() argument 2276 inode_set_flags(struct inode *inode, unsigned int flags, unsigned int mask) inode_set_flags() argument 2284 inode_nohighmem(struct inode *inode) inode_nohighmem() argument 2299 timestamp_truncate(struct timespec64 t, struct inode *inode) timestamp_truncate() argument 2331 current_time(struct inode *inode) current_time() argument 2353 vfs_ioc_setflags_prepare(struct inode *inode, unsigned int oldflags, unsigned int flags) vfs_ioc_setflags_prepare() argument 2377 vfs_ioc_fssetxattr_check(struct inode *inode, const struct fsxattr *old_fa, struct fsxattr *fa) vfs_ioc_fssetxattr_check() argument 2439 inode_set_ctime_current(struct inode *inode) inode_set_ctime_current() argument 2459 in_group_or_capable(const struct inode *inode, kgid_t gid) in_group_or_capable() argument [all...] |
/kernel/linux/linux-6.6/fs/ |
H A D | inode.c | 4 * (C) 1999 Andrea Arcangeli <andrea@suse.de> (dynamic inode allocation) 29 * inode->i_lock protects: 30 * inode->i_state, inode->i_hash, __iget(), inode->i_io_list 32 * inode->i_sb->s_inode_lru, inode->i_lru 33 * inode->i_sb->s_inode_list_lock protects: 34 * inode->i_sb->s_inodes, inode 143 no_open(struct inode *inode, struct file *file) no_open() argument 156 inode_init_always(struct super_block *sb, struct inode *inode) inode_init_always() argument 240 free_inode_nonrcu(struct inode *inode) free_inode_nonrcu() argument 248 struct inode *inode = container_of(head, struct inode, i_rcu); i_callback() local 258 struct inode *inode; alloc_inode() local 282 __destroy_inode(struct inode *inode) __destroy_inode() argument 304 destroy_inode(struct inode *inode) destroy_inode() argument 330 drop_nlink(struct inode *inode) drop_nlink() argument 347 clear_nlink(struct inode *inode) clear_nlink() argument 364 set_nlink(struct inode *inode, unsigned int nlink) set_nlink() argument 386 inc_nlink(struct inode *inode) inc_nlink() argument 418 inode_init_once(struct inode *inode) inode_init_once() argument 434 struct inode *inode = (struct inode *) foo; init_once() local 442 __iget(struct inode *inode) __iget() argument 450 ihold(struct inode *inode) ihold() argument 456 __inode_add_lru(struct inode *inode, bool rotate) __inode_add_lru() argument 478 inode_add_lru(struct inode *inode) inode_add_lru() argument 483 inode_lru_list_del(struct inode *inode) inode_lru_list_del() argument 493 inode_sb_list_add(struct inode *inode) inode_sb_list_add() argument 501 inode_sb_list_del(struct inode *inode) inode_sb_list_del() argument 528 __insert_inode_hash(struct inode *inode, unsigned long hashval) __insert_inode_hash() argument 546 __remove_inode_hash(struct inode *inode) __remove_inode_hash() argument 605 clear_inode(struct inode *inode) clear_inode() argument 645 evict(struct inode *inode) evict() argument 694 struct inode *inode; dispose_list() local 715 struct inode *inode, *next; evict_inodes() local 761 struct inode *inode, *next; invalidate_inodes() local 808 struct inode *inode = container_of(item, struct inode, i_lru); inode_lru_isolate() local 897 struct inode *inode = NULL; find_inode() local 928 struct inode *inode = NULL; find_inode_fast() local 1006 struct inode *inode = alloc_inode(sb); new_inode_pseudo() local 1030 struct inode *inode; new_inode() local 1040 lockdep_annotate_inode_mutex_key(struct inode *inode) lockdep_annotate_inode_mutex_key() argument 1067 unlock_new_inode(struct inode *inode) unlock_new_inode() argument 1079 discard_new_inode(struct inode *inode) discard_new_inode() argument 1191 inode_insert5(struct inode *inode, unsigned long hashval, int (*test)(struct inode *, void *), int (*set)(struct inode *, void *), void *data) inode_insert5() argument 1268 struct inode *inode = ilookup5(sb, hashval, test, data); iget5_locked() local 1300 struct inode *inode; iget_locked() local 1368 struct inode *inode; test_inode_iunique() local 1416 igrab(struct inode *inode) igrab() argument 1455 struct inode *inode; ilookup5_nowait() local 1485 struct inode *inode; ilookup5() local 1510 struct inode *inode; ilookup() local 1559 struct inode *inode, *ret_inode = NULL; find_inode_nowait() local 1604 struct inode *inode; find_inode_rcu() local 1642 struct inode *inode; find_inode_by_ino_rcu() local 1657 insert_inode_locked(struct inode *inode) insert_inode_locked() argument 1704 insert_inode_locked4(struct inode *inode, unsigned long hashval, int (*test)(struct inode *, void *), void *data) insert_inode_locked4() argument 1721 generic_delete_inode(struct inode *inode) generic_delete_inode() argument 1737 iput_final(struct inode *inode) iput_final() argument 1789 iput(struct inode *inode) iput() argument 1823 bmap(struct inode *inode, sector_t *block) bmap() argument 1839 relatime_need_update(struct vfsmount *mnt, struct inode *inode, struct timespec64 now) relatime_need_update() argument 1886 inode_update_timestamps(struct inode *inode, int flags) inode_update_timestamps() argument 1929 generic_update_time(struct inode *inode, int flags) generic_update_time() argument 1947 inode_update_time(struct inode *inode, int flags) inode_update_time() argument 1965 atime_needs_update(const struct path *path, struct inode *inode) atime_needs_update() argument 2003 struct inode *inode = d_inode(path->dentry); touch_atime() local 2037 struct inode *inode = d_inode(dentry); dentry_needs_remove_privs() local 2069 struct inode *inode = file_inode(file); __file_remove_privs() local 2107 inode_needs_update_time(struct inode *inode) inode_needs_update_time() argument 2133 struct inode *inode = file_inode(file); __file_update_time() local 2161 struct inode *inode = file_inode(file); file_update_time() local 2189 struct inode *inode = file_inode(file); file_modified_flags() local 2245 inode_needs_sync(struct inode *inode) inode_needs_sync() argument 2266 __wait_on_freeing_inode(struct inode *inode) __wait_on_freeing_inode() argument 2338 init_special_inode(struct inode *inode, umode_t mode, dev_t rdev) init_special_inode() argument 2372 inode_init_owner(struct mnt_idmap *idmap, struct inode *inode, const struct inode *dir, umode_t mode) inode_init_owner() argument 2402 inode_owner_or_capable(struct mnt_idmap *idmap, const struct inode *inode) inode_owner_or_capable() argument 2422 __inode_dio_wait(struct inode *inode) __inode_dio_wait() argument 2445 inode_dio_wait(struct inode *inode) inode_dio_wait() argument 2468 inode_set_flags(struct inode *inode, unsigned int flags, unsigned int mask) inode_set_flags() argument 2476 inode_nohighmem(struct inode *inode) inode_nohighmem() argument 2491 timestamp_truncate(struct timespec64 t, struct inode *inode) timestamp_truncate() argument 2523 current_time(struct inode *inode) current_time() argument 2539 inode_set_ctime_current(struct inode *inode) inode_set_ctime_current() argument 2560 in_group_or_capable(struct mnt_idmap *idmap, const struct inode *inode, vfsgid_t vfsgid) in_group_or_capable() argument [all...] |
/kernel/linux/linux-5.10/fs/f2fs/ |
H A D | inode.c | 3 * fs/f2fs/inode.c 21 void f2fs_mark_inode_dirty_sync(struct inode *inode, bool sync) in f2fs_mark_inode_dirty_sync() argument 23 if (is_inode_flag_set(inode, FI_NEW_INODE)) in f2fs_mark_inode_dirty_sync() 26 if (f2fs_readonly(F2FS_I_SB(inode)->sb)) in f2fs_mark_inode_dirty_sync() 29 if (f2fs_inode_dirtied(inode, sync)) in f2fs_mark_inode_dirty_sync() 32 mark_inode_dirty_sync(inode); in f2fs_mark_inode_dirty_sync() 35 void f2fs_set_inode_flags(struct inode *inode) in f2fs_set_inode_flags() argument 37 unsigned int flags = F2FS_I(inode) in f2fs_set_inode_flags() 61 __get_inode_rdev(struct inode *inode, struct f2fs_inode *ri) __get_inode_rdev() argument 88 __set_inode_rdev(struct inode *inode, struct f2fs_inode *ri) __set_inode_rdev() argument 106 __recover_inline_status(struct inode *inode, struct page *ipage) __recover_inline_status() argument 202 sanity_check_inode(struct inode *inode, struct page *node_page) sanity_check_inode() argument 341 do_read_inode(struct inode *inode) do_read_inode() argument 490 struct inode *inode; f2fs_iget() local 552 struct inode *inode; f2fs_iget_retry() local 564 f2fs_update_inode(struct inode *inode, struct page *node_page) f2fs_update_inode() argument 666 f2fs_update_inode_page(struct inode *inode) f2fs_update_inode_page() argument 686 f2fs_write_inode(struct inode *inode, struct writeback_control *wbc) f2fs_write_inode() argument 717 f2fs_evict_inode(struct inode *inode) f2fs_evict_inode() argument 843 f2fs_handle_failed_inode(struct inode *inode) f2fs_handle_failed_inode() argument [all...] |
/kernel/linux/linux-5.10/fs/affs/ |
H A D | inode.c | 3 * linux/fs/affs/inode.c 18 struct inode *affs_iget(struct super_block *sb, unsigned long ino) in affs_iget() 23 struct inode *inode; in affs_iget() local 29 inode = iget_locked(sb, ino); in affs_iget() 30 if (!inode) in affs_iget() 32 if (!(inode->i_state & I_NEW)) in affs_iget() 33 return inode; in affs_iget() 35 pr_debug("affs_iget(%lu)\n", inode->i_ino); in affs_iget() 37 block = inode in affs_iget() 170 affs_write_inode(struct inode *inode, struct writeback_control *wbc) affs_write_inode() argument 221 struct inode *inode = d_inode(dentry); affs_notify_change() local 262 affs_evict_inode(struct inode *inode) affs_evict_inode() argument 296 struct inode *inode; affs_new_inode() local 350 affs_add_entry(struct inode *dir, struct inode *inode, struct dentry *dentry, s32 type) affs_add_entry() argument [all...] |
/kernel/linux/linux-6.6/fs/affs/ |
H A D | inode.c | 3 * linux/fs/affs/inode.c 18 struct inode *affs_iget(struct super_block *sb, unsigned long ino) in affs_iget() 23 struct inode *inode; in affs_iget() local 29 inode = iget_locked(sb, ino); in affs_iget() 30 if (!inode) in affs_iget() 32 if (!(inode->i_state & I_NEW)) in affs_iget() 33 return inode; in affs_iget() 35 pr_debug("affs_iget(%lu)\n", inode->i_ino); in affs_iget() 37 block = inode in affs_iget() 170 affs_write_inode(struct inode *inode, struct writeback_control *wbc) affs_write_inode() argument 222 struct inode *inode = d_inode(dentry); affs_notify_change() local 263 affs_evict_inode(struct inode *inode) affs_evict_inode() argument 297 struct inode *inode; affs_new_inode() local 351 affs_add_entry(struct inode *dir, struct inode *inode, struct dentry *dentry, s32 type) affs_add_entry() argument [all...] |
/kernel/linux/linux-5.10/include/linux/ |
H A D | quotaops.h | 23 static inline bool is_quota_modification(struct inode *inode, struct iattr *ia) in is_quota_modification() argument 26 (ia->ia_valid & ATTR_UID && !uid_eq(ia->ia_uid, inode->i_uid)) || in is_quota_modification() 27 (ia->ia_valid & ATTR_GID && !gid_eq(ia->ia_gid, inode->i_gid)); in is_quota_modification() 42 int dquot_initialize(struct inode *inode); 43 bool dquot_initialize_needed(struct inode *inode); 44 void dquot_drop(struct inode *inode); 214 dquot_initialize(struct inode *inode) dquot_initialize() argument 219 dquot_initialize_needed(struct inode *inode) dquot_initialize_needed() argument 224 dquot_drop(struct inode *inode) dquot_drop() argument 228 dquot_alloc_inode(struct inode *inode) dquot_alloc_inode() argument 233 dquot_free_inode(struct inode *inode) dquot_free_inode() argument 237 dquot_transfer(struct inode *inode, struct iattr *iattr) dquot_transfer() argument 242 __dquot_alloc_space(struct inode *inode, qsize_t number, int flags) __dquot_alloc_space() argument 250 __dquot_free_space(struct inode *inode, qsize_t number, int flags) __dquot_free_space() argument 257 dquot_claim_space_nodirty(struct inode *inode, qsize_t number) dquot_claim_space_nodirty() argument 263 dquot_reclaim_space_nodirty(struct inode *inode, qsize_t number) dquot_reclaim_space_nodirty() argument 295 dquot_alloc_space_nodirty(struct inode *inode, qsize_t nr) dquot_alloc_space_nodirty() argument 300 dquot_alloc_space_nofail(struct inode *inode, qsize_t nr) dquot_alloc_space_nofail() argument 306 dquot_alloc_space(struct inode *inode, qsize_t nr) dquot_alloc_space() argument 322 dquot_alloc_block_nodirty(struct inode *inode, qsize_t nr) dquot_alloc_block_nodirty() argument 327 dquot_alloc_block_nofail(struct inode *inode, qsize_t nr) dquot_alloc_block_nofail() argument 332 dquot_alloc_block(struct inode *inode, qsize_t nr) dquot_alloc_block() argument 337 dquot_prealloc_block_nodirty(struct inode *inode, qsize_t nr) dquot_prealloc_block_nodirty() argument 342 dquot_prealloc_block(struct inode *inode, qsize_t nr) dquot_prealloc_block() argument 352 dquot_reserve_block(struct inode *inode, qsize_t nr) dquot_reserve_block() argument 358 dquot_claim_block(struct inode *inode, qsize_t nr) dquot_claim_block() argument 368 dquot_reclaim_block(struct inode *inode, qsize_t nr) dquot_reclaim_block() argument 374 dquot_free_space_nodirty(struct inode *inode, qsize_t nr) dquot_free_space_nodirty() argument 379 dquot_free_space(struct inode *inode, qsize_t nr) dquot_free_space() argument 385 dquot_free_block_nodirty(struct inode *inode, qsize_t nr) dquot_free_block_nodirty() argument 390 dquot_free_block(struct inode *inode, qsize_t nr) dquot_free_block() argument 395 dquot_release_reservation_block(struct inode *inode, qsize_t nr) dquot_release_reservation_block() argument [all...] |
H A D | fscrypt.h | 61 int (*get_context)(struct inode *inode, void *ctx, size_t len); 62 int (*set_context)(struct inode *inode, const void *ctx, size_t len, 65 bool (*empty_dir)(struct inode *inode); 75 static inline struct fscrypt_info *fscrypt_get_info(const struct inode *inode) in fscrypt_get_info() argument 83 return smp_load_acquire(&inode->i_crypt_info); in fscrypt_get_info() 87 * fscrypt_needs_contents_encryption() - check whether an inode need 97 fscrypt_needs_contents_encryption(const struct inode *inode) fscrypt_needs_contents_encryption() argument 263 fscrypt_get_info(const struct inode *inode) fscrypt_get_info() argument 268 fscrypt_needs_contents_encryption(const struct inode *inode) fscrypt_needs_contents_encryption() argument 295 fscrypt_encrypt_block_inplace(const struct inode *inode, struct page *page, unsigned int len, unsigned int offs, u64 lblk_num, gfp_t gfp_flags) fscrypt_encrypt_block_inplace() argument 311 fscrypt_decrypt_block_inplace(const struct inode *inode, struct page *page, unsigned int len, unsigned int offs, u64 lblk_num) fscrypt_decrypt_block_inplace() argument 363 fscrypt_set_context(struct inode *inode, void *fs_data) fscrypt_set_context() argument 410 fscrypt_get_encryption_info(struct inode *inode) fscrypt_get_encryption_info() argument 415 fscrypt_prepare_new_inode(struct inode *dir, struct inode *inode, bool *encrypt_ret) fscrypt_prepare_new_inode() argument 424 fscrypt_put_encryption_info(struct inode *inode) fscrypt_put_encryption_info() argument 429 fscrypt_free_inode(struct inode *inode) fscrypt_free_inode() argument 433 fscrypt_drop_inode(struct inode *inode) fscrypt_drop_inode() argument 469 fscrypt_fname_disk_to_usr(const struct inode *inode, u32 hash, u32 minor_hash, const struct fscrypt_str *iname, struct fscrypt_str *oname) fscrypt_fname_disk_to_usr() argument 504 fscrypt_zeroout_range(const struct inode *inode, pgoff_t lblk, sector_t pblk, unsigned int len) fscrypt_zeroout_range() argument 512 fscrypt_file_open(struct inode *inode, struct file *filp) fscrypt_file_open() argument 519 __fscrypt_prepare_link(struct inode *inode, struct inode *dir, struct dentry *dentry) __fscrypt_prepare_link() argument 541 fscrypt_prepare_setflags(struct inode *inode, unsigned int oldflags, unsigned int flags) fscrypt_prepare_setflags() argument 563 __fscrypt_encrypt_symlink(struct inode *inode, const char *target, unsigned int len, struct fscrypt_str *disk_link) __fscrypt_encrypt_symlink() argument 571 fscrypt_get_symlink(struct inode *inode, const void *caddr, unsigned int max_size, struct delayed_call *done) fscrypt_get_symlink() argument 613 __fscrypt_inode_uses_inline_crypto(const struct inode *inode) __fscrypt_inode_uses_inline_crypto() argument 618 fscrypt_set_bio_crypt_ctx(struct bio *bio, const struct inode *inode, u64 first_lblk, gfp_t gfp_mask) fscrypt_set_bio_crypt_ctx() argument 627 fscrypt_mergeable_bio(struct bio *bio, const struct inode *inode, u64 next_lblk) fscrypt_mergeable_bio() argument 650 fscrypt_inode_uses_inline_crypto(const struct inode *inode) fscrypt_inode_uses_inline_crypto() argument 665 fscrypt_inode_uses_fs_layer_crypto(const struct inode *inode) fscrypt_inode_uses_fs_layer_crypto() argument 680 fscrypt_has_encryption_key(const struct inode *inode) fscrypt_has_encryption_key() argument 698 fscrypt_require_key(struct inode *inode) fscrypt_require_key() argument 847 fscrypt_encrypt_symlink(struct inode *inode, const char *target, unsigned int len, struct fscrypt_str *disk_link) fscrypt_encrypt_symlink() argument [all...] |
/kernel/linux/linux-6.6/include/linux/ |
H A D | quotaops.h | 24 struct inode *inode, struct iattr *ia) in is_quota_modification() 27 i_uid_needs_update(idmap, ia, inode) || in is_quota_modification() 28 i_gid_needs_update(idmap, ia, inode)); in is_quota_modification() 43 int dquot_initialize(struct inode *inode); 44 bool dquot_initialize_needed(struct inode *inode); 45 void dquot_drop(struct inode *inode); 23 is_quota_modification(struct mnt_idmap *idmap, struct inode *inode, struct iattr *ia) is_quota_modification() argument 216 dquot_initialize(struct inode *inode) dquot_initialize() argument 221 dquot_initialize_needed(struct inode *inode) dquot_initialize_needed() argument 226 dquot_drop(struct inode *inode) dquot_drop() argument 230 dquot_alloc_inode(struct inode *inode) dquot_alloc_inode() argument 235 dquot_free_inode(struct inode *inode) dquot_free_inode() argument 239 dquot_transfer(struct mnt_idmap *idmap, struct inode *inode, struct iattr *iattr) dquot_transfer() argument 245 __dquot_alloc_space(struct inode *inode, qsize_t number, int flags) __dquot_alloc_space() argument 253 __dquot_free_space(struct inode *inode, qsize_t number, int flags) __dquot_free_space() argument 260 dquot_claim_space_nodirty(struct inode *inode, qsize_t number) dquot_claim_space_nodirty() argument 266 dquot_reclaim_space_nodirty(struct inode *inode, qsize_t number) dquot_reclaim_space_nodirty() argument 298 dquot_alloc_space_nodirty(struct inode *inode, qsize_t nr) dquot_alloc_space_nodirty() argument 303 dquot_alloc_space_nofail(struct inode *inode, qsize_t nr) dquot_alloc_space_nofail() argument 309 dquot_alloc_space(struct inode *inode, qsize_t nr) dquot_alloc_space() argument 325 dquot_alloc_block_nodirty(struct inode *inode, qsize_t nr) dquot_alloc_block_nodirty() argument 330 dquot_alloc_block_nofail(struct inode *inode, qsize_t nr) dquot_alloc_block_nofail() argument 335 dquot_alloc_block(struct inode *inode, qsize_t nr) dquot_alloc_block() argument 340 dquot_prealloc_block_nodirty(struct inode *inode, qsize_t nr) dquot_prealloc_block_nodirty() argument 345 dquot_prealloc_block(struct inode *inode, qsize_t nr) dquot_prealloc_block() argument 355 dquot_reserve_block(struct inode *inode, qsize_t nr) dquot_reserve_block() argument 361 dquot_claim_block(struct inode *inode, qsize_t nr) dquot_claim_block() argument 371 dquot_reclaim_block(struct inode *inode, qsize_t nr) dquot_reclaim_block() argument 377 dquot_free_space_nodirty(struct inode *inode, qsize_t nr) dquot_free_space_nodirty() argument 382 dquot_free_space(struct inode *inode, qsize_t nr) dquot_free_space() argument 388 dquot_free_block_nodirty(struct inode *inode, qsize_t nr) dquot_free_block_nodirty() argument 393 dquot_free_block(struct inode *inode, qsize_t nr) dquot_free_block() argument 398 dquot_release_reservation_block(struct inode *inode, qsize_t nr) dquot_release_reservation_block() argument [all...] |
/kernel/linux/linux-6.6/fs/nfs/ |
H A D | inode.c | 3 * linux/fs/nfs/inode.c 7 * nfs inode and superblock handling functions 62 /* Default is to see 64-bit inode numbers */ 65 static int nfs_update_inode(struct inode *, struct nfs_fattr *); 85 * nfs_compat_user_ino64 - returns the user-visible inode number 88 * This function returns a 32-bit inode number if the boot parameter 107 int nfs_drop_inode(struct inode *inode) in nfs_drop_inode() argument 109 return NFS_STALE(inode) || generic_drop_inode(inode); in nfs_drop_inode() 113 nfs_clear_inode(struct inode *inode) nfs_clear_inode() argument 126 nfs_evict_inode(struct inode *inode) nfs_evict_inode() argument 133 nfs_sync_inode(struct inode *inode) nfs_sync_inode() argument 155 nfs_attribute_timeout(struct inode *inode) nfs_attribute_timeout() argument 162 nfs_check_cache_flags_invalid(struct inode *inode, unsigned long flags) nfs_check_cache_flags_invalid() argument 170 nfs_check_cache_invalid(struct inode *inode, unsigned long flags) nfs_check_cache_invalid() argument 190 nfs_set_cache_invalid(struct inode *inode, unsigned long flags) nfs_set_cache_invalid() argument 224 nfs_zap_caches_locked(struct inode *inode) nfs_zap_caches_locked() argument 248 nfs_zap_caches(struct inode *inode) nfs_zap_caches() argument 255 nfs_zap_mapping(struct inode *inode, struct address_space *mapping) nfs_zap_mapping() argument 264 nfs_zap_acl_cache(struct inode *inode) nfs_zap_acl_cache() argument 277 nfs_invalidate_atime(struct inode *inode) nfs_invalidate_atime() argument 289 nfs_set_inode_stale_locked(struct inode *inode) nfs_set_inode_stale_locked() argument 296 nfs_set_inode_stale(struct inode *inode) nfs_set_inode_stale() argument 315 nfs_find_actor(struct inode *inode, void *opaque) nfs_find_actor() argument 333 nfs_init_locked(struct inode *inode, void *opaque) nfs_init_locked() argument 345 nfs_clear_label_invalid(struct inode *inode) nfs_clear_label_invalid() argument 352 nfs_setsecurity(struct inode *inode, struct nfs_fattr *fattr) nfs_setsecurity() argument 394 nfs_setsecurity(struct inode *inode, struct nfs_fattr *fattr) nfs_setsecurity() argument 408 struct inode *inode; nfs_ilookup() local 450 struct inode *inode = ERR_PTR(-ENOENT); nfs_fhget() local 613 struct inode *inode = d_inode(dentry); nfs_setattr() local 670 nfs_vmtruncate(struct inode * inode, loff_t offset) nfs_vmtruncate() argument 703 nfs_setattr_update_inode(struct inode *inode, struct iattr *attr, struct nfs_fattr *fattr) nfs_setattr_update_inode() argument 783 nfs_getattr_readdirplus_enable(const struct inode *inode) nfs_getattr_readdirplus_enable() argument 807 nfs_get_valid_attrmask(struct inode *inode) nfs_get_valid_attrmask() argument 836 struct inode *inode = d_inode(path->dentry); nfs_getattr() local 953 struct inode *inode = d_inode(ctx->dentry); nfs_get_lock_context() local 985 struct inode *inode = d_inode(ctx->dentry); nfs_put_lock_context() local 1008 struct inode *inode; nfs_close_context() local 1070 struct inode *inode = d_inode(ctx->dentry); __put_nfs_open_context() local 1107 struct inode *inode = d_inode(ctx->dentry); nfs_inode_attach_open_context() local 1132 nfs_find_open_context(struct inode *inode, const struct cred *cred, fmode_t mode) nfs_find_open_context() argument 1158 struct inode *inode = d_inode(ctx->dentry); nfs_file_clear_open_context() local 1175 nfs_open(struct inode *inode, struct file *filp) nfs_open() argument 1194 __nfs_revalidate_inode(struct nfs_server *server, struct inode *inode) __nfs_revalidate_inode() argument 1267 nfs_attribute_cache_expired(struct inode *inode) nfs_attribute_cache_expired() argument 1281 nfs_revalidate_inode(struct inode *inode, unsigned long flags) nfs_revalidate_inode() argument 1289 nfs_invalidate_mapping(struct inode *inode, struct address_space *mapping) nfs_invalidate_mapping() argument 1320 struct inode *inode = mapping->host; nfs_clear_invalid_mapping() local 1370 nfs_mapping_need_revalidate_inode(struct inode *inode) nfs_mapping_need_revalidate_inode() argument 1376 nfs_revalidate_mapping_rcu(struct inode *inode) nfs_revalidate_mapping_rcu() argument 1402 nfs_revalidate_mapping(struct inode *inode, struct address_space *mapping) nfs_revalidate_mapping() argument 1419 struct inode *inode = &nfsi->vfs_inode; nfs_file_has_writers() local 1433 nfs_wcc_update_inode(struct inode *inode, struct nfs_fattr *fattr) nfs_wcc_update_inode() argument 1478 nfs_check_inode_attributes(struct inode *inode, struct nfs_fattr *fattr) nfs_check_inode_attributes() argument 1704 nfs_inode_attrs_cmp_generic(const struct nfs_fattr *fattr, const struct inode *inode) nfs_inode_attrs_cmp_generic() argument 1729 nfs_inode_attrs_cmp_monotonic(const struct nfs_fattr *fattr, const struct inode *inode) nfs_inode_attrs_cmp_monotonic() argument 1753 nfs_inode_attrs_cmp_strict_monotonic(const struct nfs_fattr *fattr, const struct inode *inode) nfs_inode_attrs_cmp_strict_monotonic() argument 1769 nfs_inode_attrs_cmp(const struct nfs_fattr *fattr, const struct inode *inode) nfs_inode_attrs_cmp() argument 1799 nfs_inode_finish_partial_attr_update(const struct nfs_fattr *fattr, const struct inode *inode) nfs_inode_finish_partial_attr_update() argument 1879 nfs_refresh_inode_locked(struct inode *inode, struct nfs_fattr *fattr) nfs_refresh_inode_locked() argument 1910 nfs_refresh_inode(struct inode *inode, struct nfs_fattr *fattr) nfs_refresh_inode() argument 1924 nfs_post_op_update_inode_locked(struct inode *inode, struct nfs_fattr *fattr, unsigned int invalid) nfs_post_op_update_inode_locked() argument 1949 nfs_post_op_update_inode(struct inode *inode, struct nfs_fattr *fattr) nfs_post_op_update_inode() argument 1976 nfs_post_op_update_inode_force_wcc_locked(struct inode *inode, struct nfs_fattr *fattr) nfs_post_op_update_inode_force_wcc_locked() argument 2033 nfs_post_op_update_inode_force_wcc(struct inode *inode, struct nfs_fattr *fattr) nfs_post_op_update_inode_force_wcc() argument 2058 nfs_update_inode(struct inode *inode, struct nfs_fattr *fattr) nfs_update_inode() argument 2342 nfs_free_inode(struct inode *inode) nfs_free_inode() argument [all...] |
/kernel/linux/linux-5.10/fs/nfs/ |
H A D | inode.c | 3 * linux/fs/nfs/inode.c 7 * nfs inode and superblock handling functions 62 /* Default is to see 64-bit inode numbers */ 65 static int nfs_update_inode(struct inode *, struct nfs_fattr *); 90 * nfs_compat_user_ino64 - returns the user-visible inode number 93 * This function returns a 32-bit inode number if the boot parameter 112 int nfs_drop_inode(struct inode *inode) in nfs_drop_inode() argument 114 return NFS_STALE(inode) || generic_drop_inode(inode); in nfs_drop_inode() 118 nfs_clear_inode(struct inode *inode) nfs_clear_inode() argument 131 nfs_evict_inode(struct inode *inode) nfs_evict_inode() argument 138 nfs_sync_inode(struct inode *inode) nfs_sync_inode() argument 160 nfs_attribute_timeout(struct inode *inode) nfs_attribute_timeout() argument 167 nfs_check_cache_invalid_delegated(struct inode *inode, unsigned long flags) nfs_check_cache_invalid_delegated() argument 178 nfs_check_cache_invalid_not_delegated(struct inode *inode, unsigned long flags) nfs_check_cache_invalid_not_delegated() argument 189 nfs_check_cache_invalid(struct inode *inode, unsigned long flags) nfs_check_cache_invalid() argument 210 nfs_set_cache_invalid(struct inode *inode, unsigned long flags) nfs_set_cache_invalid() argument 237 nfs_zap_caches_locked(struct inode *inode) nfs_zap_caches_locked() argument 264 nfs_zap_caches(struct inode *inode) nfs_zap_caches() argument 271 nfs_zap_mapping(struct inode *inode, struct address_space *mapping) nfs_zap_mapping() argument 280 nfs_zap_acl_cache(struct inode *inode) nfs_zap_acl_cache() argument 293 nfs_invalidate_atime(struct inode *inode) nfs_invalidate_atime() argument 305 nfs_set_inode_stale_locked(struct inode *inode) nfs_set_inode_stale_locked() argument 312 nfs_set_inode_stale(struct inode *inode) nfs_set_inode_stale() argument 331 nfs_find_actor(struct inode *inode, void *opaque) nfs_find_actor() argument 349 nfs_init_locked(struct inode *inode, void *opaque) nfs_init_locked() argument 361 nfs_clear_label_invalid(struct inode *inode) nfs_clear_label_invalid() argument 368 nfs_setsecurity(struct inode *inode, struct nfs_fattr *fattr, struct nfs4_label *label) nfs_setsecurity() argument 415 nfs_setsecurity(struct inode *inode, struct nfs_fattr *fattr, struct nfs4_label *label) nfs_setsecurity() argument 430 struct inode *inode; nfs_ilookup() local 455 struct inode *inode = ERR_PTR(-ENOENT); nfs_fhget() local 615 struct inode *inode = d_inode(dentry); nfs_setattr() local 673 nfs_vmtruncate(struct inode * inode, loff_t offset) nfs_vmtruncate() argument 704 nfs_setattr_update_inode(struct inode *inode, struct iattr *attr, struct nfs_fattr *fattr) nfs_setattr_update_inode() argument 796 nfs_need_revalidate_inode(struct inode *inode) nfs_need_revalidate_inode() argument 809 struct inode *inode = d_inode(path->dentry); nfs_getattr() local 907 struct inode *inode = d_inode(ctx->dentry); nfs_get_lock_context() local 939 struct inode *inode = d_inode(ctx->dentry); nfs_put_lock_context() local 962 struct inode *inode; nfs_close_context() local 1025 struct inode *inode = d_inode(ctx->dentry); __put_nfs_open_context() local 1062 struct inode *inode = d_inode(ctx->dentry); nfs_inode_attach_open_context() local 1087 nfs_find_open_context(struct inode *inode, const struct cred *cred, fmode_t mode) nfs_find_open_context() argument 1113 struct inode *inode = d_inode(ctx->dentry); nfs_file_clear_open_context() local 1130 nfs_open(struct inode *inode, struct file *filp) nfs_open() argument 1148 __nfs_revalidate_inode(struct nfs_server *server, struct inode *inode) __nfs_revalidate_inode() argument 1231 nfs_attribute_cache_expired(struct inode *inode) nfs_attribute_cache_expired() argument 1245 nfs_revalidate_inode(struct nfs_server *server, struct inode *inode) nfs_revalidate_inode() argument 1253 nfs_invalidate_mapping(struct inode *inode, struct address_space *mapping) nfs_invalidate_mapping() argument 1282 nfs_mapping_need_revalidate_inode(struct inode *inode) nfs_mapping_need_revalidate_inode() argument 1288 nfs_revalidate_mapping_rcu(struct inode *inode) nfs_revalidate_mapping_rcu() argument 1314 nfs_revalidate_mapping(struct inode *inode, struct address_space *mapping) nfs_revalidate_mapping() argument 1377 struct inode *inode = &nfsi->vfs_inode; nfs_file_has_writers() local 1391 nfs_wcc_update_inode(struct inode *inode, struct nfs_fattr *fattr) nfs_wcc_update_inode() argument 1437 nfs_check_inode_attributes(struct inode *inode, struct nfs_fattr *fattr) nfs_check_inode_attributes() argument 1658 nfs_inode_attrs_need_update(const struct inode *inode, const struct nfs_fattr *fattr) nfs_inode_attrs_need_update() argument 1666 nfs_refresh_inode_locked(struct inode *inode, struct nfs_fattr *fattr) nfs_refresh_inode_locked() argument 1691 nfs_refresh_inode(struct inode *inode, struct nfs_fattr *fattr) nfs_refresh_inode() argument 1705 nfs_post_op_update_inode_locked(struct inode *inode, struct nfs_fattr *fattr, unsigned int invalid) nfs_post_op_update_inode_locked() argument 1730 nfs_post_op_update_inode(struct inode *inode, struct nfs_fattr *fattr) nfs_post_op_update_inode() argument 1757 nfs_post_op_update_inode_force_wcc_locked(struct inode *inode, struct nfs_fattr *fattr) nfs_post_op_update_inode_force_wcc_locked() argument 1810 nfs_post_op_update_inode_force_wcc(struct inode *inode, struct nfs_fattr *fattr) nfs_post_op_update_inode_force_wcc() argument 1835 nfs_update_inode(struct inode *inode, struct nfs_fattr *fattr) nfs_update_inode() argument 2135 nfs_free_inode(struct inode *inode) nfs_free_inode() argument [all...] |
/kernel/linux/linux-5.10/fs/reiserfs/ |
H A D | inode.c | 27 void reiserfs_evict_inode(struct inode *inode) in reiserfs_evict_inode() argument 35 2 * REISERFS_QUOTA_INIT_BLOCKS(inode->i_sb); in reiserfs_evict_inode() 39 if (!inode->i_nlink && !is_bad_inode(inode)) in reiserfs_evict_inode() 40 dquot_initialize(inode); in reiserfs_evict_inode() 42 truncate_inode_pages_final(&inode->i_data); in reiserfs_evict_inode() 43 if (inode->i_nlink) in reiserfs_evict_inode() 47 * The = 0 happens when we abort creating a new inode in reiserfs_evict_inode() 51 if (!(inode in reiserfs_evict_inode() 127 make_cpu_key(struct cpu_key *key, struct inode *inode, loff_t offset, int type, int length) make_cpu_key() argument 231 set_block_dev_mapped(struct buffer_head *bh, b_blocknr_t block, struct inode *inode) set_block_dev_mapped() argument 241 file_capable(struct inode *inode, sector_t block) file_capable() argument 252 restart_transaction(struct reiserfs_transaction_handle *th, struct inode *inode, struct treepath *path) restart_transaction() argument 285 _get_block_create_0(struct inode *inode, sector_t block, struct buffer_head *bh_result, int args) _get_block_create_0() argument 472 reiserfs_bmap(struct inode *inode, sector_t block, struct buffer_head *bh_result, int create) reiserfs_bmap() argument 503 reiserfs_get_block_create_0(struct inode *inode, sector_t block, struct buffer_head *bh_result, int create) reiserfs_get_block_create_0() argument 514 reiserfs_get_blocks_direct_io(struct inode *inode, sector_t iblock, struct buffer_head *bh_result, int create) reiserfs_get_blocks_direct_io() argument 576 convert_tail_for_hole(struct inode *inode, struct buffer_head *bh_result, loff_t tail_offset) convert_tail_for_hole() argument 639 _allocate_block(struct reiserfs_transaction_handle *th, sector_t block, struct inode *inode, b_blocknr_t * allocated_block_nr, struct treepath *path, int flags) _allocate_block() argument 657 reiserfs_get_block(struct inode *inode, sector_t block, struct buffer_head *bh_result, int create) reiserfs_get_block() argument 1173 real_space_diff(struct inode *inode, int sd_size) real_space_diff() argument 1197 to_real_used_space(struct inode *inode, ulong blocks, int sd_size) to_real_used_space() argument 1209 to_fake_used_blocks(struct inode *inode, int sd_size) to_fake_used_blocks() argument 1237 init_inode(struct inode *inode, struct treepath *path) init_inode() argument 1351 sd_attrs_to_i_attrs(sd_v2_attrs(sd), inode); init_inode() local 1374 inode2sd(void *sd, struct inode *inode, loff_t size) inode2sd() argument 1395 inode2sd_v1(void *sd, struct inode *inode, loff_t size) inode2sd_v1() argument 1422 update_stat_data(struct treepath *path, struct inode *inode, loff_t size) update_stat_data() argument 1437 inode2sd_v1(ih_item_body(bh, ih), inode, size); update_stat_data() local 1439 inode2sd(ih_item_body(bh, ih), inode, size); update_stat_data() local 1445 reiserfs_update_sd_size(struct reiserfs_transaction_handle *th, struct inode *inode, loff_t size) reiserfs_update_sd_size() argument 1518 reiserfs_make_bad_inode(struct inode *inode) reiserfs_make_bad_inode() argument 1528 reiserfs_init_locked_inode(struct inode *inode, void *p) reiserfs_init_locked_inode() argument 1540 reiserfs_read_locked_inode(struct inode *inode, struct reiserfs_iget_args *args) reiserfs_read_locked_inode() argument 1626 reiserfs_find_actor(struct inode *inode, void *opaque) reiserfs_find_actor() argument 1638 struct inode *inode; reiserfs_iget() local 1670 struct inode *inode; reiserfs_get_dentry() local 1730 reiserfs_encode_fh(struct inode *inode, __u32 * data, int *lenp, struct inode *parent) reiserfs_encode_fh() argument 1769 reiserfs_write_inode(struct inode *inode, struct writeback_control *wbc) reiserfs_write_inode() argument 1798 reiserfs_new_directory(struct reiserfs_transaction_handle *th, struct inode *inode, struct item_head *ih, struct treepath *path, struct inode *dir) reiserfs_new_directory() argument 1861 reiserfs_new_symlink(struct reiserfs_transaction_handle *th, struct inode *inode, struct item_head *ih, struct treepath *path, const char *symname, int item_len) reiserfs_new_symlink() argument 1920 reiserfs_new_inode(struct reiserfs_transaction_handle *th, struct inode *dir, umode_t mode, const char *symname, loff_t i_size, struct dentry *dentry, struct inode *inode, struct reiserfs_security_handle *security) reiserfs_new_inode() argument 2181 grab_tail_page(struct inode *inode, struct page **page_result, struct buffer_head **bh_result) grab_tail_page() argument 2262 reiserfs_truncate_file(struct inode *inode, int update_timestamps) reiserfs_truncate_file() argument 2363 map_block_for_writepage(struct inode *inode, struct buffer_head *bh_result, unsigned long block) map_block_for_writepage() argument 2525 struct inode *inode = page->mapping->host; reiserfs_write_full_page() local 2745 struct inode *inode = page->mapping->host; reiserfs_writepage() local 2750 reiserfs_truncate_failed_write(struct inode *inode) reiserfs_truncate_failed_write() argument 2761 struct inode *inode; reiserfs_write_begin() local 2832 struct inode *inode = page->mapping->host; __reiserfs_write_begin() local 2894 struct inode *inode = page->mapping->host; reiserfs_write_end() local 2996 struct inode *inode = page->mapping->host; reiserfs_commit_write() local 3069 sd_attrs_to_i_attrs(__u16 sd_attrs, struct inode *inode) sd_attrs_to_i_attrs() argument 3099 invalidatepage_can_drop(struct inode *inode, struct buffer_head *bh) invalidatepage_can_drop() argument 3157 struct inode *inode = page->mapping->host; reiserfs_invalidatepage() local 3208 struct inode *inode = page->mapping->host; reiserfs_set_page_dirty() local 3227 struct inode *inode = page->mapping->host; reiserfs_releasepage() local 3261 struct inode *inode = file->f_mapping->host; reiserfs_direct_IO() local 3287 struct inode *inode = d_inode(dentry); reiserfs_setattr() local [all...] |
/kernel/linux/linux-6.6/fs/reiserfs/ |
H A D | inode.c | 27 void reiserfs_evict_inode(struct inode *inode) in reiserfs_evict_inode() argument 35 2 * REISERFS_QUOTA_INIT_BLOCKS(inode->i_sb); in reiserfs_evict_inode() 39 if (!inode->i_nlink && !is_bad_inode(inode)) in reiserfs_evict_inode() 40 dquot_initialize(inode); in reiserfs_evict_inode() 42 truncate_inode_pages_final(&inode->i_data); in reiserfs_evict_inode() 43 if (inode->i_nlink) in reiserfs_evict_inode() 47 * The = 0 happens when we abort creating a new inode in reiserfs_evict_inode() 51 if (!(inode in reiserfs_evict_inode() 127 make_cpu_key(struct cpu_key *key, struct inode *inode, loff_t offset, int type, int length) make_cpu_key() argument 231 set_block_dev_mapped(struct buffer_head *bh, b_blocknr_t block, struct inode *inode) set_block_dev_mapped() argument 241 file_capable(struct inode *inode, sector_t block) file_capable() argument 252 restart_transaction(struct reiserfs_transaction_handle *th, struct inode *inode, struct treepath *path) restart_transaction() argument 285 _get_block_create_0(struct inode *inode, sector_t block, struct buffer_head *bh_result, int args) _get_block_create_0() argument 464 reiserfs_bmap(struct inode *inode, sector_t block, struct buffer_head *bh_result, int create) reiserfs_bmap() argument 495 reiserfs_get_block_create_0(struct inode *inode, sector_t block, struct buffer_head *bh_result, int create) reiserfs_get_block_create_0() argument 506 reiserfs_get_blocks_direct_io(struct inode *inode, sector_t iblock, struct buffer_head *bh_result, int create) reiserfs_get_blocks_direct_io() argument 568 convert_tail_for_hole(struct inode *inode, struct buffer_head *bh_result, loff_t tail_offset) convert_tail_for_hole() argument 631 _allocate_block(struct reiserfs_transaction_handle *th, sector_t block, struct inode *inode, b_blocknr_t * allocated_block_nr, struct treepath *path, int flags) _allocate_block() argument 649 reiserfs_get_block(struct inode *inode, sector_t block, struct buffer_head *bh_result, int create) reiserfs_get_block() argument 1165 real_space_diff(struct inode *inode, int sd_size) real_space_diff() argument 1189 to_real_used_space(struct inode *inode, ulong blocks, int sd_size) to_real_used_space() argument 1201 to_fake_used_blocks(struct inode *inode, int sd_size) to_fake_used_blocks() argument 1229 init_inode(struct inode *inode, struct treepath *path) init_inode() argument 1341 sd_attrs_to_i_attrs(sd_v2_attrs(sd), inode); init_inode() local 1364 inode2sd(void *sd, struct inode *inode, loff_t size) inode2sd() argument 1385 inode2sd_v1(void *sd, struct inode *inode, loff_t size) inode2sd_v1() argument 1412 update_stat_data(struct treepath *path, struct inode *inode, loff_t size) update_stat_data() argument 1427 inode2sd_v1(ih_item_body(bh, ih), inode, size); update_stat_data() local 1429 inode2sd(ih_item_body(bh, ih), inode, size); update_stat_data() local 1435 reiserfs_update_sd_size(struct reiserfs_transaction_handle *th, struct inode *inode, loff_t size) reiserfs_update_sd_size() argument 1508 reiserfs_make_bad_inode(struct inode *inode) reiserfs_make_bad_inode() argument 1518 reiserfs_init_locked_inode(struct inode *inode, void *p) reiserfs_init_locked_inode() argument 1530 reiserfs_read_locked_inode(struct inode *inode, struct reiserfs_iget_args *args) reiserfs_read_locked_inode() argument 1616 reiserfs_find_actor(struct inode *inode, void *opaque) reiserfs_find_actor() argument 1628 struct inode *inode; reiserfs_iget() local 1660 struct inode *inode; reiserfs_get_dentry() local 1720 reiserfs_encode_fh(struct inode *inode, __u32 * data, int *lenp, struct inode *parent) reiserfs_encode_fh() argument 1759 reiserfs_write_inode(struct inode *inode, struct writeback_control *wbc) reiserfs_write_inode() argument 1788 reiserfs_new_directory(struct reiserfs_transaction_handle *th, struct inode *inode, struct item_head *ih, struct treepath *path, struct inode *dir) reiserfs_new_directory() argument 1851 reiserfs_new_symlink(struct reiserfs_transaction_handle *th, struct inode *inode, struct item_head *ih, struct treepath *path, const char *symname, int item_len) reiserfs_new_symlink() argument 1910 reiserfs_new_inode(struct reiserfs_transaction_handle *th, struct inode *dir, umode_t mode, const char *symname, loff_t i_size, struct dentry *dentry, struct inode *inode, struct reiserfs_security_handle *security) reiserfs_new_inode() argument 2169 grab_tail_page(struct inode *inode, struct page **page_result, struct buffer_head **bh_result) grab_tail_page() argument 2250 reiserfs_truncate_file(struct inode *inode, int update_timestamps) reiserfs_truncate_file() argument 2351 map_block_for_writepage(struct inode *inode, struct buffer_head *bh_result, unsigned long block) map_block_for_writepage() argument 2513 struct inode *inode = page->mapping->host; reiserfs_write_full_page() local 2731 struct inode *inode = page->mapping->host; reiserfs_writepage() local 2736 reiserfs_truncate_failed_write(struct inode *inode) reiserfs_truncate_failed_write() argument 2747 struct inode *inode; reiserfs_write_begin() local 2811 struct inode *inode = page->mapping->host; __reiserfs_write_begin() local 2874 struct inode *inode = page->mapping->host; reiserfs_write_end() local 2973 struct inode *inode = page->mapping->host; reiserfs_commit_write() local 3046 sd_attrs_to_i_attrs(__u16 sd_attrs, struct inode *inode) sd_attrs_to_i_attrs() argument 3076 invalidate_folio_can_drop(struct inode *inode, struct buffer_head *bh) invalidate_folio_can_drop() argument 3134 struct inode *inode = folio->mapping->host; reiserfs_invalidate_folio() local 3204 struct inode *inode = folio->mapping->host; reiserfs_release_folio() local 3238 struct inode *inode = file->f_mapping->host; reiserfs_direct_IO() local 3265 struct inode *inode = d_inode(dentry); reiserfs_setattr() local [all...] |
/kernel/linux/linux-6.6/fs/coda/ |
H A D | cnode.c | 26 static void coda_fill_inode(struct inode *inode, struct coda_vattr *attr) in coda_fill_inode() argument 28 coda_vattr_to_iattr(inode, attr); in coda_fill_inode() 30 if (S_ISREG(inode->i_mode)) { in coda_fill_inode() 31 inode->i_op = &coda_file_inode_operations; in coda_fill_inode() 32 inode->i_fop = &coda_file_operations; in coda_fill_inode() 33 } else if (S_ISDIR(inode->i_mode)) { in coda_fill_inode() 34 inode->i_op = &coda_dir_inode_operations; in coda_fill_inode() 35 inode->i_fop = &coda_dir_operations; in coda_fill_inode() 36 } else if (S_ISLNK(inode in coda_fill_inode() 45 coda_test_inode(struct inode *inode, void *data) coda_test_inode() argument 52 coda_set_inode(struct inode *inode, void *data) coda_set_inode() argument 63 struct inode *inode; coda_iget() local 100 struct inode *inode; coda_cnode_make() local 123 coda_replace_fid(struct inode *inode, struct CodaFid *oldfid, struct CodaFid *newfid) coda_replace_fid() argument 142 struct inode *inode; coda_fid_to_inode() local 169 struct inode *inode = new_inode(sb); coda_cnode_makectl() local [all...] |
/kernel/linux/linux-5.10/fs/nilfs2/ |
H A D | mdt.h | 21 * @inode: holder of page caches used in shadow mapping 26 struct inode *inode; member 54 static inline struct nilfs_mdt_info *NILFS_MDT(const struct inode *inode) in NILFS_MDT() argument 56 return inode->i_private; in NILFS_MDT() 59 static inline int nilfs_is_metadata_file_inode(const struct inode *inode) in nilfs_is_metadata_file_inode() argument 61 return inode->i_private != NULL; in nilfs_is_metadata_file_inode() 67 int nilfs_mdt_get_block(struct inode *, unsigne 93 nilfs_mdt_mark_dirty(struct inode *inode) nilfs_mdt_mark_dirty() argument 99 nilfs_mdt_clear_dirty(struct inode *inode) nilfs_mdt_clear_dirty() argument 104 nilfs_mdt_cno(struct inode *inode) nilfs_mdt_cno() argument 110 nilfs_mdt_bgl_lock(struct inode *inode, unsigned int block_group) nilfs_mdt_bgl_lock() argument [all...] |
H A D | inode.c | 3 * inode.c - NILFS inode operations. 28 * @ino: inode number 31 * @for_gc: inode for GC flag 32 * @for_btnc: inode for B-tree node cache flag 33 * @for_shadow: inode for shadowed page cache flag 44 static int nilfs_iget_test(struct inode *inode, void *opaque); 46 void nilfs_inode_add_blocks(struct inode *inode, in argument 55 nilfs_inode_sub_blocks(struct inode *inode, int n) nilfs_inode_sub_blocks() argument 75 nilfs_get_block(struct inode *inode, sector_t blkoff, struct buffer_head *bh_result, int create) nilfs_get_block() argument 161 struct inode *inode = mapping->host; nilfs_writepages() local 178 struct inode *inode = page->mapping->host; nilfs_writepage() local 208 struct inode *inode = page->mapping->host; nilfs_set_page_dirty() local 244 struct inode *inode = mapping->host; nilfs_write_failed() local 257 struct inode *inode = mapping->host; nilfs_write_begin() local 276 struct inode *inode = mapping->host; nilfs_write_end() local 293 struct inode *inode = file_inode(iocb->ki_filp); nilfs_direct_IO() local 316 nilfs_insert_inode_locked(struct inode *inode, struct nilfs_root *root, unsigned long ino) nilfs_insert_inode_locked() argument 332 struct inode *inode; nilfs_new_inode() local 426 nilfs_set_inode_flags(struct inode *inode) nilfs_set_inode_flags() argument 445 nilfs_read_inode_common(struct inode *inode, struct nilfs_inode *raw_inode) nilfs_read_inode_common() argument 488 __nilfs_read_inode(struct super_block *sb, struct nilfs_root *root, unsigned long ino, struct inode *inode) __nilfs_read_inode() argument 543 nilfs_iget_test(struct inode *inode, void *opaque) nilfs_iget_test() argument 571 nilfs_iget_set(struct inode *inode, void *opaque) nilfs_iget_set() argument 615 struct inode *inode; nilfs_iget() local 640 struct inode *inode; nilfs_iget_for_gc() local 671 nilfs_attach_btree_node_cache(struct inode *inode) nilfs_attach_btree_node_cache() argument 709 nilfs_detach_btree_node_cache(struct inode *inode) nilfs_detach_btree_node_cache() argument 736 nilfs_iget_for_shadow(struct inode *inode) nilfs_iget_for_shadow() argument 765 nilfs_write_inode_common(struct inode *inode, struct nilfs_inode *raw_inode, int has_bmap) nilfs_write_inode_common() argument 805 nilfs_update_inode(struct inode *inode, struct buffer_head *ibh, int flags) nilfs_update_inode() argument 861 nilfs_truncate(struct inode *inode) nilfs_truncate() argument 895 nilfs_clear_inode(struct inode *inode) nilfs_clear_inode() argument 919 nilfs_evict_inode(struct inode *inode) nilfs_evict_inode() argument 977 struct inode *inode = d_inode(dentry); nilfs_setattr() local 1012 nilfs_permission(struct inode *inode, int mask) nilfs_permission() argument 1023 nilfs_load_inode_block(struct inode *inode, struct buffer_head **pbh) nilfs_load_inode_block() argument 1054 nilfs_inode_dirty(struct inode *inode) nilfs_inode_dirty() argument 1069 nilfs_set_file_dirty(struct inode *inode, unsigned int nr_dirty) nilfs_set_file_dirty() argument 1107 __nilfs_mark_inode_dirty(struct inode *inode, int flags) __nilfs_mark_inode_dirty() argument 1144 nilfs_dirty_inode(struct inode *inode, int flags) nilfs_dirty_inode() argument 1164 nilfs_fiemap(struct inode *inode, struct fiemap_extent_info *fieinfo, __u64 start, __u64 len) nilfs_fiemap() argument [all...] |
/kernel/linux/linux-6.6/fs/nilfs2/ |
H A D | mdt.h | 21 * @inode: holder of page caches used in shadow mapping 26 struct inode *inode; member 54 static inline struct nilfs_mdt_info *NILFS_MDT(const struct inode *inode) in NILFS_MDT() argument 56 return inode->i_private; in NILFS_MDT() 59 static inline int nilfs_is_metadata_file_inode(const struct inode *inode) in nilfs_is_metadata_file_inode() argument 61 return inode->i_private != NULL; in nilfs_is_metadata_file_inode() 67 int nilfs_mdt_get_block(struct inode *, unsigne 93 nilfs_mdt_mark_dirty(struct inode *inode) nilfs_mdt_mark_dirty() argument 99 nilfs_mdt_clear_dirty(struct inode *inode) nilfs_mdt_clear_dirty() argument 104 nilfs_mdt_cno(struct inode *inode) nilfs_mdt_cno() argument 110 nilfs_mdt_bgl_lock(struct inode *inode, unsigned int block_group) nilfs_mdt_bgl_lock() argument [all...] |
H A D | inode.c | 3 * NILFS inode operations. 28 * @ino: inode number 31 * @for_gc: inode for GC flag 32 * @for_btnc: inode for B-tree node cache flag 33 * @for_shadow: inode for shadowed page cache flag 44 static int nilfs_iget_test(struct inode *inode, void *opaque); 46 void nilfs_inode_add_blocks(struct inode *inode, int n) in nilfs_inode_add_blocks() argument 48 struct nilfs_root *root = NILFS_I(inode) in nilfs_inode_add_blocks() 55 nilfs_inode_sub_blocks(struct inode *inode, int n) nilfs_inode_sub_blocks() argument 75 nilfs_get_block(struct inode *inode, sector_t blkoff, struct buffer_head *bh_result, int create) nilfs_get_block() argument 161 struct inode *inode = mapping->host; nilfs_writepages() local 178 struct inode *inode = page->mapping->host; nilfs_writepage() local 209 struct inode *inode = mapping->host; nilfs_dirty_folio() local 242 struct inode *inode = mapping->host; nilfs_write_failed() local 255 struct inode *inode = mapping->host; nilfs_write_begin() local 273 struct inode *inode = mapping->host; nilfs_write_end() local 290 struct inode *inode = file_inode(iocb->ki_filp); nilfs_direct_IO() local 312 nilfs_insert_inode_locked(struct inode *inode, struct nilfs_root *root, unsigned long ino) nilfs_insert_inode_locked() argument 328 struct inode *inode; nilfs_new_inode() local 422 nilfs_set_inode_flags(struct inode *inode) nilfs_set_inode_flags() argument 441 nilfs_read_inode_common(struct inode *inode, struct nilfs_inode *raw_inode) nilfs_read_inode_common() argument 484 __nilfs_read_inode(struct super_block *sb, struct nilfs_root *root, unsigned long ino, struct inode *inode) __nilfs_read_inode() argument 539 nilfs_iget_test(struct inode *inode, void *opaque) nilfs_iget_test() argument 567 nilfs_iget_set(struct inode *inode, void *opaque) nilfs_iget_set() argument 611 struct inode *inode; nilfs_iget() local 636 struct inode *inode; nilfs_iget_for_gc() local 667 nilfs_attach_btree_node_cache(struct inode *inode) nilfs_attach_btree_node_cache() argument 705 nilfs_detach_btree_node_cache(struct inode *inode) nilfs_detach_btree_node_cache() argument 732 nilfs_iget_for_shadow(struct inode *inode) nilfs_iget_for_shadow() argument 761 nilfs_write_inode_common(struct inode *inode, struct nilfs_inode *raw_inode, int has_bmap) nilfs_write_inode_common() argument 801 nilfs_update_inode(struct inode *inode, struct buffer_head *ibh, int flags) nilfs_update_inode() argument 857 nilfs_truncate(struct inode *inode) nilfs_truncate() argument 891 nilfs_clear_inode(struct inode *inode) nilfs_clear_inode() argument 915 nilfs_evict_inode(struct inode *inode) nilfs_evict_inode() argument 974 struct inode *inode = d_inode(dentry); nilfs_setattr() local 1009 nilfs_permission(struct mnt_idmap *idmap, struct inode *inode, int mask) nilfs_permission() argument 1021 nilfs_load_inode_block(struct inode *inode, struct buffer_head **pbh) nilfs_load_inode_block() argument 1052 nilfs_inode_dirty(struct inode *inode) nilfs_inode_dirty() argument 1067 nilfs_set_file_dirty(struct inode *inode, unsigned int nr_dirty) nilfs_set_file_dirty() argument 1105 __nilfs_mark_inode_dirty(struct inode *inode, int flags) __nilfs_mark_inode_dirty() argument 1143 nilfs_dirty_inode(struct inode *inode, int flags) nilfs_dirty_inode() argument 1163 nilfs_fiemap(struct inode *inode, struct fiemap_extent_info *fieinfo, __u64 start, __u64 len) nilfs_fiemap() argument [all...] |
/kernel/linux/linux-5.10/fs/ocfs2/ |
H A D | inode.c | 5 * inode.c 32 #include "inode.h" 57 static int ocfs2_read_locked_inode(struct inode *inode, 59 static int ocfs2_init_locked_inode(struct inode *inode, void *opaque); 60 static int ocfs2_find_actor(struct inode *inode, void *opaque); 62 struct inode *inode, 73 ocfs2_set_inode_flags(struct inode *inode) ocfs2_set_inode_flags() argument 127 struct inode *inode = NULL; ocfs2_iget() local 213 ocfs2_find_actor(struct inode *inode, void *opaque) ocfs2_find_actor() argument 238 ocfs2_init_locked_inode(struct inode *inode, void *opaque) ocfs2_init_locked_inode() argument 262 ocfs2_populate_inode(struct inode *inode, struct ocfs2_dinode *fe, int create_ino) ocfs2_populate_inode() argument 386 OCFS2_LOCK_TYPE_OPEN, 0, inode); ocfs2_populate_inode() local 403 ocfs2_read_locked_inode(struct inode *inode, struct ocfs2_find_inode_args *args) ocfs2_read_locked_inode() argument 469 0, inode); ocfs2_read_locked_inode() local 580 ocfs2_truncate_for_delete(struct ocfs2_super *osb, struct inode *inode, struct buffer_head *fe_bh) ocfs2_truncate_for_delete() argument 636 ocfs2_remove_inode(struct inode *inode, struct buffer_head *di_bh, struct inode *orphan_dir_inode, struct buffer_head *orphan_dir_bh) ocfs2_remove_inode() argument 750 ocfs2_wipe_inode(struct inode *inode, struct buffer_head *di_bh) ocfs2_wipe_inode() argument 841 ocfs2_inode_is_valid_to_delete(struct inode *inode) ocfs2_inode_is_valid_to_delete() argument 889 ocfs2_query_inode_wipe(struct inode *inode, struct buffer_head *di_bh, int *wipe) ocfs2_query_inode_wipe() argument 984 ocfs2_cleanup_delete_inode(struct inode *inode, int sync_data) ocfs2_cleanup_delete_inode() argument 994 ocfs2_delete_inode(struct inode *inode) ocfs2_delete_inode() argument 1112 ocfs2_clear_inode(struct inode *inode) ocfs2_clear_inode() argument 1214 ocfs2_evict_inode(struct inode *inode) ocfs2_evict_inode() argument 1228 ocfs2_drop_inode(struct inode *inode) ocfs2_drop_inode() argument 1251 struct inode *inode = d_inode(dentry); ocfs2_inode_revalidate() local 1289 ocfs2_mark_inode_dirty(handle_t *handle, struct inode *inode, struct buffer_head *bh) ocfs2_mark_inode_dirty() argument 1335 ocfs2_refresh_inode(struct inode *inode, struct ocfs2_dinode *fe) ocfs2_refresh_inode() argument 1564 ocfs2_filecheck_read_inode_block_full(struct inode *inode, struct buffer_head **bh, int flags, int type) ocfs2_filecheck_read_inode_block_full() argument 1589 ocfs2_read_inode_block_full(struct inode *inode, struct buffer_head **bh, int flags) ocfs2_read_inode_block_full() argument 1605 ocfs2_read_inode_block(struct inode *inode, struct buffer_head **bh) ocfs2_read_inode_block() argument [all...] |
/kernel/linux/linux-6.6/fs/ocfs2/ |
H A D | inode.c | 3 * inode.c 30 #include "inode.h" 55 static int ocfs2_read_locked_inode(struct inode *inode, 57 static int ocfs2_init_locked_inode(struct inode *inode, void *opaque); 58 static int ocfs2_find_actor(struct inode *inode, void *opaque); 60 struct inode *inode, 71 ocfs2_set_inode_flags(struct inode *inode) ocfs2_set_inode_flags() argument 125 struct inode *inode = NULL; ocfs2_iget() local 211 ocfs2_find_actor(struct inode *inode, void *opaque) ocfs2_find_actor() argument 236 ocfs2_init_locked_inode(struct inode *inode, void *opaque) ocfs2_init_locked_inode() argument 260 ocfs2_populate_inode(struct inode *inode, struct ocfs2_dinode *fe, int create_ino) ocfs2_populate_inode() argument 384 OCFS2_LOCK_TYPE_OPEN, 0, inode); ocfs2_populate_inode() local 401 ocfs2_read_locked_inode(struct inode *inode, struct ocfs2_find_inode_args *args) ocfs2_read_locked_inode() argument 467 0, inode); ocfs2_read_locked_inode() local 578 ocfs2_truncate_for_delete(struct ocfs2_super *osb, struct inode *inode, struct buffer_head *fe_bh) ocfs2_truncate_for_delete() argument 634 ocfs2_remove_inode(struct inode *inode, struct buffer_head *di_bh, struct inode *orphan_dir_inode, struct buffer_head *orphan_dir_bh) ocfs2_remove_inode() argument 748 ocfs2_wipe_inode(struct inode *inode, struct buffer_head *di_bh) ocfs2_wipe_inode() argument 839 ocfs2_inode_is_valid_to_delete(struct inode *inode) ocfs2_inode_is_valid_to_delete() argument 887 ocfs2_query_inode_wipe(struct inode *inode, struct buffer_head *di_bh, int *wipe) ocfs2_query_inode_wipe() argument 982 ocfs2_cleanup_delete_inode(struct inode *inode, int sync_data) ocfs2_cleanup_delete_inode() argument 992 ocfs2_delete_inode(struct inode *inode) ocfs2_delete_inode() argument 1110 ocfs2_clear_inode(struct inode *inode) ocfs2_clear_inode() argument 1212 ocfs2_evict_inode(struct inode *inode) ocfs2_evict_inode() argument 1226 ocfs2_drop_inode(struct inode *inode) ocfs2_drop_inode() argument 1249 struct inode *inode = d_inode(dentry); ocfs2_inode_revalidate() local 1287 ocfs2_mark_inode_dirty(handle_t *handle, struct inode *inode, struct buffer_head *bh) ocfs2_mark_inode_dirty() argument 1333 ocfs2_refresh_inode(struct inode *inode, struct ocfs2_dinode *fe) ocfs2_refresh_inode() argument 1562 ocfs2_filecheck_read_inode_block_full(struct inode *inode, struct buffer_head **bh, int flags, int type) ocfs2_filecheck_read_inode_block_full() argument 1587 ocfs2_read_inode_block_full(struct inode *inode, struct buffer_head **bh, int flags) ocfs2_read_inode_block_full() argument 1603 ocfs2_read_inode_block(struct inode *inode, struct buffer_head **bh) ocfs2_read_inode_block() argument [all...] |
/kernel/linux/linux-6.6/fs/f2fs/ |
H A D | inode.c | 3 * fs/f2fs/inode.c 27 void f2fs_mark_inode_dirty_sync(struct inode *inode, bool sync) in f2fs_mark_inode_dirty_sync() argument 29 if (is_inode_flag_set(inode, FI_NEW_INODE)) in f2fs_mark_inode_dirty_sync() 32 if (f2fs_inode_dirtied(inode, sync)) in f2fs_mark_inode_dirty_sync() 35 mark_inode_dirty_sync(inode); in f2fs_mark_inode_dirty_sync() 38 void f2fs_set_inode_flags(struct inode *inode) in f2fs_set_inode_flags() argument 40 unsigned int flags = F2FS_I(inode)->i_flags; in f2fs_set_inode_flags() 53 if (file_is_encrypt(inode)) in f2fs_set_inode_flags() 64 __get_inode_rdev(struct inode *inode, struct page *node_page) __get_inode_rdev() argument 77 __set_inode_rdev(struct inode *inode, struct page *node_page) __set_inode_rdev() argument 93 __recover_inline_status(struct inode *inode, struct page *ipage) __recover_inline_status() argument 189 sanity_check_compress_inode(struct inode *inode, struct f2fs_inode *ri) sanity_check_compress_inode() argument 261 sanity_check_inode(struct inode *inode, struct page *node_page) sanity_check_inode() argument 367 init_idisk_time(struct inode *inode) init_idisk_time() argument 376 do_read_inode(struct inode *inode) do_read_inode() argument 535 struct inode *inode; f2fs_iget() local 628 struct inode *inode; f2fs_iget_retry() local 640 f2fs_update_inode(struct inode *inode, struct page *node_page) f2fs_update_inode() argument 747 f2fs_update_inode_page(struct inode *inode) f2fs_update_inode_page() argument 770 f2fs_write_inode(struct inode *inode, struct writeback_control *wbc) f2fs_write_inode() argument 801 f2fs_evict_inode(struct inode *inode) f2fs_evict_inode() argument 937 f2fs_handle_failed_inode(struct inode *inode) f2fs_handle_failed_inode() argument [all...] |
/kernel/linux/linux-5.10/fs/hfs/ |
H A D | inode.c | 2 * linux/fs/hfs/inode.c 8 * This file contains inode-related functions which do not depend on 44 struct inode *inode = mapping->host; in hfs_write_failed() local 46 if (to > inode->i_size) { in hfs_write_failed() 47 truncate_pagecache(inode, inode->i_size); in hfs_write_failed() 48 hfs_file_truncate(inode); in hfs_write_failed() 75 struct inode *inode in hfs_releasepage() local 134 struct inode *inode = mapping->host; hfs_direct_IO() local 186 struct inode *inode = new_inode(sb); hfs_new_inode() local 240 hfs_delete_inode(struct inode *inode) hfs_delete_inode() argument 266 hfs_inode_read_fork(struct inode *inode, struct hfs_extent *ext, __be32 __log_size, __be32 phys_size, u32 clump_size) hfs_inode_read_fork() argument 294 hfs_test_inode(struct inode *inode, void *data) hfs_test_inode() argument 314 hfs_read_inode(struct inode *inode, void *data) hfs_read_inode() argument 388 struct inode *inode; hfs_iget() local 407 hfs_inode_write_fork(struct inode *inode, struct hfs_extent *ext, __be32 *log_size, __be32 *phys_size) hfs_inode_write_fork() argument 419 hfs_write_inode(struct inode *inode, struct writeback_control *wbc) hfs_write_inode() argument 515 struct inode *inode = NULL; hfs_file_lookup() local 557 hfs_evict_inode(struct inode *inode) hfs_evict_inode() argument 567 hfs_file_open(struct inode *inode, struct file *file) hfs_file_open() argument 575 hfs_file_release(struct inode *inode, struct file *file) hfs_file_release() argument 612 struct inode *inode = d_inode(dentry); hfs_inode_setattr() local 663 struct inode *inode = filp->f_mapping->host; hfs_file_fsync() local [all...] |
/kernel/linux/linux-6.6/fs/ext2/ |
H A D | inode.c | 3 * linux/fs/ext2/inode.c 12 * linux/fs/minix/inode.c 43 static int __ext2_write_inode(struct inode *inode, int do_sync); 46 * Test whether an inode is a fast symlink. 48 static inline int ext2_inode_is_fast_symlink(struct inode *inode) in ext2_inode_is_fast_symlink() argument 50 int ea_blocks = EXT2_I(inode)->i_file_acl ? in ext2_inode_is_fast_symlink() 51 (inode->i_sb->s_blocksize >> 9) : 0; in ext2_inode_is_fast_symlink() 53 return (S_ISLNK(inode in ext2_inode_is_fast_symlink() 61 struct inode *inode = mapping->host; ext2_write_failed() local 72 ext2_evict_inode(struct inode * inode) ext2_evict_inode() argument 163 ext2_block_to_path(struct inode *inode, long i_block, int offsets[4], int *boundary) ext2_block_to_path() argument 234 ext2_get_branch(struct inode *inode, int depth, int *offsets, Indirect chain[4], int *err) ext2_get_branch() argument 294 ext2_find_near(struct inode *inode, Indirect *ind) ext2_find_near() argument 330 ext2_find_goal(struct inode *inode, long block, Indirect *partial) ext2_find_goal() argument 399 ext2_alloc_blocks(struct inode *inode, ext2_fsblk_t goal, int indirect_blks, int blks, ext2_fsblk_t new_blocks[4], int *err) ext2_alloc_blocks() argument 479 ext2_alloc_branch(struct inode *inode, int indirect_blks, int *blks, ext2_fsblk_t goal, int *offsets, Indirect *branch) ext2_alloc_branch() argument 561 ext2_splice_branch(struct inode *inode, long block, Indirect *where, int num, int blks) ext2_splice_branch() argument 624 ext2_get_blocks(struct inode *inode, sector_t iblock, unsigned long maxblocks, u32 *bno, bool *new, bool *boundary, int create) ext2_get_blocks() argument 783 ext2_get_block(struct inode *inode, sector_t iblock, struct buffer_head *bh_result, int create) ext2_get_block() argument 806 ext2_iomap_begin(struct inode *inode, loff_t offset, loff_t length, unsigned flags, struct iomap *iomap, struct iomap *srcmap) ext2_iomap_begin() argument 872 ext2_iomap_end(struct inode *inode, loff_t offset, loff_t length, ssize_t written, unsigned flags, struct iomap *iomap) ext2_iomap_end() argument 894 ext2_fiemap(struct inode *inode, struct fiemap_extent_info *fieinfo, u64 start, u64 len) ext2_fiemap() argument 1028 ext2_find_shared(struct inode *inode, int depth, int offsets[4], Indirect chain[4], __le32 *top) ext2_find_shared() argument 1087 ext2_free_data(struct inode *inode, __le32 *p, __le32 *q) ext2_free_data() argument 1127 ext2_free_branches(struct inode *inode, __le32 *p, __le32 *q, int depth) ext2_free_branches() argument 1163 __ext2_truncate_blocks(struct inode *inode, loff_t offset) __ext2_truncate_blocks() argument 1253 ext2_truncate_blocks(struct inode *inode, loff_t offset) ext2_truncate_blocks() argument 1266 ext2_setsize(struct inode *inode, loff_t newsize) ext2_setsize() argument 1348 ext2_set_inode_flags(struct inode *inode) ext2_set_inode_flags() argument 1368 ext2_set_file_ops(struct inode *inode) ext2_set_file_ops() argument 1383 struct inode *inode; ext2_iget() local 1504 __ext2_write_inode(struct inode *inode, int do_sync) __ext2_write_inode() argument 1608 ext2_write_inode(struct inode *inode, struct writeback_control *wbc) ext2_write_inode() argument 1616 struct inode *inode = d_inode(path->dentry); ext2_getattr() local 1642 struct inode *inode = d_inode(dentry); ext2_setattr() local [all...] |
/kernel/linux/linux-6.6/fs/hfs/ |
H A D | inode.c | 2 * linux/fs/hfs/inode.c 8 * This file contains inode-related functions which do not depend on 44 struct inode *inode = mapping->host; in hfs_write_failed() local 46 if (to > inode->i_size) { in hfs_write_failed() 47 truncate_pagecache(inode, inode->i_size); in hfs_write_failed() 48 hfs_file_truncate(inode); in hfs_write_failed() 74 struct inode *inode in hfs_release_folio() local 134 struct inode *inode = mapping->host; hfs_direct_IO() local 190 struct inode *inode = new_inode(sb); hfs_new_inode() local 244 hfs_delete_inode(struct inode *inode) hfs_delete_inode() argument 270 hfs_inode_read_fork(struct inode *inode, struct hfs_extent *ext, __be32 __log_size, __be32 phys_size, u32 clump_size) hfs_inode_read_fork() argument 298 hfs_test_inode(struct inode *inode, void *data) hfs_test_inode() argument 318 hfs_read_inode(struct inode *inode, void *data) hfs_read_inode() argument 392 struct inode *inode; hfs_iget() local 411 hfs_inode_write_fork(struct inode *inode, struct hfs_extent *ext, __be32 *log_size, __be32 *phys_size) hfs_inode_write_fork() argument 423 hfs_write_inode(struct inode *inode, struct writeback_control *wbc) hfs_write_inode() argument 519 struct inode *inode = NULL; hfs_file_lookup() local 561 hfs_evict_inode(struct inode *inode) hfs_evict_inode() argument 571 hfs_file_open(struct inode *inode, struct file *file) hfs_file_open() argument 579 hfs_file_release(struct inode *inode, struct file *file) hfs_file_release() argument 617 struct inode *inode = d_inode(dentry); hfs_inode_setattr() local 668 struct inode *inode = filp->f_mapping->host; hfs_file_fsync() local [all...] |
/kernel/linux/linux-5.10/fs/coda/ |
H A D | cnode.c | 26 static void coda_fill_inode(struct inode *inode, struct coda_vattr *attr) in coda_fill_inode() argument 28 coda_vattr_to_iattr(inode, attr); in coda_fill_inode() 30 if (S_ISREG(inode->i_mode)) { in coda_fill_inode() 31 inode->i_op = &coda_file_inode_operations; in coda_fill_inode() 32 inode->i_fop = &coda_file_operations; in coda_fill_inode() 33 } else if (S_ISDIR(inode->i_mode)) { in coda_fill_inode() 34 inode->i_op = &coda_dir_inode_operations; in coda_fill_inode() 35 inode->i_fop = &coda_dir_operations; in coda_fill_inode() 36 } else if (S_ISLNK(inode in coda_fill_inode() 45 coda_test_inode(struct inode *inode, void *data) coda_test_inode() argument 52 coda_set_inode(struct inode *inode, void *data) coda_set_inode() argument 63 struct inode *inode; coda_iget() local 95 struct inode *inode; coda_cnode_make() local 118 coda_replace_fid(struct inode *inode, struct CodaFid *oldfid, struct CodaFid *newfid) coda_replace_fid() argument 137 struct inode *inode; coda_fid_to_inode() local 164 struct inode *inode = new_inode(sb); coda_cnode_makectl() local [all...] |
/kernel/linux/linux-6.6/fs/ext4/ |
H A D | inode.c | 3 * linux/fs/ext4/inode.c 12 * linux/fs/minix/inode.c 52 static __u32 ext4_inode_csum(struct inode *inode, struct ext4_inode *raw, in ext4_inode_csum() argument 55 struct ext4_sb_info *sbi = EXT4_SB(inode->i_sb); in ext4_inode_csum() 67 if (EXT4_INODE_SIZE(inode->i_sb) > EXT4_GOOD_OLD_INODE_SIZE) { in ext4_inode_csum() 78 EXT4_INODE_SIZE(inode->i_sb) - offset); in ext4_inode_csum() 84 static int ext4_inode_csum_verify(struct inode *inode, struct ext4_inode *raw, in ext4_inode_csum_verify() argument 89 if (EXT4_SB(inode in ext4_inode_csum_verify() 105 ext4_inode_csum_set(struct inode *inode, struct ext4_inode *raw, struct ext4_inode_info *ei) ext4_inode_csum_set() argument 122 ext4_begin_ordered_truncate(struct inode *inode, loff_t new_size) ext4_begin_ordered_truncate() argument 146 ext4_inode_is_fast_symlink(struct inode *inode) ext4_inode_is_fast_symlink() argument 164 ext4_evict_inode(struct inode *inode) ext4_evict_inode() argument 322 ext4_get_reserved_space(struct inode *inode) ext4_get_reserved_space() argument 332 ext4_da_update_reserve_space(struct inode *inode, int used, int quota_claim) ext4_da_update_reserve_space() argument 377 __check_block_validity(struct inode *inode, const char *func, unsigned int line, struct ext4_map_blocks *map) __check_block_validity() argument 395 ext4_issue_zeroout(struct inode *inode, ext4_lblk_t lblk, ext4_fsblk_t pblk, ext4_lblk_t len) ext4_issue_zeroout() argument 414 ext4_map_blocks_es_recheck(handle_t *handle, struct inode *inode, struct ext4_map_blocks *es_map, struct ext4_map_blocks *map, int flags) ext4_map_blocks_es_recheck() argument 478 ext4_map_blocks(handle_t *handle, struct inode *inode, struct ext4_map_blocks *map, int flags) ext4_map_blocks() argument 751 _ext4_get_block(struct inode *inode, sector_t iblock, struct buffer_head *bh, int flags) _ext4_get_block() argument 777 ext4_get_block(struct inode *inode, sector_t iblock, struct buffer_head *bh, int create) ext4_get_block() argument 789 ext4_get_block_unwritten(struct inode *inode, sector_t iblock, struct buffer_head *bh_result, int create) ext4_get_block_unwritten() argument 816 ext4_getblk(handle_t *handle, struct inode *inode, ext4_lblk_t block, int map_flags) ext4_getblk() argument 881 ext4_bread(handle_t *handle, struct inode *inode, ext4_lblk_t block, int map_flags) ext4_bread() argument 902 ext4_bread_batch(struct inode *inode, ext4_lblk_t block, int bh_count, bool wait, struct buffer_head **bhs) ext4_bread_batch() argument 944 ext4_walk_page_buffers(handle_t *handle, struct inode *inode, struct buffer_head *head, unsigned from, unsigned to, int *partial, int (*fn)(handle_t *handle, struct inode *inode, struct buffer_head *bh)) ext4_walk_page_buffers() argument 987 do_journal_get_write_access(handle_t *handle, struct inode *inode, struct buffer_head *bh) do_journal_get_write_access() argument 1019 struct inode *inode = folio->mapping->host; ext4_block_write_begin() local 1121 struct inode *inode = mapping->host; ext4_write_begin() local 1249 write_end_fn(handle_t *handle, struct inode *inode, struct buffer_head *bh) write_end_fn() argument 1276 struct inode *inode = mapping->host; ext4_write_end() local 1343 ext4_journalled_zero_new_buffers(handle_t *handle, struct inode *inode, struct folio *folio, unsigned from, unsigned to) ext4_journalled_zero_new_buffers() argument 1380 struct inode *inode = mapping->host; ext4_journalled_write_end() local 1455 ext4_da_reserve_space(struct inode *inode) ext4_da_reserve_space() argument 1483 ext4_da_release_space(struct inode *inode, int to_free) ext4_da_release_space() argument 1524 struct inode *inode; global() member 1550 struct inode *inode = mpd->inode; mpage_release_unused_pages() local 1601 ext4_print_free_blocks(struct inode *inode) ext4_print_free_blocks() argument 1634 ext4_insert_delayed_block(struct inode *inode, ext4_lblk_t lblk) ext4_insert_delayed_block() argument 1686 ext4_da_map_blocks(struct inode *inode, sector_t iblock, struct ext4_map_blocks *map, struct buffer_head *bh) ext4_da_map_blocks() argument 1808 ext4_da_get_block_prep(struct inode *inode, sector_t iblock, struct buffer_head *bh, int create) ext4_da_get_block_prep() argument 1966 struct inode *inode = mpd->inode; mpage_process_page_bufs() local 2092 struct inode *inode = mpd->inode; mpage_map_and_submit_buffers() local 2141 struct inode *inode = mpd->inode; mpage_map_one_extent() local 2211 struct inode *inode = mpd->inode; mpage_map_and_submit_extent() local 2303 ext4_da_writepages_trans_blocks(struct inode *inode) ext4_da_writepages_trans_blocks() argument 2315 struct inode *inode = folio->mapping->host; ext4_journal_folio_buffers() local 2336 struct inode *inode = mpd->inode; mpage_journal_page_buffers() local 2527 struct inode *inode = mpd->inode; ext4_do_writepages() local 2810 struct inode *inode = mapping->host; ext4_dax_writepages() local 2868 struct inode *inode = mapping->host; ext4_da_write_begin() local 2935 struct inode *inode = folio->mapping->host; ext4_da_should_update_i_disksize() local 2954 struct inode *inode = mapping->host; ext4_da_do_write_end() local 3016 struct inode *inode = mapping->host; ext4_da_write_end() local 3041 ext4_alloc_da_blocks(struct inode *inode) ext4_alloc_da_blocks() argument 3098 struct inode *inode = mapping->host; ext4_bmap() local 3129 struct inode *inode = folio->mapping->host; ext4_read_folio() local 3144 struct inode *inode = rac->mapping->host; ext4_readahead() local 3190 struct inode *inode = folio->mapping->host; ext4_release_folio() local 3204 ext4_inode_datasync_dirty(struct inode *inode) ext4_inode_datasync_dirty() argument 3223 ext4_set_iomap(struct inode *inode, struct iomap *iomap, struct ext4_map_blocks *map, loff_t offset, loff_t length, unsigned int flags) ext4_set_iomap() argument 3278 ext4_iomap_alloc(struct inode *inode, struct ext4_map_blocks *map, unsigned int flags) ext4_iomap_alloc() argument 3340 ext4_iomap_begin(struct inode *inode, loff_t offset, loff_t length, unsigned flags, struct iomap *iomap, struct iomap *srcmap) ext4_iomap_begin() argument 3392 ext4_iomap_overwrite_begin(struct inode *inode, loff_t offset, loff_t length, unsigned flags, struct iomap *iomap, struct iomap *srcmap) ext4_iomap_overwrite_begin() argument 3408 ext4_iomap_end(struct inode *inode, loff_t offset, loff_t length, ssize_t written, unsigned flags, struct iomap *iomap) ext4_iomap_end() argument 3434 ext4_iomap_is_delalloc(struct inode *inode, struct ext4_map_blocks *map) ext4_iomap_is_delalloc() argument 3457 ext4_iomap_begin_report(struct inode *inode, loff_t offset, loff_t length, unsigned int flags, struct iomap *iomap, struct iomap *srcmap) ext4_iomap_begin_report() argument 3615 ext4_set_aops(struct inode *inode) ext4_set_aops() argument 3642 struct inode *inode = mapping->host; __ext4_block_zero_page_range() local 3740 struct inode *inode = mapping->host; ext4_block_zero_page_range() local 3771 struct inode *inode = mapping->host; ext4_block_truncate_page() local 3783 ext4_zero_partial_blocks(handle_t *handle, struct inode *inode, loff_t lstart, loff_t length) ext4_zero_partial_blocks() argument 3821 ext4_can_truncate(struct inode *inode) ext4_can_truncate() argument 3838 ext4_update_disksize_before_punch(struct inode *inode, loff_t offset, loff_t len) ext4_update_disksize_before_punch() argument 3863 ext4_wait_dax_page(struct inode *inode) ext4_wait_dax_page() argument 3870 ext4_break_layouts(struct inode *inode) ext4_break_layouts() argument 3905 struct inode *inode = file_inode(file); ext4_punch_hole() local 4050 ext4_inode_attach_jinode(struct inode *inode) ext4_inode_attach_jinode() argument 4103 ext4_truncate(struct inode *inode) ext4_truncate() argument 4206 ext4_inode_peek_iversion(const struct inode *inode) ext4_inode_peek_iversion() argument 4217 struct inode *inode = &(ei->vfs_inode); ext4_inode_blocks_set() local 4258 ext4_fill_raw_inode(struct inode *inode, struct ext4_inode *raw_inode) ext4_fill_raw_inode() argument 4359 __ext4_get_inode_loc(struct super_block *sb, unsigned long ino, struct inode *inode, struct ext4_iloc *iloc, ext4_fsblk_t *ret_block) __ext4_get_inode_loc() argument 4503 __ext4_get_inode_loc_noinmem(struct inode *inode, struct ext4_iloc *iloc) __ext4_get_inode_loc_noinmem() argument 4519 ext4_get_inode_loc(struct inode *inode, struct ext4_iloc *iloc) ext4_get_inode_loc() argument 4541 ext4_should_enable_dax(struct inode *inode) ext4_should_enable_dax() argument 4565 ext4_set_inode_flags(struct inode *inode, bool init) ext4_set_inode_flags() argument 4604 struct inode *inode = &(ei->vfs_inode); ext4_inode_blocks() local 4622 ext4_iget_extra_inode(struct inode *inode, struct ext4_inode *raw_inode, struct ext4_inode_info *ei) ext4_iget_extra_inode() argument 4643 ext4_get_projid(struct inode *inode, kprojid_t *projid) ext4_get_projid() argument 4656 ext4_inode_set_iversion_queried(struct inode *inode, u64 val) ext4_inode_set_iversion_queried() argument 4664 check_igot_inode(struct inode *inode, ext4_iget_flags flags) check_igot_inode() argument 4690 struct inode *inode; __ext4_iget() local 5016 struct inode *inode; __ext4_update_other_inode_time() local 5078 ext4_do_update_inode(handle_t *handle, struct inode *inode, struct ext4_iloc *iloc) ext4_do_update_inode() argument 5179 ext4_write_inode(struct inode *inode, struct writeback_control *wbc) ext4_write_inode() argument 5233 ext4_wait_for_tail_page_commit(struct inode *inode) ext4_wait_for_tail_page_commit() argument 5300 struct inode *inode = d_inode(dentry); ext4_setattr() local 5513 ext4_dio_alignment(struct inode *inode) ext4_dio_alignment() argument 5532 struct inode *inode = d_inode(path->dentry); ext4_getattr() local 5594 struct inode *inode = d_inode(path->dentry); ext4_file_getattr() local 5624 ext4_index_trans_blocks(struct inode *inode, int lblocks, int pextents) ext4_index_trans_blocks() argument 5643 ext4_meta_trans_blocks(struct inode *inode, int lblocks, int pextents) ext4_meta_trans_blocks() argument 5689 ext4_writepage_trans_blocks(struct inode *inode) ext4_writepage_trans_blocks() argument 5711 ext4_chunk_trans_blocks(struct inode *inode, int nrblocks) ext4_chunk_trans_blocks() argument 5720 ext4_mark_iloc_dirty(handle_t *handle, struct inode *inode, struct ext4_iloc *iloc) ext4_mark_iloc_dirty() argument 5746 ext4_reserve_inode_write(handle_t *handle, struct inode *inode, struct ext4_iloc *iloc) ext4_reserve_inode_write() argument 5768 __ext4_expand_extra_isize(struct inode *inode, unsigned int new_extra_isize, struct ext4_iloc *iloc, handle_t *handle, int *no_expand) __ext4_expand_extra_isize() argument 5831 ext4_try_to_expand_extra_isize(struct inode *inode, unsigned int new_extra_isize, struct ext4_iloc iloc, handle_t *handle) ext4_try_to_expand_extra_isize() argument 5865 ext4_expand_extra_isize(struct inode *inode, unsigned int new_extra_isize, struct ext4_iloc *iloc) ext4_expand_extra_isize() argument 5922 __ext4_mark_inode_dirty(handle_t *handle, struct inode *inode, const char *func, unsigned int line) __ext4_mark_inode_dirty() argument 5961 ext4_dirty_inode(struct inode *inode, int flags) ext4_dirty_inode() argument 5972 ext4_change_inode_journal_flag(struct inode *inode, int val) ext4_change_inode_journal_flag() argument 6061 ext4_bh_unmapped(handle_t *handle, struct inode *inode, struct buffer_head *bh) ext4_bh_unmapped() argument 6076 struct inode *inode = file_inode(file); ext4_page_mkwrite() local [all...] |