Lines Matching defs:tmp
948 static void dispatch_bio_list(struct bio_list *tmp)
952 while ((bio = bio_list_pop(tmp)))
1017 struct bio_list tmp = BIO_EMPTY_LIST;
1023 dispatch_defer_bios(conf, conf->pending_data_cnt, &tmp);
1027 dispatch_bio_list(&tmp);
1033 struct bio_list tmp = BIO_EMPTY_LIST;
1045 dispatch_defer_bios(conf, PENDING_IO_ONE_FLUSH, &tmp);
1049 dispatch_bio_list(&tmp);
4782 struct stripe_head *tmp;
4800 list_for_each_entry(tmp, &sh->batch_list, batch_list)
4801 clear_bit(STRIPE_BATCH_READY, &tmp->state);
5514 struct stripe_head *sh, *tmp;
5569 list_for_each_entry(tmp, &conf->hold_list, lru) {
5572 !cpu_online(tmp->cpu) ||
5573 cpu_to_group(tmp->cpu) == group) {
5574 sh = tmp;
7814 struct disk_info *tmp;
7827 tmp = conf->disks + i;
7828 if (tmp->rdev)
7830 i, !test_bit(Faulty, &tmp->rdev->flags),
7831 bdevname(tmp->rdev->bdev, b));
7839 struct disk_info *tmp;
7844 tmp = conf->disks + i;
7845 if (tmp->replacement
7846 && tmp->replacement->recovery_offset == MaxSector
7847 && !test_bit(Faulty, &tmp->replacement->flags)
7848 && !test_and_set_bit(In_sync, &tmp->replacement->flags)) {
7850 if (!tmp->rdev
7851 || !test_and_clear_bit(In_sync, &tmp->rdev->flags))
7853 if (tmp->rdev) {
7858 set_bit(Faulty, &tmp->rdev->flags);
7860 tmp->rdev->sysfs_state);
7862 sysfs_notify_dirent_safe(tmp->replacement->sysfs_state);
7863 } else if (tmp->rdev
7864 && tmp->rdev->recovery_offset == MaxSector
7865 && !test_bit(Faulty, &tmp->rdev->flags)
7866 && !test_and_set_bit(In_sync, &tmp->rdev->flags)) {
7868 sysfs_notify_dirent_safe(tmp->rdev->sysfs_state);