Lines Matching refs:eh_entries

399 	if (eh->eh_entries == 0)  in ext4_valid_extent_entries()
402 entries = le16_to_cpu(eh->eh_entries); in ext4_valid_extent_entries()
464 if (unlikely(le16_to_cpu(eh->eh_entries) > le16_to_cpu(eh->eh_max))) { in __ext4_ext_check()
487 le16_to_cpu(eh->eh_entries), le16_to_cpu(eh->eh_max), in __ext4_ext_check()
534 for (i = le16_to_cpu(eh->eh_entries); i > 0; i--, ex++) { in __read_extent_tree_block()
664 for (i = 0; i < le16_to_cpu(eh->eh_entries); i++, ex++) { in ext4_ext_show_leaf()
762 for (k = 0; k < le16_to_cpu(eh->eh_entries); k++, ix++) { in ext4_ext_binsearch_idx()
796 if (eh->eh_entries == 0) { in ext4_ext_binsearch()
833 for (k = 0; k < le16_to_cpu(eh->eh_entries); k++, ex++) { in ext4_ext_binsearch()
852 eh->eh_entries = 0; in ext4_ext_tree_init()
894 ppos, le16_to_cpu(eh->eh_entries), le16_to_cpu(eh->eh_max)); in ext4_find_extent()
966 if (unlikely(le16_to_cpu(curp->p_hdr->eh_entries) in ext4_ext_insert_index()
970 le16_to_cpu(curp->p_hdr->eh_entries), in ext4_ext_insert_index()
1001 le16_add_cpu(&curp->p_hdr->eh_entries, 1); in ext4_ext_insert_index()
1105 neh->eh_entries = 0; in ext4_ext_split()
1111 if (unlikely(path[depth].p_hdr->eh_entries != in ext4_ext_split()
1114 path[depth].p_hdr->eh_entries, in ext4_ext_split()
1126 le16_add_cpu(&neh->eh_entries, m); in ext4_ext_split()
1144 le16_add_cpu(&path[depth].p_hdr->eh_entries, -m); in ext4_ext_split()
1178 neh->eh_entries = cpu_to_le16(1); in ext4_ext_split()
1206 le16_add_cpu(&neh->eh_entries, m); in ext4_ext_split()
1223 le16_add_cpu(&path[i].p_hdr->eh_entries, -m); in ext4_ext_split()
1321 neh->eh_entries = cpu_to_le16(1); in ext4_ext_grow_indepth()
1330 le16_to_cpu(neh->eh_entries), le16_to_cpu(neh->eh_max), in ext4_ext_grow_indepth()
1402 if (path[depth].p_hdr->eh_entries == path[depth].p_hdr->eh_max) { in ext4_ext_create_new_leaf()
1788 le16_add_cpu(&eh->eh_entries, -1); in ext4_ext_try_to_merge_right()
1790 WARN_ON(eh->eh_entries == 0); in ext4_ext_try_to_merge_right()
1791 if (!eh->eh_entries) in ext4_ext_try_to_merge_right()
1811 (le16_to_cpu(path[0].p_hdr->eh_entries) != 1) || in ext4_ext_try_to_merge_up()
1812 (le16_to_cpu(path[1].p_hdr->eh_entries) > max_root)) in ext4_ext_try_to_merge_up()
1827 s = le16_to_cpu(path[1].p_hdr->eh_entries) * in ext4_ext_try_to_merge_up()
2030 if (le16_to_cpu(eh->eh_entries) < le16_to_cpu(eh->eh_max)) in ext4_ext_insert_extent()
2046 if (le16_to_cpu(eh->eh_entries) < le16_to_cpu(eh->eh_max)) { in ext4_ext_insert_extent()
2048 le16_to_cpu(eh->eh_entries)); in ext4_ext_insert_extent()
2053 le16_to_cpu(eh->eh_entries), le16_to_cpu(eh->eh_max)); in ext4_ext_insert_extent()
2121 le16_add_cpu(&eh->eh_entries, 1); in ext4_ext_insert_extent()
2365 if (unlikely(path->p_hdr->eh_entries == 0)) { in ext4_ext_rm_idx()
2379 le16_add_cpu(&path->p_hdr->eh_entries, -1); in ext4_ext_rm_idx()
2419 if (le16_to_cpu(path[depth].p_hdr->eh_entries) in ext4_ext_calc_credits_for_single_extent()
2734 le16_add_cpu(&eh->eh_entries, -1); in ext4_ext_rm_leaf()
2748 if (correct_index && eh->eh_entries) in ext4_ext_rm_leaf()
2771 if (err == 0 && eh->eh_entries == 0 && path[depth].p_bh != NULL) in ext4_ext_rm_leaf()
2794 if (le16_to_cpu(path->p_hdr->eh_entries) == path->p_block) in ext4_ext_more_to_rm()
2911 le16_to_cpu(path[k].p_hdr->eh_entries)+1; in ext4_ext_remove_space()
2952 path[i].p_block = le16_to_cpu(path[i].p_hdr->eh_entries)+1; in ext4_ext_remove_space()
2955 le16_to_cpu(path[i].p_hdr->eh_entries)); in ext4_ext_remove_space()
2989 path[i].p_block = le16_to_cpu(path[i].p_hdr->eh_entries); in ext4_ext_remove_space()
2993 if (path[i].p_hdr->eh_entries == 0 && i > 0) { in ext4_ext_remove_space()
3008 partial_cluster, path->p_hdr->eh_entries); in ext4_ext_remove_space()
3025 if (path->p_hdr->eh_entries == 0) { in ext4_ext_remove_space()
3797 if (unlikely(!eh->eh_entries)) in check_eofblocks_fl()