Home
last modified time | relevance | path

Searched refs:dm_disk (Results 1 – 5 of 5) sorted by relevance

/linux-3.4.99/drivers/md/
Ddm-table.c341 r = bd_link_disk_holder(bdev, dm_disk(md)); in open_dev()
359 bd_unlink_disk_holder(d->dm_dev.bdev, dm_disk(md)); in close_dev()
1116 if (!blk_integrity_is_initialized(dm_disk(md))) { in dm_table_prealloc_integrity()
1118 return blk_integrity_register(dm_disk(md), NULL); in dm_table_prealloc_integrity()
1126 blk_integrity_compare(dm_disk(md), template_disk) < 0) { in dm_table_prealloc_integrity()
1300 if (!blk_get_integrity(dm_disk(t->md))) in dm_table_set_integrity()
1305 blk_integrity_register(dm_disk(t->md), in dm_table_set_integrity()
1307 else if (blk_integrity_is_initialized(dm_disk(t->md))) in dm_table_set_integrity()
Ddm-sysfs.c99 &disk_to_dev(dm_disk(md))->kobj, in dm_sysfs_init()
Ddm.c495 part_round_stats(cpu, &dm_disk(md)->part0); in start_io_acct()
497 atomic_set(&dm_disk(md)->part0.in_flight[rw], in start_io_acct()
510 part_round_stats(cpu, &dm_disk(md)->part0); in end_io_acct()
511 part_stat_add(cpu, &dm_disk(md)->part0, ticks[rw], duration); in end_io_acct()
519 atomic_set(&dm_disk(md)->part0.in_flight[rw], pending); in end_io_acct()
1422 part_stat_inc(cpu, &dm_disk(md)->part0, ios[rw]); in _dm_request()
1423 part_stat_add(cpu, &dm_disk(md)->part0, sectors[rw], bio_sectors(bio)); in _dm_request()
1587 trace_block_rq_remap(clone->q, clone, disk_devt(dm_disk(md)), in map_request()
2247 (MINOR(disk_devt(dm_disk(md))) != minor) || in dm_find_md()
2301 idr_replace(&_minor_idr, MINOR_ALLOCED, MINOR(disk_devt(dm_disk(md)))); in __dm_destroy()
[all …]
Ddm-ioctl.c521 disk = dm_disk(hc->md); in list_devices()
658 struct gendisk *disk = dm_disk(md); in __dev_status()
995 set_disk_ro(dm_disk(md), 0); in do_resume()
997 set_disk_ro(dm_disk(md), 1); in do_resume()
/linux-3.4.99/include/linux/
Ddevice-mapper.h323 struct gendisk *dm_disk(struct mapped_device *md);