Lines Matching defs:add
365 * indicate the number of file_regions needed in the cache to carry out to add
372 long add = 0;
405 add += rg->from - last_accounted_offset;
424 add += t - last_accounted_offset;
435 VM_BUG_ON(add < 0);
436 return add;
455 * the number of in progress add operations plus regions_needed.
518 long add = 0, actual_regions_needed = 0;
523 /* Count how many regions are actually needed to execute this add. */
529 * this add operation. Note that actual_regions_needed may be greater
553 add = add_reservation_in_range(resv, f, t, h_cg, h, NULL);
558 VM_BUG_ON(add < 0);
559 return add;
567 * map to add the specified range [f, t). region_chg does
606 * Abort the in progress add operation. The adds_in_progress field
1016 * properly, so add work-around here.
2175 * to add the page to the reservation map. If the page allocation fails,
3042 pr_err("HugeTLB: Unable to add hstate %s", h->name);
3146 pr_err("HugeTLB: Unable to add hstate %s for node %d\n",
4775 * If shared, add to page cache
5022 * not zero but it's faster not to add a "if (remainder)"
5135 long ret, chg, add = -1;
5236 add = region_add(resv_map, from, to, regions_needed, h, h_cg);
5238 if (unlikely(add < 0)) {
5240 ret = add;
5242 } else if (unlikely(chg > add)) {
5258 (chg - add) * pages_per_huge_page(h), h_cg);
5261 chg - add);
5285 if (chg >= 0 && add < 0)