/linux-master/drivers/atm/ |
H A D | fore200e.h | 569 u32 alloc_size; /* length of allocated chunk */ member in struct:chunk
|
H A D | fore200e.c | 169 chunk->alloc_size = size + alignment; 172 chunk->alloc_addr = kzalloc(chunk->alloc_size, GFP_KERNEL); 211 chunk->alloc_size = size * nbr; 212 chunk->alloc_addr = dma_alloc_coherent(fore200e->dev, chunk->alloc_size, 226 dma_free_coherent(fore200e->dev, chunk->alloc_size, chunk->alloc_addr,
|
/linux-master/drivers/hsi/clients/ |
H A D | hsi_char.c | 173 static inline struct hsi_msg *hsc_msg_alloc(unsigned int alloc_size) argument 181 buf = kmalloc(alloc_size, GFP_KERNEL); 186 sg_init_one(msg->sgt.sgl, buf, alloc_size);
|
/linux-master/arch/powerpc/kernel/ |
H A D | eeh_pe.c | 50 size_t alloc_size; local 52 alloc_size = sizeof(struct eeh_pe); 54 alloc_size = ALIGN(alloc_size, cache_line_size()); 55 alloc_size += eeh_pe_aux_size; 59 pe = kzalloc(alloc_size, GFP_KERNEL);
|
/linux-master/arch/powerpc/platforms/pseries/ |
H A D | vio.c | 559 size_t alloc_size = 0; local 562 alloc_size += roundup(sgl->length, IOMMU_PAGE_SIZE(tbl)); 564 ret = vio_cmo_alloc(viodev, alloc_size); 573 alloc_size -= roundup(sgl->dma_length, IOMMU_PAGE_SIZE(tbl)); 574 if (alloc_size) 575 vio_cmo_dealloc(viodev, alloc_size); 579 vio_cmo_dealloc(viodev, alloc_size); 593 size_t alloc_size = 0; local 597 alloc_size += roundup(sgl->dma_length, IOMMU_PAGE_SIZE(tbl)); 600 vio_cmo_dealloc(viodev, alloc_size); [all...] |
/linux-master/arch/s390/kernel/ |
H A D | crash_dump.c | 572 size_t alloc_size; local 593 alloc_size = get_elfcorehdr_size(mem_chunk_cnt); 595 hdr = kzalloc(alloc_size, GFP_KERNEL); 619 BUG_ON(elfcorehdr_size > alloc_size);
|
/linux-master/arch/sparc/kernel/ |
H A D | mdesc.c | 164 unsigned int handle_size, alloc_size; local 171 alloc_size = PAGE_ALIGN(handle_size); 173 paddr = memblock_phys_alloc(alloc_size, PAGE_SIZE); 185 unsigned int alloc_size; local 191 alloc_size = PAGE_ALIGN(hp->handle_size); 193 memblock_free_late(start, alloc_size);
|
H A D | pci_sun4v.c | 1057 unsigned long q_size, alloc_size, pages, order; local 1061 alloc_size = (pbm->msiq_num * q_size); 1062 order = get_order(alloc_size); 1111 unsigned long q_size, alloc_size, pages, order; local 1121 alloc_size = (pbm->msiq_num * q_size); 1122 order = get_order(alloc_size);
|
/linux-master/arch/x86/kernel/ |
H A D | ldt.c | 152 unsigned int alloc_size; local 162 alloc_size = num_entries * LDT_ENTRY_SIZE; 170 if (alloc_size > PAGE_SIZE) 171 new_ldt->entries = __vmalloc(alloc_size, GFP_KERNEL_ACCOUNT | __GFP_ZERO);
|
/linux-master/drivers/acpi/ |
H A D | mipi-disco-img.c | 204 size_t alloc_size; local 215 port_count, &alloc_size) || 219 alloc_size, &alloc_size)) { 226 swnodes = kmalloc(alloc_size, GFP_KERNEL);
|
H A D | property.c | 401 size_t alloc_size; local 407 &alloc_size) || 408 check_add_overflow(sizeof(*props) + sizeof(*package), alloc_size, 409 &alloc_size)) { 416 props = kvzalloc(alloc_size, GFP_KERNEL);
|
/linux-master/drivers/block/ |
H A D | rbd.c | 809 fsparam_u32 ("alloc_size", Opt_alloc_size), 827 int alloc_size; member in struct:rbd_options 2292 * Align the range to alloc_size boundary and punt on discards 2295 * alloc_size == object_size && is_tail() is a special case for 2299 if (rbd_dev->opts->alloc_size != rbd_dev->layout.object_size || 2301 off = round_up(obj_req->ex.oe_off, rbd_dev->opts->alloc_size); 2303 rbd_dev->opts->alloc_size); 4958 .io_min = rbd_dev->opts->alloc_size, 4959 .io_opt = rbd_dev->opts->alloc_size, 4978 lim.discard_granularity = rbd_dev->opts->alloc_size; [all...] |
/linux-master/drivers/bus/mhi/host/ |
H A D | boot.c | 315 size_t alloc_size) 318 int segments = DIV_ROUND_UP(alloc_size, seg_size) + 1; 313 mhi_alloc_bhie_table(struct mhi_controller *mhi_cntrl, struct image_info **image_info, size_t alloc_size) argument
|
H A D | init.c | 143 ring->alloc_size = len + (len - 1); 144 ring->pre_aligned = dma_alloc_coherent(mhi_cntrl->cntrl_dev, ring->alloc_size, 244 dma_free_coherent(mhi_cntrl->cntrl_dev, ring->alloc_size, 260 dma_free_coherent(mhi_cntrl->cntrl_dev, ring->alloc_size, 412 dma_free_coherent(mhi_cntrl->cntrl_dev, ring->alloc_size, 428 dma_free_coherent(mhi_cntrl->cntrl_dev, ring->alloc_size, 603 dma_free_coherent(mhi_cntrl->cntrl_dev, tre_ring->alloc_size, 646 dma_free_coherent(mhi_cntrl->cntrl_dev, tre_ring->alloc_size,
|
H A D | internal.h | 209 size_t alloc_size; member in struct:mhi_ring 315 struct image_info **image_info, size_t alloc_size);
|
/linux-master/drivers/char/agp/ |
H A D | generic.c | 99 unsigned long alloc_size = num_agp_pages*sizeof(struct page *); local 115 agp_alloc_page_array(alloc_size, new);
|
/linux-master/drivers/cpufreq/ |
H A D | cpufreq_stats.c | 214 unsigned int alloc_size; local 229 alloc_size = count * sizeof(int) + count * sizeof(u64); 231 alloc_size += count * count * sizeof(int); 234 stats->time_in_state = kzalloc(alloc_size, GFP_KERNEL);
|
/linux-master/drivers/crypto/axis/ |
H A D | artpec6_crypto.c | 785 size_t alloc_size = sizeof(struct artpec6_crypto_bounce_buffer) + local 787 struct artpec6_crypto_bounce_buffer *bbuf = kzalloc(alloc_size, flags);
|
/linux-master/drivers/dca/ |
H A D | dca-core.c | 310 int alloc_size; local 312 alloc_size = (sizeof(*dca) + priv_size); 313 dca = kzalloc(alloc_size, GFP_KERNEL);
|
/linux-master/drivers/dma-buf/ |
H A D | dma-buf.c | 613 size_t alloc_size = sizeof(struct dma_buf); local 639 alloc_size += sizeof(struct dma_resv); 642 alloc_size += 1; 643 dmabuf = kzalloc(alloc_size, GFP_KERNEL);
|
/linux-master/drivers/dma/qcom/ |
H A D | gpi.c | 455 size_t alloc_size; member in struct:gpi_ring 1400 dma_free_coherent(gpii->gpi_dev->dev, ring->alloc_size, 1417 ring->alloc_size = (len + (len - 1)); 1419 "#el:%u el_size:%u len:%u actual_len:%llu alloc_size:%zu\n", 1421 ring->alloc_size); 1424 ring->alloc_size, 1428 ring->alloc_size);
|
/linux-master/drivers/firmware/efi/libstub/ |
H A D | arm32-stub.c | 87 int alloc_size = MAX_UNCOMP_KERNEL_SIZE + EFI_PHYS_ALIGN; local 97 status = efi_low_alloc_above(alloc_size, EFI_PAGE_SIZE, &alloc_base, 0x0); 122 alloc_size -= *reserve_addr - alloc_base; 125 (alloc_size - MAX_UNCOMP_KERNEL_SIZE) / EFI_PAGE_SIZE);
|
H A D | arm64.c | 95 unsigned long alloc_size) 117 efi_remap_image(image_base, alloc_size, code_size); 94 efi_cache_sync_image(unsigned long image_base, unsigned long alloc_size) argument
|
H A D | efi-stub-helper.c | 712 * @alloc_size: the size of the area in memory occupied by the image 721 void efi_remap_image(unsigned long image_base, unsigned alloc_size, argument 740 alloc_size, &attr); 767 alloc_size - code_size,
|
H A D | efistub.h | 1076 unsigned long alloc_size, 1152 unsigned long alloc_size); 1216 void efi_remap_image(unsigned long image_base, unsigned alloc_size,
|