Lines Matching refs:oloc

609 static int ceph_oloc_encoding_size(const struct ceph_object_locator *oloc)  in ceph_oloc_encoding_size()  argument
611 return 8 + 4 + 4 + 4 + (oloc->pool_ns ? oloc->pool_ns->len : 0); in ceph_oloc_encoding_size()
2088 const struct ceph_object_locator *oloc) in encode_oloc() argument
2090 ceph_start_encoding(p, 5, 4, ceph_oloc_encoding_size(oloc)); in encode_oloc()
2091 ceph_encode_64(p, oloc->pool); in encode_oloc()
2094 if (oloc->pool_ns) in encode_oloc()
2095 ceph_encode_string(p, end, oloc->pool_ns->str, in encode_oloc()
2096 oloc->pool_ns->len); in encode_oloc()
2202 void *oloc, *oid, *tail; in encode_request_finish() local
2215 oloc = p; in encode_request_finish()
2221 oloc_len = p - oloc; in encode_request_finish()
2241 BUG_ON(p >= oloc); in encode_request_finish()
2242 memmove(p, oloc, oloc_len); in encode_request_finish()
3445 struct ceph_object_locator *oloc) in ceph_oloc_decode() argument
3469 oloc->pool = ceph_decode_64(p); in ceph_oloc_decode()
3484 if (!oloc->pool_ns || in ceph_oloc_decode()
3485 ceph_compare_string(oloc->pool_ns, *p, len)) in ceph_oloc_decode()
3489 if (oloc->pool_ns) in ceph_oloc_decode()
3537 ret = ceph_oloc_decode(p, end, &redir->oloc); in ceph_redirect_decode()
3638 ceph_oloc_init(&m->redirect.oloc); in decode_MOSDOpReply()
3677 m.redirect.oloc.pool_ns = req->r_t.target_oloc.pool_ns; in handle_reply()
3679 m.redirect.oloc.pool_ns = NULL; in handle_reply()
3702 if (!ceph_oloc_empty(&m.redirect.oloc)) { in handle_reply()
3704 m.redirect.oloc.pool); in handle_reply()
3712 req->r_t.target_oloc.pool = m.redirect.oloc.pool; in handle_reply()
4697 struct ceph_object_locator *oloc, in ceph_osdc_watch() argument
4716 ceph_oloc_copy(&lreq->t.base_oloc, oloc); in ceph_osdc_watch()
4821 struct ceph_object_locator *oloc, in ceph_osdc_notify_ack() argument
4835 ceph_oloc_copy(&req->r_base_oloc, oloc); in ceph_osdc_notify_ack()
4895 struct ceph_object_locator *oloc, in ceph_osdc_notify() argument
4920 ceph_oloc_copy(&lreq->t.base_oloc, oloc); in ceph_osdc_notify()
5068 struct ceph_object_locator *oloc, in ceph_osdc_list_watchers() argument
5081 ceph_oloc_copy(&req->r_base_oloc, oloc); in ceph_osdc_list_watchers()
5141 struct ceph_object_locator *oloc, in ceph_osdc_call() argument
5158 ceph_oloc_copy(&req->r_base_oloc, oloc); in ceph_osdc_call()