Home
last modified time | relevance | path

Searched refs:__get_free_pages (Results 1 – 25 of 89) sorted by relevance

1234

/linux/net/xfrm/
H A Dxfrm_hash.c26 __get_free_pages(GFP_KERNEL | __GFP_NOWARN | __GFP_ZERO, in xfrm_hash_alloc()
/linux/lib/
H A Dtest_free_pages.c19 unsigned long addr = __get_free_pages(gfp, 3); in test_free_pages()
/linux/include/linux/
H A Dgfp.h362 #define __get_free_pages(...) alloc_hooks(get_free_pages_noprof(__VA_ARGS__)) macro
377 __get_free_pages((gfp_mask), 0)
380 __get_free_pages((gfp_mask) | GFP_DMA, (order))
/linux/drivers/tee/amdtee/
H A Dshm_pool.c22 va = __get_free_pages(GFP_KERNEL | __GFP_ZERO, order); in pool_op_alloc()
/linux/arch/mips/kernel/
H A Dirq.c67 void *s = (void *)__get_free_pages(GFP_KERNEL, order); in init_IRQ()
/linux/drivers/media/pci/solo6x10/
H A Dsolo6x10-p2m.c212 wr_buf = (u32 *)__get_free_pages(GFP_KERNEL, order); in solo_p2m_test()
216 rd_buf = (u32 *)__get_free_pages(GFP_KERNEL, order); in solo_p2m_test()
/linux/crypto/
H A Dxor.c130 b1 = (void *) __get_free_pages(GFP_KERNEL, 2); in calibrate_xor_blocks()
/linux/arch/um/kernel/skas/
H A Dmmu.c49 stack = __get_free_pages(GFP_KERNEL | __GFP_ZERO, ilog2(STUB_DATA_PAGES)); in init_new_context()
/linux/drivers/parisc/
H A Dsba_iommu.c890 ret = (void *) __get_free_pages(gfp, get_order(size)); in sba_alloc()
1138 pdir_base = __get_free_pages(GFP_KERNEL, pdir_order); in sba_alloc_pdir()
1176 unsigned long new_pdir = __get_free_pages(GFP_KERNEL, (19-12)); in sba_alloc_pdir()
1195 unsigned long new_pdir = __get_free_pages(GFP_KERNEL, pdir_order+1); /* 2 or 4MB */ in sba_alloc_pdir()
1303 ioc->pdir_base = (void *) __get_free_pages(GFP_KERNEL, in sba_ioc_init_pluto()
1717 sba_dev->ioc[i].res_map = (char *) __get_free_pages(GFP_KERNEL, get_order(res_size)); in sba_common_init()
H A Dccio-dma.c853 ret = (void *) __get_free_pages(flag, get_order(size)); in ccio_alloc()
1288 ioc->pdir_base = (__le64 *)__get_free_pages(GFP_KERNEL, in ccio_ioc_init()
1302 ioc->res_map = (u8 *)__get_free_pages(GFP_KERNEL, in ccio_ioc_init()
/linux/drivers/usb/core/
H A Dbuffer.c189 return (void *)__get_free_pages(mem_flags, in hcd_buffer_alloc_pages()
/linux/arch/parisc/kernel/
H A Dpci-dma.c381 pcxl_res_map = (char *)__get_free_pages(GFP_KERNEL, in pcxl_dma_init()
414 paddr = __get_free_pages(gfp | __GFP_ZERO, order); in arch_dma_alloc()
/linux/arch/sparc/mm/
H A Diommu.c96 tmp = __get_free_pages(GFP_KERNEL, IOMMU_ORDER); in sbus_iommu_init()
329 va = __get_free_pages(gfp | __GFP_ZERO, get_order(len)); in sbus_iommu_alloc()
/linux/include/linux/raid/
H A Dpq.h179 # define __get_free_pages(x, y) ((unsigned long)mmap(NULL, PAGE_SIZE << (y), \ macro
/linux/drivers/crypto/
H A Domap-crypto.c65 buf = (void *)__get_free_pages(GFP_ATOMIC, pages); in omap_crypto_copy_sgs()
/linux/arch/x86/kernel/
H A Dmachine_kexec_32.c61 image->arch.pgd = (pgd_t *)__get_free_pages(GFP_KERNEL | __GFP_ZERO, in machine_kexec_alloc_page_tables()
H A Damd_gart_64.c649 gatt = (void *)__get_free_pages(GFP_KERNEL | __GFP_ZERO, in init_amd_gatt()
758 iommu_gart_bitmap = (void *) __get_free_pages(GFP_KERNEL | __GFP_ZERO, in gart_iommu_init()
/linux/lib/raid6/
H A Dalgos.c253 disk_ptr = (char *)__get_free_pages(GFP_KERNEL, RAID6_TEST_DISKS_ORDER); in raid6_select_algo()
/linux/arch/um/kernel/
H A Dprocess.c63 page = __get_free_pages(flags, order); in alloc_stack()
/linux/drivers/md/bcache/
H A Dbset.c325 t->data = (void *) __get_free_pages(__GFP_COMP|gfp, b->page_order); in bch_btree_keys_alloc()
331 : (void *) __get_free_pages(gfp, get_order(bset_tree_bytes(b))); in bch_btree_keys_alloc()
337 : (void *) __get_free_pages(gfp, get_order(bset_prev_bytes(b))); in bch_btree_keys_alloc()
1241 struct bset *out = (void *) __get_free_pages(__GFP_NOWARN|GFP_NOWAIT, in __btree_sort()
/linux/drivers/char/agp/
H A Dagp.h231 ((char *)__get_free_pages(GFP_KERNEL, (order)))
/linux/net/dccp/
H A Dproto.c
/linux/kernel/dma/
H A Dswiotlb.c466 vstart = (void *)__get_free_pages(gfp_mask | __GFP_NOWARN, in swiotlb_init_late()
498 __get_free_pages(GFP_KERNEL | __GFP_ZERO, area_order); in swiotlb_init_late()
502 mem->slots = (void *)__get_free_pages(GFP_KERNEL | __GFP_ZERO, in swiotlb_init_late()
713 __get_free_pages(gfp, slot_order); in swiotlb_alloc_pool()
/linux/security/integrity/ima/
H A Dima_crypto.c249 ptr = (void *)__get_free_pages(gfp_mask, order); in ima_alloc_pages()
263 ptr = (void *)__get_free_pages(gfp_mask, 0); in ima_alloc_pages()
/linux/drivers/crypto/ccp/
H A Dtee-dev.c36 start_addr = (void *)__get_free_pages(GFP_KERNEL, get_order(ring_size)); in tee_alloc_ring()

1234