Home
last modified time | relevance | path

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

12345

/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()
Dmem.c126 efi_bs_call(free_pages, addr, nr_pages); in efi_free()
/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()
/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()
/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()
/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 …]
/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()
/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()
/drivers/net/ethernet/amd/
Dmvme147.c136 free_pages(lp->ram, 3); in mvme147lance_probe()
195 free_pages(lp->ram, 3); in m147lance_exit()
/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,
Dxen-scsiback.c101 struct gnttab_page_cache free_pages; member
266 gnttab_page_cache_put(&req->info->free_pages, req->pages, in scsiback_fast_flush_area()
471 if (gnttab_page_cache_get(&info->free_pages, pg + mapcount)) { in scsiback_gnttab_data_map_list()
472 gnttab_page_cache_put(&info->free_pages, pg, mapcount); in scsiback_gnttab_data_map_list()
822 gnttab_page_cache_shrink(&info->free_pages, scsiback_max_buffer_pages); in scsiback_do_cmd_fn()
1261 gnttab_page_cache_shrink(&info->free_pages, 0); in scsiback_remove()
1293 gnttab_page_cache_init(&info->free_pages); in scsiback_probe()
/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()
/drivers/gpu/drm/nouveau/nvkm/subdev/instmem/
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()
501 free_pages: in gk20a_instobj_ctor_iommu()
/drivers/parisc/
Dsba_iommu.c914 free_pages((unsigned long) vaddr, get_order(size)); in sba_free()
1088 .free_pages = dma_common_free_pages,
1174 free_pages(pdir_base, pdir_order); in sba_alloc_pdir()
1181 free_pages(new_pdir, pdir_order); in sba_alloc_pdir()
1194 free_pages( pdir_base, pdir_order); in sba_alloc_pdir()
1197 free_pages(new_pdir, 20-12); in sba_alloc_pdir()
1212 free_pages(new_pdir, 20-12); in sba_alloc_pdir()
1215 free_pages(new_pdir - 128*1024 , 17-12); in sba_alloc_pdir()
/drivers/platform/x86/dell/
Ddell_rbu.c197 free_pages((unsigned long)invalid_addr_packet_array[idx], ordernum); in create_packet()
328 free_pages((unsigned long) newpacket->data, in packet_empty_list()
351 free_pages((unsigned long) rbu_data.image_update_buffer, in img_update_free()
Ddell-smbios-wmi.c205 free_pages((unsigned long)priv->buf, count); in dell_smbios_wmi_probe()
220 free_pages((unsigned long)priv->buf, count); in dell_smbios_wmi_remove()
/drivers/firmware/arm_ffa/
Ddriver.c737 goto free_pages; in ffa_init()
743 goto free_pages; in ffa_init()
751 goto free_pages; in ffa_init()
762 free_pages: in ffa_init()
/drivers/iommu/amd/
Dinit.c665 free_pages((unsigned long)pci_seg->dev_table, in free_dev_table()
684 free_pages((unsigned long)pci_seg->rlookup_table, in free_rlookup_table()
705 free_pages((unsigned long)pci_seg->irq_lookup_table, in free_irq_lookup_table()
730 free_pages((unsigned long)pci_seg->alias_table, in free_alias_table()
827 free_pages((unsigned long)iommu->cmd_buf, get_order(CMD_BUFFER_SIZE)); in free_command_buffer()
839 free_pages((unsigned long)buf, order); in iommu_alloc_4k_pages()
883 free_pages((unsigned long)iommu->evt_buf, get_order(EVT_BUFFER_SIZE)); in free_event_buffer()
917 free_pages((unsigned long)iommu->ppr_log, get_order(PPR_LOG_SIZE)); in free_ppr_log()
923 free_pages((unsigned long)iommu->ga_log, get_order(GA_LOG_SIZE)); in free_ga_log()
924 free_pages((unsigned long)iommu->ga_log_tail, get_order(8)); in free_ga_log()
[all …]
/drivers/virt/gunyah/
Dvm_mgr_mm.c166 goto free_pages; in gh_vm_mem_alloc()
250 free_pages: in gh_vm_mem_alloc()
/drivers/fpga/
Ddfl-afu-dma-region.c55 goto free_pages; in afu_dma_pin_pages()
67 free_pages: in afu_dma_pin_pages()
/drivers/virt/acrn/
Dmm.c205 goto free_pages; in acrn_vm_ram_map()
306 free_pages: in acrn_vm_ram_map()
/drivers/dma-buf/heaps/
Dcma_heap.c354 goto free_pages; in cma_heap_allocate()
358 free_pages: in cma_heap_allocate()
/drivers/media/platform/rockchip/rga/
Drga.c906 free_pages((unsigned long)rga->dst_mmu_pages, 3); in rga_probe()
908 free_pages((unsigned long)rga->src_mmu_pages, 3); in rga_probe()
931 free_pages((unsigned long)rga->src_mmu_pages, 3); in rga_remove()
932 free_pages((unsigned long)rga->dst_mmu_pages, 3); in rga_remove()
/drivers/net/wireless/broadcom/b43legacy/
Ddebugfs.c233 free_pages((unsigned long)buf, buforder); in b43legacy_debugfs_read()
245 free_pages((unsigned long)dfile->buffer, buforder); in b43legacy_debugfs_read()

12345