Home
last modified time | relevance | path

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

/u-boot/test/lib/
A Dlmb.c291 const phys_addr_t alloc_size, const ulong align) in test_noreserved() argument
311 a = lmb_alloc(&lmb, alloc_size, align); in test_noreserved()
314 alloc_size, 0, 0, 0, 0); in test_noreserved()
316 b = lmb_alloc(&lmb, alloc_size, align); in test_noreserved()
318 if (alloc_size == alloc_size_aligned) { in test_noreserved()
325 - alloc_size_aligned, alloc_size, 0, 0); in test_noreserved()
328 ret = lmb_free(&lmb, b, alloc_size); in test_noreserved()
331 alloc_size, 0, 0, 0, 0); in test_noreserved()
332 ret = lmb_free(&lmb, a, alloc_size); in test_noreserved()
340 alloc_size, 0, 0, 0, 0); in test_noreserved()
[all …]
/u-boot/drivers/smem/
A Dmsm_smem.c348 size_t alloc_size; in qcom_smem_alloc_private() local
370 alloc_size = sizeof(*hdr) + ALIGN(size, 8); in qcom_smem_alloc_private()
371 if ((void *)hdr + alloc_size >= cached) { in qcom_smem_alloc_private()
388 le32_add_cpu(&phdr->offset_free_uncached, alloc_size); in qcom_smem_alloc_private()
/u-boot/drivers/net/octeontx2/
A Dnix.c43 size_t alloc_size = num_elements * elem_size; in nix_memalloc() local
44 void *base = memalign(CONFIG_SYS_CACHELINE_SIZE, alloc_size); in nix_memalloc()
49 alloc_size); in nix_memalloc()
51 memset(base, 0, alloc_size); in nix_memalloc()
54 msg ? msg : __func__, num_elements, elem_size, alloc_size, base); in nix_memalloc()

Completed in 14 milliseconds