hash_ops 225 src/journal-remote/journal-remote.c static const struct hash_ops *hash_ops[] = { hash_ops 230 src/journal-remote/journal-remote.c assert(arg_split_mode >= 0 && arg_split_mode < (int) ELEMENTSOF(hash_ops)); hash_ops 232 src/journal-remote/journal-remote.c s->writers = hashmap_new(hash_ops[arg_split_mode]); hash_ops 98 src/journal/catalog.c const struct hash_ops catalog_hash_ops = { hash_ops 112 src/libsystemd-network/sd-dhcp-server.c static const struct hash_ops client_id_hash_ops = { hash_ops 1573 src/libsystemd/sd-bus/bus-objects.c static const struct hash_ops vtable_member_hash_ops = { hash_ops 374 src/resolve/resolved-dns-domain.c const struct hash_ops dns_name_hash_ops = { hash_ops 168 src/resolve/resolved-dns-rr.c const struct hash_ops dns_resource_key_hash_ops = { hash_ops 177 src/resolve/resolved-dns-rr.h extern const struct hash_ops dns_resource_key_hash_ops; hash_ops 124 src/resolve/resolved-dns-server.c const struct hash_ops dns_server_hash_ops = { hash_ops 63 src/resolve/resolved-dns-server.h extern const struct hash_ops dns_server_hash_ops; hash_ops 43 src/shared/hashmap.c const struct hash_ops *hash_ops; hash_ops 83 src/shared/hashmap.c const struct hash_ops string_hash_ops = { hash_ops 98 src/shared/hashmap.c const struct hash_ops trivial_hash_ops = { hash_ops 116 src/shared/hashmap.c const struct hash_ops uint64_hash_ops = { hash_ops 135 src/shared/hashmap.c const struct hash_ops devt_hash_ops = { hash_ops 142 src/shared/hashmap.c return (unsigned) (h->hash_ops->hash(p, h->hash_key) % h->n_buckets); hash_ops 164 src/shared/hashmap.c Hashmap *hashmap_new(const struct hash_ops *hash_ops) { hash_ops 185 src/shared/hashmap.c h->hash_ops = hash_ops ? hash_ops : &trivial_hash_ops; hash_ops 200 src/shared/hashmap.c int hashmap_ensure_allocated(Hashmap **h, const struct hash_ops *hash_ops) { hash_ops 208 src/shared/hashmap.c q = hashmap_new(hash_ops); hash_ops 366 src/shared/hashmap.c if (h->hash_ops->compare(e->key, key) == 0) hash_ops 406 src/shared/hashmap.c old_bucket = h->hash_ops->hash(i->key, h->hash_key) % h->n_buckets; hash_ops 418 src/shared/hashmap.c new_bucket = h->hash_ops->hash(i->key, nkey) % m; hash_ops 875 src/shared/hashmap.c copy = hashmap_new(h->hash_ops); hash_ops 54 src/shared/hashmap.h extern const struct hash_ops string_hash_ops; hash_ops 61 src/shared/hashmap.h extern const struct hash_ops trivial_hash_ops; hash_ops 68 src/shared/hashmap.h extern const struct hash_ops uint64_hash_ops; hash_ops 75 src/shared/hashmap.h extern const struct hash_ops devt_hash_ops = { hash_ops 85 src/shared/hashmap.h Hashmap *hashmap_new(const struct hash_ops *hash_ops); hash_ops 86 src/shared/hashmap.h static inline OrderedHashmap *ordered_hashmap_new(const struct hash_ops *hash_ops) { hash_ops 87 src/shared/hashmap.h return (OrderedHashmap*) hashmap_new(hash_ops); hash_ops 105 src/shared/hashmap.h int hashmap_ensure_allocated(Hashmap **h, const struct hash_ops *hash_ops); hash_ops 106 src/shared/hashmap.h static inline int ordered_hashmap_ensure_allocated(OrderedHashmap **h, const struct hash_ops *hash_ops) { hash_ops 107 src/shared/hashmap.h return hashmap_ensure_allocated((Hashmap**) h, hash_ops); hash_ops 33 src/shared/set.c Set *set_new(const struct hash_ops *hash_ops) { hash_ops 34 src/shared/set.c return MAKE_SET(hashmap_new(hash_ops)); hash_ops 45 src/shared/set.c int set_ensure_allocated(Set **s, const struct hash_ops *hash_ops) { hash_ops 46 src/shared/set.c return hashmap_ensure_allocated((Hashmap**) s, hash_ops); hash_ops 35 src/shared/set.h Set *set_new(const struct hash_ops *hash_ops); hash_ops 40 src/shared/set.h int set_ensure_allocated(Set **s, const struct hash_ops *hash_ops);