Home
last modified time | relevance | path

Searched refs:nslot (Results 1 – 2 of 2) sorted by relevance

/security/selinux/ss/
Davtab.c287 for (i = 0; i < h->nslot; i++) { in avtab_destroy()
300 h->nslot = 0; in avtab_destroy()
316 u32 nslot = 0; in avtab_alloc() local
327 nslot = 1 << shift; in avtab_alloc()
328 if (nslot > MAX_AVTAB_HASH_BUCKETS) in avtab_alloc()
329 nslot = MAX_AVTAB_HASH_BUCKETS; in avtab_alloc()
330 mask = nslot - 1; in avtab_alloc()
332 h->htable = flex_array_alloc(sizeof(struct avtab_node *), nslot, in avtab_alloc()
339 h->nslot = nslot; in avtab_alloc()
342 h->nslot, nrules); in avtab_alloc()
[all …]
Davtab.h89 u32 nslot; /* number of hash slots */ member