Lines Matching refs:oloc
572 static int ceph_oloc_encoding_size(const struct ceph_object_locator *oloc) in ceph_oloc_encoding_size() argument
574 return 8 + 4 + 4 + 4 + (oloc->pool_ns ? oloc->pool_ns->len : 0); in ceph_oloc_encoding_size()
2067 const struct ceph_object_locator *oloc) in encode_oloc() argument
2069 ceph_start_encoding(p, 5, 4, ceph_oloc_encoding_size(oloc)); in encode_oloc()
2070 ceph_encode_64(p, oloc->pool); in encode_oloc()
2073 if (oloc->pool_ns) in encode_oloc()
2074 ceph_encode_string(p, end, oloc->pool_ns->str, in encode_oloc()
2075 oloc->pool_ns->len); in encode_oloc()
2181 void *oloc, *oid, *tail; in encode_request_finish() local
2194 oloc = p; in encode_request_finish()
2200 oloc_len = p - oloc; in encode_request_finish()
2220 BUG_ON(p >= oloc); in encode_request_finish()
2221 memmove(p, oloc, oloc_len); in encode_request_finish()
3470 struct ceph_object_locator *oloc) in ceph_oloc_decode() argument
3494 oloc->pool = ceph_decode_64(p); in ceph_oloc_decode()
3509 if (!oloc->pool_ns || in ceph_oloc_decode()
3510 ceph_compare_string(oloc->pool_ns, *p, len)) in ceph_oloc_decode()
3514 if (oloc->pool_ns) in ceph_oloc_decode()
3562 ret = ceph_oloc_decode(p, end, &redir->oloc); in ceph_redirect_decode()
3663 ceph_oloc_init(&m->redirect.oloc); in decode_MOSDOpReply()
3702 m.redirect.oloc.pool_ns = req->r_t.target_oloc.pool_ns; in handle_reply()
3704 m.redirect.oloc.pool_ns = NULL; in handle_reply()
3727 if (!ceph_oloc_empty(&m.redirect.oloc)) { in handle_reply()
3729 m.redirect.oloc.pool); in handle_reply()
3737 req->r_t.target_oloc.pool = m.redirect.oloc.pool; in handle_reply()
4689 struct ceph_object_locator *oloc, in ceph_osdc_watch() argument
4708 ceph_oloc_copy(&lreq->t.base_oloc, oloc); in ceph_osdc_watch()
4801 struct ceph_object_locator *oloc, in ceph_osdc_notify_ack() argument
4815 ceph_oloc_copy(&req->r_base_oloc, oloc); in ceph_osdc_notify_ack()
4846 struct ceph_object_locator *oloc, in ceph_osdc_notify() argument
4893 ceph_oloc_copy(&lreq->t.base_oloc, oloc); in ceph_osdc_notify()
5012 struct ceph_object_locator *oloc, in ceph_osdc_list_watchers() argument
5025 ceph_oloc_copy(&req->r_base_oloc, oloc); in ceph_osdc_list_watchers()
5085 struct ceph_object_locator *oloc, in ceph_osdc_call() argument
5102 ceph_oloc_copy(&req->r_base_oloc, oloc); in ceph_osdc_call()