Searched refs:hashtab (Results 1 – 11 of 11) sorted by relevance
/linux-4.4.14/security/selinux/ss/ |
D | hashtab.h | 21 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);
|
D | hashtab.c | 12 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()
|
D | symtab.c | 11 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()
|
D | symtab.h | 15 struct hashtab *table; /* hash table (keyed on a string) */
|
D | policydb.h | 261 struct hashtab *filename_trans; 283 struct hashtab *range_tr;
|
D | conditional.h | 71 int cond_read_bool(struct policydb *p, struct hashtab *h, void *fp);
|
D | policydb.c | 207 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 …]
|
D | conditional.c | 221 int cond_read_bool(struct policydb *p, struct hashtab *h, void *fp) in cond_read_bool()
|
/linux-4.4.14/scripts/basic/ |
D | fixdep.c | 149 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/ |
D | Makefile | 4 obj-$(CONFIG_BPF_SYSCALL) += hashtab.o arraymap.o
|
/linux-4.4.14/security/selinux/ |
D | Makefile | 9 ss/ebitmap.o ss/hashtab.o ss/symtab.o ss/sidtab.o ss/avtab.o \
|