Lines Matching refs:ceph_osdmap
36 struct ceph_osdmap { struct
87 static inline int ceph_osd_is_up(struct ceph_osdmap *map, int osd) in ceph_osd_is_up()
92 static inline bool ceph_osdmap_flag(struct ceph_osdmap *map, int flag) in ceph_osdmap_flag()
99 static inline struct ceph_entity_addr *ceph_osd_addr(struct ceph_osdmap *map, in ceph_osd_addr()
107 extern struct ceph_osdmap *osdmap_decode(void **p, void *end);
108 extern struct ceph_osdmap *osdmap_apply_incremental(void **p, void *end,
109 struct ceph_osdmap *map,
111 extern void ceph_osdmap_destroy(struct ceph_osdmap *map);
122 struct ceph_osdmap *osdmap);
123 extern int ceph_calc_pg_acting(struct ceph_osdmap *osdmap, struct ceph_pg pgid,
125 extern int ceph_calc_pg_primary(struct ceph_osdmap *osdmap,
128 extern int ceph_pg_poolid_by_name(struct ceph_osdmap *map, const char *name);