/systemd-251/src/network/ |
D | networkd-ipv6-proxy-ndp.c | 170 address = newdup(struct in6_addr, &buffer.in6, 1); in config_parse_ipv6_proxy_ndp_address()
|
D | networkd-nexthop.c | 177 dest = newdup(NextHop, src, 1); in nexthop_dup() 191 g = newdup(struct nexthop_grp, nhg, 1); in nexthop_dup() 911 nhg = newdup(struct nexthop_grp, group + i, 1); in manager_rtnl_process_nexthop()
|
D | networkd-address-generation.c | 222 copy = newdup(struct in6_addr, &addr, 1); in generate_addresses()
|
D | networkd-neighbor.c | 77 dest = newdup(Neighbor, neighbor, 1); in neighbor_dup()
|
D | networkd-dhcp-prefix-delegation.c | 95 copy = newdup(struct in6_addr, prefix, 1); in link_add_dhcp_pd_subnet_prefix()
|
D | networkd-routing-policy-rule.c | 130 dest = newdup(RoutingPolicyRule, src, 1); in routing_policy_rule_dup()
|
D | networkd-address.c | 392 dest = newdup(Address, src, 1); in address_dup()
|
D | networkd-route.c | 328 dest = newdup(Route, src, 1); in route_dup()
|
/systemd-251/src/shared/ |
D | bitmap.c | 38 ret->bitmaps = newdup(uint64_t, b->bitmaps, b->n_bitmaps); in bitmap_copy()
|
D | in-addr-prefix-util.c | 94 copy = newdup(struct in_addr_prefix, prefix, 1); in in_addr_prefix_add()
|
D | conf-parser.c | 461 st_copy = newdup(struct stat, st, 1); in hashmap_put_stats_by_path() 1551 rl[ltype] = newdup(struct rlimit, &d, 1); in config_parse_rlimit()
|
D | user-record.c | 347 limits[l] = newdup(struct rlimit, &rl, 1); in json_dispatch_rlimits()
|
/systemd-251/src/basic/ |
D | alloc-util.h | 47 #define newdup(t, p, n) ((t*) memdup_multiply(p, sizeof(t), (n))) macro
|
/systemd-251/src/libsystemd/sd-device/ |
D | test-sd-device.c | 340 assert_se(nulstr_copy = newdup(uint8_t, nulstr, len)); in TEST()
|
/systemd-251/src/udev/ |
D | udevadm-trigger.c | 123 mid = newdup(sd_id128_t, &id, 1); in exec_list()
|
/systemd-251/src/network/tc/ |
D | tclass.c | 197 dst = newdup(TClass, src, 1); in tclass_dup()
|
D | qdisc.c | 227 dst = newdup(QDisc, src, 1); in qdisc_dup()
|
/systemd-251/src/libsystemd-network/ |
D | sd-dhcp-lease.c | 451 addresses = newdup(struct in_addr, option, n_addresses); in lease_parse_in_addrs() 613 br_addresses = newdup(struct in_addr, option + 2 + sizeof(struct in6_addr), n_br_addresses); in lease_parse_6rd()
|
D | sd-dhcp-server.c | 1506 c = newdup(struct in_addr, addresses, n_addresses); in sd_dhcp_server_set_servers()
|
/systemd-251/src/libsystemd/sd-bus/ |
D | bus-control.c | 780 c->supplementary_gids = newdup(gid_t, bus->groups, bus->n_groups); in sd_bus_get_owner_creds()
|
D | bus-creds.c | 1186 … n->supplementary_gids = newdup(gid_t, c->supplementary_gids, c->n_supplementary_gids); in bus_creds_extend_by_pid()
|
/systemd-251/src/core/ |
D | main.c | 2278 rl = newdup(struct rlimit, saved_rlimit_nofile, 1); in fallback_rlimit_nofile() 2322 rl = newdup(struct rlimit, saved_rlimit_memlock, 1); in fallback_rlimit_memlock()
|
D | manager.c | 2560 array_copy = newdup(Unit*, array, k+1); in manager_dispatch_notify_fd() 2662 array_copy = newdup(Unit*, array, n+1); in manager_dispatch_sigchld() 3889 m->rlimit[i] = newdup(struct rlimit, default_rlimit[i], 1); in manager_set_default_rlimits()
|
D | dbus-execute.c | 3565 c->rlimit[ri] = newdup(struct rlimit, &nl, 1); in bus_exec_context_set_transient_property()
|
/systemd-251/src/libsystemd/sd-netlink/ |
D | sd-netlink.c | 943 slot->match_callback.groups = newdup(uint32_t, groups, n_groups); in netlink_add_match_internal()
|