Home
last modified time | relevance | path

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

/openbmc/u-boot/test/lib/
H A Dlmb.c287 const phys_addr_t alloc_size, const ulong align) in test_noreserved() argument
294 const phys_addr_t alloc_size_aligned = (alloc_size + align - 1) & in test_noreserved()
307 a = lmb_alloc(&lmb, alloc_size, align); in test_noreserved()
310 alloc_size, 0, 0, 0, 0); in test_noreserved()
312 b = lmb_alloc(&lmb, alloc_size, align); in test_noreserved()
314 if (alloc_size == alloc_size_aligned) { in test_noreserved()
316 (alloc_size_aligned * 2), alloc_size * 2, 0, 0, 0, in test_noreserved()
320 (alloc_size_aligned * 2), alloc_size, ram + ram_size in test_noreserved()
321 - alloc_size_aligned, alloc_size, 0, 0); in test_noreserved()
324 ret = lmb_free(&lmb, b, alloc_size); in test_noreserved()
[all …]
/openbmc/openbmc/poky/meta/recipes-bsp/grub/files/
H A DCVE-2025-0690.patch46 + grub_size_t alloc_size;
65 + if (grub_add (i, 1 + sizeof('\0'), &alloc_size))
70 + tmp = grub_realloc (line, alloc_size);
/openbmc/qemu/tests/qtest/
H A Dvirtio-net-test.c296 size_t alloc_size = (size_t)data / 64; in large_tx() local
302 req_addr = guest_alloc(t_alloc, alloc_size); in large_tx()
303 free_head = qvirtqueue_add(qts, vq, req_addr, alloc_size, false, true); in large_tx()
306 qvirtqueue_add(qts, vq, req_addr, alloc_size, false, i != 63); in large_tx()
H A Dvirtio-scsi-test.c49 static uint64_t qvirtio_scsi_alloc(QVirtioSCSIQueues *vs, size_t alloc_size, in qvirtio_scsi_alloc() argument
54 addr = guest_alloc(alloc, alloc_size); in qvirtio_scsi_alloc()
56 memwrite(addr, data, alloc_size); in qvirtio_scsi_alloc()
/openbmc/u-boot/drivers/smem/
H A Dmsm_smem.c343 size_t alloc_size; in qcom_smem_alloc_private() local
365 alloc_size = sizeof(*hdr) + ALIGN(size, 8); in qcom_smem_alloc_private()
366 if ((void *)hdr + alloc_size >= cached) { in qcom_smem_alloc_private()
383 le32_add_cpu(&phdr->offset_free_uncached, alloc_size); in qcom_smem_alloc_private()
/openbmc/openbmc/meta-openembedded/meta-webserver/recipes-support/fcgiwrap/fcgiwrap/
H A D0001-Fix-implicit-fallthrough-warning.patch96 +# alloc_size
164 + [alloc_size], [
/openbmc/libmctp/tests/
H A Dtest_core.c89 size_t alloc_size = MIN((size_t)MCTP_BTU, len); in receive_ptkbuf() local
92 rx_pkt = __mctp_alloc(sizeof(*rx_pkt) + MCTP_PACKET_SIZE(alloc_size)); in receive_ptkbuf()
101 memcpy(rx_pkt->data + sizeof(pktbuf->hdr), pktbuf->payload, alloc_size); in receive_ptkbuf()
/openbmc/openbmc/poky/meta/recipes-core/glibc/glibc/
H A D0001-localedef-Add-hardlink-resolver-from-util-linux.patch135 +# if (__has_attribute(alloc_size) && __has_attribute(warn_unused_result)) || __GNUC_PREREQ (4, 3)
136 +# define __ul_alloc_size(s) __attribute__((alloc_size(s), warn_unused_result))
143 +# if (__has_attribute(alloc_size) && __has_attribute(warn_unused_result)) || __GNUC_PREREQ (4, 3)
144 +# define __ul_calloc_size(n, s) __attribute__((alloc_size(n, s), warn_unused_result))
/openbmc/openbmc/meta-raspberrypi/dynamic-layers/multimedia-layer/recipes-multimedia/rpidistro-vlc/files/
H A D0004-mmal_20.patch986 + buffer->cmd, buffer->data, buffer->length, buffer->alloc_size, (long long)buffer->pts);
1008 + buffer->cmd, buffer->data, buffer->length, buffer->alloc_size, (long long)buffer->…
1278 - buffer->alloc_size = sys->output->buffer_size;
1343 + buf->alloc_size = sys->input->buffer_size;
1510 buffer->alloc_size = sys->input->buffer_size;
1514 if (len > buffer->alloc_size)
1531 + buffer->cmd, buffer->data, buffer->alloc_size, buffer->length, buffer->offset,
1954 + __func__, buf->cmd, ctx, buf, buf->flags, buf->length, buf->alloc_size, (long long)buf…
2001 - buffer->alloc_size = 0;
2017 + buf->cmd, buf->flags, buf->user_data, buf->data, buf->length, buf->alloc_size,
[all …]