Lines Matching refs:max_gap
1450 unsigned long pstart, gap, max_gap; in mas_leaf_max_gap() local
1460 max_gap = 0; in mas_leaf_max_gap()
1465 if (gap > max_gap) in mas_leaf_max_gap()
1466 max_gap = gap; in mas_leaf_max_gap()
1472 if (gap > max_gap) in mas_leaf_max_gap()
1473 max_gap = gap; in mas_leaf_max_gap()
1474 return max_gap; in mas_leaf_max_gap()
1483 max_gap = pivots[0] - mas->min + 1; in mas_leaf_max_gap()
1497 if (gap > max_gap) in mas_leaf_max_gap()
1498 max_gap = gap; in mas_leaf_max_gap()
1508 if (gap > max_gap) in mas_leaf_max_gap()
1509 max_gap = gap; in mas_leaf_max_gap()
1514 return max_gap; in mas_leaf_max_gap()
1533 unsigned long max_gap = 0; in ma_max_gap() local
1537 if (gaps[i] > max_gap) { in ma_max_gap()
1538 max_gap = gaps[i]; in ma_max_gap()
1544 return max_gap; in ma_max_gap()
1642 unsigned long max_gap; in mas_update_gap() local
1650 max_gap = mas_max_gap(mas); in mas_update_gap()
1656 if (p_gap != max_gap) in mas_update_gap()
1657 mas_parent_gap(mas, pslot, max_gap); in mas_update_gap()
2012 unsigned long max_gap = 0; in mab_mas_cp() local
2018 if (gaps[j] > max_gap) { in mab_mas_cp()
2020 max_gap = gaps[j]; in mab_mas_cp()
6851 unsigned long gap = 0, max_gap = 0; in mas_validate_gaps() local
6861 if (gap > max_gap) in mas_validate_gaps()
6862 max_gap = gap; in mas_validate_gaps()
6908 if (gap > max_gap) in mas_validate_gaps()
6909 max_gap = gap; in mas_validate_gaps()
6922 MT_BUG_ON(mas->tree, max_gap > mas->max); in mas_validate_gaps()
6923 if (ma_gaps(p_mn, mas_parent_enum(mas, mte))[p_slot] != max_gap) { in mas_validate_gaps()
6924 pr_err("gap %p[%u] != %lu\n", p_mn, p_slot, max_gap); in mas_validate_gaps()
6929 ma_gaps(p_mn, mas_parent_enum(mas, mte))[p_slot] != max_gap); in mas_validate_gaps()