Home
last modified time | relevance | path

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

/linux-6.1.9/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-rq.c382 trace_block_rq_remap(clone, disk_devt(dm_disk(md)), in map_request()
Ddm.c2399 if (!md || md == MINOR_ALLOCED || (MINOR(disk_devt(dm_disk(md))) != minor) || in dm_get_md()
2455 idr_replace(&_minor_idr, MINOR_ALLOCED, MINOR(disk_devt(dm_disk(md)))); in __dm_destroy()
3036 struct gendisk *dm_disk(struct mapped_device *md) in dm_disk() function
3040 EXPORT_SYMBOL_GPL(dm_disk);
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-6.1.9/include/linux/
Ddevice-mapper.h480 struct gendisk *dm_disk(struct mapped_device *md);