Lines Matching refs:drbd_resource
464 static bool resource_is_supended(struct drbd_resource *resource) in resource_is_supended()
471 struct drbd_resource * const resource = connection->resource; in conn_try_outdate_peer()
2504 struct drbd_resource *resource; in drbd_adm_connect()
3184 struct drbd_resource *resource, in nla_put_drbd_cfg_context()
3232 static void resource_to_info(struct resource_info *, struct drbd_resource *);
3237 struct drbd_resource *resource; in drbd_adm_dump_resources()
3245 if (resource == (struct drbd_resource *)cb->args[0]) in drbd_adm_dump_resources()
3251 struct drbd_resource, resources); in drbd_adm_dump_resources()
3331 struct drbd_resource *resource = in put_resource_in_arg0()
3332 (struct drbd_resource *)cb->args[0]; in put_resource_in_arg0()
3348 struct drbd_resource *resource; in drbd_adm_dump_devices()
3356 resource = (struct drbd_resource *)cb->args[0]; in drbd_adm_dump_devices()
3437 struct drbd_resource *resource = NULL, *next_resource; in drbd_adm_dump_connections()
3445 resource = (struct drbd_resource *)cb->args[0]; in drbd_adm_dump_connections()
3460 resource = list_first_entry(&drbd_resources, struct drbd_resource, resources); in drbd_adm_dump_connections()
3599 struct drbd_resource *resource; in drbd_adm_dump_peer_devices()
3606 resource = (struct drbd_resource *)cb->args[0]; in drbd_adm_dump_peer_devices()
3691 static struct drbd_connection *the_only_connection(struct drbd_resource *resource) in the_only_connection()
3703 struct drbd_resource *resource = device->resource; in nla_put_status_info()
3851 struct drbd_resource *pos = (struct drbd_resource *)cb->args[0]; in get_one_status()
3852 struct drbd_resource *resource = NULL; in get_one_status()
3853 struct drbd_resource *tmp; in get_one_status()
3899 struct drbd_resource, resources); in get_one_status()
3981 struct drbd_resource *resource; in drbd_adm_get_status_all()
4197 struct drbd_resource *resource) in resource_to_info()
4394 static int adm_del_resource(struct drbd_resource *resource) in adm_del_resource()
4427 struct drbd_resource *resource; in drbd_adm_down()
4490 struct drbd_resource *resource; in drbd_adm_del_resource()
4557 struct drbd_resource *resource, in notify_resource_state()
4714 struct drbd_resource *resource = peer_device->device->resource; in notify_peer_device_state()
4762 struct drbd_resource *resource = device ? device->resource : connection->resource; in notify_helper()
4909 struct drbd_resource *resource; in drbd_adm_get_initial_state()