Lines Matching defs:path
95 mdk_rdev_t *rdev = conf->multipaths[mp_bh->path].rdev;
170 mp_bh->path = multipath_map(conf);
171 if (mp_bh->path < 0) {
176 multipath = conf->multipaths + mp_bh->path;
263 * Uh oh, we can do nothing if this is our last path, but
268 "multipath: only one IO path left and IO error.\n");
282 " disabling IO path. \n Operation continuing"
319 int path;
324 for (path=0; path<mddev->raid_disks; path++)
325 if ((p=conf->multipaths+path)->rdev == NULL) {
341 rdev->raid_disk = path;
413 if ((mp_bh->path = multipath_map (conf))<0) {
421 " to another IO path\n",
425 bio->bi_sector += conf->multipaths[mp_bh->path].rdev->data_offset;
426 bio->bi_bdev = conf->multipaths[mp_bh->path].rdev->bdev;