Home
last modified time | relevance | path

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

/linux-3.4.99/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.c11 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()
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.h236 struct hashtab *filename_trans;
258 struct hashtab *range_tr;
Dconditional.h71 int cond_read_bool(struct policydb *p, struct hashtab *h, void *fp);
Dpolicydb.c187 static u32 filenametr_hash(struct hashtab *h, const void *k) in filenametr_hash()
202 static int filenametr_cmp(struct hashtab *h, const void *k1, const void *k2) in filenametr_cmp()
224 static u32 rangetr_hash(struct hashtab *h, const void *k) in rangetr_hash()
231 static int rangetr_cmp(struct hashtab *h, const void *k1, const void *k2) in rangetr_cmp()
469 static void hash_eval(struct hashtab *h, const char *hash_name) in hash_eval()
488 static inline void hash_eval(struct hashtab *h, char *hash_name) in hash_eval()
1058 static int perm_read(struct policydb *p, struct hashtab *h, void *fp) in perm_read()
1098 static int common_read(struct policydb *p, struct hashtab *h, void *fp) in common_read()
1232 static int class_read(struct policydb *p, struct hashtab *h, void *fp) in class_read()
1319 static int role_read(struct policydb *p, struct hashtab *h, void *fp) in role_read()
[all …]
Dconditional.c220 int cond_read_bool(struct policydb *p, struct hashtab *h, void *fp) in cond_read_bool()
/linux-3.4.99/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()
203 for (aux = hashtab[i]; aux; aux = next) { in clear_config()
207 hashtab[i] = NULL; in clear_config()
/linux-3.4.99/security/selinux/
DMakefile9 ss/ebitmap.o ss/hashtab.o ss/symtab.o ss/sidtab.o ss/avtab.o \