Searched defs:used (Results 1 - 2 of 2) sorted by relevance

/systemd/src/shared/
H A Dsleep-config.c177 static int hibernation_partition_size(size_t *size, size_t *used) { argument
182 assert(used);
203 "%zu " /* used */
220 *used = used_field;
231 size_t size = 0, used = 0; local
234 r = hibernation_partition_size(&size, &used);
251 r = act <= (size - used) * HIBERNATION_SWAP_THRESHOLD;
252 log_debug("Hibernation is %spossible, Active(anon)=%llu kB, size=%zu kB, used=%zu kB, threshold=%.2g%%",
253 r ? "" : "im", act, size, used, 100*HIBERNATION_SWAP_THRESHOLD);
/systemd/src/journal/
H A Dcompress.c158 size_t used; local
172 used = space - s.avail_out;
177 s.avail_out = space - used;
178 s.next_out = *dst + used;
640 size_t used = st.st_size - total_in; local
642 c = LZ4F_decompress(ctx, buf, &produced, src + total_in, &used, NULL);
648 total_in += used;

Completed in 754 milliseconds