• Home
  • Raw
  • Download

Lines Matching refs:h

207 static u32 filenametr_hash(struct hashtab *h, const void *k)  in filenametr_hash()  argument
219 return hash & (h->size - 1); in filenametr_hash()
222 static int filenametr_cmp(struct hashtab *h, const void *k1, const void *k2) in filenametr_cmp() argument
244 static u32 rangetr_hash(struct hashtab *h, const void *k) in rangetr_hash() argument
248 (key->target_class << 5)) & (h->size - 1); in rangetr_hash()
251 static int rangetr_cmp(struct hashtab *h, const void *k1, const void *k2) in rangetr_cmp() argument
489 static void hash_eval(struct hashtab *h, const char *hash_name) in hash_eval() argument
493 hashtab_stat(h, &info); in hash_eval()
495 "longest chain length %d\n", hash_name, h->nel, in hash_eval()
496 info.slots_used, h->size, info.max_chain_len); in hash_eval()
508 static inline void hash_eval(struct hashtab *h, char *hash_name) in hash_eval() argument
1108 static int perm_read(struct policydb *p, struct hashtab *h, void *fp) in perm_read() argument
1132 rc = hashtab_insert(h, key, perdatum); in perm_read()
1142 static int common_read(struct policydb *p, struct hashtab *h, void *fp) in common_read() argument
1178 rc = hashtab_insert(h, key, comdatum); in common_read()
1308 static int class_read(struct policydb *p, struct hashtab *h, void *fp) in class_read() argument
1392 rc = hashtab_insert(h, key, cladatum); in class_read()
1402 static int role_read(struct policydb *p, struct hashtab *h, void *fp) in role_read() argument
1450 rc = hashtab_insert(h, key, role); in role_read()
1459 static int type_read(struct policydb *p, struct hashtab *h, void *fp) in type_read() argument
1498 rc = hashtab_insert(h, key, typdatum); in type_read()
1534 static int user_read(struct policydb *p, struct hashtab *h, void *fp) in user_read() argument
1576 rc = hashtab_insert(h, key, usrdatum); in user_read()
1585 static int sens_read(struct policydb *p, struct hashtab *h, void *fp) in sens_read() argument
1618 rc = hashtab_insert(h, key, levdatum); in sens_read()
1627 static int cat_read(struct policydb *p, struct hashtab *h, void *fp) in cat_read() argument
1652 rc = hashtab_insert(h, key, catdatum); in cat_read()
1661 static int (*read_f[SYM_NUM]) (struct policydb *p, struct hashtab *h, void *fp) =