Home
last modified time | relevance | path

Searched refs:hashtab (Results 1 – 6 of 6) sorted by relevance

/linux/security/selinux/ss/
H A Dhashtab.h32 struct hashtab { struct
49 int hashtab_init(struct hashtab *h, u32 nel_hint); argument
51 int __hashtab_insert(struct hashtab *h, struct hashtab_node **dst, void *key,
62 static inline int hashtab_insert(struct hashtab *h, void *key, void *datum, in hashtab_insert()
97 static inline void *hashtab_search(struct hashtab *h, const void *key, in hashtab_search()
123 void hashtab_destroy(struct hashtab *h);
136 int hashtab_map(struct hashtab *h, int (*apply)(void *k, void *d, void *args),
139 int hashtab_duplicate(struct hashtab *new, const struct hashtab *orig,
146 void hashtab_stat(struct hashtab *h, struct hashtab_info *info);
148 static inline void hashtab_stat(struct hashtab *h, struct hashtab_info *info) in hashtab_stat()
H A Dhashtab.c33 int hashtab_init(struct hashtab *h, u32 nel_hint) in hashtab_init()
51 int __hashtab_insert(struct hashtab *h, struct hashtab_node **dst, void *key, in __hashtab_insert()
68 void hashtab_destroy(struct hashtab *h) in hashtab_destroy()
87 int hashtab_map(struct hashtab *h, int (*apply)(void *k, void *d, void *args), in hashtab_map()
107 void hashtab_stat(struct hashtab *h, struct hashtab_info *info) in hashtab_stat()
139 int hashtab_duplicate(struct hashtab *new, const struct hashtab *orig, in hashtab_duplicate()
H A Dsymtab.h17 struct hashtab table; /* hash table (keyed on a string) */
/linux/scripts/basic/
H A Dfixdep.c134 struct item *hashtab[]) in add_to_hashtable() argument
142 aux->next = hashtab[hash % HASHSZ]; in add_to_hashtable()
143 hashtab[hash % HASHSZ] = aux; in add_to_hashtable()
150 static bool in_hashtable(const char *name, int len, struct item *hashtab[]) in in_hashtable() argument
155 for (aux = hashtab[hash % HASHSZ]; aux; aux = aux->next) { in in_hashtable()
161 add_to_hashtable(name, len, hash, hashtab); in in_hashtable()
/linux/Documentation/bpf/
H A Dmap_lru_hash_update.dot12 hash_lock [shape=rectangle,fillcolor=3,label="hashtab lock"]
58 label="Try to remove\nnode from hashtab"]
76 label="Try to remove\nnode from hashtab"]
/linux/kernel/bpf/
H A DMakefile11 obj-$(CONFIG_BPF_SYSCALL) += hashtab.o arraymap.o percpu_freelist.o bpf_lru_list.o lpm_trie.o map_i…