Home
last modified time | relevance | path

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

/Linux-v6.1/drivers/md/
Ddm-audit.c41 int dev_major = dm_disk(md)->major; in dm_audit_log_ti()
42 int dev_minor = dm_disk(md)->first_minor; in dm_audit_log_ti()
Ddm-sysfs.c135 &disk_to_dev(dm_disk(md))->kobj, in dm_sysfs_init()
Ddm-table.c1172 if (!integrity_profile_exists(dm_disk(md))) { in dm_table_register_integrity()
1178 blk_integrity_register(dm_disk(md), in dm_table_register_integrity()
1187 if (blk_integrity_compare(dm_disk(md), template_disk) < 0) { in dm_table_register_integrity()
1759 blk_integrity_compare(dm_disk(t->md), template_disk) >= 0) in dm_table_verify_integrity()
1763 if (integrity_profile_exists(dm_disk(t->md))) { in dm_table_verify_integrity()
1766 blk_integrity_unregister(dm_disk(t->md)); in dm_table_verify_integrity()
Ddm-ioctl.c621 disk = dm_disk(hc->md); in list_devices()
802 struct gendisk *disk = dm_disk(md); in __dev_status()
1169 set_disk_ro(dm_disk(md), 0); in do_resume()
1171 set_disk_ro(dm_disk(md), 1); in do_resume()
2230 set_disk_ro(dm_disk(md), !!(dmi->flags & DM_READONLY_FLAG)); in dm_early_create()
Ddm.c748 r = bd_link_disk_holder(bdev, dm_disk(md)); in open_table_device()
767 bd_unlink_disk_holder(td->dm_dev.bdev, dm_disk(md)); in close_table_device()
2360 if (!md || md == MINOR_ALLOCED || (MINOR(disk_devt(dm_disk(md))) != minor) || in dm_get_md()
2416 idr_replace(&_minor_idr, MINOR_ALLOCED, MINOR(disk_devt(dm_disk(md)))); in __dm_destroy()
2997 struct gendisk *dm_disk(struct mapped_device *md) in dm_disk() function
3001 EXPORT_SYMBOL_GPL(dm_disk);
Ddm-rq.c382 trace_block_rq_remap(clone, disk_devt(dm_disk(md)), in map_request()
Ddm-verity-target.c255 kobject_uevent_env(&disk_to_dev(dm_disk(md))->kobj, KOBJ_CHANGE, envp); in verity_handle_err()
Ddm-raid.c701 struct gendisk *gendisk = dm_disk(dm_table_get_md(rs->ti->table)); in rs_set_capacity()
Ddm-integrity.c3536 struct gendisk *disk = dm_disk(dm_table_get_md(ti->table)); in dm_integrity_set()
/Linux-v6.1/include/linux/
Ddevice-mapper.h480 struct gendisk *dm_disk(struct mapped_device *md);