Home
last modified time | relevance | path

Searched refs:eh (Results 1 – 4 of 4) sorted by relevance

/fs/ext4/
Dextents.c50 struct ext4_extent_header *eh) in ext4_extent_block_csum() argument
56 csum = ext4_chksum(sbi, ei->i_csum_seed, (__u8 *)eh, in ext4_extent_block_csum()
57 EXT4_EXTENT_TAIL_OFFSET(eh)); in ext4_extent_block_csum()
62 struct ext4_extent_header *eh) in ext4_extent_block_csum_verify() argument
69 et = find_ext4_extent_tail(eh); in ext4_extent_block_csum_verify()
70 if (et->et_checksum != ext4_extent_block_csum(inode, eh)) in ext4_extent_block_csum_verify()
76 struct ext4_extent_header *eh) in ext4_extent_block_csum_set() argument
83 et = find_ext4_extent_tail(eh); in ext4_extent_block_csum_set()
84 et->et_checksum = ext4_extent_block_csum(inode, eh); in ext4_extent_block_csum_set()
369 struct ext4_extent_header *eh, in ext4_valid_extent_entries() argument
[all …]
Dmigrate.c359 struct ext4_extent_header *eh; in free_ext_idx() local
366 eh = (struct ext4_extent_header *)bh->b_data; in free_ext_idx()
367 if (eh->eh_depth != 0) { in free_ext_idx()
368 ix = EXT_FIRST_INDEX(eh); in free_ext_idx()
369 for (i = 0; i < le16_to_cpu(eh->eh_entries); i++, ix++) { in free_ext_idx()
394 struct ext4_extent_header *eh = (struct ext4_extent_header *)ei->i_data; in free_ext_block() local
396 if (eh->eh_depth == 0) in free_ext_block()
401 ix = EXT_FIRST_INDEX(eh); in free_ext_block()
402 for (i = 0; i < le16_to_cpu(eh->eh_entries); i++, ix++) { in free_ext_block()
599 struct ext4_extent_header *eh; in ext4_ind_migrate() local
[all …]
Dext4_extents.h101 find_ext4_extent_tail(struct ext4_extent_header *eh) in find_ext4_extent_tail() argument
103 return (struct ext4_extent_tail *)(((void *)eh) + in find_ext4_extent_tail()
104 EXT4_EXTENT_TAIL_OFFSET(eh)); in find_ext4_extent_tail()
Dfast_commit.c1476 struct ext4_extent_header *eh; in ext4_fc_replay_inode() local
1507 eh = (struct ext4_extent_header *)(&raw_inode->i_block[0]); in ext4_fc_replay_inode()
1508 if (eh->eh_magic != EXT4_EXT_MAGIC) { in ext4_fc_replay_inode()
1509 memset(eh, 0, sizeof(*eh)); in ext4_fc_replay_inode()
1510 eh->eh_magic = EXT4_EXT_MAGIC; in ext4_fc_replay_inode()
1511 eh->eh_max = cpu_to_le16( in ext4_fc_replay_inode()