Searched refs:greedy_realloc (Results 1 - 5 of 5) sorted by relevance
/systemd/src/basic/ |
H A D | alloc-util.c | 40 void* greedy_realloc(void **p, size_t *allocated, size_t need, size_t size) { function 75 q = greedy_realloc(p, allocated, need, size);
|
H A D | alloc-util.h | 75 void* greedy_realloc(void **p, size_t *allocated, size_t need, size_t size); 79 greedy_realloc((void**) &(array), &(allocated), (need), sizeof((array)[0]))
|
/systemd/src/journal/ |
H A D | compress.c | 148 if (!greedy_realloc(dst, dst_alloc_size, space, 1)) 174 if (!greedy_realloc(dst, dst_alloc_size, space, 1)) 266 if (!(greedy_realloc(buffer, buffer_size, ALIGN_8(prefix_len + 1), 1))) 290 if (!(greedy_realloc(buffer, buffer_size, *buffer_size * 2, 1))) 323 if (!(greedy_realloc(buffer, buffer_size, ALIGN_8(prefix_len + 1), 1)))
|
/systemd/src/libsystemd/sd-netlink/ |
H A D | netlink-socket.c | 345 if (!greedy_realloc((void **)&rtnl->rbuffer,
|
H A D | sd-netlink.c | 53 if (!greedy_realloc((void**)&rtnl->rbuffer, &rtnl->rbuffer_allocated,
|
Completed in 16 milliseconds