Lines Matching full:budget
18 * the budget for this page. The @PG_checked flag is set if full budgeting is
21 * it is OK to fail in this function, and the budget is released in
24 * the budget properly.
178 * release_new_page_budget - release budget of a new page.
181 * This is a helper function which releases budget corresponding to the budget
192 * release_existing_page_budget - release budget of an existing page.
195 * This is a helper function which releases budget corresponding to the budget
219 * At the slow path we have to budget before locking the folio, because in write_begin_slow()
223 * written to a hole. This corresponds to largest budget. Later the in write_begin_slow()
224 * budget will be amended if this is not true. in write_begin_slow()
227 /* We are appending data, budget for inode change */ in write_begin_slow()
258 * o first time the budget was allocated by the task which in write_begin_slow()
263 * So what we have to do is to release the folio budget we in write_begin_slow()
271 * of indexing information larger, and this part of the budget in write_begin_slow()
288 * budget we allocated. in write_begin_slow()
298 * allocate_budget - allocate budget for 'ubifs_write_begin()'.
300 * @folio: folio to allocate budget for
304 * This is a helper function for 'ubifs_write_begin()' which allocates budget
305 * for the operation. The budget is allocated differently depending on whether
320 * means no budget is needed at all. in allocate_budget()
329 * dirty, so we do not need any budget. We may return, in allocate_budget()
332 * and freeing the budget. The lock will be released in in allocate_budget()
339 * we need to budget the inode change. in allocate_budget()
348 * larger, and we have to budget for a new in allocate_budget()
355 * indexing information, budget for page in allocate_budget()
366 * needs a budget. in allocate_budget()
385 * o a new page is appended - we have to budget for a new page and for
387 * no need to budget for it;
388 * o an existing clean page is changed - we have budget for it; if the page
389 * does not exist on the media (a hole), we have to budget for a new
390 * page; otherwise, we may budget for changing an existing page; the
393 * not grow, and smaller budget is acquired in this case;
394 * o an existing dirty page is changed - no need to budget at all, because
395 * the page budget has been acquired by earlier, when the page has been
404 * there is a plenty of flash space and the budget will be acquired quickly,
438 * larger budget. The assumption is that it is better in ubifs_write_begin()
439 * to budget a bit more than to read the page from the in ubifs_write_begin()
492 * cancel_budget - cancel budget.
494 * @folio: folio to cancel budget for
1042 * there is no need to do space budget for dirty inode. in ubifs_writepage()
1108 * block boundary, budget for changing one data block, because the last in do_truncation()
1115 /* A funny way to budget for truncation node */ in do_truncation()
1504 * We have not locked @folio so far so we may budget for changing the in ubifs_vm_page_mkwrite()
1509 * assume that it is not and budget for a new folio. We could look at in ubifs_vm_page_mkwrite()
1514 * budget for a new folio and amend it later on if the folio was in fact in ubifs_vm_page_mkwrite()