Home
last modified time | relevance | path

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

/external/selinux/libsepol/src/
Davtab.c314 for (i = 0; i < h->nslot; i++) { in avtab_destroy()
328 h->nslot = 0; in avtab_destroy()
343 for (i = 0; i < h->nslot; i++) { in avtab_map()
367 uint32_t nslot = 0; in avtab_alloc() local
378 nslot = 1 << shift; in avtab_alloc()
379 if (nslot > MAX_AVTAB_HASH_BUCKETS) in avtab_alloc()
380 nslot = MAX_AVTAB_HASH_BUCKETS; in avtab_alloc()
381 mask = nslot - 1; in avtab_alloc()
383 h->htable = calloc(nslot, sizeof(avtab_ptr_t)); in avtab_alloc()
388 h->nslot = nslot; in avtab_alloc()
[all …]
Dwrite.c269 for (i = 0; i < a->nslot; i++) { in avtab_reset_merged()
308 for (i = 0; i < a->nslot; i++) { in avtab_write()
329 for (i = 0; i < a->nslot; i++) { in avtab_write()
/external/selinux/libsepol/include/sepol/policydb/
Davtab.h103 uint32_t nslot; /* number of hash slots */ member
/external/toybox/toys/posix/
Dps.c1343 static int merge_deltas(long long *oslot, long long *nslot, int milis) in merge_deltas() argument
1350 oslot[deltas[i]] = nslot[deltas[i]] - oslot[deltas[i]]; in merge_deltas()
1370 int (*filter)(long long *oslot, long long *nslot, int milis)) in top_common() argument
1678 static int iotop_filter(long long *oslot, long long *nslot, int milis) in iotop_filter() argument
1680 if (!(toys.optflags&FLAG_a)) merge_deltas(oslot, nslot, milis); in iotop_filter()
/external/selinux/checkpolicy/test/
Ddispol.c172 for (i = 0; i < a->nslot; i++) { in display_avtab()