Home
last modified time | relevance | path

Searched refs:drbd_devices (Results 1 – 6 of 6) sorted by relevance

/Linux-v5.4/Documentation/admin-guide/blockdev/drbd/
Ddata-structure-v9.rst37 devices can be accessed by their minor device number via the drbd_devices idr.
/Linux-v5.4/drivers/block/drbd/
Ddrbd_proc.c254 idr_for_each_entry(&drbd_devices, device, i) { in drbd_seq_show()
Ddrbd_main.c107 struct idr drbd_devices; variable
2398 idr_for_each_entry(&drbd_devices, device, i) in drbd_cleanup()
2412 idr_destroy(&drbd_devices); in drbd_cleanup()
2846 id = idr_alloc(&drbd_devices, device, minor, minor + 1, GFP_KERNEL); in drbd_create_device()
2917 idr_remove(&drbd_devices, minor); in drbd_create_device()
2949 idr_remove(&drbd_devices, device_to_minor(device)); in drbd_delete_device()
2982 idr_init(&drbd_devices); in drbd_init()
Ddrbd_int.h180 extern struct idr drbd_devices; /* RCU, updates: genl_lock() */
1013 return (struct drbd_device *)idr_find(&drbd_devices, minor); in minor_to_device()
Ddrbd_worker.c1569 idr_for_each_entry(&drbd_devices, odev, i) { in drbd_pause_after()
1595 idr_for_each_entry(&drbd_devices, odev, i) { in drbd_resume_next()
Ddrbd_nl.c3447 idr_to_search = resource ? &resource->devices : &drbd_devices; in drbd_adm_dump_devices()
3697 idr_to_search = resource ? &resource->devices : &drbd_devices; in drbd_adm_dump_peer_devices()