Home
last modified time | relevance | path

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

/linux-4.19.296/include/linux/ceph/
Dosdmap.h289 int ceph_object_locator_to_pg(struct ceph_osdmap *osdmap,
294 void ceph_pg_to_up_acting_osds(struct ceph_osdmap *osdmap,
299 bool ceph_pg_to_primary_shard(struct ceph_osdmap *osdmap,
303 int ceph_pg_to_acting_primary(struct ceph_osdmap *osdmap,
Dosd_client.h335 struct ceph_osdmap *osdmap; /* current map */ member
369 return osdc->osdmap->flags & flag; in ceph_osdmap_flag()
/linux-4.19.296/fs/ceph/
Dioctl.c215 r = ceph_object_locator_to_pg(osdc->osdmap, &oid, &oloc, &pgid); in ceph_ioctl_get_dataloc()
223 dl.osd = ceph_pg_to_acting_primary(osdc->osdmap, &pgid); in ceph_ioctl_get_dataloc()
226 ceph_osd_addr(osdc->osdmap, dl.osd); in ceph_ioctl_get_dataloc()
Dxattr.c88 pool_name = ceph_pg_pool_name_by_id(osdc->osdmap, pool); in ceph_vxattrcb_layout()
156 pool_name = ceph_pg_pool_name_by_id(osdc->osdmap, pool); in ceph_vxattrcb_layout_pool()
Dfile.c1452 map_flags = osdc->osdmap->flags; in ceph_write_iter()
1453 pool_flags = ceph_pg_pool_flags(osdc->osdmap, ci->i_layout.pool_id); in ceph_write_iter()