Searched defs:old_size (Results 1 - 3 of 3) sorted by relevance

/systemd/src/shared/
H A Dmachine-pool.c373 uint64_t old_size, new_size, max_add; local
398 old_size = (uint64_t) b.f_blocks * (uint64_t) b.f_bsize;
408 if (new_size < old_size)
412 if (new_size > old_size + max_add)
413 new_size = old_size + max_add;
/systemd/src/journal/
H A Djournal-file.c380 uint64_t old_size, new_size; local
393 old_size =
401 if (new_size <= old_size) {
428 if (new_size - old_size > available)
441 r = posix_fallocate(f->fd, old_size, new_size - old_size);
/systemd/src/libsystemd/sd-bus/
H A Dbus-message.c161 size_t old_size, new_size, start; local
168 old_size = sizeof(struct bus_header) + m->fields_size;
169 start = ALIGN_TO(old_size, align);
176 if (old_size == new_size)
177 return (uint8_t*) m->header + old_size;
196 if (start > old_size)
197 memzero((uint8_t*) np + old_size, start - old_size);
204 m->path = adjust_pointer(m->path, op, old_size, m->header);
205 m->interface = adjust_pointer(m->interface, op, old_size,
[all...]

Completed in 26 milliseconds