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

Function t_posix_memalign

test/helpers.c:55–60  ·  view source on GitHub ↗

* Helper for allocating size bytes aligned on a boundary. */

Source from the content-addressed store, hash-verified

53 * Helper for allocating size bytes aligned on a boundary.
54 */
55void t_posix_memalign(void **memptr, size_t alignment, size_t size)
56{
57 int ret;
58 ret = posix_memalign(memptr, alignment, size);
59 assert(!ret);
60}
61
62/*
63 * Helper for allocating space for an array of nmemb elements

Callers 9

test_truncateFunction · 0.85
testFunction · 0.85
mainFunction · 0.85
t_create_buffersFunction · 0.85
test_pipe_io_fixedFunction · 0.85
test_stdout_io_fixedFunction · 0.85
mainFunction · 0.85
mainFunction · 0.85
mainFunction · 0.85

Calls

no outgoing calls

Tested by 3

test_truncateFunction · 0.68
test_pipe_io_fixedFunction · 0.68
test_stdout_io_fixedFunction · 0.68