Searched refs:drbd_devices (Results 1 – 6 of 6) sorted by relevance
/linux-5.19.10/Documentation/admin-guide/blockdev/drbd/ |
D | data-structure-v9.rst | 37 devices can be accessed by their minor device number via the drbd_devices idr.
|
/linux-5.19.10/drivers/block/drbd/ |
D | drbd_proc.c | 254 idr_for_each_entry(&drbd_devices, device, i) { in drbd_seq_show()
|
D | drbd_main.c | 107 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() 2732 id = idr_alloc(&drbd_devices, device, minor, minor + 1, GFP_KERNEL); in drbd_create_device() 2803 idr_remove(&drbd_devices, minor); in drbd_create_device() 2833 idr_remove(&drbd_devices, device_to_minor(device)); in drbd_delete_device() 2866 idr_init(&drbd_devices); in drbd_init()
|
D | drbd_int.h | 179 extern struct idr drbd_devices; /* RCU, updates: genl_lock() */ 1008 return (struct drbd_device *)idr_find(&drbd_devices, minor); in minor_to_device()
|
D | drbd_worker.c | 1568 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()
|
D | drbd_nl.c | 3356 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()
|