Searched refs:alloc_size (Results 1 – 10 of 10) sorted by relevance
/arch/x86/kernel/ |
D | ldt.c | 68 unsigned int alloc_size; in alloc_ldt_struct() local 78 alloc_size = num_entries * LDT_ENTRY_SIZE; in alloc_ldt_struct() 86 if (alloc_size > PAGE_SIZE) in alloc_ldt_struct() 87 new_ldt->entries = vzalloc(alloc_size); in alloc_ldt_struct()
|
/arch/powerpc/kernel/ |
D | eeh_pe.c | 62 size_t alloc_size; in eeh_pe_alloc() local 64 alloc_size = sizeof(struct eeh_pe); in eeh_pe_alloc() 66 alloc_size = ALIGN(alloc_size, cache_line_size()); in eeh_pe_alloc() 67 alloc_size += eeh_pe_aux_size; in eeh_pe_alloc() 71 pe = kzalloc(alloc_size, GFP_KERNEL); in eeh_pe_alloc()
|
/arch/powerpc/platforms/pseries/ |
D | vio.c | 561 size_t alloc_size = 0; in vio_dma_iommu_map_sg() local 565 alloc_size += roundup(sgl->length, IOMMU_PAGE_SIZE(tbl)); in vio_dma_iommu_map_sg() 567 if (vio_cmo_alloc(viodev, alloc_size)) { in vio_dma_iommu_map_sg() 575 vio_cmo_dealloc(viodev, alloc_size); in vio_dma_iommu_map_sg() 581 alloc_size -= roundup(sgl->dma_length, IOMMU_PAGE_SIZE(tbl)); in vio_dma_iommu_map_sg() 582 if (alloc_size) in vio_dma_iommu_map_sg() 583 vio_cmo_dealloc(viodev, alloc_size); in vio_dma_iommu_map_sg() 596 size_t alloc_size = 0; in vio_dma_iommu_unmap_sg() local 601 alloc_size += roundup(sgl->dma_length, IOMMU_PAGE_SIZE(tbl)); in vio_dma_iommu_unmap_sg() 605 vio_cmo_dealloc(viodev, alloc_size); in vio_dma_iommu_unmap_sg()
|
/arch/s390/kernel/ |
D | crash_dump.c | 557 u32 alloc_size; in elfcorehdr_alloc() local 576 alloc_size = 0x1000 + get_cpu_cnt() * 0x4a0 + in elfcorehdr_alloc() 578 hdr = kzalloc_panic(alloc_size); in elfcorehdr_alloc() 594 BUG_ON(elfcorehdr_size > alloc_size); in elfcorehdr_alloc()
|
/arch/sparc/kernel/ |
D | mdesc.c | 162 unsigned int handle_size, alloc_size; in mdesc_memblock_alloc() local 169 alloc_size = PAGE_ALIGN(handle_size); in mdesc_memblock_alloc() 171 paddr = memblock_alloc(alloc_size, PAGE_SIZE); in mdesc_memblock_alloc() 183 unsigned int alloc_size; in mdesc_memblock_free() local 189 alloc_size = PAGE_ALIGN(hp->handle_size); in mdesc_memblock_free() 191 free_bootmem_late(start, alloc_size); in mdesc_memblock_free()
|
D | pci_sun4v.c | 1068 unsigned long q_size, alloc_size, pages, order; in pci_sun4v_msiq_alloc() local 1072 alloc_size = (pbm->msiq_num * q_size); in pci_sun4v_msiq_alloc() 1073 order = get_order(alloc_size); in pci_sun4v_msiq_alloc() 1122 unsigned long q_size, alloc_size, pages, order; in pci_sun4v_msiq_free() local 1132 alloc_size = (pbm->msiq_num * q_size); in pci_sun4v_msiq_free() 1133 order = get_order(alloc_size); in pci_sun4v_msiq_free()
|
/arch/ia64/mm/ |
D | contig.c | 178 ai->alloc_size = PERCPU_PAGE_SIZE; in setup_per_cpu_areas()
|
D | discontig.c | 229 ai->alloc_size = PERCPU_PAGE_SIZE; in setup_per_cpu_areas()
|
/arch/mips/net/ |
D | bpf_jit.c | 1213 unsigned int alloc_size, tmp_idx; in bpf_jit_compile() local 1235 alloc_size = 4 * ctx.idx; in bpf_jit_compile() 1236 ctx.target = module_alloc(alloc_size); in bpf_jit_compile() 1241 memset(ctx.target, 0, alloc_size); in bpf_jit_compile() 1255 bpf_jit_dump(fp->len, alloc_size, 2, ctx.target); in bpf_jit_compile()
|
/arch/ia64/include/asm/ |
D | pal.h | 1032 ia64_pal_copy_pal (u64 target_addr, u64 alloc_size, u64 processor, u64 *pal_proc_offset) in ia64_pal_copy_pal() argument 1035 PAL_CALL(iprv, PAL_COPY_PAL, target_addr, alloc_size, processor); in ia64_pal_copy_pal()
|