Home
last modified time | relevance | path

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

/external/libsepol/src/
Davtab.c256 for (i = 0; i < h->nslot; i++) { in avtab_destroy()
267 h->nslot = 0; in avtab_destroy()
282 for (i = 0; i < h->nslot; i++) { in avtab_map()
306 uint32_t nslot = 0; in avtab_alloc() local
317 nslot = 1 << shift; in avtab_alloc()
318 if (nslot > MAX_AVTAB_SIZE) in avtab_alloc()
319 nslot = MAX_AVTAB_SIZE; in avtab_alloc()
320 mask = nslot - 1; in avtab_alloc()
322 h->htable = calloc(nslot, sizeof(avtab_ptr_t)); in avtab_alloc()
327 h->nslot = nslot; in avtab_alloc()
[all …]
Dwrite.c234 for (i = 0; i < a->nslot; i++) { in avtab_reset_merged()
273 for (i = 0; i < a->nslot; i++) { in avtab_write()
294 for (i = 0; i < a->nslot; i++) { in avtab_write()
/external/libsepol/include/sepol/policydb/
Davtab.h83 uint32_t nslot; /* number of hash slots */ member
/external/checkpolicy/test/
Ddispol.c172 for (i = 0; i < expa.nslot; i++) { in display_avtab()