Lines Matching refs:NR_STRIPE_HASH_LOCKS
97 for (i = 1; i < NR_STRIPE_HASH_LOCKS; i++)
106 for (i = NR_STRIPE_HASH_LOCKS - 1; i; i--)
305 * @hash could be NR_STRIPE_HASH_LOCKS, then we have a list of inactive_list
319 if (hash == NR_STRIPE_HASH_LOCKS) {
320 size = NR_STRIPE_HASH_LOCKS;
321 hash = NR_STRIPE_HASH_LOCKS - 1;
2347 conf->max_nr_stripes % NR_STRIPE_HASH_LOCKS;
2553 if (cnt >= conf->max_nr_stripes / NR_STRIPE_HASH_LOCKS +
2554 !!((conf->max_nr_stripes % NR_STRIPE_HASH_LOCKS) > hash)) {
5607 struct list_head temp_inactive_list[NR_STRIPE_HASH_LOCKS];
5643 NR_STRIPE_HASH_LOCKS);
5667 for (i = 0; i < NR_STRIPE_HASH_LOCKS; i++)
6380 for (i = 0; i < NR_STRIPE_HASH_LOCKS; i++)
6383 if (i == NR_STRIPE_HASH_LOCKS) {
6394 NR_STRIPE_HASH_LOCKS);
6991 for (k = 0; k < NR_STRIPE_HASH_LOCKS; k++)
7280 for (i = 1; i < NR_STRIPE_HASH_LOCKS; i++)
7283 for (i = 0; i < NR_STRIPE_HASH_LOCKS; i++)
7286 for (i = 0; i < NR_STRIPE_HASH_LOCKS; i++)
7362 atomic_set(&conf->empty_inactive_list_nr, NR_STRIPE_HASH_LOCKS);