Home
last modified time | relevance | path

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

/libmctp-latest/tests/
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()
102 memcpy(rx_pkt->data + sizeof(pktbuf->hdr), pktbuf->payload, alloc_size); in receive_ptkbuf()