Home
last modified time | relevance | path

Searched refs:ext4_inode (Results 1 - 19 of 19) sorted by relevance

/kernel/linux/linux-5.10/fs/ext4/
H A Dinode.c51 static __u32 ext4_inode_csum(struct inode *inode, struct ext4_inode *raw, in ext4_inode_csum()
57 int offset = offsetof(struct ext4_inode, i_checksum_lo); in ext4_inode_csum()
67 offset = offsetof(struct ext4_inode, i_checksum_hi); in ext4_inode_csum()
83 static int ext4_inode_csum_verify(struct inode *inode, struct ext4_inode *raw, in ext4_inode_csum_verify()
104 void ext4_inode_csum_set(struct inode *inode, struct ext4_inode *raw, in ext4_inode_csum_set()
4314 static int ext4_inode_blocks_set(struct ext4_inode *raw_inode, in ext4_inode_blocks_set()
4358 static int ext4_fill_raw_inode(struct inode *inode, struct ext4_inode *raw_inode) in ext4_fill_raw_inode()
4541 struct ext4_inode *raw_inode = in __ext4_get_inode_loc()
4542 (struct ext4_inode *) (bh->b_data + iloc->offset); in __ext4_get_inode_loc()
4700 static blkcnt_t ext4_inode_blocks(struct ext4_inode *raw_inod
[all...]
H A Dxattr.h193 struct ext4_inode *raw_inode, handle_t *handle);
H A Dxattr.c589 struct ext4_inode *raw_inode; in ext4_xattr_ibody_get()
735 struct ext4_inode *raw_inode; in ext4_xattr_ibody_list()
817 struct ext4_inode *raw_inode; in ext4_get_inode_usage()
2195 struct ext4_inode *raw_inode; in ext4_xattr_ibody_find()
2345 struct ext4_inode *raw_inode = ext4_raw_inode(&is.iloc); in ext4_xattr_set_handle()
2545 struct ext4_inode *raw_inode, in ext4_xattr_move_to_block()
2634 struct ext4_inode *raw_inode, in ext4_xattr_make_inode_space()
2703 struct ext4_inode *raw_inode, handle_t *handle) in ext4_expand_extra_isize_ea()
H A Dext4.h767 struct ext4_inode { struct
851 #define EXT4_FITS_IN_INODE(ext4_inode, einode, field) \
852 ((offsetof(typeof(*ext4_inode), field) + \
853 sizeof((ext4_inode)->field)) \
2375 static inline struct ext4_inode *ext4_raw_inode(struct ext4_iloc *iloc) in ext4_raw_inode()
2377 return (struct ext4_inode *) (iloc->bh->b_data + iloc->offset); in ext4_raw_inode()
2846 void ext4_inode_csum_set(struct inode *inode, struct ext4_inode *raw,
3208 struct ext4_inode *raw_inode) in ext4_isize()
3218 static inline void ext4_isize_set(struct ext4_inode *raw_inode, loff_t i_size) in ext4_isize_set()
H A Dfast_commit.c1430 struct ext4_inode *raw_inode; in ext4_fc_replay_inode()
1431 struct ext4_inode *raw_fc_inode; in ext4_fc_replay_inode()
1453 raw_fc_inode = (struct ext4_inode *) in ext4_fc_replay_inode()
1462 memcpy(raw_inode, raw_fc_inode, offsetof(struct ext4_inode, i_block)); in ext4_fc_replay_inode()
1464 inode_len - offsetof(struct ext4_inode, i_generation)); in ext4_fc_replay_inode()
H A Dinline.c34 struct ext4_inode *raw_inode; in get_max_inline_xattr_value_size()
183 struct ext4_inode *raw_inode; in ext4_read_inline_data()
227 struct ext4_inode *raw_inode; in ext4_write_inline_data()
1872 addr += offsetof(struct ext4_inode, i_block); in ext4_inline_data_iomap()
H A Dialloc.c676 struct ext4_inode *raw_inode; in recently_deleted()
697 raw_inode = (struct ext4_inode *) (bh->b_data + offset); in recently_deleted()
H A Dioctl.c476 struct ext4_inode *raw_inode; in ext4_ioctl_setproject()
H A Dsuper.c3207 * We use 48 bit ext4_inode i_blocks in ext4_max_bitmap_size()
4224 * [acm]times in struct ext4_inode. Checking for that in ext4_fill_super()
4228 if (sbi->s_inode_size >= offsetof(struct ext4_inode, i_atime_extra) + in ext4_fill_super()
4229 sizeof(((struct ext4_inode *)0)->i_atime_extra)) { in ext4_fill_super()
4239 sbi->s_want_extra_isize = sizeof(struct ext4_inode) - in ext4_fill_super()
/kernel/linux/linux-6.6/fs/ext4/
H A Dinode.c52 static __u32 ext4_inode_csum(struct inode *inode, struct ext4_inode *raw, in ext4_inode_csum()
58 int offset = offsetof(struct ext4_inode, i_checksum_lo); in ext4_inode_csum()
68 offset = offsetof(struct ext4_inode, i_checksum_hi); in ext4_inode_csum()
84 static int ext4_inode_csum_verify(struct inode *inode, struct ext4_inode *raw, in ext4_inode_csum_verify()
105 void ext4_inode_csum_set(struct inode *inode, struct ext4_inode *raw, in ext4_inode_csum_set()
4214 static int ext4_inode_blocks_set(struct ext4_inode *raw_inode, in ext4_inode_blocks_set()
4258 static int ext4_fill_raw_inode(struct inode *inode, struct ext4_inode *raw_inode) in ext4_fill_raw_inode()
4442 struct ext4_inode *raw_inode = in __ext4_get_inode_loc()
4443 (struct ext4_inode *) (bh->b_data + iloc->offset); in __ext4_get_inode_loc()
4600 static blkcnt_t ext4_inode_blocks(struct ext4_inode *raw_inod
[all...]
H A Dxattr.h193 struct ext4_inode *raw_inode, handle_t *handle);
H A Dinode-test.c220 KUNIT_ARRAY_PARAM(ext4_inode, test_data, timestamp_expectation_to_desc);
H A Dext4.h766 struct ext4_inode { struct
841 #define EXT4_FITS_IN_INODE(ext4_inode, einode, field) \
842 ((offsetof(typeof(*ext4_inode), field) + \
843 sizeof((ext4_inode)->field)) \
2516 static inline struct ext4_inode *ext4_raw_inode(struct ext4_iloc *iloc) in ext4_raw_inode()
2518 return (struct ext4_inode *) (iloc->bh->b_data + iloc->offset); in ext4_raw_inode()
2935 void ext4_inode_csum_set(struct inode *inode, struct ext4_inode *raw,
3309 struct ext4_inode *raw_inode) in ext4_isize()
3319 static inline void ext4_isize_set(struct ext4_inode *raw_inode, loff_t i_size) in ext4_isize_set()
H A Dfast_commit.c1521 struct ext4_inode *raw_inode; in ext4_fc_replay_inode()
1522 struct ext4_inode *raw_fc_inode; in ext4_fc_replay_inode()
1527 size_t off_gen = offsetof(struct ext4_inode, i_generation); in ext4_fc_replay_inode()
1545 raw_fc_inode = (struct ext4_inode *) in ext4_fc_replay_inode()
1554 memcpy(raw_inode, raw_fc_inode, offsetof(struct ext4_inode, i_block)); in ext4_fc_replay_inode()
H A Dxattr.c639 struct ext4_inode *raw_inode; in ext4_xattr_ibody_get()
784 struct ext4_inode *raw_inode; in ext4_xattr_ibody_list()
867 struct ext4_inode *raw_inode; in ext4_get_inode_usage()
2251 struct ext4_inode *raw_inode; in ext4_xattr_ibody_find()
2401 struct ext4_inode *raw_inode = ext4_raw_inode(&is.iloc); in ext4_xattr_set_handle()
2602 struct ext4_inode *raw_inode, in ext4_xattr_move_to_block()
2691 struct ext4_inode *raw_inode, in ext4_xattr_make_inode_space()
2760 struct ext4_inode *raw_inode, handle_t *handle) in ext4_expand_extra_isize_ea()
H A Dinline.c36 struct ext4_inode *raw_inode; in get_max_inline_xattr_value_size()
185 struct ext4_inode *raw_inode; in ext4_read_inline_data()
228 struct ext4_inode *raw_inode; in ext4_write_inline_data()
1880 addr += offsetof(struct ext4_inode, i_block); in ext4_inline_data_iomap()
H A Dialloc.c677 struct ext4_inode *raw_inode; in recently_deleted()
698 raw_inode = (struct ext4_inode *) (bh->b_data + offset); in recently_deleted()
H A Dioctl.c711 struct ext4_inode *raw_inode; in ext4_ioctl_setproject()
H A Dsuper.c3484 * We use 48 bit ext4_inode i_blocks in ext4_max_bitmap_size()
4518 * [acm]times in struct ext4_inode. Checking for that in ext4_inode_info_init()
4522 if (sbi->s_inode_size >= offsetof(struct ext4_inode, i_atime_extra) + in ext4_inode_info_init()
4523 sizeof(((struct ext4_inode *)0)->i_atime_extra)) { in ext4_inode_info_init()
4534 sbi->s_want_extra_isize = sizeof(struct ext4_inode) - in ext4_inode_info_init()

Completed in 97 milliseconds