ext4_inode
static inline struct ext4_inode *ext4_raw_inode(struct ext4_iloc *iloc)
return (struct ext4_inode *) (iloc->bh->b_data + iloc->offset);
void ext4_inode_csum_set(struct inode *inode, struct ext4_inode *raw,
struct ext4_inode *raw_inode)
static inline void ext4_isize_set(struct ext4_inode *raw_inode, loff_t i_size)
#define EXT4_FITS_IN_INODE(ext4_inode, einode, field) \
((offsetof(typeof(*ext4_inode), field) + \
sizeof((ext4_inode)->field)) \
struct ext4_inode *raw_inode;
struct ext4_inode *raw_fc_inode;
size_t off_gen = offsetof(struct ext4_inode, i_generation);
raw_fc_inode = (struct ext4_inode *)
memcpy(raw_inode, raw_fc_inode, offsetof(struct ext4_inode, i_block));
struct ext4_inode *raw_inode;
raw_inode = (struct ext4_inode *) (bh->b_data + offset);
addr += offsetof(struct ext4_inode, i_block);
struct ext4_inode *raw_inode;
struct ext4_inode *raw_inode;
struct ext4_inode *raw_inode;
KUNIT_ARRAY_PARAM(ext4_inode, test_data, timestamp_expectation_to_desc);
void ext4_inode_csum_set(struct inode *inode, struct ext4_inode *raw,
static int ext4_inode_blocks_set(struct ext4_inode *raw_inode,
static int ext4_fill_raw_inode(struct inode *inode, struct ext4_inode *raw_inode)
struct ext4_inode *raw_inode =
(struct ext4_inode *) (bh->b_data + iloc->offset);
static blkcnt_t ext4_inode_blocks(struct ext4_inode *raw_inode,
struct ext4_inode *raw_inode,
struct ext4_inode *raw_inode;
BUILD_BUG_ON(sizeof(struct ext4_inode) & 3);
ei->i_extra_isize = sizeof(struct ext4_inode) -
struct ext4_inode *raw_inode)
(struct ext4_inode *)buf);
struct ext4_inode *raw_inode = ext4_raw_inode(iloc);
static __u32 ext4_inode_csum(struct inode *inode, struct ext4_inode *raw,
struct ext4_inode *raw_inode;
struct ext4_inode *raw_inode;
int offset = offsetof(struct ext4_inode, i_checksum_lo);
offset = offsetof(struct ext4_inode, i_checksum_hi);
static int ext4_inode_csum_verify(struct inode *inode, struct ext4_inode *raw,
struct ext4_inode *raw_inode;
if (sbi->s_inode_size >= offsetof(struct ext4_inode, i_atime_extra) +
sizeof(((struct ext4_inode *)0)->i_atime_extra)) {
sbi->s_want_extra_isize = sizeof(struct ext4_inode) -
struct ext4_inode *raw_inode;
struct ext4_inode *raw_inode = ext4_raw_inode(&is.iloc);
struct ext4_inode *raw_inode,
struct ext4_inode *raw_inode,
struct ext4_inode *raw_inode, handle_t *handle)
struct ext4_inode *raw_inode;
struct ext4_inode *raw_inode;
struct ext4_inode *raw_inode;
struct ext4_inode *raw_inode, handle_t *handle);