/systemd-251/src/test/ ! |
D | test-hash-funcs.c | 15 assert_se(set_ensure_put(&set, &path_hash_ops, "foo") == 1); in TEST() 16 assert_se(set_ensure_put(&set, &path_hash_ops, "foo") == 0); in TEST() 17 assert_se(set_ensure_put(&set, &path_hash_ops, "bar") == 1); in TEST() 18 assert_se(set_ensure_put(&set, &path_hash_ops, "bar") == 0); in TEST() 19 assert_se(set_ensure_put(&set, &path_hash_ops, "/foo") == 1); in TEST() 20 assert_se(set_ensure_put(&set, &path_hash_ops, "/bar") == 1); in TEST() 21 assert_se(set_ensure_put(&set, &path_hash_ops, "/foo/.") == 0); in TEST() 22 assert_se(set_ensure_put(&set, &path_hash_ops, "/./bar/./.") == 0); in TEST()
|
D | test-set.c | 151 TEST(set_ensure_put) { in TEST() argument 154 assert_se(set_ensure_put(&m, &string_hash_ops, "a") == 1); in TEST() 155 assert_se(set_ensure_put(&m, &string_hash_ops, "a") == 0); in TEST() 156 assert_se(set_ensure_put(&m, NULL, "a") == 0); in TEST() 157 assert_se(set_ensure_put(&m, &string_hash_ops, "b") == 1); in TEST() 158 assert_se(set_ensure_put(&m, &string_hash_ops, "b") == 0); in TEST() 159 assert_se(set_ensure_put(&m, &string_hash_ops, "a") == 0); in TEST()
|
/systemd-251/coccinelle/ ! |
D | set_ensure_put.cocci | 10 + r = set_ensure_put(&p, k, x); 19 + r = set_ensure_put(p, k, x);
|
/systemd-251/src/core/ ! |
D | automount.c | 923 r = set_ensure_put(&a->tokens, NULL, UINT_TO_PTR(token)); in automount_deserialize_item() 933 r = set_ensure_put(&a->expire_tokens, NULL, UINT_TO_PTR(token)); in automount_deserialize_item() 1015 … r = set_ensure_put(&a->tokens, NULL, UINT_TO_PTR(packet.v5_packet.wait_queue_token)); in automount_dispatch_io() 1029 … r = set_ensure_put(&a->expire_tokens, NULL, UINT_TO_PTR(packet.v5_packet.wait_queue_token)); in automount_dispatch_io()
|
D | scope.c | 524 r = set_ensure_put(&u->pids, NULL, PID_TO_PTR(pid)); in scope_deserialize_item()
|
/systemd-251/src/network/ ! |
D | networkd-ipv6-proxy-ndp.c | 174 r = set_ensure_put(&network->ipv6_proxy_ndp_addresses, &in6_addr_hash_ops, address); in config_parse_ipv6_proxy_ndp_address()
|
D | networkd-nexthop.c | 285 r = set_ensure_put(&link->nexthops, &nexthop_hash_ops, nexthop); in nexthop_add() 297 r = set_ensure_put(&manager->nexthops, &nexthop_hash_ops, nexthop); in nexthop_add() 330 r = set_ensure_put(&ids, NULL, UINT32_TO_PTR(tmp->id)); in nexthop_acquire_id()
|
D | networkd-routing-policy-rule.c | 358 r = set_ensure_put(&m->rules, &routing_policy_rule_hash_ops, rule); in routing_policy_rule_add() 390 r = set_ensure_put(&priorities, NULL, UINT32_TO_PTR(tmp->priority)); in routing_policy_rule_acquire_priority() 403 r = set_ensure_put(&priorities, NULL, UINT32_TO_PTR(tmp->priority)); in routing_policy_rule_acquire_priority()
|
D | networkd-neighbor.c | 150 r = set_ensure_put(&link->neighbors, &neighbor_hash_ops, neighbor); in neighbor_add()
|
D | networkd-state-file.c | 708 r = set_ensure_put(&link->manager->dirty_links, NULL, link); in link_dirty()
|
D | networkd-address.c | 457 r = set_ensure_put(&link->addresses, &address_hash_ops_free, address); in address_add() 2038 r = set_ensure_put(&addresses, &address_kernel_hash_ops, address); in network_drop_invalid_addresses()
|
/systemd-251/src/login/ ! |
D | logind-brightness.c | 177 r = set_ensure_put(set, &bus_message_hash_ops, message); in set_add_message()
|
/systemd-251/src/udev/ ! |
D | udevadm-monitor.c | 170 r = set_ensure_put(&arg_tag_filter, &string_hash_ops, optarg); in parse_argv()
|
/systemd-251/src/socket-proxy/ ! |
D | socket-proxyd.c | 496 r = set_ensure_put(&context->connections, NULL, c); in add_connection_socket() 560 r = set_ensure_put(&context->listen, NULL, source); in add_listen_socket()
|
/systemd-251/src/basic/ ! |
D | set.h | 123 #define set_ensure_put(s, hash_ops, key) _set_ensure_put(s, hash_ops, key HASHMAP_DEBUG_SRC_ARGS) macro
|
/systemd-251/src/shared/ ! |
D | bus-print-properties.c | 349 r = set_ensure_put(found_properties, &string_hash_ops, name); in bus_message_print_all_properties()
|
D | netif-sriov.c | 340 r = set_ensure_put(&set, &sr_iov_hash_ops, sr_iov); in sr_iov_drop_invalid_sections()
|
/systemd-251/src/resolve/ ! |
D | resolved-dns-query.c | 154 r = set_ensure_put(&t->notify_query_candidates, NULL, c); in dns_query_candidate_add_transaction() 158 r = set_ensure_put(&c->transactions, NULL, t); in dns_query_candidate_add_transaction()
|
D | resolved-dns-transaction.c | 1787 r = set_ensure_put(&keys, &dns_resource_key_hash_ops, dns_transaction_key(t)); in dns_transaction_make_packet_mdns() 1853 … r = set_ensure_put(&keys, &dns_resource_key_hash_ops, dns_transaction_key(other)); in dns_transaction_make_packet_mdns() 2145 r = set_ensure_put(&t->dnssec_transactions, NULL, aux); in dns_transaction_add_dnssec_transaction() 2149 r = set_ensure_put(&aux->notify_transactions, NULL, t); in dns_transaction_add_dnssec_transaction()
|
D | resolved-dns-trust-anchor.c | 590 r = set_ensure_put(&d->revoked_by_rr, &dns_resource_record_hash_ops, rr); in dns_trust_anchor_revoked_put()
|
D | resolved-dns-zone.c | 192 r = set_ensure_put(&t->notify_zone_items, NULL, i); in dns_zone_item_probe_start()
|
/systemd-251/src/network/tc/ ! |
D | tclass.c | 178 r = set_ensure_put(&link->tclasses, &tclass_hash_ops, tclass); in tclass_add()
|
D | qdisc.c | 208 r = set_ensure_put(&link->qdiscs, &qdisc_hash_ops, qdisc); in qdisc_add()
|
/systemd-251/src/sysv-generator/ ! |
D | sysv-generator.c | 855 r = set_ensure_put(&runlevel_services[i], NULL, service); in set_dependencies_from_rcnd()
|
/systemd-251/src/home/ ! |
D | homed-manager-bus.c | 650 r = set_ensure_put(&m->rebalance_queued_method_calls, &bus_message_hash_ops, message); in method_rebalance()
|