Lines Matching defs:avtab
3 * An access vector table (avtab) is a hash table
19 * Tuned number of hash slots for avtab to reduce memory usage
83 struct avtab {
90 void avtab_init(struct avtab *h);
91 int avtab_alloc(struct avtab *, u32);
92 int avtab_alloc_dup(struct avtab *new, const struct avtab *orig);
93 struct avtab_datum *avtab_search(struct avtab *h, struct avtab_key *k);
94 void avtab_destroy(struct avtab *h);
95 void avtab_hash_eval(struct avtab *h, char *tag);
98 int avtab_read_item(struct avtab *a, void *fp, struct policydb *pol,
99 int (*insert)(struct avtab *a, struct avtab_key *k,
103 int avtab_read(struct avtab *a, void *fp, struct policydb *pol);
105 int avtab_write(struct policydb *p, struct avtab *a, void *fp);
107 struct avtab_node *avtab_insert_nonunique(struct avtab *h, struct avtab_key *key,
110 struct avtab_node *avtab_search_node(struct avtab *h, struct avtab_key *key);