Home
last modified time | relevance | path

Searched refs:i_extra_isize (Results 1 – 16 of 16) sorted by relevance

/Linux-v5.15/fs/f2fs/
Dinode.c136 if (!F2FS_FITS_IN_INODE(ri, le16_to_cpu(ri->i_extra_isize), in f2fs_enable_inode_chksum()
242 if (fi->i_extra_isize > F2FS_TOTAL_EXTRA_ATTR_SIZE || in sanity_check_inode()
243 fi->i_extra_isize % sizeof(__le32)) { in sanity_check_inode()
246 __func__, inode->i_ino, fi->i_extra_isize, in sanity_check_inode()
303 F2FS_FITS_IN_INODE(ri, fi->i_extra_isize, in sanity_check_inode()
388 fi->i_extra_isize = f2fs_has_extra_attr(inode) ? in do_read_inode()
389 le16_to_cpu(ri->i_extra_isize) : 0; in do_read_inode()
443 F2FS_FITS_IN_INODE(ri, fi->i_extra_isize, i_projid)) in do_read_inode()
450 F2FS_FITS_IN_INODE(ri, fi->i_extra_isize, i_crtime)) { in do_read_inode()
457 if (F2FS_FITS_IN_INODE(ri, fi->i_extra_isize, in do_read_inode()
[all …]
Dnode.c2774 dst->i_extra_isize = src->i_extra_isize; in f2fs_recover_inode_page()
2777 F2FS_FITS_IN_INODE(src, le16_to_cpu(src->i_extra_isize), in f2fs_recover_inode_page()
2782 F2FS_FITS_IN_INODE(src, le16_to_cpu(src->i_extra_isize), in f2fs_recover_inode_page()
2787 F2FS_FITS_IN_INODE(src, le16_to_cpu(src->i_extra_isize), in f2fs_recover_inode_page()
Drecovery.c299 F2FS_FITS_IN_INODE(raw, le16_to_cpu(raw->i_extra_isize), in recover_inode()
Df2fs.h769 int i_extra_isize; /* size of extra space located in i_addr */ member
2676 (le16_to_cpu(i->i_extra_isize) / sizeof(__le32)) : 0; in offset_in_addr()
3213 return F2FS_I(inode)->i_extra_isize / sizeof(__le32); in get_extra_isize()
3227 offsetof(struct f2fs_inode, i_extra_isize)) \
Dnamei.c88 F2FS_I(inode)->i_extra_isize = F2FS_TOTAL_EXTRA_ATTR_SIZE; in f2fs_new_inode()
Dfile.c819 F2FS_FITS_IN_INODE(ri, fi->i_extra_isize, i_crtime)) { in f2fs_getattr()
3015 if (!F2FS_FITS_IN_INODE(F2FS_INODE(ipage), fi->i_extra_isize, in f2fs_ioc_setproject()
/Linux-v5.15/fs/ext4/
Dinode.c4499 EXT4_GOOD_OLD_INODE_SIZE + ei->i_extra_isize; in ext4_iget_extra_inode()
4501 if (EXT4_GOOD_OLD_INODE_SIZE + ei->i_extra_isize + sizeof(__le32) <= in ext4_iget_extra_inode()
4600 ei->i_extra_isize = le16_to_cpu(raw_inode->i_extra_isize); in __ext4_iget()
4601 if (EXT4_GOOD_OLD_INODE_SIZE + ei->i_extra_isize > in __ext4_iget()
4603 (ei->i_extra_isize & 3)) { in __ext4_iget()
4607 ei->i_extra_isize, in __ext4_iget()
4613 ei->i_extra_isize = 0; in __ext4_iget()
4747 if (ei->i_extra_isize == 0) { in __ext4_iget()
4750 ei->i_extra_isize = sizeof(struct ext4_inode) - in __ext4_iget()
5066 if (ei->i_extra_isize) { in ext4_do_update_inode()
[all …]
Dxattr.h70 EXT4_I(inode)->i_extra_isize))
Dxattr.c2179 if (EXT4_I(inode)->i_extra_isize == 0) in ext4_xattr_ibody_find()
2208 if (EXT4_I(inode)->i_extra_isize == 0) in ext4_xattr_ibody_set()
2689 isize_diff = new_extra_isize - EXT4_I(inode)->i_extra_isize; in ext4_expand_extra_isize_ea()
2690 if (EXT4_I(inode)->i_extra_isize >= new_extra_isize) in ext4_expand_extra_isize_ea()
2763 ext4_xattr_shift_entries(IFIRST(header), EXT4_I(inode)->i_extra_isize in ext4_expand_extra_isize_ea()
2767 EXT4_I(inode)->i_extra_isize = new_extra_isize; in ext4_expand_extra_isize_ea()
Dinline.c40 EXT4_I(inode)->i_extra_isize - in get_max_inline_xattr_value_size()
97 if (EXT4_I(inode)->i_extra_isize == 0) in ext4_get_max_inline_size()
136 if (EXT4_I(inode)->i_extra_isize == 0) in ext4_find_inline_data_nolock()
Dext4.h832 __le16 i_extra_isize; member
870 (einode)->i_extra_isize)) \
1133 __u16 i_extra_isize; member
Dialloc.c1299 ei->i_extra_isize = sbi->s_want_extra_isize; in __ext4_new_inode()
Dfast_commit.c823 inode_len += ei->i_extra_isize; in ext4_fc_write_inode()
Dextents.c4843 EXT4_I(inode)->i_extra_isize; in ext4_iomap_xattr_fiemap()
/Linux-v5.15/Documentation/filesystems/ext4/
Dinodes.rst470 128-byte ext2 inode is recorded in the ``i_extra_isize`` field for each
474 ``i_extra_isize``. By default, ext4 inode records are 256 bytes, and (as
476 (``i_extra_isize = 32``). The extra space between the end of the inode
/Linux-v5.15/include/linux/
Df2fs_fs.h269 __le16 i_extra_isize; /* extra inode attribute size */ member