Home
last modified time | relevance | path

Searched refs:free_pages (Results 1 – 25 of 224) sorted by relevance

123456789

/linux-6.1.9/drivers/firmware/efi/libstub/
Dalignedmem.c50 efi_bs_call(free_pages, alloc_addr, slack - l + 1); in efi_allocate_pages_aligned()
54 efi_bs_call(free_pages, *addr + size, slack); in efi_allocate_pages_aligned()
Darm32-stub.c157 efi_bs_call(free_pages, alloc_base, in handle_kernel_image()
161 efi_bs_call(free_pages, *reserve_addr + MAX_UNCOMP_KERNEL_SIZE, in handle_kernel_image()
/linux-6.1.9/drivers/crypto/cavium/zip/
Dzip_mem.c80 free_pages((u64)zip->iq[q].sw_tail, get_order(ZIP_CMD_QBUF_SIZE)); in zip_cmd_qbuf_free()
113 free_pages((u64)ptr, get_order(size)); in zip_data_buf_free()
/linux-6.1.9/drivers/tee/amdtee/
Dshm_pool.c33 free_pages(va, order); in pool_op_alloc()
45 free_pages((unsigned long)shm->kaddr, get_order(shm->size)); in pool_op_free()
/linux-6.1.9/arch/parisc/include/asm/
Dpgalloc.h34 free_pages((unsigned long)pgd, PGD_TABLE_ORDER); in pgd_free()
59 free_pages((unsigned long)pmd, PMD_TABLE_ORDER); in pmd_free()
Dagp.h19 free_pages((unsigned long)(table), (order))
/linux-6.1.9/drivers/gpu/drm/nouveau/
Dnouveau_dmem.c86 struct page *free_pages; member
117 page->zone_device_data = dmem->free_pages; in nouveau_dmem_page_free()
118 dmem->free_pages = page; in nouveau_dmem_page_free()
283 page->zone_device_data = drm->dmem->free_pages; in nouveau_dmem_chunk_alloc()
284 drm->dmem->free_pages = page; in nouveau_dmem_chunk_alloc()
315 if (drm->dmem->free_pages) { in nouveau_dmem_page_alloc_locked()
316 page = drm->dmem->free_pages; in nouveau_dmem_page_alloc_locked()
317 drm->dmem->free_pages = page->zone_device_data; in nouveau_dmem_page_alloc_locked()
/linux-6.1.9/lib/
Dtest_hmm.c121 struct page *free_pages; member
583 page->zone_device_data = mdevice->free_pages; in dmirror_allocate_chunk()
584 mdevice->free_pages = page; in dmirror_allocate_chunk()
587 *ppage = mdevice->free_pages; in dmirror_allocate_chunk()
588 mdevice->free_pages = (*ppage)->zone_device_data; in dmirror_allocate_chunk()
624 if (mdevice->free_pages) { in dmirror_devmem_alloc_page()
625 dpage = mdevice->free_pages; in dmirror_devmem_alloc_page()
626 mdevice->free_pages = dpage->zone_device_data; in dmirror_devmem_alloc_page()
1269 for (page = mdevice->free_pages; page; page = page->zone_device_data) in dmirror_remove_free_pages()
1271 mdevice->free_pages = page->zone_device_data; in dmirror_remove_free_pages()
[all …]
Dtest_free_pages.c24 free_pages(addr, 3); in test_free_pages()
/linux-6.1.9/drivers/block/xen-blkback/
Dblkback.c273 gnttab_page_cache_put(&ring->free_pages, pages, in free_persistent_gnts()
314 gnttab_page_cache_put(&ring->free_pages, pages, in xen_blkbk_unmap_purged_grants()
323 gnttab_page_cache_put(&ring->free_pages, pages, segs_to_unmap); in xen_blkbk_unmap_purged_grants()
608 gnttab_page_cache_shrink(&ring->free_pages, 0); in xen_blkif_schedule()
610 gnttab_page_cache_shrink(&ring->free_pages, in xen_blkif_schedule()
642 gnttab_page_cache_shrink(&ring->free_pages, 0 /* All */); in xen_blkbk_free_caches()
681 gnttab_page_cache_put(&ring->free_pages, data->pages, data->count); in xen_blkbk_unmap_and_respond_callback()
748 gnttab_page_cache_put(&ring->free_pages, unmap_pages, in xen_blkbk_unmap()
796 if (gnttab_page_cache_get(&ring->free_pages, in xen_blkbk_map()
798 gnttab_page_cache_put(&ring->free_pages, in xen_blkbk_map()
[all …]
/linux-6.1.9/drivers/iommu/
Dio-pgtable-dart.c271 free_pages((unsigned long)cptep, get_order(tblsz)); in dart_map_pages()
433 free_pages((unsigned long)data->pgd[i], in apple_dart_alloc_pgtable()
456 free_pages(page, get_order(DART_GRANULE(data))); in apple_dart_free_pgtable()
459 free_pages((unsigned long)data->pgd[i], in apple_dart_free_pgtable()
/linux-6.1.9/arch/sparc/include/asm/
Dagp.h15 free_pages((unsigned long)(table), (order))
/linux-6.1.9/arch/alpha/include/asm/
Dagp.h17 free_pages((unsigned long)(table), (order))
/linux-6.1.9/arch/ia64/include/asm/
Dagp.h25 free_pages((unsigned long)(table), (order))
/linux-6.1.9/arch/powerpc/include/asm/
Dagp.h16 free_pages((unsigned long)(table), (order))
/linux-6.1.9/drivers/net/ethernet/amd/
Dmvme147.c136 free_pages(lp->ram, 3); in mvme147lance_probe()
195 free_pages(lp->ram, 3); in m147lance_exit()
/linux-6.1.9/arch/x86/include/asm/
Dagp.h30 free_pages((unsigned long)(table), (order))
/linux-6.1.9/drivers/media/pci/solo6x10/
Dsolo6x10-p2m.c218 free_pages((unsigned long)wr_buf, order); in solo_p2m_test()
244 free_pages((unsigned long)wr_buf, order); in solo_p2m_test()
245 free_pages((unsigned long)rd_buf, order); in solo_p2m_test()
/linux-6.1.9/mm/
Dvmstat.c1035 unsigned long free_pages; member
1054 info->free_pages = 0; in fill_contig_page_info()
1071 info->free_pages += blocks << order; in fill_contig_page_info()
1107 …return 1000 - div_u64( (1000+(div_u64(info->free_pages * 1000ULL, requested))), info->free_blocks_… in __fragmentation_index()
1120 if (info.free_pages == 0) in extfrag_for_order()
1123 return div_u64((info.free_pages - in extfrag_for_order()
1125 info.free_pages); in extfrag_for_order()
2129 if (info->free_pages == 0) in unusable_free_index()
2139 …return div_u64((info->free_pages - (info->free_blocks_suitable << order)) * 1000ULL, info->free_pa… in unusable_free_index()
Dgup_test.c119 goto free_pages; in __gup_test_ioctl()
201 free_pages: in __gup_test_ioctl()
/linux-6.1.9/net/xfrm/
Dxfrm_hash.c39 free_pages((unsigned long)n, get_order(sz)); in xfrm_hash_free()
/linux-6.1.9/arch/s390/include/asm/
Didals.h142 free_pages((unsigned long) ib->data[i], in idal_buffer_alloc()
162 free_pages((unsigned long) ib->data[i], ib->page_order); in idal_buffer_free()
/linux-6.1.9/drivers/tee/optee/
Dcore.c68 free_pages((unsigned long)shm->kaddr, order); in optee_pool_op_alloc_helper()
78 free_pages((unsigned long)shm->kaddr, get_order(shm->size)); in optee_pool_op_free_helper()
/linux-6.1.9/scripts/coccinelle/free/
Ddevm_free.cocci96 free_pages@p(x, ...)
119 * free_pages@p(x, ...)
/linux-6.1.9/drivers/xen/
Dswiotlb-xen.c163 free_pages((unsigned long)ret, get_order(size)); in xen_swiotlb_alloc_coherent()
183 free_pages((unsigned long)vaddr, get_order(size)); in xen_swiotlb_free_coherent()
407 .free_pages = dma_common_free_pages,

123456789