Searched refs:drbd_resources (Results 1 – 3 of 3) sorted by relevance
/drivers/block/drbd/ |
D | drbd_main.c | 107 struct list_head drbd_resources; variable 506 for_each_resource_rcu(resource, &drbd_resources) { in drbd_calc_cpu_mask() 2367 for_each_resource_safe(resource, tmp, &drbd_resources) { in drbd_cleanup() 2421 for_each_resource_rcu(resource, &drbd_resources) { in drbd_find_resource() 2440 for_each_resource_rcu(resource, &drbd_resources) { in conn_get_by_addrs() 2563 list_add_tail_rcu(&resource->resources, &drbd_resources); in drbd_create_resource() 2882 INIT_LIST_HEAD(&drbd_resources); in drbd_init() 3715 for_each_resource(resource, &drbd_resources) in lock_all_resources() 3723 for_each_resource(resource, &drbd_resources) in unlock_all_resources()
|
D | drbd_nl.c | 2535 for_each_resource(resource, &drbd_resources) { in drbd_adm_connect() 3253 for_each_resource_rcu(resource, &drbd_resources) in drbd_adm_dump_resources() 3259 resource = list_entry(&drbd_resources, in drbd_adm_dump_resources() 3263 list_for_each_entry_continue_rcu(resource, &drbd_resources, resources) { in drbd_adm_dump_resources() 3467 if (list_empty(&drbd_resources)) in drbd_adm_dump_connections() 3469 resource = list_first_entry(&drbd_resources, struct drbd_resource, resources); in drbd_adm_dump_connections() 3498 for_each_resource_rcu(next_resource, &drbd_resources) { in drbd_adm_dump_connections() 3507 list_for_each_entry_continue_rcu(next_resource, &drbd_resources, resources) { in drbd_adm_dump_connections() 3889 for_each_resource_rcu(tmp, &drbd_resources) { in get_one_status() 3914 if (&pos->resources == &drbd_resources || cb->args[2]) in get_one_status() [all …]
|
D | drbd_int.h | 108 extern struct list_head drbd_resources; /* RCU, updates: genl_lock() */
|