Lines Matching refs:drbd_resource

312 	struct drbd_resource *resource = thi->resource;  in drbd_thread_setup()
361 static void drbd_thread_init(struct drbd_resource *resource, struct drbd_thread *thi, in drbd_thread_init()
375 struct drbd_resource *resource = thi->resource; in drbd_thread_start()
488 struct drbd_resource *resource; in drbd_calc_cpu_mask()
521 struct drbd_resource *resource = thi->resource; in drbd_thread_current_set_cpu()
2182 struct drbd_resource *resource = device->resource; in drbd_destroy_device()
2305 struct drbd_resource *resource = in drbd_destroy_resource()
2306 container_of(kref, struct drbd_resource, kref); in drbd_destroy_resource()
2314 void drbd_free_resource(struct drbd_resource *resource) in drbd_free_resource()
2331 struct drbd_resource *resource, *tmp; in drbd_cleanup()
2399 struct drbd_resource *drbd_find_resource(const char *name) in drbd_find_resource()
2401 struct drbd_resource *resource; in drbd_find_resource()
2422 struct drbd_resource *resource; in conn_get_by_addrs()
2481 int set_resource_options(struct drbd_resource *resource, struct res_opts *res_opts) in set_resource_options()
2533 struct drbd_resource *drbd_create_resource(const char *name) in drbd_create_resource()
2535 struct drbd_resource *resource; in drbd_create_resource()
2537 resource = kzalloc(sizeof(struct drbd_resource), GFP_KERNEL); in drbd_create_resource()
2567 struct drbd_resource *resource; in conn_create()
2639 struct drbd_resource *resource = connection->resource; in drbd_destroy_connection()
2671 struct drbd_resource *resource = adm_ctx->resource; in drbd_create_device()
2825 struct drbd_resource *resource = device->resource; in drbd_delete_device()
3709 struct drbd_resource *resource; in lock_all_resources()
3720 struct drbd_resource *resource; in unlock_all_resources()