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()
544 struct ceph_osd_request *ceph_osdc_alloc_request(struct ceph_osd_client *osdc, in ceph_osdc_alloc_request()
585 struct ceph_osd_client *osdc = req->r_osdc; in __ceph_osdc_alloc_messages()
1055 struct ceph_osd_request *ceph_osdc_new_request(struct ceph_osd_client *osdc, in ceph_osdc_new_request()
1174 static void for_each_request(struct ceph_osd_client *osdc, in DEFINE_RB_FUNCS()
1261 static struct ceph_osd *create_osd(struct ceph_osd_client *osdc, int onum) in create_osd()
1306 struct ceph_osd_client *osdc = osd->o_osdc; in DEFINE_RB_FUNCS()
1327 struct ceph_osd_client *osdc = osd->o_osdc; in __remove_osd_from_lru()
1343 struct ceph_osd_client *osdc = osd->o_osdc; in close_osd()
1418 static struct ceph_osd *lookup_create_osd(struct ceph_osd_client *osdc, int o, in lookup_create_osd()
1494 static bool have_pool_full(struct ceph_osd_client *osdc) in have_pool_full()
1509 static bool pool_full(struct ceph_osd_client *osdc, s64 pool_id) in pool_full()
1524 static bool target_should_be_paused(struct ceph_osd_client *osdc, in target_should_be_paused()
1553 static int pick_closest_replica(struct ceph_osd_client *osdc, in pick_closest_replica()
1584 static enum calc_target_result calc_target(struct ceph_osd_client *osdc, in calc_target()
2353 static void maybe_request_map(struct ceph_osd_client *osdc) in maybe_request_map()
2379 struct ceph_osd_client *osdc = req->r_osdc; in __submit_request()
2491 struct ceph_osd_client *osdc = req->r_osdc; in finish_request()
2549 struct ceph_osd_client *osdc = req->r_osdc; in cancel_map_check()
2593 void ceph_osdc_abort_requests(struct ceph_osd_client *osdc, int err) in ceph_osdc_abort_requests()
2603 void ceph_osdc_clear_abort_err(struct ceph_osd_client *osdc) in ceph_osdc_clear_abort_err()
2611 static void update_epoch_barrier(struct ceph_osd_client *osdc, u32 eb) in update_epoch_barrier()
2623 void ceph_osdc_update_epoch_barrier(struct ceph_osd_client *osdc, u32 eb) in ceph_osdc_update_epoch_barrier()
2645 struct ceph_osd_client *osdc = req->r_osdc; in abort_on_full_fn()
2667 static void ceph_osdc_abort_on_full(struct ceph_osd_client *osdc) in ceph_osdc_abort_on_full()
2678 struct ceph_osd_client *osdc = req->r_osdc; in check_pool_dne()
2712 struct ceph_osd_client *osdc = &greq->monc->client->osdc; in map_check_cb()
2739 struct ceph_osd_client *osdc = req->r_osdc; in send_map_check()
2800 linger_alloc(struct ceph_osd_client *osdc) in linger_alloc()
2879 struct ceph_osd_client *osdc = lreq->osdc; in linger_registered()
2891 struct ceph_osd_client *osdc = lreq->osdc; in linger_register()
2903 struct ceph_osd_client *osdc = lreq->osdc; in linger_unregister()
2972 struct ceph_osd_client *osdc = lreq->osdc; in lwork_queue()
3124 struct ceph_osd_client *osdc = lreq->osdc; in send_linger()
3212 struct ceph_osd_client *osdc = lreq->osdc; in send_linger_ping()
3256 struct ceph_osd_client *osdc = lreq->osdc; in linger_submit()
3272 struct ceph_osd_client *osdc = lreq->osdc; in cancel_linger_map_check()
3303 struct ceph_osd_client *osdc = lreq->osdc; in linger_cancel()
3315 struct ceph_osd_client *osdc = lreq->osdc; in check_linger_pool_dne()
3346 struct ceph_osd_client *osdc = &greq->monc->client->osdc; in linger_map_check_cb()
3374 struct ceph_osd_client *osdc = lreq->osdc; in send_linger_map_check()
3427 struct ceph_osd_client *osdc = in handle_timeout()
3428 container_of(work, struct ceph_osd_client, timeout_work.work); in handle_timeout()
3516 struct ceph_osd_client *osdc = in handle_osds_timeout()
3517 container_of(work, struct ceph_osd_client, in handle_osds_timeout()
3747 struct ceph_osd_client *osdc = osd->o_osdc; in handle_reply()
3877 static void set_pool_was_full(struct ceph_osd_client *osdc) in set_pool_was_full()
3889 static bool pool_cleared_full(struct ceph_osd_client *osdc, s64 pool_id) in pool_cleared_full()
3903 struct ceph_osd_client *osdc = lreq->osdc; in recalc_linger_target()
3930 struct ceph_osd_client *osdc = osd->o_osdc; in scan_requests()
4002 static int handle_one_map(struct ceph_osd_client *osdc, in handle_one_map()
4073 static void kick_requests(struct ceph_osd_client *osdc, in kick_requests()
4130 void ceph_osdc_handle_map(struct ceph_osd_client *osdc, struct ceph_msg *msg) in ceph_osdc_handle_map()
4276 struct ceph_osd_client *osdc = osd->o_osdc; in osd_fault()
4510 struct ceph_osd_client *osdc = osd->o_osdc; in handle_backoff()
4552 static void handle_watch_notify(struct ceph_osd_client *osdc, in handle_watch_notify()
4651 void ceph_osdc_start_request(struct ceph_osd_client *osdc, in ceph_osdc_start_request()
4671 struct ceph_osd_client *osdc = req->r_osdc; in ceph_osdc_cancel_request()
4704 int ceph_osdc_wait_request(struct ceph_osd_client *osdc, in ceph_osdc_wait_request()
4714 void ceph_osdc_sync(struct ceph_osd_client *osdc) in ceph_osdc_sync()
4757 ceph_osdc_watch(struct ceph_osd_client *osdc, in ceph_osdc_watch()
4804 int ceph_osdc_unwatch(struct ceph_osd_client *osdc, in ceph_osdc_unwatch()
4869 int ceph_osdc_notify_ack(struct ceph_osd_client *osdc, in ceph_osdc_notify_ack()
4914 int ceph_osdc_notify(struct ceph_osd_client *osdc, in ceph_osdc_notify()
5047 int ceph_osdc_list_watchers(struct ceph_osd_client *osdc, in ceph_osdc_list_watchers()
5099 void ceph_osdc_flush_notifies(struct ceph_osd_client *osdc) in ceph_osdc_flush_notifies()
5106 void ceph_osdc_maybe_request_map(struct ceph_osd_client *osdc) in ceph_osdc_maybe_request_map()
5120 int ceph_osdc_call(struct ceph_osd_client *osdc, in ceph_osdc_call()
5174 void ceph_osdc_reopen_osds(struct ceph_osd_client *osdc) in ceph_osdc_reopen_osds()
5192 int ceph_osdc_init(struct ceph_osd_client *osdc, struct ceph_client *client) in ceph_osdc_init()
5262 void ceph_osdc_stop(struct ceph_osd_client *osdc) in ceph_osdc_stop()
5355 struct ceph_osd_client *osdc = osd->o_osdc; in osd_dispatch()
5408 struct ceph_osd_client *osdc = osd->o_osdc; in get_reply()
5548 struct ceph_osd_client *osdc = o->o_osdc; in osd_get_authorizer()
5565 struct ceph_osd_client *osdc = o->o_osdc; in osd_add_authorizer_challenge()
5575 struct ceph_osd_client *osdc = o->o_osdc; in osd_verify_authorizer_reply()
5587 struct ceph_osd_client *osdc = o->o_osdc; in osd_invalidate_authorizer()