Lines Matching refs:ceph_osd_client
69 static inline void verify_osdc_locked(struct ceph_osd_client *osdc) in verify_osdc_locked()
73 static inline void verify_osdc_wrlocked(struct ceph_osd_client *osdc) in verify_osdc_wrlocked()
79 struct ceph_osd_client *osdc = osd->o_osdc; in verify_osd_locked()
90 static inline void verify_osdc_locked(struct ceph_osd_client *osdc) { } in verify_osdc_locked()
91 static inline void verify_osdc_wrlocked(struct ceph_osd_client *osdc) { } in verify_osdc_wrlocked()
540 struct ceph_osd_request *ceph_osdc_alloc_request(struct ceph_osd_client *osdc, in ceph_osdc_alloc_request()
581 struct ceph_osd_client *osdc = req->r_osdc; in __ceph_osdc_alloc_messages()
1043 struct ceph_osd_request *ceph_osdc_new_request(struct ceph_osd_client *osdc, in ceph_osdc_new_request()
1132 static void for_each_request(struct ceph_osd_client *osdc, in DEFINE_RB_FUNCS()
1209 static struct ceph_osd *create_osd(struct ceph_osd_client *osdc, int onum) in create_osd()
1251 struct ceph_osd_client *osdc = osd->o_osdc; in DEFINE_RB_FUNCS()
1272 struct ceph_osd_client *osdc = osd->o_osdc; in __remove_osd_from_lru()
1288 struct ceph_osd_client *osdc = osd->o_osdc; in close_osd()
1363 static struct ceph_osd *lookup_create_osd(struct ceph_osd_client *osdc, int o, in lookup_create_osd()
1435 static bool have_pool_full(struct ceph_osd_client *osdc) in have_pool_full()
1450 static bool pool_full(struct ceph_osd_client *osdc, s64 pool_id) in pool_full()
1465 static bool target_should_be_paused(struct ceph_osd_client *osdc, in target_should_be_paused()
1494 static int pick_closest_replica(struct ceph_osd_client *osdc, in pick_closest_replica()
1525 static enum calc_target_result calc_target(struct ceph_osd_client *osdc, in calc_target()
2293 static void maybe_request_map(struct ceph_osd_client *osdc) in maybe_request_map()
2319 struct ceph_osd_client *osdc = req->r_osdc; in __submit_request()
2431 struct ceph_osd_client *osdc = req->r_osdc; in finish_request()
2487 struct ceph_osd_client *osdc = req->r_osdc; in cancel_map_check()
2531 void ceph_osdc_abort_requests(struct ceph_osd_client *osdc, int err) in ceph_osdc_abort_requests()
2541 void ceph_osdc_clear_abort_err(struct ceph_osd_client *osdc) in ceph_osdc_clear_abort_err()
2549 static void update_epoch_barrier(struct ceph_osd_client *osdc, u32 eb) in update_epoch_barrier()
2561 void ceph_osdc_update_epoch_barrier(struct ceph_osd_client *osdc, u32 eb) in ceph_osdc_update_epoch_barrier()
2583 struct ceph_osd_client *osdc = req->r_osdc; in abort_on_full_fn()
2605 static void ceph_osdc_abort_on_full(struct ceph_osd_client *osdc) in ceph_osdc_abort_on_full()
2616 struct ceph_osd_client *osdc = req->r_osdc; in check_pool_dne()
2650 struct ceph_osd_client *osdc = &greq->monc->client->osdc; in map_check_cb()
2677 struct ceph_osd_client *osdc = req->r_osdc; in send_map_check()
2738 linger_alloc(struct ceph_osd_client *osdc) in linger_alloc()
2817 struct ceph_osd_client *osdc = lreq->osdc; in linger_registered()
2829 struct ceph_osd_client *osdc = lreq->osdc; in linger_register()
2841 struct ceph_osd_client *osdc = lreq->osdc; in linger_unregister()
2910 struct ceph_osd_client *osdc = lreq->osdc; in lwork_queue()
3062 struct ceph_osd_client *osdc = lreq->osdc; in send_linger()
3150 struct ceph_osd_client *osdc = lreq->osdc; in send_linger_ping()
3194 struct ceph_osd_client *osdc = lreq->osdc; in linger_submit()
3210 struct ceph_osd_client *osdc = lreq->osdc; in cancel_linger_map_check()
3241 struct ceph_osd_client *osdc = lreq->osdc; in linger_cancel()
3253 struct ceph_osd_client *osdc = lreq->osdc; in check_linger_pool_dne()
3284 struct ceph_osd_client *osdc = &greq->monc->client->osdc; in linger_map_check_cb()
3312 struct ceph_osd_client *osdc = lreq->osdc; in send_linger_map_check()
3358 struct ceph_osd_client *osdc = in handle_timeout()
3359 container_of(work, struct ceph_osd_client, timeout_work.work); in handle_timeout()
3447 struct ceph_osd_client *osdc = in handle_osds_timeout()
3448 container_of(work, struct ceph_osd_client, in handle_osds_timeout()
3678 struct ceph_osd_client *osdc = osd->o_osdc; in handle_reply()
3807 static void set_pool_was_full(struct ceph_osd_client *osdc) in set_pool_was_full()
3819 static bool pool_cleared_full(struct ceph_osd_client *osdc, s64 pool_id) in pool_cleared_full()
3833 struct ceph_osd_client *osdc = lreq->osdc; in recalc_linger_target()
3860 struct ceph_osd_client *osdc = osd->o_osdc; in scan_requests()
3932 static int handle_one_map(struct ceph_osd_client *osdc, in handle_one_map()
4003 static void kick_requests(struct ceph_osd_client *osdc, in kick_requests()
4060 void ceph_osdc_handle_map(struct ceph_osd_client *osdc, struct ceph_msg *msg) in ceph_osdc_handle_map()
4206 struct ceph_osd_client *osdc = osd->o_osdc; in osd_fault()
4440 struct ceph_osd_client *osdc = osd->o_osdc; in handle_backoff()
4482 static void handle_watch_notify(struct ceph_osd_client *osdc, in handle_watch_notify()
4581 void ceph_osdc_start_request(struct ceph_osd_client *osdc, in ceph_osdc_start_request()
4601 struct ceph_osd_client *osdc = req->r_osdc; in ceph_osdc_cancel_request()
4634 int ceph_osdc_wait_request(struct ceph_osd_client *osdc, in ceph_osdc_wait_request()
4644 void ceph_osdc_sync(struct ceph_osd_client *osdc) in ceph_osdc_sync()
4687 ceph_osdc_watch(struct ceph_osd_client *osdc, in ceph_osdc_watch()
4734 int ceph_osdc_unwatch(struct ceph_osd_client *osdc, in ceph_osdc_unwatch()
4799 int ceph_osdc_notify_ack(struct ceph_osd_client *osdc, in ceph_osdc_notify_ack()
4844 int ceph_osdc_notify(struct ceph_osd_client *osdc, in ceph_osdc_notify()
4915 int ceph_osdc_watch_check(struct ceph_osd_client *osdc, in ceph_osdc_watch_check()
5010 int ceph_osdc_list_watchers(struct ceph_osd_client *osdc, in ceph_osdc_list_watchers()
5062 void ceph_osdc_flush_notifies(struct ceph_osd_client *osdc) in ceph_osdc_flush_notifies()
5069 void ceph_osdc_maybe_request_map(struct ceph_osd_client *osdc) in ceph_osdc_maybe_request_map()
5083 int ceph_osdc_call(struct ceph_osd_client *osdc, in ceph_osdc_call()
5137 void ceph_osdc_reopen_osds(struct ceph_osd_client *osdc) in ceph_osdc_reopen_osds()
5155 int ceph_osdc_init(struct ceph_osd_client *osdc, struct ceph_client *client) in ceph_osdc_init()
5225 void ceph_osdc_stop(struct ceph_osd_client *osdc) in ceph_osdc_stop()
5318 struct ceph_osd_client *osdc = osd->o_osdc; in osd_dispatch()
5353 struct ceph_osd_client *osdc = osd->o_osdc; in get_reply()
5489 struct ceph_osd_client *osdc = o->o_osdc; in osd_get_authorizer()
5506 struct ceph_osd_client *osdc = o->o_osdc; in osd_add_authorizer_challenge()
5516 struct ceph_osd_client *osdc = o->o_osdc; in osd_verify_authorizer_reply()
5528 struct ceph_osd_client *osdc = o->o_osdc; in osd_invalidate_authorizer()