Home
last modified time | relevance | path

Searched refs:drbd_resources (Results 1 – 3 of 3) sorted by relevance

/drivers/block/drbd/
Ddrbd_main.c108 struct list_head drbd_resources; variable
511 for_each_resource_rcu(resource, &drbd_resources) { in drbd_calc_cpu_mask()
2402 for_each_resource_safe(resource, tmp, &drbd_resources) { in drbd_cleanup()
2512 for_each_resource_rcu(resource, &drbd_resources) { in drbd_find_resource()
2531 for_each_resource_rcu(resource, &drbd_resources) { in conn_get_by_addrs()
2654 list_add_tail_rcu(&resource->resources, &drbd_resources); in drbd_create_resource()
2985 INIT_LIST_HEAD(&drbd_resources); in drbd_init()
3819 for_each_resource(resource, &drbd_resources) in lock_all_resources()
3827 for_each_resource(resource, &drbd_resources) in unlock_all_resources()
Ddrbd_nl.c2598 for_each_resource(resource, &drbd_resources) { in drbd_adm_connect()
3315 for_each_resource_rcu(resource, &drbd_resources) in drbd_adm_dump_resources()
3321 resource = list_entry(&drbd_resources, in drbd_adm_dump_resources()
3325 list_for_each_entry_continue_rcu(resource, &drbd_resources, resources) { in drbd_adm_dump_resources()
3535 if (list_empty(&drbd_resources)) in drbd_adm_dump_connections()
3537 resource = list_first_entry(&drbd_resources, struct drbd_resource, resources); in drbd_adm_dump_connections()
3566 for_each_resource_rcu(next_resource, &drbd_resources) { in drbd_adm_dump_connections()
3575 list_for_each_entry_continue_rcu(next_resource, &drbd_resources, resources) { in drbd_adm_dump_connections()
3958 for_each_resource_rcu(tmp, &drbd_resources) { in get_one_status()
3983 if (&pos->resources == &drbd_resources || cb->args[2]) in get_one_status()
[all …]
Ddrbd_int.h181 extern struct list_head drbd_resources; /* RCU, updates: genl_lock() */