Lines Matching refs:ceph_osdmap
157 struct ceph_osdmap { struct
189 static inline bool ceph_osd_exists(struct ceph_osdmap *map, int osd) in ceph_osd_exists() argument
195 static inline bool ceph_osd_is_up(struct ceph_osdmap *map, int osd) in ceph_osd_is_up()
201 static inline bool ceph_osd_is_down(struct ceph_osdmap *map, int osd) in ceph_osd_is_down()
207 extern u32 ceph_get_primary_affinity(struct ceph_osdmap *map, int osd);
209 static inline struct ceph_entity_addr *ceph_osd_addr(struct ceph_osdmap *map, in ceph_osd_addr()
241 struct ceph_osdmap *ceph_osdmap_alloc(void);
242 extern struct ceph_osdmap *ceph_osdmap_decode(void **p, void *end);
243 struct ceph_osdmap *osdmap_apply_incremental(void **p, void *end,
244 struct ceph_osdmap *map);
245 extern void ceph_osdmap_destroy(struct ceph_osdmap *map);
286 int ceph_object_locator_to_pg(struct ceph_osdmap *osdmap,
291 void ceph_pg_to_up_acting_osds(struct ceph_osdmap *osdmap,
296 bool ceph_pg_to_primary_shard(struct ceph_osdmap *osdmap,
300 int ceph_pg_to_acting_primary(struct ceph_osdmap *osdmap,
303 extern struct ceph_pg_pool_info *ceph_pg_pool_by_id(struct ceph_osdmap *map,
306 extern const char *ceph_pg_pool_name_by_id(struct ceph_osdmap *map, u64 id);
307 extern int ceph_pg_poolid_by_name(struct ceph_osdmap *map, const char *name);