MCPcopy Create free account
hub / github.com/RsyncProject/rsync / flist_done_allocating

Function flist_done_allocating

flist.c:335–342  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

333}
334
335static void flist_done_allocating(struct file_list *flist)
336{
337 void *ptr = pool_boundary(flist->file_pool, 8*1024);
338 if (flist->pool_boundary == ptr)
339 flist->pool_boundary = NULL; /* list didn't use any pool memory */
340 else
341 flist->pool_boundary = ptr;
342}
343
344/* Call this with EITHER (1) "file, NULL, 0" to chdir() to the file's
345 * F_PATHNAME(), or (2) "NULL, dir, dirlen" to chdir() to the supplied dir,

Callers 3

send_extra_file_listFunction · 0.85
send_file_listFunction · 0.85
recv_file_listFunction · 0.85

Calls 1

pool_boundaryFunction · 0.85

Tested by

no test coverage detected