Home
last modified time | relevance | path

Searched refs:Set (Results 1 – 25 of 202) sorted by relevance

123456789

/systemd-251/src/basic/
Dset.h16 Set* _set_new(const struct hash_ops *hash_ops HASHMAP_DEBUG_PARAMS);
19 static inline Set* set_free(Set *s) { in set_free()
20 return (Set*) _hashmap_free(HASHMAP_BASE(s), NULL, NULL); in set_free()
23 static inline Set* set_free_free(Set *s) { in set_free_free()
24 return (Set*) _hashmap_free(HASHMAP_BASE(s), free, NULL); in set_free_free()
29 #define set_copy(s) ((Set*) _hashmap_copy(HASHMAP_BASE(s) HASHMAP_DEBUG_SRC_ARGS))
31 int _set_ensure_allocated(Set **s, const struct hash_ops *hash_ops HASHMAP_DEBUG_PARAMS);
34 int set_put(Set *s, const void *key);
37 static inline void *set_get(const Set *s, const void *key) { in set_get()
38 return _hashmap_get(HASHMAP_BASE((Set *) s), key); in set_get()
[all …]
Dhashmap.c228 struct Set { struct
246 assert_cc(sizeof(Hashmap) == sizeof(Set));
269 .head_size = sizeof(Set),
387 static struct set_entry *set_bucket_at(Set *h, unsigned idx) { in set_bucket_at()
816 Set *_set_new(const struct hash_ops *hash_ops HASHMAP_DEBUG_PARAMS) { in _set_new()
817 … return (Set*) hashmap_base_new(hash_ops, HASHMAP_TYPE_SET HASHMAP_DEBUG_PASS_ARGS); in _set_new()
845 int _set_ensure_allocated(Set **s, const struct hash_ops *hash_ops HASHMAP_DEBUG_PARAMS) { in _set_ensure_allocated()
1251 int set_put(Set *s, const void *key) { in set_put()
1268 int _set_ensure_put(Set **s, const struct hash_ops *hash_ops, const void *key HASHMAP_DEBUG_PARAMS… in _set_ensure_put()
1278 int _set_ensure_consume(Set **s, const struct hash_ops *hash_ops, void *key HASHMAP_DEBUG_PARAMS) { in _set_ensure_consume()
[all …]
/systemd-251/src/network/
Dnetworkd-link.h112 Set *addresses;
113 Set *neighbors;
114 Set *routes;
115 Set *nexthops;
116 Set *qdiscs;
117 Set *tclasses;
149 Set *ndisc_rdnss;
150 Set *ndisc_dnssl;
161 Set *dhcp_pd_prefixes;
174 Set *slaves;
[all …]
Dnetworkd-network.h153 Set *dhcp_deny_listed_ip;
154 Set *dhcp_allow_listed_ip;
155 Set *dhcp_request_options;
181 Set *dhcp6_request_options;
235 Set *dhcp_pd_tokens;
297 Set *ipv6_proxy_ndp_addresses;
315 Set *ndisc_deny_listed_router;
316 Set *ndisc_allow_listed_router;
317 Set *ndisc_deny_listed_prefix;
318 Set *ndisc_allow_listed_prefix;
[all …]
Dnetworkd-manager.h40 Set *dirty_links;
57 Set *dhcp_pd_subnet_ids;
70 Set *rules;
76 Set *nexthops;
80 Set *routes;
81 Set *routes_foreign;
Dnetworkd-dhcp-common.h77 …nt family, const union in_addr_union *address, uint8_t prefixlen, Set *allow_list, Set *deny_list);
78 static inline bool in4_address_is_filtered(const struct in_addr *address, Set *allow_list, Set *den… in in4_address_is_filtered()
81 …fix_is_filtered(const struct in6_addr *prefix, uint8_t prefixlen, Set *allow_list, Set *deny_list)… in in6_prefix_is_filtered()
Dnetworkd-address-generation.h10 int dhcp_pd_generate_addresses(Link *link, const struct in6_addr *prefix, Set **ret);
11 int ndisc_generate_addresses(Link *link, const struct in6_addr *prefix, uint8_t prefixlen, Set **re…
12 int radv_generate_addresses(Link *link, Set *tokens, const struct in6_addr *prefix, uint8_t prefixl…
Dnetworkd-address-generation.c175 Set *tokens, in generate_addresses()
179 Set **ret) { in generate_addresses()
181 _cleanup_set_free_ Set *addresses = NULL; in generate_addresses()
255 int dhcp_pd_generate_addresses(Link *link, const struct in6_addr *prefix, Set **ret) { in dhcp_pd_generate_addresses()
259 int ndisc_generate_addresses(Link *link, const struct in6_addr *prefix, uint8_t prefixlen, Set **re… in ndisc_generate_addresses()
263 int radv_generate_addresses(Link *link, Set *tokens, const struct in6_addr *prefix, uint8_t prefixl… in radv_generate_addresses()
294 static int ipv6_token_add(Set **tokens, AddressGenerationType type, const struct in6_addr *addr, co… in ipv6_token_add()
331 Set **tokens = data; in config_parse_address_generation_type()
/systemd-251/src/cryptenroll/
Dcryptenroll-wipe.c11 static int find_all_slots(struct crypt_device *cd, Set *wipe_slots, Set *keep_slots) { in find_all_slots()
39 static int find_empty_passphrase_slots(struct crypt_device *cd, Set *wipe_slots, Set *keep_slots) { in find_empty_passphrase_slots()
87 Set *wipe_slots, in find_slots_by_mask()
88 Set *keep_slots, in find_slots_by_mask()
91 _cleanup_(set_freep) Set *listed_slots = NULL; in find_slots_by_mask()
191 static int find_slot_tokens(struct crypt_device *cd, Set *wipe_slots, Set *keep_slots, Set *wipe_to… in find_slot_tokens()
270 static bool slots_remain(struct crypt_device *cd, Set *wipe_slots, Set *keep_slots) { in slots_remain()
304 _cleanup_(set_freep) Set *wipe_slots = NULL, *wipe_tokens = NULL, *keep_slots = NULL; in wipe_slots()
/systemd-251/src/shared/
Din-addr-prefix-util.h14 int in_addr_prefix_add(Set **prefixes, const struct in_addr_prefix *prefix);
15 int in_addr_prefixes_reduce(Set *prefixes);
16 int in_addr_prefixes_merge(Set **dest, Set *src);
18 bool in_addr_prefixes_is_any(Set *prefixes);
Din-addr-prefix-util.c87 int in_addr_prefix_add(Set **prefixes, const struct in_addr_prefix *prefix) { in in_addr_prefix_add()
102 int in_addr_prefixes_reduce(Set *prefixes) { in in_addr_prefixes_reduce()
188 int in_addr_prefixes_merge(Set **dest, Set *src) { in in_addr_prefixes_merge()
203 bool in_addr_prefixes_is_any(Set *prefixes) { in in_addr_prefixes_is_any()
221 Set **prefixes = data; in config_parse_in_addr_prefixes()
Dnet-condition.h14 Set *hw_addr;
15 Set *permanent_hw_addr;
24 Set *bssid;
Dkillall.c81 static void log_children_no_yet_killed(Set *pids) { in log_children_no_yet_killed()
103 static int wait_for_children(Set *pids, sigset_t *mask, usec_t timeout) { in wait_for_children()
190 static int killall(int sig, Set *pids, bool send_sighup) { in killall()
254 _cleanup_set_free_ Set *pids = NULL; in broadcast_signal()
Dseccomp-util.h94 int seccomp_restrict_archs(Set *archs);
98 int seccomp_restrict_address_families(Set *address_families, bool allow_list);
128 int parse_syscall_archs(char **l, Set **ret_archs);
/systemd-251/src/test/
Dtest-set.c11 _cleanup_set_free_ Set *m = NULL; in TEST()
38 Set *m; in TEST()
56 Set *m; in TEST()
72 _cleanup_set_free_ Set *m = NULL; in TEST()
94 _cleanup_set_free_ Set *m = NULL; in TEST()
105 _cleanup_set_free_ Set *m = NULL; in TEST()
113 _cleanup_set_free_ Set *m = NULL; in TEST()
122 Set *s, *copy; in TEST()
152 _cleanup_set_free_ Set *m = NULL; in TEST()
164 _cleanup_set_free_ Set *m = NULL; in TEST()
[all …]
Dtest-in-addr-prefix-util.c6 …addr_prefixes_one(int family, const union in_addr_union *addr, uint8_t prefixlen, Set **prefixes) { in test_config_parse_in_addr_prefixes_one()
13 static void test_config_parse_in_addr_prefixes(Set **ret) { in test_config_parse_in_addr_prefixes()
14 _cleanup_set_free_ Set *prefixes = NULL; in test_config_parse_in_addr_prefixes()
50 static void test_in_addr_prefixes_reduce(Set *prefixes) { in test_in_addr_prefixes_reduce()
86 _cleanup_set_free_ Set *prefixes = NULL; in TEST()
/systemd-251/src/journal/
Dmanaged-journal-file.h19 Set *deferred_closes,
36 Set *deferred_closes,
40 ManagedJournalFile* managed_journal_file_initiate_close(ManagedJournalFile *f, Set *deferred_closes…
41 …*mmap_cache, JournalFileFlags file_flags, uint64_t compress_threshold_bytes, Set *deferred_closes);
/systemd-251/src/core/
Dmanager.h210 Set *startup_units;
213 Set *failed_units;
242 Set *unit_path_cache;
270 Set *private_buses;
496 int manager_add_job(Manager *m, JobType type, Unit *unit, JobMode mode, Set *affected_jobs, sd_bus_…
497 int manager_add_job_by_name(Manager *m, JobType type, const char *name, JobMode mode, Set *affected…
498 int manager_add_job_by_name_and_warn(Manager *m, JobType type, const char *name, JobMode mode, Set
543 Set *manager_get_units_requiring_mounts_for(Manager *m, const char *path);
/systemd-251/src/analyze/
Danalyze-syscall-filter.c15 static int load_kernel_syscalls(Set **ret) { in load_kernel_syscalls()
16 _cleanup_set_free_ Set *syscalls = NULL; in load_kernel_syscalls()
61 static void syscall_set_remove(Set *s, const SyscallFilterSet *set) { in syscall_set_remove()
95 _cleanup_set_free_ Set *kernel = NULL, *known = NULL; in verb_syscall_filters()
Danalyze-filesystems.c11 static int load_available_kernel_filesystems(Set **ret) { in load_available_kernel_filesystems()
12 _cleanup_set_free_ Set *filesystems = NULL; in load_available_kernel_filesystems()
52 static void filesystem_set_remove(Set *s, const FilesystemSet *set) { in filesystem_set_remove()
121 _cleanup_set_free_ Set *kernel = NULL, *known = NULL; in verb_filesystems()
/systemd-251/src/resolve/
Dresolved-dns-transaction.h118 Set *notify_query_candidates, *notify_query_candidates_done;
122 Set *notify_zone_items, *notify_zone_items_done;
128 Set *notify_transactions, *notify_transactions_done;
132 Set *dnssec_transactions;
/systemd-251/shell-completion/zsh/
D_systemd-run43 '--path-property=[Set path unit property]:NAME=VALUE' \
45 {-p+,--property=}'[Set unit property]:NAME=VALUE:(( \
67 {-E+,--setenv=}'[Set environment]:NAME=VALUE' \
71 '--socket-property=[Set socket unit property]:NAME=VALUE' \
73 '--timer-property=[Set timer unit property]:NAME=VALUE' \
D_bootctl47 "set-default:Set the default boot loader entry"
48 "set-oneshot:Set the default boot loader entry only for the next boot"
49 "set-timeout:Set the menu timeout"
50 "set-timeout-oneshot:Set the menu timeout for the next boot only"
/systemd-251/src/libsystemd/sd-device/
Ddevice-internal.h38 Set *sysattrs; /* names of sysattrs */
41 Set *all_tags, *current_tags;
46 Set *devlinks;
/systemd-251/src/network/netdev/
Dvlan.h20 Set *egress_qos_maps;
21 Set *ingress_qos_maps;

123456789