Home
last modified time | relevance | path

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

/linux/Documentation/admin-guide/blockdev/drbd/
H A Ddata-structure-v9.rst37 devices can be accessed by their minor device number via the drbd_devices idr.
/linux/drivers/block/drbd/
H A Ddrbd_proc.c254 idr_for_each_entry(&drbd_devices, device, i) { in drbd_seq_show()
H A Ddrbd_main.c106 struct idr drbd_devices; variable
2349 idr_for_each_entry(&drbd_devices, device, i) in drbd_cleanup()
2363 idr_destroy(&drbd_devices); in drbd_cleanup()
2736 id = idr_alloc(&drbd_devices, device, minor, minor + 1, GFP_KERNEL); in drbd_create_device()
2809 idr_remove(&drbd_devices, minor); in drbd_create_device()
2839 idr_remove(&drbd_devices, device_to_minor(device)); in drbd_delete_device()
2872 idr_init(&drbd_devices); in drbd_init()
H A Ddrbd_int.h107 extern struct idr drbd_devices; /* RCU, updates: genl_lock() */
939 return (struct drbd_device *)idr_find(&drbd_devices, minor); in minor_to_device()
H A Ddrbd_worker.c1573 idr_for_each_entry(&drbd_devices, odev, i) { in drbd_pause_after()
1599 idr_for_each_entry(&drbd_devices, odev, i) { in drbd_resume_next()
H A Ddrbd_nl.c3370 idr_to_search = resource ? &resource->devices : &drbd_devices; in drbd_adm_dump_devices()
3620 idr_to_search = resource ? &resource->devices : &drbd_devices; in drbd_adm_dump_peer_devices()