Home
last modified time | relevance | path

Searched refs:newdup (Results 1 – 25 of 27) sorted by relevance

12

/systemd-251/src/network/
Dnetworkd-ipv6-proxy-ndp.c170 address = newdup(struct in6_addr, &buffer.in6, 1); in config_parse_ipv6_proxy_ndp_address()
Dnetworkd-nexthop.c177 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()
Dnetworkd-address-generation.c222 copy = newdup(struct in6_addr, &addr, 1); in generate_addresses()
Dnetworkd-neighbor.c77 dest = newdup(Neighbor, neighbor, 1); in neighbor_dup()
Dnetworkd-dhcp-prefix-delegation.c95 copy = newdup(struct in6_addr, prefix, 1); in link_add_dhcp_pd_subnet_prefix()
Dnetworkd-routing-policy-rule.c130 dest = newdup(RoutingPolicyRule, src, 1); in routing_policy_rule_dup()
Dnetworkd-address.c392 dest = newdup(Address, src, 1); in address_dup()
Dnetworkd-route.c328 dest = newdup(Route, src, 1); in route_dup()
/systemd-251/src/shared/
Dbitmap.c38 ret->bitmaps = newdup(uint64_t, b->bitmaps, b->n_bitmaps); in bitmap_copy()
Din-addr-prefix-util.c94 copy = newdup(struct in_addr_prefix, prefix, 1); in in_addr_prefix_add()
Dconf-parser.c461 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()
Duser-record.c347 limits[l] = newdup(struct rlimit, &rl, 1); in json_dispatch_rlimits()
/systemd-251/src/basic/
Dalloc-util.h47 #define newdup(t, p, n) ((t*) memdup_multiply(p, sizeof(t), (n))) macro
/systemd-251/src/libsystemd/sd-device/
Dtest-sd-device.c340 assert_se(nulstr_copy = newdup(uint8_t, nulstr, len)); in TEST()
/systemd-251/src/udev/
Dudevadm-trigger.c123 mid = newdup(sd_id128_t, &id, 1); in exec_list()
/systemd-251/src/network/tc/
Dtclass.c197 dst = newdup(TClass, src, 1); in tclass_dup()
Dqdisc.c227 dst = newdup(QDisc, src, 1); in qdisc_dup()
/systemd-251/src/libsystemd-network/
Dsd-dhcp-lease.c451 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()
Dsd-dhcp-server.c1506 c = newdup(struct in_addr, addresses, n_addresses); in sd_dhcp_server_set_servers()
/systemd-251/src/libsystemd/sd-bus/
Dbus-control.c780 c->supplementary_gids = newdup(gid_t, bus->groups, bus->n_groups); in sd_bus_get_owner_creds()
Dbus-creds.c1186 … n->supplementary_gids = newdup(gid_t, c->supplementary_gids, c->n_supplementary_gids); in bus_creds_extend_by_pid()
/systemd-251/src/core/
Dmain.c2278 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()
Dmanager.c2560 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()
Ddbus-execute.c3565 c->rlimit[ri] = newdup(struct rlimit, &nl, 1); in bus_exec_context_set_transient_property()
/systemd-251/src/libsystemd/sd-netlink/
Dsd-netlink.c943 slot->match_callback.groups = newdup(uint32_t, groups, n_groups); in netlink_add_match_internal()

12