Home
last modified time | relevance | path

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

/Linux-v6.6/security/selinux/ss/
Dhashtab.h32 struct hashtab { struct
48 int hashtab_init(struct hashtab *h, u32 nel_hint); argument
50 int __hashtab_insert(struct hashtab *h, struct hashtab_node **dst,
61 static inline int hashtab_insert(struct hashtab *h, void *key, void *datum, in hashtab_insert()
96 static inline void *hashtab_search(struct hashtab *h, const void *key, in hashtab_search()
122 void hashtab_destroy(struct hashtab *h);
135 int hashtab_map(struct hashtab *h,
139 int hashtab_duplicate(struct hashtab *new, struct hashtab *orig,
147 void hashtab_stat(struct hashtab *h, struct hashtab_info *info);
149 static inline void hashtab_stat(struct hashtab *h, struct hashtab_info *info) in hashtab_stat()
Dhashtab.c32 int hashtab_init(struct hashtab *h, u32 nel_hint) in hashtab_init()
50 int __hashtab_insert(struct hashtab *h, struct hashtab_node **dst, in __hashtab_insert()
67 void hashtab_destroy(struct hashtab *h) in hashtab_destroy()
86 int hashtab_map(struct hashtab *h, in hashtab_map()
107 void hashtab_stat(struct hashtab *h, struct hashtab_info *info) in hashtab_stat()
134 int hashtab_duplicate(struct hashtab *new, struct hashtab *orig, in hashtab_duplicate()
Dpolicydb.h266 struct hashtab role_tr;
272 struct hashtab filename_trans;
297 struct hashtab range_tr;
Dsymtab.h16 struct hashtab table; /* hash table (keyed on a string) */
Dpolicydb.c682 static void hash_eval(struct hashtab *h, const char *hash_name) in hash_eval()
701 static inline void hash_eval(struct hashtab *h, const char *hash_name) in hash_eval()
/Linux-v6.6/scripts/basic/
Dfixdep.c132 struct item *hashtab[]) in add_to_hashtable() argument
143 aux->next = hashtab[hash % HASHSZ]; in add_to_hashtable()
144 hashtab[hash % HASHSZ] = aux; in add_to_hashtable()
151 static bool in_hashtable(const char *name, int len, struct item *hashtab[]) in in_hashtable() argument
156 for (aux = hashtab[hash % HASHSZ]; aux; aux = aux->next) { in in_hashtable()
162 add_to_hashtable(name, len, hash, hashtab); in in_hashtable()
/Linux-v6.6/Documentation/bpf/
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-v6.6/security/selinux/
DMakefile17 ss/ebitmap.o ss/hashtab.o ss/symtab.o ss/sidtab.o ss/avtab.o \
/Linux-v6.6/kernel/bpf/
DMakefile11 obj-$(CONFIG_BPF_SYSCALL) += hashtab.o arraymap.o percpu_freelist.o bpf_lru_list.o lpm_trie.o map_i…