Home
last modified time | relevance | path

Searched refs:oloc (Results 1 – 5 of 5) sorted by relevance

/linux-4.1.27/fs/ceph/
Dioctl.c185 struct ceph_object_locator oloc; in ceph_ioctl_get_dataloc() local
215 oloc.pool = ceph_file_layout_pg_pool(ci->i_layout); in ceph_ioctl_get_dataloc()
218 r = ceph_oloc_oid_to_pg(osdc->osdmap, &oloc, &oid, &pgid); in ceph_ioctl_get_dataloc()
/linux-4.1.27/include/linux/ceph/
Dosdmap.h208 struct ceph_object_locator *oloc,
Dosd_client.h180 struct ceph_object_locator oloc; member
/linux-4.1.27/net/ceph/
Dosd_client.c1629 struct ceph_object_locator *oloc) in ceph_oloc_decode() argument
1653 oloc->pool = ceph_decode_64(p); in ceph_oloc_decode()
1708 ret = ceph_oloc_decode(p, end, &redir->oloc); in ceph_redirect_decode()
1834 redir.oloc.pool = -1; in handle_reply()
1837 if (redir.oloc.pool != -1) { in handle_reply()
1838 dout("redirect pool %lld\n", redir.oloc.pool); in handle_reply()
1842 req->r_target_oloc = redir.oloc; /* struct */ in handle_reply()
Dosdmap.c1454 struct ceph_object_locator *oloc, in ceph_oloc_oid_to_pg() argument
1460 pi = __lookup_pg_pool(&osdmap->pg_pools, oloc->pool); in ceph_oloc_oid_to_pg()
1464 pg_out->pool = oloc->pool; in ceph_oloc_oid_to_pg()