MCPcopy Create free account
hub / github.com/axboe/liburing / t_aligned_alloc

Function t_aligned_alloc

test/helpers.c:368–376  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

366}
367
368void *t_aligned_alloc(size_t alignment, size_t size)
369{
370 void *ret;
371
372 if (posix_memalign(&ret, alignment, size))
373 return NULL;
374
375 return ret;
376}
377
378int t_create_socketpair_ip(struct sockaddr_storage *addr,
379 int *sock_client, int *sock_server,

Callers 6

test_wait_argFunction · 0.70
test_regionsFunction · 0.70
transfer_bytesFunction · 0.70
mainFunction · 0.70
mainFunction · 0.70
mainFunction · 0.70

Calls

no outgoing calls

Tested by 2

test_wait_argFunction · 0.56
test_regionsFunction · 0.56