rbd_device 331 drivers/block/rbd.c struct rbd_device *rbd_dev; rbd_device 442 drivers/block/rbd.c struct rbd_device *parent; rbd_device 505 drivers/block/rbd.c static int rbd_dev_image_probe(struct rbd_device *rbd_dev, int depth); rbd_device 517 drivers/block/rbd.c static bool __rbd_is_lock_owner(struct rbd_device *rbd_dev) rbd_device 525 drivers/block/rbd.c static bool rbd_is_lock_owner(struct rbd_device *rbd_dev) rbd_device 587 drivers/block/rbd.c void rbd_warn(struct rbd_device *rbd_dev, const char *fmt, ...) rbd_device 626 drivers/block/rbd.c static void rbd_dev_remove_parent(struct rbd_device *rbd_dev); rbd_device 628 drivers/block/rbd.c static int rbd_dev_refresh(struct rbd_device *rbd_dev); rbd_device 629 drivers/block/rbd.c static int rbd_dev_v2_header_onetime(struct rbd_device *rbd_dev); rbd_device 630 drivers/block/rbd.c static int rbd_dev_header_info(struct rbd_device *rbd_dev); rbd_device 631 drivers/block/rbd.c static int rbd_dev_v2_parent_info(struct rbd_device *rbd_dev); rbd_device 632 drivers/block/rbd.c static const char *rbd_dev_v2_snap_name(struct rbd_device *rbd_dev, rbd_device 634 drivers/block/rbd.c static int _rbd_dev_v2_snap_size(struct rbd_device *rbd_dev, u64 snap_id, rbd_device 636 drivers/block/rbd.c static int _rbd_dev_v2_snap_features(struct rbd_device *rbd_dev, u64 snap_id, rbd_device 638 drivers/block/rbd.c static int rbd_dev_v2_get_flags(struct rbd_device *rbd_dev); rbd_device 661 drivers/block/rbd.c struct rbd_device *rbd_dev = bdev->bd_disk->private_data; rbd_device 680 drivers/block/rbd.c struct rbd_device *rbd_dev = disk->private_data; rbd_device 691 drivers/block/rbd.c static int rbd_ioctl_set_ro(struct rbd_device *rbd_dev, unsigned long arg) rbd_device 709 drivers/block/rbd.c struct rbd_device *rbd_dev = bdev->bd_disk->private_data; rbd_device 1085 drivers/block/rbd.c static void rbd_init_layout(struct rbd_device *rbd_dev) rbd_device 1105 drivers/block/rbd.c static int rbd_header_from_disk(struct rbd_device *rbd_dev, rbd_device 1202 drivers/block/rbd.c static const char *_rbd_dev_v1_snap_name(struct rbd_device *rbd_dev, u32 which) rbd_device 1241 drivers/block/rbd.c static u32 rbd_dev_snap_index(struct rbd_device *rbd_dev, u64 snap_id) rbd_device 1252 drivers/block/rbd.c static const char *rbd_dev_v1_snap_name(struct rbd_device *rbd_dev, rbd_device 1266 drivers/block/rbd.c static const char *rbd_snap_name(struct rbd_device *rbd_dev, u64 snap_id) rbd_device 1278 drivers/block/rbd.c static int rbd_snap_size(struct rbd_device *rbd_dev, u64 snap_id, rbd_device 1305 drivers/block/rbd.c static int rbd_snap_features(struct rbd_device *rbd_dev, u64 snap_id, rbd_device 1326 drivers/block/rbd.c static int rbd_dev_mapping_set(struct rbd_device *rbd_dev) rbd_device 1346 drivers/block/rbd.c static void rbd_dev_mapping_clear(struct rbd_device *rbd_dev) rbd_device 1479 drivers/block/rbd.c struct rbd_device *rbd_dev = obj_req->img_request->rbd_dev; rbd_device 1487 drivers/block/rbd.c struct rbd_device *rbd_dev = obj_req->img_request->rbd_dev; rbd_device 1568 drivers/block/rbd.c struct rbd_device *rbd_dev = obj_req->img_request->rbd_dev; rbd_device 1667 drivers/block/rbd.c static void rbd_dev_unparent(struct rbd_device *rbd_dev) rbd_device 1681 drivers/block/rbd.c static void rbd_dev_parent_put(struct rbd_device *rbd_dev) rbd_device 1708 drivers/block/rbd.c static bool rbd_dev_parent_get(struct rbd_device *rbd_dev) rbd_device 1732 drivers/block/rbd.c struct rbd_device *rbd_dev, rbd_device 1789 drivers/block/rbd.c static void __rbd_object_map_index(struct rbd_device *rbd_dev, u64 objno, rbd_device 1799 drivers/block/rbd.c static u8 __rbd_object_map_get(struct rbd_device *rbd_dev, u64 objno) rbd_device 1809 drivers/block/rbd.c static void __rbd_object_map_set(struct rbd_device *rbd_dev, u64 objno, u8 val) rbd_device 1823 drivers/block/rbd.c static u8 rbd_object_map_get(struct rbd_device *rbd_dev, u64 objno) rbd_device 1833 drivers/block/rbd.c static bool use_object_map(struct rbd_device *rbd_dev) rbd_device 1839 drivers/block/rbd.c static bool rbd_object_map_may_exist(struct rbd_device *rbd_dev, u64 objno) rbd_device 1851 drivers/block/rbd.c static void rbd_object_map_name(struct rbd_device *rbd_dev, u64 snap_id, rbd_device 1862 drivers/block/rbd.c static int rbd_object_map_lock(struct rbd_device *rbd_dev) rbd_device 1920 drivers/block/rbd.c static void rbd_object_map_unlock(struct rbd_device *rbd_dev) rbd_device 1959 drivers/block/rbd.c static int __rbd_object_map_load(struct rbd_device *rbd_dev) rbd_device 2024 drivers/block/rbd.c static void rbd_object_map_free(struct rbd_device *rbd_dev) rbd_device 2031 drivers/block/rbd.c static int rbd_object_map_load(struct rbd_device *rbd_dev) rbd_device 2051 drivers/block/rbd.c static int rbd_object_map_open(struct rbd_device *rbd_dev) rbd_device 2068 drivers/block/rbd.c static void rbd_object_map_close(struct rbd_device *rbd_dev) rbd_device 2087 drivers/block/rbd.c struct rbd_device *rbd_dev = obj_req->img_request->rbd_dev; rbd_device 2141 drivers/block/rbd.c static bool update_needed(struct rbd_device *rbd_dev, u64 objno, u8 new_state) rbd_device 2194 drivers/block/rbd.c struct rbd_device *rbd_dev = obj_req->img_request->rbd_dev; rbd_device 2272 drivers/block/rbd.c struct rbd_device *rbd_dev = obj_req->img_request->rbd_dev; rbd_device 2363 drivers/block/rbd.c struct rbd_device *rbd_dev = obj_req->img_request->rbd_dev; rbd_device 2423 drivers/block/rbd.c struct rbd_device *rbd_dev = obj_req->img_request->rbd_dev; rbd_device 2681 drivers/block/rbd.c struct rbd_device *rbd_dev = img_req->rbd_dev; rbd_device 2897 drivers/block/rbd.c struct rbd_device *rbd_dev = obj_req->img_request->rbd_dev; rbd_device 2984 drivers/block/rbd.c struct rbd_device *rbd_dev = obj_req->img_request->rbd_dev; rbd_device 3061 drivers/block/rbd.c struct rbd_device *rbd_dev = obj_req->img_request->rbd_dev; rbd_device 3083 drivers/block/rbd.c struct rbd_device *rbd_dev = obj_req->img_request->rbd_dev; rbd_device 3244 drivers/block/rbd.c struct rbd_device *rbd_dev = obj_req->img_request->rbd_dev; rbd_device 3269 drivers/block/rbd.c struct rbd_device *rbd_dev = obj_req->img_request->rbd_dev; rbd_device 3345 drivers/block/rbd.c struct rbd_device *rbd_dev = obj_req->img_request->rbd_dev; rbd_device 3419 drivers/block/rbd.c struct rbd_device *rbd_dev = obj_req->img_request->rbd_dev; rbd_device 3434 drivers/block/rbd.c struct rbd_device *rbd_dev = obj_req->img_request->rbd_dev; rbd_device 3522 drivers/block/rbd.c struct rbd_device *rbd_dev = img_req->rbd_dev; rbd_device 3553 drivers/block/rbd.c struct rbd_device *rbd_dev = img_req->rbd_dev; rbd_device 3571 drivers/block/rbd.c struct rbd_device *rbd_dev = img_req->rbd_dev; rbd_device 3588 drivers/block/rbd.c struct rbd_device *rbd_dev = img_req->rbd_dev; rbd_device 3604 drivers/block/rbd.c struct rbd_device *rbd_dev = img_req->rbd_dev; rbd_device 3648 drivers/block/rbd.c struct rbd_device *rbd_dev = img_req->rbd_dev; rbd_device 3697 drivers/block/rbd.c struct rbd_device *rbd_dev = img_req->rbd_dev; rbd_device 3753 drivers/block/rbd.c static struct rbd_client_id rbd_get_cid(struct rbd_device *rbd_dev) rbd_device 3767 drivers/block/rbd.c static void rbd_set_owner_cid(struct rbd_device *rbd_dev, rbd_device 3776 drivers/block/rbd.c static void format_lock_cookie(struct rbd_device *rbd_dev, char *buf) rbd_device 3783 drivers/block/rbd.c static void __rbd_lock(struct rbd_device *rbd_dev, const char *cookie) rbd_device 3796 drivers/block/rbd.c static int rbd_lock(struct rbd_device *rbd_dev) rbd_device 3819 drivers/block/rbd.c static void rbd_unlock(struct rbd_device *rbd_dev) rbd_device 3839 drivers/block/rbd.c static int __rbd_notify_op_lock(struct rbd_device *rbd_dev, rbd_device 3863 drivers/block/rbd.c static void rbd_notify_op_lock(struct rbd_device *rbd_dev, rbd_device 3875 drivers/block/rbd.c struct rbd_device *rbd_dev = container_of(work, struct rbd_device, rbd_device 3883 drivers/block/rbd.c struct rbd_device *rbd_dev = container_of(work, struct rbd_device, rbd_device 3889 drivers/block/rbd.c static int rbd_request_lock(struct rbd_device *rbd_dev) rbd_device 3961 drivers/block/rbd.c static void wake_lock_waiters(struct rbd_device *rbd_dev, int result) rbd_device 3987 drivers/block/rbd.c static int get_lock_owner_info(struct rbd_device *rbd_dev, rbd_device 4034 drivers/block/rbd.c static int find_watcher(struct rbd_device *rbd_dev, rbd_device 4078 drivers/block/rbd.c static int rbd_try_lock(struct rbd_device *rbd_dev) rbd_device 4129 drivers/block/rbd.c static int rbd_post_acquire_action(struct rbd_device *rbd_dev) rbd_device 4148 drivers/block/rbd.c static int rbd_try_acquire_lock(struct rbd_device *rbd_dev) rbd_device 4204 drivers/block/rbd.c struct rbd_device *rbd_dev = container_of(to_delayed_work(work), rbd_device 4205 drivers/block/rbd.c struct rbd_device, lock_dwork); rbd_device 4240 drivers/block/rbd.c static bool rbd_quiesce_lock(struct rbd_device *rbd_dev) rbd_device 4269 drivers/block/rbd.c static void rbd_pre_release_action(struct rbd_device *rbd_dev) rbd_device 4275 drivers/block/rbd.c static void __rbd_release_lock(struct rbd_device *rbd_dev) rbd_device 4286 drivers/block/rbd.c static void rbd_release_lock(struct rbd_device *rbd_dev) rbd_device 4305 drivers/block/rbd.c struct rbd_device *rbd_dev = container_of(work, struct rbd_device, rbd_device 4313 drivers/block/rbd.c static void maybe_kick_acquire(struct rbd_device *rbd_dev) rbd_device 4330 drivers/block/rbd.c static void rbd_handle_acquired_lock(struct rbd_device *rbd_dev, u8 struct_v, rbd_device 4363 drivers/block/rbd.c static void rbd_handle_released_lock(struct rbd_device *rbd_dev, u8 struct_v, rbd_device 4399 drivers/block/rbd.c static int rbd_handle_request_lock(struct rbd_device *rbd_dev, u8 struct_v, rbd_device 4446 drivers/block/rbd.c static void __rbd_acknowledge_notify(struct rbd_device *rbd_dev, rbd_device 4472 drivers/block/rbd.c static void rbd_acknowledge_notify(struct rbd_device *rbd_dev, u64 notify_id, rbd_device 4479 drivers/block/rbd.c static void rbd_acknowledge_notify_result(struct rbd_device *rbd_dev, rbd_device 4489 drivers/block/rbd.c struct rbd_device *rbd_dev = arg; rbd_device 4550 drivers/block/rbd.c static void __rbd_unregister_watch(struct rbd_device *rbd_dev); rbd_device 4554 drivers/block/rbd.c struct rbd_device *rbd_dev = arg; rbd_device 4575 drivers/block/rbd.c static int __rbd_register_watch(struct rbd_device *rbd_dev) rbd_device 4596 drivers/block/rbd.c static void __rbd_unregister_watch(struct rbd_device *rbd_dev) rbd_device 4611 drivers/block/rbd.c static int rbd_register_watch(struct rbd_device *rbd_dev) rbd_device 4629 drivers/block/rbd.c static void cancel_tasks_sync(struct rbd_device *rbd_dev) rbd_device 4643 drivers/block/rbd.c static void rbd_unregister_watch(struct rbd_device *rbd_dev) rbd_device 4660 drivers/block/rbd.c static void rbd_reacquire_lock(struct rbd_device *rbd_dev) rbd_device 4693 drivers/block/rbd.c struct rbd_device *rbd_dev = container_of(to_delayed_work(work), rbd_device 4694 drivers/block/rbd.c struct rbd_device, watch_dwork); rbd_device 4741 drivers/block/rbd.c static int rbd_obj_method_sync(struct rbd_device *rbd_dev, rbd_device 4797 drivers/block/rbd.c struct rbd_device *rbd_dev = rq->q->queuedata; rbd_device 4920 drivers/block/rbd.c static void rbd_free_disk(struct rbd_device *rbd_dev) rbd_device 4928 drivers/block/rbd.c static int rbd_obj_read_sync(struct rbd_device *rbd_dev, rbd_device 4977 drivers/block/rbd.c static int rbd_dev_v1_header_info(struct rbd_device *rbd_dev) rbd_device 5036 drivers/block/rbd.c static void rbd_exists_validate(struct rbd_device *rbd_dev) rbd_device 5051 drivers/block/rbd.c static void rbd_dev_update_size(struct rbd_device *rbd_dev) rbd_device 5069 drivers/block/rbd.c static int rbd_dev_refresh(struct rbd_device *rbd_dev) rbd_device 5120 drivers/block/rbd.c static int rbd_init_disk(struct rbd_device *rbd_dev) rbd_device 5204 drivers/block/rbd.c static struct rbd_device *dev_to_rbd_dev(struct device *dev) rbd_device 5206 drivers/block/rbd.c return container_of(dev, struct rbd_device, dev); rbd_device 5212 drivers/block/rbd.c struct rbd_device *rbd_dev = dev_to_rbd_dev(dev); rbd_device 5225 drivers/block/rbd.c struct rbd_device *rbd_dev = dev_to_rbd_dev(dev); rbd_device 5234 drivers/block/rbd.c struct rbd_device *rbd_dev = dev_to_rbd_dev(dev); rbd_device 5245 drivers/block/rbd.c struct rbd_device *rbd_dev = dev_to_rbd_dev(dev); rbd_device 5253 drivers/block/rbd.c struct rbd_device *rbd_dev = dev_to_rbd_dev(dev); rbd_device 5264 drivers/block/rbd.c struct rbd_device *rbd_dev = dev_to_rbd_dev(dev); rbd_device 5273 drivers/block/rbd.c struct rbd_device *rbd_dev = dev_to_rbd_dev(dev); rbd_device 5281 drivers/block/rbd.c struct rbd_device *rbd_dev = dev_to_rbd_dev(dev); rbd_device 5289 drivers/block/rbd.c struct rbd_device *rbd_dev = dev_to_rbd_dev(dev); rbd_device 5297 drivers/block/rbd.c struct rbd_device *rbd_dev = dev_to_rbd_dev(dev); rbd_device 5306 drivers/block/rbd.c struct rbd_device *rbd_dev = dev_to_rbd_dev(dev); rbd_device 5314 drivers/block/rbd.c struct rbd_device *rbd_dev = dev_to_rbd_dev(dev); rbd_device 5325 drivers/block/rbd.c struct rbd_device *rbd_dev = dev_to_rbd_dev(dev); rbd_device 5338 drivers/block/rbd.c struct rbd_device *rbd_dev = dev_to_rbd_dev(dev); rbd_device 5346 drivers/block/rbd.c struct rbd_device *rbd_dev = dev_to_rbd_dev(dev); rbd_device 5360 drivers/block/rbd.c struct rbd_device *rbd_dev = dev_to_rbd_dev(dev); rbd_device 5391 drivers/block/rbd.c struct rbd_device *rbd_dev = dev_to_rbd_dev(dev); rbd_device 5498 drivers/block/rbd.c static void rbd_dev_free(struct rbd_device *rbd_dev) rbd_device 5515 drivers/block/rbd.c struct rbd_device *rbd_dev = dev_to_rbd_dev(dev); rbd_device 5534 drivers/block/rbd.c static struct rbd_device *__rbd_dev_create(struct rbd_client *rbdc, rbd_device 5537 drivers/block/rbd.c struct rbd_device *rbd_dev; rbd_device 5589 drivers/block/rbd.c static struct rbd_device *rbd_dev_create(struct rbd_client *rbdc, rbd_device 5593 drivers/block/rbd.c struct rbd_device *rbd_dev; rbd_device 5627 drivers/block/rbd.c static void rbd_dev_destroy(struct rbd_device *rbd_dev) rbd_device 5638 drivers/block/rbd.c static int _rbd_dev_v2_snap_size(struct rbd_device *rbd_dev, u64 snap_id, rbd_device 5671 drivers/block/rbd.c static int rbd_dev_v2_image_size(struct rbd_device *rbd_dev) rbd_device 5678 drivers/block/rbd.c static int rbd_dev_v2_object_prefix(struct rbd_device *rbd_dev) rbd_device 5715 drivers/block/rbd.c static int _rbd_dev_v2_snap_features(struct rbd_device *rbd_dev, u64 snap_id, rbd_device 5753 drivers/block/rbd.c static int rbd_dev_v2_features(struct rbd_device *rbd_dev) rbd_device 5766 drivers/block/rbd.c static int rbd_dev_v2_get_flags(struct rbd_device *rbd_dev) rbd_device 5830 drivers/block/rbd.c static int __get_parent_info(struct rbd_device *rbd_dev, rbd_device 5873 drivers/block/rbd.c static int __get_parent_info_legacy(struct rbd_device *rbd_dev, rbd_device 5908 drivers/block/rbd.c static int get_parent_info(struct rbd_device *rbd_dev, rbd_device 5937 drivers/block/rbd.c static int rbd_dev_v2_parent_info(struct rbd_device *rbd_dev) rbd_device 6033 drivers/block/rbd.c static int rbd_dev_v2_striping_info(struct rbd_device *rbd_dev) rbd_device 6058 drivers/block/rbd.c static int rbd_dev_v2_data_pool(struct rbd_device *rbd_dev) rbd_device 6076 drivers/block/rbd.c static char *rbd_dev_image_name(struct rbd_device *rbd_dev) rbd_device 6127 drivers/block/rbd.c static u64 rbd_v1_snap_id_by_name(struct rbd_device *rbd_dev, const char *name) rbd_device 6145 drivers/block/rbd.c static u64 rbd_v2_snap_id_by_name(struct rbd_device *rbd_dev, const char *name) rbd_device 6174 drivers/block/rbd.c static u64 rbd_snap_id_by_name(struct rbd_device *rbd_dev, const char *name) rbd_device 6185 drivers/block/rbd.c static int rbd_spec_fill_snap_id(struct rbd_device *rbd_dev) rbd_device 6214 drivers/block/rbd.c static int rbd_spec_fill_names(struct rbd_device *rbd_dev) rbd_device 6264 drivers/block/rbd.c static int rbd_dev_v2_snap_context(struct rbd_device *rbd_dev) rbd_device 6336 drivers/block/rbd.c static const char *rbd_dev_v2_snap_name(struct rbd_device *rbd_dev, rbd_device 6376 drivers/block/rbd.c static int rbd_dev_v2_header_info(struct rbd_device *rbd_dev) rbd_device 6400 drivers/block/rbd.c static int rbd_dev_header_info(struct rbd_device *rbd_dev) rbd_device 6614 drivers/block/rbd.c static void rbd_dev_image_unlock(struct rbd_device *rbd_dev) rbd_device 6627 drivers/block/rbd.c static int rbd_add_acquire_lock(struct rbd_device *rbd_dev) rbd_device 6681 drivers/block/rbd.c static int rbd_dev_image_id(struct rbd_device *rbd_dev) rbd_device 6755 drivers/block/rbd.c static void rbd_dev_unprobe(struct rbd_device *rbd_dev) rbd_device 6773 drivers/block/rbd.c static int rbd_dev_v2_header_onetime(struct rbd_device *rbd_dev) rbd_device 6818 drivers/block/rbd.c static int rbd_dev_probe_parent(struct rbd_device *rbd_dev, int depth) rbd_device 6820 drivers/block/rbd.c struct rbd_device *parent = NULL; rbd_device 6859 drivers/block/rbd.c static void rbd_dev_device_release(struct rbd_device *rbd_dev) rbd_device 6871 drivers/block/rbd.c static int rbd_dev_device_setup(struct rbd_device *rbd_dev) rbd_device 6916 drivers/block/rbd.c static int rbd_dev_header_name(struct rbd_device *rbd_dev) rbd_device 6934 drivers/block/rbd.c static void rbd_dev_image_release(struct rbd_device *rbd_dev) rbd_device 6954 drivers/block/rbd.c static int rbd_dev_image_probe(struct rbd_device *rbd_dev, int depth) rbd_device 7055 drivers/block/rbd.c struct rbd_device *rbd_dev = NULL; rbd_device 7173 drivers/block/rbd.c static void rbd_dev_remove_parent(struct rbd_device *rbd_dev) rbd_device 7176 drivers/block/rbd.c struct rbd_device *first = rbd_dev; rbd_device 7177 drivers/block/rbd.c struct rbd_device *second = first->parent; rbd_device 7178 drivers/block/rbd.c struct rbd_device *third; rbd_device 7204 drivers/block/rbd.c struct rbd_device *rbd_dev = NULL; rbd_device 7230 drivers/block/rbd.c rbd_dev = list_entry(tmp, struct rbd_device, node);