Searched refs:hashtab (Results 1 - 8 of 8) sorted by relevance

/netgear-WNDR4500-V1.0.1.40_1.0.68/src/linux/linux-2.6/security/selinux/ss/
H A Dhashtab.h2 * A hash table (hashtab) maintains associations between
21 struct hashtab { struct
25 u32 (*hash_value)(struct hashtab *h, const void *key);
27 int (*keycmp)(struct hashtab *h, const void *key1, const void *key2);
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 *
[all...]
H A Dsymtab.h5 * using the hash table type (hashtab).
12 #include "hashtab.h"
15 struct hashtab *table; /* hash table (keyed on a string) */
H A DMakefile8 ss-y := ebitmap.o hashtab.o symtab.o sidtab.o avtab.o policydb.o services.o conditional.o mls.o
H A Dhashtab.c9 #include "hashtab.h"
11 struct hashtab *hashtab_create(u32 (*hash_value)(struct hashtab *h, const void *key),
12 int (*keycmp)(struct hashtab *h, const void *key1, const void *key2),
15 struct hashtab *p;
38 int hashtab_insert(struct hashtab *h, void *key, void *datum)
74 void *hashtab_search(struct hashtab *h, const void *key)
93 void hashtab_destroy(struct hashtab *h)
117 int hashtab_map(struct hashtab *h,
141 void hashtab_stat(struct hashtab *
[all...]
H A Dsymtab.c12 static unsigned int symhash(struct hashtab *h, const void *key)
26 static int symcmp(struct hashtab *h, const void *key1, const void *key2)
H A Dconditional.h70 int cond_read_bool(struct policydb *p, struct hashtab *h, void *fp);
H A Dpolicydb.c373 struct hashtab *h = s[i].table;
860 static int perm_read(struct policydb *p, struct hashtab *h, void *fp)
901 static int common_read(struct policydb *p, struct hashtab *h, void *fp)
1038 static int class_read(struct policydb *p, struct hashtab *h, void *fp)
1131 static int role_read(struct policydb *p, struct hashtab *h, void *fp)
1191 static int type_read(struct policydb *p, struct hashtab *h, void *fp)
1263 static int user_read(struct policydb *p, struct hashtab *h, void *fp)
1317 static int sens_read(struct policydb *p, struct hashtab *h, void *fp)
1368 static int cat_read(struct policydb *p, struct hashtab *h, void *fp)
1411 static int (*read_f[SYM_NUM]) (struct policydb *p, struct hashtab *
[all...]
H A Dconditional.c215 int cond_read_bool(struct policydb *p, struct hashtab *h, void *fp)

Completed in 107 milliseconds