/arch/m68knommu/kernel/ |
D | dma.c | 23 ret = (void *)__get_free_pages(gfp, get_order(size)); in dma_alloc_coherent() 35 free_pages((unsigned long)vaddr, get_order(size)); in dma_free_coherent()
|
/arch/cris/arch-v32/drivers/pci/ |
D | dma.c | 22 int order = get_order(size); in dma_alloc_coherent() 44 int order = get_order(size); in dma_free_coherent()
|
/arch/mn10300/mm/ |
D | dma-alloc.c | 31 addr = __get_free_pages(gfp, get_order(size)); in dma_alloc_coherent() 54 free_pages(addr, get_order(size)); in dma_free_coherent()
|
/arch/x86/kernel/ |
D | amd_iommu_init.c | 178 get_order(amd_iommu_last_bdf * entry_size); in tbl_size() 415 get_order(CMD_BUFFER_SIZE)); in alloc_command_buffer() 440 get_order(iommu->cmd_buf_size)); in free_command_buffer() 448 get_order(EVT_BUFFER_SIZE)); in alloc_event_buffer() 464 free_pages((unsigned long)iommu->evt_buf, get_order(EVT_BUFFER_SIZE)); in free_event_buffer() 1065 get_order(dev_table_size)); in amd_iommu_init() 1074 get_order(alias_table_size)); in amd_iommu_init() 1081 get_order(rlookup_table_size)); in amd_iommu_init() 1090 get_order(rlookup_table_size)); in amd_iommu_init() 1096 get_order(MAX_DOMAIN_ID/8)); in amd_iommu_init() [all …]
|
D | pci-gart_64.c | 499 page = alloc_pages(flag | __GFP_ZERO, get_order(size)); in gart_alloc_coherent() 503 align_mask = (1UL << get_order(size)) - 1; in gart_alloc_coherent() 512 __free_pages(page, get_order(size)); in gart_alloc_coherent() 525 free_pages((unsigned long)vaddr, get_order(size)); in gart_free_coherent() 679 get_order(gatt_size)); in init_k8_gatt() 794 get_order(iommu_pages/8)); in gart_iommu_init() 801 get_order(iommu_pages*sizeof(void *))); in gart_iommu_init()
|
D | pci-dma.c | 139 page = alloc_pages_node(dev_to_node(dev), flag, get_order(size)); in dma_generic_alloc_coherent() 145 __free_pages(page, get_order(size)); in dma_generic_alloc_coherent()
|
D | pci-nommu.c | 78 free_pages((unsigned long)vaddr, get_order(size)); in nommu_free_coherent()
|
/arch/mips/include/asm/mach-jazz/ |
D | floppy.h | 110 mem = __get_dma_pages(GFP_KERNEL, get_order(size)); in fd_dma_mem_alloc() 121 free_pages(addr, get_order(size)); in fd_dma_mem_free()
|
/arch/mips/include/asm/mach-generic/ |
D | floppy.h | 121 mem = __get_dma_pages(GFP_KERNEL, get_order(size)); in fd_dma_mem_alloc() 128 free_pages(addr, get_order(size)); in fd_dma_mem_free()
|
/arch/xtensa/kernel/ |
D | pci-dma.c | 43 ret = (unsigned long)__get_free_pages(flag, get_order(size)); in dma_alloc_coherent() 73 free_pages(addr, get_order(size)); in dma_free_coherent()
|
/arch/m68k/atari/ |
D | stram.c | 193 addr = (void *)__get_dma_pages(GFP_KERNEL, get_order(size)); in atari_stram_alloc() 204 free_pages((unsigned long)addr, get_order(size)); in atari_stram_alloc() 233 get_order(block->size)); in atari_stram_free() 234 free_pages((unsigned long)addr, get_order(block->size)); in atari_stram_free()
|
/arch/ia64/xen/ |
D | grant-table.c | 40 order = get_order(size); in xen_alloc_vm_area() 69 unsigned int order = get_order(area->size); in xen_free_vm_area()
|
/arch/sh/mm/ |
D | consistent.c | 23 int order = get_order(size); in dma_alloc_coherent() 55 int order = get_order(size); in dma_free_coherent()
|
/arch/ia64/sn/pci/ |
D | pci_dma.c | 94 struct page *p = alloc_pages_node(node, flags, get_order(size)); in sn_dma_alloc_coherent() 101 cpuaddr = (void *)__get_free_pages(flags, get_order(size)); in sn_dma_alloc_coherent() 121 free_pages((unsigned long)cpuaddr, get_order(size)); in sn_dma_alloc_coherent() 148 free_pages((unsigned long)cpu_addr, get_order(size)); in sn_dma_free_coherent()
|
/arch/mips/mm/ |
D | dma-default.c | 75 ret = (void *) __get_free_pages(gfp, get_order(size)); in dma_alloc_noncoherent() 94 ret = (void *) __get_free_pages(gfp, get_order(size)); in dma_alloc_coherent() 115 free_pages((unsigned long) vaddr, get_order(size)); in dma_free_noncoherent() 130 free_pages(addr, get_order(size)); in dma_free_coherent()
|
/arch/powerpc/kernel/ |
D | dma.c | 47 page = alloc_pages_node(node, flag, get_order(size)); in dma_direct_alloc_coherent() 64 free_pages((unsigned long)vaddr, get_order(size)); in dma_direct_free_coherent()
|
D | iommu.c | 514 page = alloc_pages_node(nid, GFP_ATOMIC, get_order(sz)); in iommu_init_table() 560 order = get_order(bitmap_sz); in iommu_free_table() 639 order = get_order(size); in iommu_alloc_coherent() 684 free_pages((unsigned long)vaddr, get_order(size)); in iommu_free_coherent()
|
/arch/m68k/sun3/ |
D | sun3dvma.c | 348 if((kaddr = __get_free_pages(GFP_ATOMIC, get_order(len))) == 0) in dvma_malloc_align() 352 free_pages(kaddr, get_order(len)); in dvma_malloc_align() 360 free_pages(kaddr, get_order(len)); in dvma_malloc_align()
|
/arch/parisc/kernel/ |
D | pci-dma.c | 392 get_order(pcxl_res_size)); in pcxl_dma_init() 417 order = get_order(size); in pa11_dma_alloc_consistent() 441 order = get_order(size); in pa11_dma_free_consistent() 564 addr = (void *)__get_free_pages(flag, get_order(size)); in pa11_dma_alloc_noncoherent() 574 free_pages((unsigned long)vaddr, get_order(size)); in pa11_dma_free_noncoherent()
|
/arch/parisc/include/asm/ |
D | floppy.h | 168 return __get_dma_pages(GFP_KERNEL, get_order(size)); in dma_mem_alloc() 185 free_pages(addr, get_order(size)); in _fd_dma_mem_free()
|
/arch/x86/include/asm/ |
D | floppy.h | 156 return __get_dma_pages(GFP_KERNEL|__GFP_NORETRY, get_order(size)); in dma_mem_alloc() 173 free_pages(addr, get_order(size)); in _fd_dma_mem_free()
|
/arch/avr32/include/asm/ |
D | page.h | 49 static inline int get_order(unsigned long size) in get_order() function
|
/arch/sparc/kernel/ |
D | ioport.c | 266 order = get_order(len_total); in sbus_alloc_consistent() 332 __free_pages(pgv, get_order(n)); in sbus_free_consistent() 412 order = get_order(len_total); in pci_alloc_consistent() 482 free_pages(pgp, get_order(n)); in pci_free_consistent()
|
/arch/frv/mm/ |
D | dma-alloc.c | 92 order = get_order(size); in consistent_alloc()
|
/arch/xtensa/include/asm/ |
D | page.h | 116 static inline __attribute_const__ int get_order(unsigned long size) in get_order() function
|