sh2               705 drivers/md/raid5.c static void lock_two_stripes(struct stripe_head *sh1, struct stripe_head *sh2)
sh2               707 drivers/md/raid5.c 		__acquires(&sh2->stripe_lock)
sh2               709 drivers/md/raid5.c 	if (sh1 > sh2) {
sh2               710 drivers/md/raid5.c 		spin_lock_irq(&sh2->stripe_lock);
sh2               714 drivers/md/raid5.c 		spin_lock_nested(&sh2->stripe_lock, 1);
sh2               718 drivers/md/raid5.c static void unlock_two_stripes(struct stripe_head *sh1, struct stripe_head *sh2)
sh2               720 drivers/md/raid5.c 		__releases(&sh2->stripe_lock)
sh2               723 drivers/md/raid5.c 	spin_unlock_irq(&sh2->stripe_lock);
sh2              2930 drivers/md/raid5.c 	struct stripe_head sh2;
sh2              3025 drivers/md/raid5.c 				     previous, &dummy1, &sh2);
sh2              3026 drivers/md/raid5.c 	if (check != sh->sector || dummy1 != dd_idx || sh2.pd_idx != sh->pd_idx
sh2              3027 drivers/md/raid5.c 		|| sh2.qd_idx != sh->qd_idx) {
sh2              4316 drivers/md/raid5.c 			struct stripe_head *sh2;
sh2              4322 drivers/md/raid5.c 			sh2 = raid5_get_active_stripe(conf, s, 0, 1, 1);
sh2              4323 drivers/md/raid5.c 			if (sh2 == NULL)
sh2              4329 drivers/md/raid5.c 			if (!test_bit(STRIPE_EXPANDING, &sh2->state) ||
sh2              4330 drivers/md/raid5.c 			   test_bit(R5_Expanded, &sh2->dev[dd_idx].flags)) {
sh2              4332 drivers/md/raid5.c 				raid5_release_stripe(sh2);
sh2              4338 drivers/md/raid5.c 			tx = async_memcpy(sh2->dev[dd_idx].page,
sh2              4342 drivers/md/raid5.c 			set_bit(R5_Expanded, &sh2->dev[dd_idx].flags);
sh2              4343 drivers/md/raid5.c 			set_bit(R5_UPTODATE, &sh2->dev[dd_idx].flags);
sh2              4345 drivers/md/raid5.c 				if (j != sh2->pd_idx &&
sh2              4346 drivers/md/raid5.c 				    j != sh2->qd_idx &&
sh2              4347 drivers/md/raid5.c 				    !test_bit(R5_Expanded, &sh2->dev[j].flags))
sh2              4350 drivers/md/raid5.c 				set_bit(STRIPE_EXPAND_READY, &sh2->state);
sh2              4351 drivers/md/raid5.c 				set_bit(STRIPE_HANDLE, &sh2->state);
sh2              4353 drivers/md/raid5.c 			raid5_release_stripe(sh2);
sh2                25 include/linux/reciprocal_div.h 	u8 sh1, sh2;
sh2                36 include/linux/reciprocal_div.h 	return (t + ((a - t) >> R.sh1)) >> R.sh2;
sh2                25 lib/math/reciprocal_div.c 	R.sh2 = max(l - 1, 0);