Home
last modified time | relevance | path

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

/Linux-v5.4/security/selinux/ss/
Dhashtab.h22 struct hashtab { struct
26 u32 (*hash_value)(struct hashtab *h, const void *key); argument
28 int (*keycmp)(struct hashtab *h, const void *key1, const void *key2); argument
43 struct hashtab *hashtab_create(u32 (*hash_value)(struct hashtab *h, const void *key),
44 int (*keycmp)(struct hashtab *h, const void *key1, const void *key2),
55 int hashtab_insert(struct hashtab *h, void *k, void *d);
63 void *hashtab_search(struct hashtab *h, const void *k);
68 void hashtab_destroy(struct hashtab *h);
81 int hashtab_map(struct hashtab *h,
86 void hashtab_stat(struct hashtab *h, struct hashtab_info *info);
Dhashtab.c15 struct hashtab *hashtab_create(u32 (*hash_value)(struct hashtab *h, const void *key), in hashtab_create()
16 int (*keycmp)(struct hashtab *h, const void *key1, const void *key2), in hashtab_create()
19 struct hashtab *p; in hashtab_create()
42 int hashtab_insert(struct hashtab *h, void *key, void *datum) in hashtab_insert()
80 void *hashtab_search(struct hashtab *h, const void *key) in hashtab_search()
99 void hashtab_destroy(struct hashtab *h) in hashtab_destroy()
123 int hashtab_map(struct hashtab *h, in hashtab_map()
147 void hashtab_stat(struct hashtab *h, struct hashtab_info *info) in hashtab_stat()
Dsymtab.c12 static unsigned int symhash(struct hashtab *h, const void *key) in symhash()
26 static int symcmp(struct hashtab *h, const void *key1, const void *key2) in symcmp()
Dsymtab.h16 struct hashtab *table; /* hash table (keyed on a string) */
Dpolicydb.h268 struct hashtab *filename_trans;
290 struct hashtab *range_tr;
Dconditional.h69 int cond_read_bool(struct policydb *p, struct hashtab *h, void *fp);
Dpolicydb.c402 static u32 filenametr_hash(struct hashtab *h, const void *k) in filenametr_hash()
417 static int filenametr_cmp(struct hashtab *h, const void *k1, const void *k2) in filenametr_cmp()
439 static u32 rangetr_hash(struct hashtab *h, const void *k) in rangetr_hash()
447 static int rangetr_cmp(struct hashtab *h, const void *k1, const void *k2) in rangetr_cmp()
664 static void hash_eval(struct hashtab *h, const char *hash_name) in hash_eval()
683 static inline void hash_eval(struct hashtab *h, char *hash_name) in hash_eval()
1082 static int perm_read(struct policydb *p, struct hashtab *h, void *fp) in perm_read()
1115 static int common_read(struct policydb *p, struct hashtab *h, void *fp) in common_read()
1280 static int class_read(struct policydb *p, struct hashtab *h, void *fp) in class_read()
1374 static int role_read(struct policydb *p, struct hashtab *h, void *fp) in role_read()
[all …]
Dconditional.c216 int cond_read_bool(struct policydb *p, struct hashtab *h, void *fp) in cond_read_bool()
/Linux-v5.4/scripts/basic/
Dfixdep.c172 static struct item *hashtab[HASHSZ]; variable
191 for (aux = hashtab[hash % HASHSZ]; aux; aux = aux->next) { in is_defined_config()
213 aux->next = hashtab[hash % HASHSZ]; in define_config()
214 hashtab[hash % HASHSZ] = aux; in define_config()
/Linux-v5.4/kernel/bpf/
DMakefile6 obj-$(CONFIG_BPF_SYSCALL) += hashtab.o arraymap.o percpu_freelist.o bpf_lru_list.o lpm_trie.o map_i…
/Linux-v5.4/security/selinux/
DMakefile10 ss/ebitmap.o ss/hashtab.o ss/symtab.o ss/sidtab.o ss/avtab.o \