Home
last modified time | relevance | path

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

/Linux-v5.10/include/linux/ceph/
Dosdmap.h170 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);
[all …]
Dosd_client.h347 struct ceph_osdmap *osdmap; /* current map */
/Linux-v5.10/net/ceph/
Dosdmap.c722 struct ceph_pg_pool_info *ceph_pg_pool_by_id(struct ceph_osdmap *map, u64 id) in DEFINE_RB_FUNCS2()
727 const char *ceph_pg_pool_name_by_id(struct ceph_osdmap *map, u64 id) in ceph_pg_pool_name_by_id()
742 int ceph_pg_poolid_by_name(struct ceph_osdmap *map, const char *name) in ceph_pg_poolid_by_name()
756 u64 ceph_pg_pool_flags(struct ceph_osdmap *map, u64 id) in ceph_pg_pool_flags()
936 static int decode_pool_names(void **p, void *end, struct ceph_osdmap *map) in decode_pool_names()
1107 struct ceph_osdmap *ceph_osdmap_alloc(void) in ceph_osdmap_alloc()
1109 struct ceph_osdmap *map; in ceph_osdmap_alloc()
1127 void ceph_osdmap_destroy(struct ceph_osdmap *map) in ceph_osdmap_destroy()
1181 static int osdmap_set_max_osd(struct ceph_osdmap *map, u32 max) in osdmap_set_max_osd()
1245 static int osdmap_set_crush(struct ceph_osdmap *map, struct crush_map *crush) in osdmap_set_crush()
[all …]
Ddebugfs.c59 struct ceph_osdmap *map = osdc->osdmap; in osdmap_show()
Dosd_client.c2634 struct ceph_osdmap *map = osdc->osdmap; in check_pool_dne()
3229 struct ceph_osdmap *map = osdc->osdmap; in check_linger_pool_dne()
3912 struct ceph_osdmap *newmap; in handle_one_map()