Searched refs:dm_dev (Results 1 – 16 of 16) sorted by relevance
/linux-2.6.39/drivers/md/ |
D | dm-table.c | 239 dd->dm_dev.name); in free_devices() 313 if (dd->dm_dev.bdev->bd_dev == dev) in find_device() 330 BUG_ON(d->dm_dev.bdev); in open_dev() 332 bdev = blkdev_get_by_dev(dev, d->dm_dev.mode | FMODE_EXCL, _claim_ptr); in open_dev() 338 blkdev_put(bdev, d->dm_dev.mode | FMODE_EXCL); in open_dev() 342 d->dm_dev.bdev = bdev; in open_dev() 351 if (!d->dm_dev.bdev) in close_dev() 354 bd_unlink_disk_holder(d->dm_dev.bdev, dm_disk(md)); in close_dev() 355 blkdev_put(d->dm_dev.bdev, d->dm_dev.mode | FMODE_EXCL); in close_dev() 356 d->dm_dev.bdev = NULL; in close_dev() [all …]
|
D | dm-mpath.h | 12 struct dm_dev; 15 struct dm_dev *dev; /* Read-only */
|
D | dm-exception-store.h | 131 struct dm_dev *dm_snap_origin(struct dm_snapshot *snap); 132 struct dm_dev *dm_snap_cow(struct dm_snapshot *snap);
|
D | dm.h | 38 struct dm_dev dm_dev; member
|
D | dm-snap.c | 65 struct dm_dev *origin; 66 struct dm_dev *cow; 143 struct dm_dev *dm_snap_origin(struct dm_snapshot *s) in dm_snap_origin() 149 struct dm_dev *dm_snap_cow(struct dm_snapshot *s) in dm_snap_cow() 1328 static int do_origin(struct dm_dev *origin, struct bio *bio); 2003 static int do_origin(struct dm_dev *origin, struct bio *bio) in do_origin() 2064 struct dm_dev *dev; in origin_ctr() 2085 struct dm_dev *dev = ti->private; in origin_dtr() 2092 struct dm_dev *dev = ti->private; in origin_map() 2108 struct dm_dev *dev = ti->private; in origin_resume() [all …]
|
D | dm-delay.c | 28 struct dm_dev *dev_read; 33 struct dm_dev *dev_write;
|
D | dm-linear.c | 21 struct dm_dev *dev;
|
D | dm-log.c | 241 struct dm_dev *log_dev; 357 struct dm_dev *dev) in create_log_context() 539 struct dm_dev *dev; in disk_ctr()
|
D | dm-flakey.c | 23 struct dm_dev *dev;
|
D | dm-raid.c | 38 struct dm_dev *meta_dev; 39 struct dm_dev *data_dev;
|
D | dm-stripe.c | 20 struct dm_dev *dev;
|
D | dm-mpath.c | 1072 static int action_dev(struct multipath *m, struct dm_dev *dev, in action_dev() 1496 struct dm_dev *dev; in multipath_message()
|
D | dm-raid1.c | 47 struct dm_dev *dev;
|
D | dm-ioctl.c | 1323 deps->dev[count++] = huge_encode_dev(dd->dm_dev.bdev->bd_dev); in retrieve_deps()
|
D | dm-crypt.c | 123 struct dm_dev *dev;
|
/linux-2.6.39/include/linux/ |
D | device-mapper.h | 14 struct dm_dev; 86 struct dm_dev *dev, 109 int dm_set_device_limits(struct dm_target *ti, struct dm_dev *dev, 112 struct dm_dev { struct 123 struct dm_dev **result); argument 124 void dm_put_device(struct dm_target *ti, struct dm_dev *d);
|