Lines Matching refs:NR_STRIPE_HASH_LOCKS
103 for (i = 1; i < NR_STRIPE_HASH_LOCKS; i++)
113 for (i = NR_STRIPE_HASH_LOCKS - 1; i; i--)
315 * @hash could be NR_STRIPE_HASH_LOCKS, then we have a list of inactive_list
329 if (hash == NR_STRIPE_HASH_LOCKS) {
330 size = NR_STRIPE_HASH_LOCKS;
331 hash = NR_STRIPE_HASH_LOCKS - 1;
2418 conf->max_nr_stripes % NR_STRIPE_HASH_LOCKS;
2624 if (cnt >= conf->max_nr_stripes / NR_STRIPE_HASH_LOCKS +
2625 !!((conf->max_nr_stripes % NR_STRIPE_HASH_LOCKS) > hash)) {
5712 struct list_head temp_inactive_list[NR_STRIPE_HASH_LOCKS];
5748 NR_STRIPE_HASH_LOCKS);
5772 for (i = 0; i < NR_STRIPE_HASH_LOCKS; i++)
6704 for (i = 0; i < NR_STRIPE_HASH_LOCKS; i++)
6707 if (i == NR_STRIPE_HASH_LOCKS) {
6718 NR_STRIPE_HASH_LOCKS);
7326 for (k = 0; k < NR_STRIPE_HASH_LOCKS; k++)
7621 for (i = 1; i < NR_STRIPE_HASH_LOCKS; i++)
7624 for (i = 0; i < NR_STRIPE_HASH_LOCKS; i++)
7627 for (i = 0; i < NR_STRIPE_HASH_LOCKS; i++)
7704 atomic_set(&conf->empty_inactive_list_nr, NR_STRIPE_HASH_LOCKS);