Home
last modified time | relevance | path

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

123456789

/linux-6.3-rc2/drivers/firmware/efi/libstub/
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()
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()
/linux-6.3-rc2/drivers/crypto/cavium/zip/
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()
/linux-6.3-rc2/drivers/tee/amdtee/
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()
/linux-6.3-rc2/arch/parisc/include/asm/
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()
/linux-6.3-rc2/drivers/gpu/drm/nouveau/
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()
/linux-6.3-rc2/lib/
A 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()
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()
1271 mdevice->free_pages = page->zone_device_data; in dmirror_remove_free_pages()
1298 mdevice->free_pages = NULL; in dmirror_device_remove_chunks()
1422 page->zone_device_data = mdevice->free_pages; in dmirror_devmem_free()
[all …]
A Dtest_free_pages.c24 free_pages(addr, 3); in test_free_pages()
/linux-6.3-rc2/drivers/block/xen-blkback/
A 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.3-rc2/drivers/iommu/
A 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.3-rc2/drivers/net/ethernet/amd/
A Dmvme147.c136 free_pages(lp->ram, 3); in mvme147lance_probe()
195 free_pages(lp->ram, 3); in m147lance_exit()
/linux-6.3-rc2/drivers/media/pci/solo6x10/
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()
/linux-6.3-rc2/mm/
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()
2132 if (info->free_pages == 0) in unusable_free_index()
2142 …return div_u64((info->free_pages - (info->free_blocks_suitable << order)) * 1000ULL, info->free_pa… in unusable_free_index()
/linux-6.3-rc2/net/xfrm/
A Dxfrm_hash.c39 free_pages((unsigned long)n, get_order(sz)); in xfrm_hash_free()
/linux-6.3-rc2/drivers/tee/optee/
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()
/linux-6.3-rc2/arch/s390/include/asm/
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()
/linux-6.3-rc2/scripts/coccinelle/free/
A Ddevm_free.cocci96 free_pages@p(x, ...)
119 * free_pages@p(x, ...)
/linux-6.3-rc2/drivers/xen/
A 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,
/linux-6.3-rc2/kernel/dma/
A Dswiotlb.c429 free_pages((unsigned long)vstart, order); in swiotlb_init_late()
467 free_pages((unsigned long)mem->areas, area_order); in swiotlb_init_late()
469 free_pages((unsigned long)vstart, order); in swiotlb_init_late()
495 free_pages((unsigned long)mem->areas, area_order); in swiotlb_exit()
496 free_pages(tbl_vaddr, get_order(tbl_size)); in swiotlb_exit()
497 free_pages((unsigned long)mem->slots, get_order(slots_size)); in swiotlb_exit()
/linux-6.3-rc2/drivers/gpu/drm/nouveau/nvkm/subdev/instmem/
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()
/linux-6.3-rc2/arch/s390/kvm/
A Dpv.c67 free_pages(vcpu->arch.pv.stor_base, in kvm_s390_pv_destroy_cpu()
112 free_pages(vcpu->arch.pv.stor_base, in kvm_s390_pv_create_cpu()
146 free_pages(kvm->arch.pv.stor_base, in kvm_s390_pv_dealloc_vm()
220 free_pages(leftover->stor_base, get_order(uv_info.guest_base_stor_len)); in kvm_s390_pv_dispose_one_leftover()
221 free_pages(leftover->old_gmap_table, CRST_ALLOC_ORDER); in kvm_s390_pv_dispose_one_leftover()
/linux-6.3-rc2/drivers/accel/ivpu/
A Divpu_gem.c65 .free_pages = prime_free_pages_locked,
138 .free_pages = shmem_free_pages_locked,
187 .free_pages = internal_free_pages_locked,
214 bo->ops->free_pages(bo); in ivpu_bo_alloc_and_map_pages_locked()
225 bo->ops->free_pages(bo); in ivpu_bo_unmap_and_free_pages()
/linux-6.3-rc2/arch/mips/include/asm/mach-generic/
A Dfloppy.h122 free_pages(addr, get_order(size)); in fd_dma_mem_free()
/linux-6.3-rc2/arch/mips/include/asm/mach-jazz/
A Dfloppy.h119 free_pages(addr, get_order(size)); in fd_dma_mem_free()
/linux-6.3-rc2/arch/m68k/kernel/
A Ddma.c56 free_pages((unsigned long)vaddr, get_order(size)); in arch_dma_free()

Completed in 50 milliseconds

123456789