Home
last modified time | relevance | path

Searched refs:alloc_size (Results 1 – 8 of 8) sorted by relevance

/arch/s390/kernel/
Dcrash_dump.c399 u32 alloc_size; in s390_elf_corehdr_create() local
404 alloc_size = 0x1000 + get_cpu_cnt() * 0x300 + in s390_elf_corehdr_create()
406 hdr = kzalloc_panic(alloc_size); in s390_elf_corehdr_create()
422 BUG_ON(*elfcorebuf_sz > alloc_size); in s390_elf_corehdr_create()
/arch/powerpc/kernel/
Dvio.c557 size_t alloc_size = 0; in vio_dma_iommu_map_sg() local
560 alloc_size += roundup(sgl->length, IOMMU_PAGE_SIZE); in vio_dma_iommu_map_sg()
562 if (vio_cmo_alloc(viodev, alloc_size)) { in vio_dma_iommu_map_sg()
570 vio_cmo_dealloc(viodev, alloc_size); in vio_dma_iommu_map_sg()
576 alloc_size -= roundup(sgl->dma_length, IOMMU_PAGE_SIZE); in vio_dma_iommu_map_sg()
577 if (alloc_size) in vio_dma_iommu_map_sg()
578 vio_cmo_dealloc(viodev, alloc_size); in vio_dma_iommu_map_sg()
590 size_t alloc_size = 0; in vio_dma_iommu_unmap_sg() local
594 alloc_size += roundup(sgl->dma_length, IOMMU_PAGE_SIZE); in vio_dma_iommu_unmap_sg()
598 vio_cmo_dealloc(viodev, alloc_size); in vio_dma_iommu_unmap_sg()
/arch/sparc/kernel/
Dmdesc.c93 unsigned int handle_size, alloc_size; in mdesc_memblock_alloc() local
100 alloc_size = PAGE_ALIGN(handle_size); in mdesc_memblock_alloc()
102 paddr = memblock_alloc(alloc_size, PAGE_SIZE); in mdesc_memblock_alloc()
114 unsigned int alloc_size; in mdesc_memblock_free() local
120 alloc_size = PAGE_ALIGN(hp->handle_size); in mdesc_memblock_free()
122 free_bootmem_late(start, alloc_size); in mdesc_memblock_free()
Dpci_sun4v.c770 unsigned long q_size, alloc_size, pages, order; in pci_sun4v_msiq_alloc() local
774 alloc_size = (pbm->msiq_num * q_size); in pci_sun4v_msiq_alloc()
775 order = get_order(alloc_size); in pci_sun4v_msiq_alloc()
824 unsigned long q_size, alloc_size, pages, order; in pci_sun4v_msiq_free() local
834 alloc_size = (pbm->msiq_num * q_size); in pci_sun4v_msiq_free()
835 order = get_order(alloc_size); in pci_sun4v_msiq_free()
/arch/arm/net/
Dbpf_jit_32.c834 unsigned alloc_size; in bpf_jit_compile() local
871 alloc_size = 4 * ctx.idx; in bpf_jit_compile()
873 alloc_size)); in bpf_jit_compile()
892 alloc_size, false); in bpf_jit_compile()
/arch/ia64/mm/
Dcontig.c247 ai->alloc_size = PERCPU_PAGE_SIZE; in setup_per_cpu_areas()
Ddiscontig.c229 ai->alloc_size = PERCPU_PAGE_SIZE; in setup_per_cpu_areas()
/arch/ia64/include/asm/
Dpal.h1031 ia64_pal_copy_pal (u64 target_addr, u64 alloc_size, u64 processor, u64 *pal_proc_offset) in ia64_pal_copy_pal() argument
1034 PAL_CALL(iprv, PAL_COPY_PAL, target_addr, alloc_size, processor); in ia64_pal_copy_pal()