Lines Matching full:bins
32 * SFB uses two B[l][n] : L x N arrays of bins (L levels, N bins per level)
38 #define SFB_NUMBUCKETS (1 << SFB_BUCKET_SHIFT) /* N bins per Level */
53 struct sfb_bucket bins[SFB_LEVELS][SFB_NUMBUCKETS]; member
73 u8 slot; /* current active bins (0 or 1) */
75 struct sfb_bins bins[2]; member
88 * Each queued skb might be hashed on one or two bins
130 struct sfb_bucket *b = &q->bins[slot].bins[0][0]; in increment_one_qlen()
159 struct sfb_bucket *b = &q->bins[slot].bins[0][0]; in decrement_one_qlen()
196 memset(&q->bins, 0, sizeof(q->bins)); in sfb_zero_all_buckets()
206 const struct sfb_bucket *b = &q->bins[q->slot].bins[0][0]; in sfb_compute_qlen()
224 get_random_bytes(&q->bins[slot].perturbation, in sfb_init_perturbation()
225 sizeof(q->bins[slot].perturbation)); in sfb_init_perturbation()
322 sfbhash = siphash_1u32(salt, &q->bins[slot].perturbation); in sfb_enqueue()
324 sfbhash = skb_get_hash_perturb(skb, &q->bins[slot].perturbation); in sfb_enqueue()
334 struct sfb_bucket *b = &q->bins[slot].bins[i][hash]; in sfb_enqueue()
360 &q->bins[slot].perturbation); in sfb_enqueue()
367 struct sfb_bucket *b = &q->bins[slot].bins[i][hash]; in sfb_enqueue()