Home
last modified time | relevance | path

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

/linux-4.4.14/security/selinux/ss/
Dhashtab.h21 struct hashtab { struct
25 u32 (*hash_value)(struct hashtab *h, const void *key); argument
27 int (*keycmp)(struct hashtab *h, const void *key1, const void *key2); argument
42 struct hashtab *hashtab_create(u32 (*hash_value)(struct hashtab *h, const void *key),
43 int (*keycmp)(struct hashtab *h, const void *key1, const void *key2),
54 int hashtab_insert(struct hashtab *h, void *k, void *d);
62 void *hashtab_search(struct hashtab *h, const void *k);
67 void hashtab_destroy(struct hashtab *h);
80 int hashtab_map(struct hashtab *h,
85 void hashtab_stat(struct hashtab *h, struct hashtab_info *info);
Dhashtab.c12 struct hashtab *hashtab_create(u32 (*hash_value)(struct hashtab *h, const void *key), in hashtab_create()
13 int (*keycmp)(struct hashtab *h, const void *key1, const void *key2), in hashtab_create()
16 struct hashtab *p; in hashtab_create()
39 int hashtab_insert(struct hashtab *h, void *key, void *datum) in hashtab_insert()
77 void *hashtab_search(struct hashtab *h, const void *key) in hashtab_search()
96 void hashtab_destroy(struct hashtab *h) in hashtab_destroy()
120 int hashtab_map(struct hashtab *h, in hashtab_map()
144 void hashtab_stat(struct hashtab *h, struct hashtab_info *info) in hashtab_stat()
Dsymtab.c11 static unsigned int symhash(struct hashtab *h, const void *key) in symhash()
25 static int symcmp(struct hashtab *h, const void *key1, const void *key2) in symcmp()
Dsymtab.h15 struct hashtab *table; /* hash table (keyed on a string) */
Dpolicydb.h261 struct hashtab *filename_trans;
283 struct hashtab *range_tr;
Dconditional.h71 int cond_read_bool(struct policydb *p, struct hashtab *h, void *fp);
Dpolicydb.c207 static u32 filenametr_hash(struct hashtab *h, const void *k) in filenametr_hash()
222 static int filenametr_cmp(struct hashtab *h, const void *k1, const void *k2) in filenametr_cmp()
244 static u32 rangetr_hash(struct hashtab *h, const void *k) in rangetr_hash()
251 static int rangetr_cmp(struct hashtab *h, const void *k1, const void *k2) in rangetr_cmp()
493 static void hash_eval(struct hashtab *h, const char *hash_name) in hash_eval()
512 static inline void hash_eval(struct hashtab *h, char *hash_name) in hash_eval()
1112 static int perm_read(struct policydb *p, struct hashtab *h, void *fp) in perm_read()
1146 static int common_read(struct policydb *p, struct hashtab *h, void *fp) in common_read()
1312 static int class_read(struct policydb *p, struct hashtab *h, void *fp) in class_read()
1406 static int role_read(struct policydb *p, struct hashtab *h, void *fp) in role_read()
[all …]
Dconditional.c221 int cond_read_bool(struct policydb *p, struct hashtab *h, void *fp) in cond_read_bool()
/linux-4.4.14/scripts/basic/
Dfixdep.c149 static struct item *hashtab[HASHSZ]; variable
168 for (aux = hashtab[hash % HASHSZ]; aux; aux = aux->next) { in is_defined_config()
190 aux->next = hashtab[hash % HASHSZ]; in define_config()
191 hashtab[hash % HASHSZ] = aux; in define_config()
/linux-4.4.14/kernel/bpf/
DMakefile4 obj-$(CONFIG_BPF_SYSCALL) += hashtab.o arraymap.o
/linux-4.4.14/security/selinux/
DMakefile9 ss/ebitmap.o ss/hashtab.o ss/symtab.o ss/sidtab.o ss/avtab.o \