Home
last modified time | relevance | path

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

12345678910

/openbmc/linux/drivers/firmware/efi/libstub/
H A Dalignedmem.c53 efi_bs_call(free_pages, alloc_addr, slack - l + 1); in efi_allocate_pages_aligned()
57 efi_bs_call(free_pages, *addr + size, slack); in efi_allocate_pages_aligned()
H A Darm32-stub.c120 efi_bs_call(free_pages, alloc_base, in handle_kernel_image()
124 efi_bs_call(free_pages, *reserve_addr + MAX_UNCOMP_KERNEL_SIZE, in handle_kernel_image()
/openbmc/linux/drivers/crypto/cavium/zip/
H A 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()
/openbmc/linux/drivers/tee/amdtee/
H A 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()
/openbmc/linux/arch/parisc/include/asm/
H A 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()
/openbmc/linux/arch/um/kernel/skas/
H A Dmmu.c55 free_pages(to_mm->id.stack, ilog2(STUB_DATA_PAGES)); in init_new_context()
77 free_pages(mmu->id.stack, ilog2(STUB_DATA_PAGES)); in destroy_context()
/openbmc/linux/drivers/gpu/drm/nouveau/
H A Dnouveau_dmem.c85 struct page *free_pages; member
116 page->zone_device_data = dmem->free_pages; in nouveau_dmem_page_free()
117 dmem->free_pages = page; in nouveau_dmem_page_free()
282 page->zone_device_data = drm->dmem->free_pages; in nouveau_dmem_chunk_alloc()
283 drm->dmem->free_pages = page; in nouveau_dmem_chunk_alloc()
314 if (drm->dmem->free_pages) { in nouveau_dmem_page_alloc_locked()
315 page = drm->dmem->free_pages; in nouveau_dmem_page_alloc_locked()
316 drm->dmem->free_pages = page->zone_device_data; in nouveau_dmem_page_alloc_locked()
/openbmc/linux/lib/
H A Dtest_hmm.c121 struct page *free_pages; member
577 page->zone_device_data = mdevice->free_pages; in dmirror_allocate_chunk()
578 mdevice->free_pages = page; in dmirror_allocate_chunk()
581 *ppage = mdevice->free_pages; in dmirror_allocate_chunk()
618 if (mdevice->free_pages) { in dmirror_devmem_alloc_page()
619 dpage = mdevice->free_pages; in dmirror_devmem_alloc_page()
620 mdevice->free_pages = dpage->zone_device_data; in dmirror_devmem_alloc_page()
1265 mdevice->free_pages = page->zone_device_data; in dmirror_remove_free_pages()
1292 mdevice->free_pages = NULL; in dmirror_device_remove_chunks()
1416 page->zone_device_data = mdevice->free_pages; in dmirror_devmem_free()
[all …]
H A Dtest_free_pages.c24 free_pages(addr, 3); in test_free_pages()
/openbmc/u-boot/lib/efi_selftest/
H A Defi_selftest_memory.c155 ret = boottime->free_pages(p1, EFI_ST_NUM_PAGES); in execute()
160 ret = boottime->free_pages(p2, EFI_ST_NUM_PAGES); in execute()
/openbmc/linux/drivers/net/ethernet/amd/
H A Dmvme147.c132 free_pages(lp->ram, 3); in mvme147lance_probe()
194 free_pages(lp->ram, 3); in m147lance_exit()
/openbmc/linux/drivers/iommu/
H A Dio-pgtable-dart.c270 free_pages((unsigned long)cptep, get_order(tblsz)); in dart_map_pages()
432 free_pages((unsigned long)data->pgd[i], in apple_dart_alloc_pgtable()
455 free_pages(page, get_order(DART_GRANULE(data))); in apple_dart_free_pgtable()
458 free_pages((unsigned long)data->pgd[i], in apple_dart_free_pgtable()
/openbmc/linux/net/xfrm/
H A Dxfrm_hash.c39 free_pages((unsigned long)n, get_order(sz)); in xfrm_hash_free()
/openbmc/linux/drivers/media/pci/solo6x10/
H A 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()
/openbmc/linux/mm/
H A 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()
2155 if (info->free_pages == 0) in unusable_free_index()
2165 …return div_u64((info->free_pages - (info->free_blocks_suitable << order)) * 1000ULL, info->free_pa… in unusable_free_index()
/openbmc/linux/drivers/block/xen-blkback/
H A Dblkback.c276 gnttab_page_cache_put(&ring->free_pages, pages, in free_persistent_gnts()
319 gnttab_page_cache_put(&ring->free_pages, pages, in xen_blkbk_unmap_purged_grants()
328 gnttab_page_cache_put(&ring->free_pages, pages, segs_to_unmap); in xen_blkbk_unmap_purged_grants()
613 gnttab_page_cache_shrink(&ring->free_pages, 0); in xen_blkif_schedule()
615 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 …]
/openbmc/linux/arch/s390/include/asm/
H A Didals.h154 free_pages((unsigned long) ib->data[i], in idal_buffer_alloc()
174 free_pages((unsigned long) ib->data[i], ib->page_order); in idal_buffer_free()
/openbmc/linux/scripts/coccinelle/free/
H A Ddevm_free.cocci96 free_pages@p(x, ...)
119 * free_pages@p(x, ...)
/openbmc/linux/drivers/tee/optee/
H A 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()
/openbmc/linux/drivers/xen/
H A Dswiotlb-xen.c169 free_pages((unsigned long)ret, get_order(size)); in xen_swiotlb_alloc_coherent()
189 free_pages((unsigned long)vaddr, get_order(size)); in xen_swiotlb_free_coherent()
413 .free_pages = dma_common_free_pages,
/openbmc/u-boot/arch/arm/include/asm/proc-armv/
H A Dprocessor.h72 #define ll_free_task_struct(p) free_pages((unsigned long)(p),1)
/openbmc/linux/arch/mips/include/asm/mach-generic/
H A Dfloppy.h122 free_pages(addr, get_order(size)); in fd_dma_mem_free()
/openbmc/linux/arch/mips/include/asm/mach-jazz/
H A Dfloppy.h119 free_pages(addr, get_order(size)); in fd_dma_mem_free()
/openbmc/linux/arch/m68k/kernel/
H A Ddma.c56 free_pages((unsigned long)vaddr, get_order(size)); in arch_dma_free()
/openbmc/linux/drivers/gpu/drm/nouveau/nvkm/subdev/instmem/
H A Dgk20a.c451 goto free_pages; in gk20a_instobj_ctor_iommu()
458 goto free_pages; in gk20a_instobj_ctor_iommu()
470 goto free_pages; in gk20a_instobj_ctor_iommu()
502 free_pages: in gk20a_instobj_ctor_iommu()

12345678910