Searched refs:greedy_realloc (Results 1 - 5 of 5) sorted by relevance

/systemd/src/basic/
H A Dalloc-util.c40 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 Dalloc-util.h75 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 Dcompress.c148 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 Dnetlink-socket.c345 if (!greedy_realloc((void **)&rtnl->rbuffer,
H A Dsd-netlink.c53 if (!greedy_realloc((void**)&rtnl->rbuffer, &rtnl->rbuffer_allocated,

Completed in 16 milliseconds