Lines Matching refs:eh_entries

398 	if (eh->eh_entries == 0)  in ext4_valid_extent_entries()
401 entries = le16_to_cpu(eh->eh_entries); in ext4_valid_extent_entries()
463 if (unlikely(le16_to_cpu(eh->eh_entries) > le16_to_cpu(eh->eh_max))) { in __ext4_ext_check()
485 le16_to_cpu(eh->eh_entries), le16_to_cpu(eh->eh_max), in __ext4_ext_check()
532 for (i = le16_to_cpu(eh->eh_entries); i > 0; i--, ex++) { in __read_extent_tree_block()
662 for (i = 0; i < le16_to_cpu(eh->eh_entries); i++, ex++) { in ext4_ext_show_leaf()
760 for (k = 0; k < le16_to_cpu(eh->eh_entries); k++, ix++) { in ext4_ext_binsearch_idx()
794 if (eh->eh_entries == 0) { in ext4_ext_binsearch()
831 for (k = 0; k < le16_to_cpu(eh->eh_entries); k++, ex++) { in ext4_ext_binsearch()
850 eh->eh_entries = 0; in ext4_ext_tree_init()
892 ppos, le16_to_cpu(eh->eh_entries), le16_to_cpu(eh->eh_max)); in ext4_find_extent()
964 if (unlikely(le16_to_cpu(curp->p_hdr->eh_entries) in ext4_ext_insert_index()
968 le16_to_cpu(curp->p_hdr->eh_entries), in ext4_ext_insert_index()
999 le16_add_cpu(&curp->p_hdr->eh_entries, 1); in ext4_ext_insert_index()
1103 neh->eh_entries = 0; in ext4_ext_split()
1109 if (unlikely(path[depth].p_hdr->eh_entries != in ext4_ext_split()
1112 path[depth].p_hdr->eh_entries, in ext4_ext_split()
1124 le16_add_cpu(&neh->eh_entries, m); in ext4_ext_split()
1142 le16_add_cpu(&path[depth].p_hdr->eh_entries, -m); in ext4_ext_split()
1176 neh->eh_entries = cpu_to_le16(1); in ext4_ext_split()
1204 le16_add_cpu(&neh->eh_entries, m); in ext4_ext_split()
1221 le16_add_cpu(&path[i].p_hdr->eh_entries, -m); in ext4_ext_split()
1319 neh->eh_entries = cpu_to_le16(1); in ext4_ext_grow_indepth()
1328 le16_to_cpu(neh->eh_entries), le16_to_cpu(neh->eh_max), in ext4_ext_grow_indepth()
1400 if (path[depth].p_hdr->eh_entries == path[depth].p_hdr->eh_max) { in ext4_ext_create_new_leaf()
1786 le16_add_cpu(&eh->eh_entries, -1); in ext4_ext_try_to_merge_right()
1788 WARN_ON(eh->eh_entries == 0); in ext4_ext_try_to_merge_right()
1789 if (!eh->eh_entries) in ext4_ext_try_to_merge_right()
1809 (le16_to_cpu(path[0].p_hdr->eh_entries) != 1) || in ext4_ext_try_to_merge_up()
1810 (le16_to_cpu(path[1].p_hdr->eh_entries) > max_root)) in ext4_ext_try_to_merge_up()
1825 s = le16_to_cpu(path[1].p_hdr->eh_entries) * in ext4_ext_try_to_merge_up()
2028 if (le16_to_cpu(eh->eh_entries) < le16_to_cpu(eh->eh_max)) in ext4_ext_insert_extent()
2044 if (le16_to_cpu(eh->eh_entries) < le16_to_cpu(eh->eh_max)) { in ext4_ext_insert_extent()
2046 le16_to_cpu(eh->eh_entries)); in ext4_ext_insert_extent()
2051 le16_to_cpu(eh->eh_entries), le16_to_cpu(eh->eh_max)); in ext4_ext_insert_extent()
2119 le16_add_cpu(&eh->eh_entries, 1); in ext4_ext_insert_extent()
2363 if (unlikely(path->p_hdr->eh_entries == 0)) { in ext4_ext_rm_idx()
2377 le16_add_cpu(&path->p_hdr->eh_entries, -1); in ext4_ext_rm_idx()
2417 if (le16_to_cpu(path[depth].p_hdr->eh_entries) in ext4_ext_calc_credits_for_single_extent()
2732 le16_add_cpu(&eh->eh_entries, -1); in ext4_ext_rm_leaf()
2746 if (correct_index && eh->eh_entries) in ext4_ext_rm_leaf()
2769 if (err == 0 && eh->eh_entries == 0 && path[depth].p_bh != NULL) in ext4_ext_rm_leaf()
2792 if (le16_to_cpu(path->p_hdr->eh_entries) == path->p_block) in ext4_ext_more_to_rm()
2909 le16_to_cpu(path[k].p_hdr->eh_entries)+1; in ext4_ext_remove_space()
2950 path[i].p_block = le16_to_cpu(path[i].p_hdr->eh_entries)+1; in ext4_ext_remove_space()
2953 le16_to_cpu(path[i].p_hdr->eh_entries)); in ext4_ext_remove_space()
2987 path[i].p_block = le16_to_cpu(path[i].p_hdr->eh_entries); in ext4_ext_remove_space()
2991 if (path[i].p_hdr->eh_entries == 0 && i > 0) { in ext4_ext_remove_space()
3006 partial_cluster, path->p_hdr->eh_entries); in ext4_ext_remove_space()
3023 if (path->p_hdr->eh_entries == 0) { in ext4_ext_remove_space()
3792 if (unlikely(!eh->eh_entries)) in check_eofblocks_fl()