Lines Matching refs:nslot
285 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()
353 for (i = 0; i < h->nslot; i++) { in avtab_hash_eval()
371 tag, h->nel, slots_used, h->nslot, max_chain_len, in avtab_hash_eval()
646 for (i = 0; i < a->nslot; i++) { in avtab_write()