Searched refs:eh (Results 1 – 2 of 2) sorted by relevance
/fs/ext4/ |
D | extents.c | 305 struct ext4_extent_header *eh, in __ext4_ext_check_header() argument 311 if (unlikely(eh->eh_magic != EXT4_EXT_MAGIC)) { in __ext4_ext_check_header() 315 if (unlikely(le16_to_cpu(eh->eh_depth) != depth)) { in __ext4_ext_check_header() 319 if (unlikely(eh->eh_max == 0)) { in __ext4_ext_check_header() 324 if (unlikely(le16_to_cpu(eh->eh_max) > max)) { in __ext4_ext_check_header() 328 if (unlikely(le16_to_cpu(eh->eh_entries) > le16_to_cpu(eh->eh_max))) { in __ext4_ext_check_header() 338 inode->i_ino, error_msg, le16_to_cpu(eh->eh_magic), in __ext4_ext_check_header() 339 le16_to_cpu(eh->eh_entries), le16_to_cpu(eh->eh_max), in __ext4_ext_check_header() 340 max, le16_to_cpu(eh->eh_depth), depth); in __ext4_ext_check_header() 345 #define ext4_ext_check_header(inode, eh, depth) \ argument [all …]
|
D | migrate.c | 405 struct ext4_extent_header *eh; in free_ext_idx() local 412 eh = (struct ext4_extent_header *)bh->b_data; in free_ext_idx() 413 if (eh->eh_depth != 0) { in free_ext_idx() 414 ix = EXT_FIRST_INDEX(eh); in free_ext_idx() 415 for (i = 0; i < le16_to_cpu(eh->eh_entries); i++, ix++) { in free_ext_idx() 434 struct ext4_extent_header *eh = (struct ext4_extent_header *)ei->i_data; in free_ext_block() local 436 if (eh->eh_depth == 0) in free_ext_block() 441 ix = EXT_FIRST_INDEX(eh); in free_ext_block() 442 for (i = 0; i < le16_to_cpu(eh->eh_entries); i++, ix++) { in free_ext_block()
|