Home
last modified time | relevance | path

Searched refs:dm_dev (Results 1 – 16 of 16) sorted by relevance

/linux-2.6.39/drivers/md/
Ddm-table.c239 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 …]
Ddm-mpath.h12 struct dm_dev;
15 struct dm_dev *dev; /* Read-only */
Ddm-exception-store.h131 struct dm_dev *dm_snap_origin(struct dm_snapshot *snap);
132 struct dm_dev *dm_snap_cow(struct dm_snapshot *snap);
Ddm.h38 struct dm_dev dm_dev; member
Ddm-snap.c65 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 …]
Ddm-delay.c28 struct dm_dev *dev_read;
33 struct dm_dev *dev_write;
Ddm-linear.c21 struct dm_dev *dev;
Ddm-log.c241 struct dm_dev *log_dev;
357 struct dm_dev *dev) in create_log_context()
539 struct dm_dev *dev; in disk_ctr()
Ddm-flakey.c23 struct dm_dev *dev;
Ddm-raid.c38 struct dm_dev *meta_dev;
39 struct dm_dev *data_dev;
Ddm-stripe.c20 struct dm_dev *dev;
Ddm-mpath.c1072 static int action_dev(struct multipath *m, struct dm_dev *dev, in action_dev()
1496 struct dm_dev *dev; in multipath_message()
Ddm-raid1.c47 struct dm_dev *dev;
Ddm-ioctl.c1323 deps->dev[count++] = huge_encode_dev(dd->dm_dev.bdev->bd_dev); in retrieve_deps()
Ddm-crypt.c123 struct dm_dev *dev;
/linux-2.6.39/include/linux/
Ddevice-mapper.h14 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);