Searched refs:oldlen (Results 1 - 2 of 2) sorted by relevance

/lxc/src/lxc/cgroups/
H A Dcgfsng.c265 static void batch_realloc(char **mem, size_t oldlen, size_t newlen) argument
268 int oldbatches = (oldlen / BATCH_SIZE) + 1;
275 static void append_line(char **dest, size_t oldlen, char *new, size_t newlen) argument
277 size_t full = oldlen + newlen;
279 batch_realloc(dest, oldlen, full + 1);
281 memcpy(*dest + oldlen, new, newlen + 1);
/lxc/src/lxc/
H A Dconfile.c2768 size_t oldlen = conf->unexpanded_len; local
2769 size_t newlen = oldlen + diff;
2783 oldlen - poffset - olddirlen + 1);
2849 size_t oldlen = conf->unexpanded_len; local
2850 size_t newlen = oldlen + diff;
2864 oldlen - poffset - olddirlen + 1);

Completed in 26 milliseconds