Searched refs:last_accounted_offset (Results 1 - 2 of 2) sorted by relevance
/kernel/linux/linux-5.10/mm/ |
H A D | hugetlb.c | 374 long last_accounted_offset = f; in add_reservation_in_range() local 381 * [last_accounted_offset, rg->from), at every iteration, with some in add_reservation_in_range() 388 * then we need to update last_accounted_offset. in add_reservation_in_range() 390 if (rg->to > last_accounted_offset) in add_reservation_in_range() 391 last_accounted_offset = rg->to; in add_reservation_in_range() 401 /* Add an entry for last_accounted_offset -> rg->from, and in add_reservation_in_range() 402 * update last_accounted_offset. in add_reservation_in_range() 404 if (rg->from > last_accounted_offset) { in add_reservation_in_range() 405 add += rg->from - last_accounted_offset; in add_reservation_in_range() 408 resv, last_accounted_offset, r in add_reservation_in_range() [all...] |
/kernel/linux/linux-6.6/mm/ |
H A D | hugetlb.c | 578 long last_accounted_offset = f; in add_reservation_in_range() local 586 * [last_accounted_offset, iter->from), at every iteration, with some in add_reservation_in_range() 593 * then we need to update last_accounted_offset. in add_reservation_in_range() 595 if (iter->to > last_accounted_offset) in add_reservation_in_range() 596 last_accounted_offset = iter->to; in add_reservation_in_range() 608 /* Add an entry for last_accounted_offset -> iter->from, and in add_reservation_in_range() 609 * update last_accounted_offset. in add_reservation_in_range() 611 if (iter->from > last_accounted_offset) in add_reservation_in_range() 613 last_accounted_offset, in add_reservation_in_range() 617 last_accounted_offset in add_reservation_in_range() [all...] |
Completed in 9 milliseconds