Home
last modified time | relevance | path

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

/linux-6.1.9/Documentation/admin-guide/blockdev/drbd/
Ddata-structure-v9.rst37 devices can be accessed by their minor device number via the drbd_devices idr.
/linux-6.1.9/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
2351 idr_for_each_entry(&drbd_devices, device, i) in drbd_cleanup()
2365 idr_destroy(&drbd_devices); in drbd_cleanup()
2731 id = idr_alloc(&drbd_devices, device, minor, minor + 1, GFP_KERNEL); in drbd_create_device()
2804 idr_remove(&drbd_devices, minor); in drbd_create_device()
2834 idr_remove(&drbd_devices, device_to_minor(device)); in drbd_delete_device()
2867 idr_init(&drbd_devices); in drbd_init()
Ddrbd_int.h179 extern struct idr drbd_devices; /* RCU, updates: genl_lock() */
1008 return (struct drbd_device *)idr_find(&drbd_devices, minor); in minor_to_device()
Ddrbd_worker.c1568 idr_for_each_entry(&drbd_devices, odev, i) { in drbd_pause_after()
1594 idr_for_each_entry(&drbd_devices, odev, i) { in drbd_resume_next()
Ddrbd_nl.c3356 idr_to_search = resource ? &resource->devices : &drbd_devices; in drbd_adm_dump_devices()
3606 idr_to_search = resource ? &resource->devices : &drbd_devices; in drbd_adm_dump_peer_devices()