Searched refs:old (Results 1 - 13 of 13) sorted by relevance

/systemd/src/test/
H A Dtest-rlimit-util.c52 struct rlimit old, new, high; local
63 assert_se(getrlimit(RLIMIT_NOFILE, &old) == 0);
64 new.rlim_cur = MIN(5U, old.rlim_max);
65 new.rlim_max = old.rlim_max;
74 assert_se(getrlimit(RLIMIT_NOFILE, &old) == 0);
75 assert_se(setrlimit_closest(RLIMIT_NOFILE, &old) == 0);
77 assert_se(old.rlim_cur == new.rlim_cur);
78 assert_se(old.rlim_max == new.rlim_max);
80 assert_se(getrlimit(RLIMIT_NOFILE, &old) == 0);
81 high = RLIMIT_MAKE_CONST(old
[all...]
/systemd/src/basic/
H A Dsignal-util.h34 int sigprocmask_many(int how, sigset_t *old, ...);
H A Dsignal-util.c168 int sigprocmask_many(int how, sigset_t *old, ...) { argument
176 va_start(ap, old);
183 if (sigprocmask(how, &ss, old) < 0)
H A Dc-rbtree.c210 * existing child must be given as @old, the new child as @new. @p must be the
211 * parent of @old (or NULL if it has no parent).
212 * This function ensures that the parent of @old now points to @new. However,
218 static inline void c_rbtree_swap_child(CRBTree *t, CRBNode *p, CRBNode *old, CRBNode *new) { argument
220 if (p->left == old)
/systemd/src/bootchart/
H A Dbootchart.c498 struct ps_struct *old; local
500 old = ps;
501 old->sample = ps->first;
503 while (old->sample->next) {
504 struct ps_sched_struct *oldsample = old->sample;
506 old->sample = old->sample->next;
509 free(old->cgroup);
510 free(old->sample);
511 free(old);
[all...]
/systemd/src/journal-remote/
H A Djournal-remote-write.h36 void iovw_rebase(struct iovec_wrapper *iovw, char *old, char *new);
H A Djournal-remote-write.c45 void iovw_rebase(struct iovec_wrapper *iovw, char *old, char *new) { argument
49 iovw->iovec[i].iov_base = (char*) iovw->iovec[i].iov_base - old + new;
H A Djournal-remote-parse.c77 char *b, *old = source->buf; local
83 iovw_rebase(&source->iovw, old, source->buf);
/systemd/src/shared/
H A Dacl-util.c368 _cleanup_(acl_freep) acl_t old;
372 old = acl_get_file(path, type);
373 if (!old)
382 r = find_acl_entry(old, i, &j);
386 if (acl_create_entry(&old, &j) < 0)
395 *acl = old;
396 old = NULL;
/systemd/src/libsystemd/sd-bus/
H A Dbus-track.c149 const char *name, *old, *new; local
155 r = sd_bus_message_read(message, "sss", &name, &old, &new);
/systemd/src/bus-proxyd/
H A Dbus-xml-policy.c1230 Policy old, buffer = {}; local
1244 memcpy(&old, &sp->buffer, sizeof(old));
1251 policy_free(&old);
/systemd/src/libsystemd/sd-event/
H A Dsd-event.c1554 struct signal_data *old, *d; local
1556 /* Move us from the signalfd belonging to the old
1559 assert_se(old = hashmap_get(s->event->signal_data, &s->priority));
1565 s->priority = old->priority;
1569 event_unmask_signal_data(s->event, old, s->signal.sig);
/systemd/src/network/
H A Dnetworkd-link.c221 #define FLAG_STRING(string, flag, old, new) \
222 (((old ^ new) & flag) \
223 ? ((old & flag) ? (" -" string) : (" +" string)) \

Completed in 4553 milliseconds