Searched refs:keycmp (Results 1 – 2 of 2) sorted by relevance
/security/selinux/ss/ |
D | hashtab.c | 12 int (*keycmp)(struct hashtab *h, const void *key1, const void *key2), in hashtab_create() 25 p->keycmp = keycmp; in hashtab_create() 49 while (cur && h->keycmp(h, key, cur->key) > 0) { in hashtab_insert() 54 if (cur && (h->keycmp(h, key, cur->key) == 0)) in hashtab_insert() 84 while (cur && h->keycmp(h, key, cur->key) > 0) in hashtab_search() 87 if (cur == NULL || (h->keycmp(h, key, cur->key) != 0)) in hashtab_search()
|
D | hashtab.h | 27 int (*keycmp)(struct hashtab *h, const void *key1, const void *key2); member 43 int (*keycmp)(struct hashtab *h, const void *key1, const void *key2),
|