Lines Matching defs:nslot
112 if (!h || !h->nslot)
157 if (!h || !h->nslot)
187 if (!h || !h->nslot)
223 if (!h || !h->nslot)
285 for (i = 0; i < h->nslot; i++) {
299 h->nslot = 0;
307 h->nslot = 0;
311 static int avtab_alloc_common(struct avtab *h, u32 nslot)
313 if (!nslot)
316 h->htable = kvcalloc(nslot, sizeof(void *), GFP_KERNEL);
320 h->nslot = nslot;
321 h->mask = nslot - 1;
328 u32 nslot = 0;
337 nslot = 1 << shift;
338 if (nslot > MAX_AVTAB_HASH_BUCKETS)
339 nslot = MAX_AVTAB_HASH_BUCKETS;
341 rc = avtab_alloc_common(h, nslot);
346 pr_debug("SELinux: %d avtab hash slots, %d rules.\n", nslot, nrules);
352 return avtab_alloc_common(new, orig->nslot);
364 for (i = 0; i < h->nslot; i++) {
382 tag, h->nel, slots_used, h->nslot, max_chain_len,
657 for (i = 0; i < a->nslot; i++) {