Searched refs:hashtab (Results 1 – 10 of 10) sorted by relevance
/linux-2.6.39/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 | 11 struct hashtab *hashtab_create(u32 (*hash_value)(struct hashtab *h, const void *key), in hashtab_create() 12 int (*keycmp)(struct hashtab *h, const void *key1, const void *key2), in hashtab_create() 15 struct hashtab *p; in hashtab_create() 38 int hashtab_insert(struct hashtab *h, void *key, void *datum) in hashtab_insert() 74 void *hashtab_search(struct hashtab *h, const void *key) in hashtab_search() 93 void hashtab_destroy(struct hashtab *h) in hashtab_destroy() 117 int hashtab_map(struct hashtab *h, in hashtab_map() 141 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 | conditional.h | 70 int cond_read_bool(struct policydb *p, struct hashtab *h, void *fp);
|
D | policydb.c | 182 static u32 rangetr_hash(struct hashtab *h, const void *k) in rangetr_hash() 189 static int rangetr_cmp(struct hashtab *h, const void *k1, const void *k2) in rangetr_cmp() 425 struct hashtab *h = s[i].table; in symtab_hash_eval() 435 static void rangetr_hash_eval(struct hashtab *h) in rangetr_hash_eval() 445 static inline void rangetr_hash_eval(struct hashtab *h) in rangetr_hash_eval() 1010 static int perm_read(struct policydb *p, struct hashtab *h, void *fp) in perm_read() 1050 static int common_read(struct policydb *p, struct hashtab *h, void *fp) in common_read() 1184 static int class_read(struct policydb *p, struct hashtab *h, void *fp) in class_read() 1271 static int role_read(struct policydb *p, struct hashtab *h, void *fp) in role_read() 1334 static int type_read(struct policydb *p, struct hashtab *h, void *fp) in type_read() [all …]
|
D | policydb.h | 252 struct hashtab *range_tr;
|
D | conditional.c | 220 int cond_read_bool(struct policydb *p, struct hashtab *h, void *fp) in cond_read_bool()
|
/linux-2.6.39/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() 203 for (aux = hashtab[i]; aux; aux = next) { in clear_config() 207 hashtab[i] = NULL; in clear_config()
|
/linux-2.6.39/security/selinux/ |
D | Makefile | 9 ss/ebitmap.o ss/hashtab.o ss/symtab.o ss/sidtab.o ss/avtab.o \
|