Lines Matching refs:ceph_osdmap
170 struct ceph_osdmap { struct
201 static inline bool ceph_osd_exists(struct ceph_osdmap *map, int osd) in ceph_osd_exists() argument
207 static inline bool ceph_osd_is_up(struct ceph_osdmap *map, int osd) in ceph_osd_is_up()
213 static inline bool ceph_osd_is_down(struct ceph_osdmap *map, int osd) in ceph_osd_is_down()
219 extern u32 ceph_get_primary_affinity(struct ceph_osdmap *map, int osd);
221 static inline struct ceph_entity_addr *ceph_osd_addr(struct ceph_osdmap *map, in ceph_osd_addr()
253 struct ceph_osdmap *ceph_osdmap_alloc(void);
254 extern struct ceph_osdmap *ceph_osdmap_decode(void **p, void *end);
255 struct ceph_osdmap *osdmap_apply_incremental(void **p, void *end,
256 struct ceph_osdmap *map);
257 extern void ceph_osdmap_destroy(struct ceph_osdmap *map);
298 int ceph_object_locator_to_pg(struct ceph_osdmap *osdmap,
303 void ceph_pg_to_up_acting_osds(struct ceph_osdmap *osdmap,
308 bool ceph_pg_to_primary_shard(struct ceph_osdmap *osdmap,
312 int ceph_pg_to_acting_primary(struct ceph_osdmap *osdmap,
330 int ceph_get_crush_locality(struct ceph_osdmap *osdmap, int id,
333 extern struct ceph_pg_pool_info *ceph_pg_pool_by_id(struct ceph_osdmap *map,
335 extern const char *ceph_pg_pool_name_by_id(struct ceph_osdmap *map, u64 id);
336 extern int ceph_pg_poolid_by_name(struct ceph_osdmap *map, const char *name);
337 u64 ceph_pg_pool_flags(struct ceph_osdmap *map, u64 id);