Lines Matching defs:tmp
2099 struct raid10_info *tmp;
2108 tmp = conf->mirrors + i;
2109 if (tmp->replacement
2110 && tmp->replacement->recovery_offset == MaxSector
2111 && !test_bit(Faulty, &tmp->replacement->flags)
2112 && !test_and_set_bit(In_sync, &tmp->replacement->flags)) {
2114 if (!tmp->rdev
2115 || !test_and_clear_bit(In_sync, &tmp->rdev->flags))
2117 if (tmp->rdev) {
2122 set_bit(Faulty, &tmp->rdev->flags);
2124 tmp->rdev->sysfs_state);
2126 sysfs_notify_dirent_safe(tmp->replacement->sysfs_state);
2127 } else if (tmp->rdev
2128 && tmp->rdev->recovery_offset == MaxSector
2129 && !test_bit(Faulty, &tmp->rdev->flags)
2130 && !test_and_set_bit(In_sync, &tmp->rdev->flags)) {
2132 sysfs_notify_dirent_safe(tmp->rdev->sysfs_state);
3116 LIST_HEAD(tmp);
3120 list_move(conf->bio_end_io_list.prev, &tmp);
3125 while (!list_empty(&tmp)) {
3126 r10_bio = list_first_entry(&tmp, struct r10bio,