Lines Matching defs:allocated

694  * region_del.  The extra needed entries will be allocated.
699 * than or equal to zero. If file_region entries needed to be allocated for
770 * is needed and can not be allocated.
826 * be allocated. If the allocation fails, -ENOMEM will be returned.
1010 * Return: The default size of the folios allocated when backing a VMA.
1205 * allocated in a subsequent call to hugetlb_vm_op_open.
1262 * allocated page will go into page cache and is regarded as
1448 * We may have allocated or freed a huge page based on a different
1557 * If the page isn't allocated using the cma allocator,
1782 * If vmemmap pages were allocated above, then we need to clear the
1792 * Non-gigantic pages demoted from CMA allocated gigantic pages
2000 * For gigantic hugepages allocated through bootmem at
2025 * The caller who allocated the pages should then discard the
2298 * (allocated or reserved.)
2550 long needed, allocated;
2560 allocated = 0;
2575 allocated += i;
2583 (h->free_huge_pages + allocated);
2590 * we've allocated so far.
2602 needed += allocated;
2632 * 2) Free any unused surplus pages that may have been allocated to satisfy
2651 * by pre-allocated pages. Only free surplus pages.
2686 * the huge page has been allocated, vma_commit_reservation is called
2698 * be restored when a newly allocated huge page must be freed. It is
2826 * It should ONLY be called for folios allocated via alloc_hugetlb_folio(),
3059 * has a reservation for the page to be allocated. A return
3271 pr_warn("HugeTLB: allocating %u of page size %s failed node%d. Only allocated %lu hugepages.\n",
3333 pr_warn("HugeTLB: allocating %lu of page size %s failed. Only allocated %lu hugepages.\n",
3379 pr_info("HugeTLB: registered %s page size, pre-allocated %ld pages\n",
3510 * boottime allocated gigantic pages.
4154 return; /* already allocated */
4533 * allocated here from bootmem allocator.
6038 * Only set hugetlb_migratable in newly allocated pages. Existing pages
6354 /* Free the allocated folio which may have
6407 /* Add shared, newly allocated pages to the page cache. */
6744 * are already allocated on behalf of the file. Private mappings need
6888 * allocated. If end == LONG_MAX, it will not fail.