Home
last modified time | relevance | path

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

/security/selinux/ss/
Davtab.c285 for (i = 0; i < h->nslot; i++) { in avtab_destroy()
298 h->nslot = 0; in avtab_destroy()
315 u32 nslot = 0; in avtab_alloc() local
326 nslot = 1 << shift; in avtab_alloc()
327 if (nslot > MAX_AVTAB_HASH_BUCKETS) in avtab_alloc()
328 nslot = MAX_AVTAB_HASH_BUCKETS; in avtab_alloc()
329 mask = nslot - 1; in avtab_alloc()
331 h->htable = kvcalloc(nslot, sizeof(void *), GFP_KERNEL); in avtab_alloc()
337 h->nslot = nslot; in avtab_alloc()
340 h->nslot, nrules); in avtab_alloc()
[all …]
Davtab.h86 u32 nslot; /* number of hash slots */ member