Searched refs:newdup (Results 1 - 9 of 9) sorted by relevance
/systemd/src/basic/ |
H A D | alloc-util.h | 37 #define newdup(t, p, n) ((t*) memdup_multiply(p, sizeof(t), (n))) macro
|
/systemd/src/libsystemd-network/ |
H A D | sd-dhcp-server.c | 1121 c = newdup(struct in_addr, dns, n); 1147 c = newdup(struct in_addr, ntp, n);
|
H A D | sd-dhcp-lease.c | 405 addresses = newdup(struct in_addr, option, n_addresses);
|
/systemd/src/core/ |
H A D | dbus-execute.c | 1552 c->rlimit[ri] = newdup(struct rlimit, &nl, 1);
|
H A D | main.c | 1123 rl = newdup(struct rlimit, saved_rlimit, 1);
|
H A D | manager.c | 2925 m->rlimit[i] = newdup(struct rlimit, default_rlimit[i], 1);
|
H A D | load-fragment.c | 1136 rl[ltype] = newdup(struct rlimit, &d, 1);
|
H A D | unit.c | 3227 ec->rlimit[i] = newdup(struct rlimit, u->manager->rlimit[i], 1);
|
/systemd/src/libsystemd/sd-bus/ |
H A D | bus-creds.c | 1198 n->supplementary_gids = newdup(gid_t, c->supplementary_gids, c->n_supplementary_gids);
|
Completed in 2188 milliseconds