Searched refs:newdup (Results 1 - 9 of 9) sorted by relevance

/systemd/src/basic/
H A Dalloc-util.h37 #define newdup(t, p, n) ((t*) memdup_multiply(p, sizeof(t), (n))) macro
/systemd/src/libsystemd-network/
H A Dsd-dhcp-server.c1121 c = newdup(struct in_addr, dns, n);
1147 c = newdup(struct in_addr, ntp, n);
H A Dsd-dhcp-lease.c405 addresses = newdup(struct in_addr, option, n_addresses);
/systemd/src/core/
H A Ddbus-execute.c1552 c->rlimit[ri] = newdup(struct rlimit, &nl, 1);
H A Dmain.c1123 rl = newdup(struct rlimit, saved_rlimit, 1);
H A Dmanager.c2925 m->rlimit[i] = newdup(struct rlimit, default_rlimit[i], 1);
H A Dload-fragment.c1136 rl[ltype] = newdup(struct rlimit, &d, 1);
H A Dunit.c3227 ec->rlimit[i] = newdup(struct rlimit, u->manager->rlimit[i], 1);
/systemd/src/libsystemd/sd-bus/
H A Dbus-creds.c1198 n->supplementary_gids = newdup(gid_t, c->supplementary_gids, c->n_supplementary_gids);

Completed in 2188 milliseconds