Lines Matching refs:osdc

903 	if (client->osdc.osdmap->epoch >= newest_epoch)  in wait_for_latest_osdmap()
906 ceph_osdc_maybe_request_map(&client->osdc); in wait_for_latest_osdmap()
1478 struct ceph_osd_client *osdc = &rbd_dev->rbd_client->client->osdc; in rbd_osd_req_create() local
1483 req = ceph_osdc_alloc_request(osdc, in rbd_osd_req_create()
2672 struct ceph_osd_client *osdc = &rbd_dev->rbd_client->client->osdc; in rbd_lock() local
2680 ret = ceph_cls_lock(osdc, &rbd_dev->header_oid, &rbd_dev->header_oloc, in rbd_lock()
2696 struct ceph_osd_client *osdc = &rbd_dev->rbd_client->client->osdc; in rbd_unlock() local
2702 ret = ceph_cls_unlock(osdc, &rbd_dev->header_oid, &rbd_dev->header_oloc, in rbd_unlock()
2719 struct ceph_osd_client *osdc = &rbd_dev->rbd_client->client->osdc; in __rbd_notify_op_lock() local
2733 return ceph_osdc_notify(osdc, &rbd_dev->header_oid, in __rbd_notify_op_lock()
2846 struct ceph_osd_client *osdc = &rbd_dev->rbd_client->client->osdc; in get_lock_owner_info() local
2853 ret = ceph_cls_lock_info(osdc, &rbd_dev->header_oid, in get_lock_owner_info()
2893 struct ceph_osd_client *osdc = &rbd_dev->rbd_client->client->osdc; in find_watcher() local
2900 ret = ceph_osdc_list_watchers(osdc, &rbd_dev->header_oid, in find_watcher()
2972 ret = ceph_cls_break_lock(&client->osdc, &rbd_dev->header_oid, in rbd_try_lock()
3087 ceph_osdc_sync(&rbd_dev->rbd_client->client->osdc); in rbd_release_lock()
3239 struct ceph_osd_client *osdc = &rbd_dev->rbd_client->client->osdc; in __rbd_acknowledge_notify() local
3255 ret = ceph_osdc_notify_ack(osdc, &rbd_dev->header_oid, in __rbd_acknowledge_notify()
3367 struct ceph_osd_client *osdc = &rbd_dev->rbd_client->client->osdc; in __rbd_register_watch() local
3373 handle = ceph_osdc_watch(osdc, &rbd_dev->header_oid, in __rbd_register_watch()
3388 struct ceph_osd_client *osdc = &rbd_dev->rbd_client->client->osdc; in __rbd_unregister_watch() local
3394 ret = ceph_osdc_unwatch(osdc, rbd_dev->watch_handle); in __rbd_unregister_watch()
3441 ceph_osdc_flush_notifies(&rbd_dev->rbd_client->client->osdc); in rbd_unregister_watch()
3449 struct ceph_osd_client *osdc = &rbd_dev->rbd_client->client->osdc; in rbd_reacquire_lock() local
3456 ret = ceph_cls_set_cookie(osdc, &rbd_dev->header_oid, in rbd_reacquire_lock()
3533 struct ceph_osd_client *osdc = &rbd_dev->rbd_client->client->osdc; in rbd_obj_method_sync() local
3563 ret = ceph_osdc_call(osdc, oid, oloc, RBD_DRV_NAME, method_name, in rbd_obj_method_sync()
3773 struct ceph_osd_client *osdc = &rbd_dev->rbd_client->client->osdc; in rbd_obj_read_sync() local
3779 req = ceph_osdc_alloc_request(osdc, NULL, 1, false, GFP_KERNEL); in rbd_obj_read_sync()
3801 ceph_osdc_start_request(osdc, req, false); in rbd_obj_read_sync()
3802 ret = ceph_osdc_wait_request(osdc, req); in rbd_obj_read_sync()
4639 struct ceph_osd_client *osdc = &rbd_dev->rbd_client->client->osdc; in __get_parent_info() local
4644 ret = ceph_osdc_call(osdc, &rbd_dev->header_oid, &rbd_dev->header_oloc, in __get_parent_info()
4656 ret = ceph_osdc_call(osdc, &rbd_dev->header_oid, &rbd_dev->header_oloc, in __get_parent_info()
4682 struct ceph_osd_client *osdc = &rbd_dev->rbd_client->client->osdc; in __get_parent_info_legacy() local
4687 ret = ceph_osdc_call(osdc, &rbd_dev->header_oid, &rbd_dev->header_oloc, in __get_parent_info_legacy()
5020 struct ceph_osd_client *osdc = &rbd_dev->rbd_client->client->osdc; in rbd_spec_fill_names() local
5033 pool_name = ceph_pg_pool_name_by_id(osdc->osdmap, spec->pool_id); in rbd_spec_fill_names()
5851 rc = ceph_pg_poolid_by_name(rbdc->client->osdc.osdmap, spec->pool_name); in do_rbd_add()