Searched refs:nslot (Results 1 – 5 of 5) sorted by relevance
314 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() local378 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 …]
267 for (i = 0; i < a->nslot; i++) { in avtab_reset_merged()306 for (i = 0; i < a->nslot; i++) { in avtab_write()327 for (i = 0; i < a->nslot; i++) { in avtab_write()
102 uint32_t nslot; /* number of hash slots */ member
1129 static int merge_deltas(long long *oslot, long long *nslot, int milis) in merge_deltas() argument1136 oslot[deltas[i]] = nslot[deltas[i]] - oslot[deltas[i]]; in merge_deltas()1164 int (*filter)(long long *oslot, long long *nslot, int milis)) in top_common() argument1445 static int iotop_filter(long long *oslot, long long *nslot, int milis) in iotop_filter() argument1447 if (!(toys.optflags&FLAG_a)) merge_deltas(oslot, nslot, milis); in iotop_filter()
172 for (i = 0; i < a->nslot; i++) { in display_avtab()