/linux-3.4.99/lib/ |
D | swiotlb.c | 222 order = get_order(io_tlb_nslabs << IO_TLB_SHIFT); in swiotlb_late_init_with_default_size() 237 if (order != get_order(bytes)) { in swiotlb_late_init_with_default_size() 252 get_order(io_tlb_nslabs * sizeof(int))); in swiotlb_late_init_with_default_size() 262 get_order(io_tlb_nslabs * in swiotlb_late_init_with_default_size() 273 get_order(io_tlb_overflow)); in swiotlb_late_init_with_default_size() 285 get_order(io_tlb_nslabs * sizeof(phys_addr_t))); in swiotlb_late_init_with_default_size() 288 free_pages((unsigned long)io_tlb_list, get_order(io_tlb_nslabs * in swiotlb_late_init_with_default_size() 307 get_order(io_tlb_overflow)); in swiotlb_free() 309 get_order(io_tlb_nslabs * sizeof(phys_addr_t))); in swiotlb_free() 310 free_pages((unsigned long)io_tlb_list, get_order(io_tlb_nslabs * in swiotlb_free() [all …]
|
/linux-3.4.99/net/sctp/ |
D | ssnmap.c | 72 __get_free_pages(gfp, get_order(size)); in sctp_ssnmap_new() 88 free_pages((unsigned long)retval, get_order(size)); in sctp_ssnmap_new() 130 free_pages((unsigned long)map, get_order(size)); in sctp_ssnmap_free()
|
/linux-3.4.99/net/xfrm/ |
D | xfrm_hash.c | 26 get_order(sz)); in xfrm_hash_alloc() 38 free_pages((unsigned long)n, get_order(sz)); in xfrm_hash_free()
|
/linux-3.4.99/drivers/s390/char/ |
D | vmcp.c | 54 free_pages((unsigned long)session->response, get_order(session->bufsize)); in vmcp_release() 107 get_order(session->bufsize)); in vmcp_write() 155 get_order(session->bufsize)); in vmcp_ioctl() 158 if (get_order(session->bufsize) > 8) { in vmcp_ioctl()
|
/linux-3.4.99/arch/cris/arch-v32/drivers/pci/ |
D | dma.c | 23 int order = get_order(size); in dma_alloc_coherent() 45 int order = get_order(size); in dma_free_coherent()
|
/linux-3.4.99/arch/mn10300/mm/ |
D | dma-alloc.c | 45 addr = __get_free_pages(gfp, get_order(size)); in dma_alloc_coherent() 73 free_pages(addr, get_order(size)); in dma_free_coherent()
|
/linux-3.4.99/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()
|
/linux-3.4.99/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()
|
/linux-3.4.99/arch/xtensa/kernel/ |
D | pci-dma.c | 44 ret = (unsigned long)__get_free_pages(flag, get_order(size)); in dma_alloc_coherent() 74 free_pages(addr, get_order(size)); in dma_free_coherent()
|
/linux-3.4.99/arch/mips/mm/ |
D | dma-default.c | 93 ret = (void *) __get_free_pages(gfp, get_order(size)); in dma_alloc_noncoherent() 114 ret = (void *) __get_free_pages(gfp, get_order(size)); in mips_dma_alloc_coherent() 134 free_pages((unsigned long) vaddr, get_order(size)); in dma_free_noncoherent() 142 int order = get_order(size); in mips_dma_free_coherent() 152 free_pages(addr, get_order(size)); in mips_dma_free_coherent()
|
/linux-3.4.99/drivers/iommu/ |
D | amd_iommu_init.c | 210 get_order(((int)amd_iommu_last_bdf + 1) * entry_size); in tbl_size() 508 get_order(CMD_BUFFER_SIZE)); in alloc_command_buffer() 555 get_order(iommu->cmd_buf_size & ~(CMD_BUFFER_UNINITIALIZED))); in free_command_buffer() 562 get_order(EVT_BUFFER_SIZE)); in alloc_event_buffer() 592 free_pages((unsigned long)iommu->evt_buf, get_order(EVT_BUFFER_SIZE)); in free_event_buffer() 599 get_order(PPR_LOG_SIZE)); in alloc_ppr_log() 632 free_pages((unsigned long)iommu->ppr_log, get_order(PPR_LOG_SIZE)); in free_ppr_log() 1468 get_order(MAX_DOMAIN_ID/8)); in free_on_init_error() 1471 get_order(rlookup_table_size)); in free_on_init_error() 1474 get_order(alias_table_size)); in free_on_init_error() [all …]
|
/linux-3.4.99/arch/m68k/kernel/ |
D | dma_no.c | 25 ret = (void *)__get_free_pages(gfp, get_order(size)); in dma_alloc_coherent() 37 free_pages((unsigned long)vaddr, get_order(size)); in dma_free_coherent()
|
/linux-3.4.99/sound/core/ |
D | memalloc.c | 96 pg = get_order(size); in snd_malloc_pages() 115 pg = get_order(size); in snd_free_pages() 136 pg = get_order(size); in snd_malloc_dev_pages() 156 pg = get_order(size); in snd_free_dev_pages() 247 aligned_size = PAGE_SIZE << get_order(size); in snd_dma_alloc_pages_fallback()
|
/linux-3.4.99/arch/mn10300/include/asm/ |
D | page.h | 77 static inline int get_order(unsigned long size) __attribute__((const)); 78 static inline int get_order(unsigned long size) in get_order() function
|
/linux-3.4.99/arch/ia64/sn/pci/ |
D | pci_dma.c | 96 flags, get_order(size)); in sn_dma_alloc_coherent() 103 cpuaddr = (void *)__get_free_pages(flags, get_order(size)); in sn_dma_alloc_coherent() 123 free_pages((unsigned long)cpuaddr, get_order(size)); in sn_dma_alloc_coherent() 149 free_pages((unsigned long)cpu_addr, get_order(size)); in sn_dma_free_coherent()
|
/linux-3.4.99/drivers/parisc/ |
D | ccio-rm-dma.c | 87 ret = (void *)__get_free_pages(GFP_ATOMIC, get_order(size)); in ccio_alloc_consistent() 99 free_pages((unsigned long)vaddr, get_order(size)); in ccio_free_consistent()
|
/linux-3.4.99/arch/sh/mm/ |
D | consistent.c | 40 int order = get_order(size); in dma_generic_alloc_coherent() 71 int order = get_order(size); in dma_generic_free_coherent()
|
/linux-3.4.99/drivers/infiniband/hw/ipath/ |
D | ipath_dma.c | 164 p = alloc_pages(flag, get_order(size)); in ipath_dma_alloc_coherent() 175 free_pages((unsigned long) cpu_addr, get_order(size)); in ipath_dma_free_coherent()
|
/linux-3.4.99/drivers/infiniband/hw/qib/ |
D | qib_dma.c | 154 p = alloc_pages(flag, get_order(size)); in qib_dma_alloc_coherent() 165 free_pages((unsigned long) cpu_addr, get_order(size)); in qib_dma_free_coherent()
|
/linux-3.4.99/arch/parisc/kernel/ |
D | pci-dma.c | 397 get_order(pcxl_res_size)); in pcxl_dma_init() 422 order = get_order(size); in pa11_dma_alloc_consistent() 446 order = get_order(size); in pa11_dma_free_consistent() 569 addr = (void *)__get_free_pages(flag, get_order(size)); in pa11_dma_alloc_noncoherent() 579 free_pages((unsigned long)vaddr, get_order(size)); in pa11_dma_free_noncoherent()
|
/linux-3.4.99/arch/m68k/sun3/ |
D | sun3dvma.c | 349 if((kaddr = __get_free_pages(GFP_ATOMIC, get_order(len))) == 0) in dvma_malloc_align() 353 free_pages(kaddr, get_order(len)); in dvma_malloc_align() 361 free_pages(kaddr, get_order(len)); in dvma_malloc_align()
|
/linux-3.4.99/drivers/base/ |
D | dma-coherent.c | 89 err = bitmap_allocate_region(mem->bitmap, pos, get_order(size)); in dma_mark_declared_memory_occupied() 115 int order = get_order(size); in dma_alloc_from_coherent()
|
/linux-3.4.99/arch/alpha/kernel/ |
D | pci-noop.c | 118 ret = (void *)__get_free_pages(gfp, get_order(size)); in alpha_noop_alloc_coherent() 130 free_pages((unsigned long)cpu_addr, get_order(size)); in alpha_noop_free_coherent()
|
/linux-3.4.99/drivers/xen/ |
D | swiotlb-xen.c | 128 dma_bits = get_order(IO_TLB_SEGSIZE << IO_TLB_SHIFT) + PAGE_SHIFT; in xen_swiotlb_fixup() 137 get_order(slabs << IO_TLB_SHIFT), in xen_swiotlb_fixup() 211 int order = get_order(size); in xen_swiotlb_alloc_coherent() 259 int order = get_order(size); in xen_swiotlb_free_coherent()
|
/linux-3.4.99/arch/x86/kernel/ |
D | amd_gart_64.c | 488 page = alloc_pages(flag | __GFP_ZERO, get_order(size)); in gart_alloc_coherent() 492 align_mask = (1UL << get_order(size)) - 1; in gart_alloc_coherent() 501 __free_pages(page, get_order(size)); in gart_alloc_coherent() 515 free_pages((unsigned long)vaddr, get_order(size)); in gart_free_coherent() 675 get_order(gatt_size)); in init_amd_gatt() 781 get_order(iommu_pages/8)); in gart_iommu_init()
|