Home
last modified time | relevance | path

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

/Linux-v5.4/include/linux/ceph/
Dosdmap.h156 struct ceph_osdmap { struct
188 static inline bool ceph_osd_exists(struct ceph_osdmap *map, int osd) in ceph_osd_exists() argument
194 static inline bool ceph_osd_is_up(struct ceph_osdmap *map, int osd) in ceph_osd_is_up()
200 static inline bool ceph_osd_is_down(struct ceph_osdmap *map, int osd) in ceph_osd_is_down()
206 extern u32 ceph_get_primary_affinity(struct ceph_osdmap *map, int osd);
208 static inline struct ceph_entity_addr *ceph_osd_addr(struct ceph_osdmap *map, in ceph_osd_addr()
240 struct ceph_osdmap *ceph_osdmap_alloc(void);
241 extern struct ceph_osdmap *ceph_osdmap_decode(void **p, void *end);
242 struct ceph_osdmap *osdmap_apply_incremental(void **p, void *end,
243 struct ceph_osdmap *map);
[all …]
Dosd_client.h342 struct ceph_osdmap *osdmap; /* current map */
/Linux-v5.4/net/ceph/
Dosdmap.c678 struct ceph_pg_pool_info *ceph_pg_pool_by_id(struct ceph_osdmap *map, u64 id) in ceph_pg_pool_by_id()
683 const char *ceph_pg_pool_name_by_id(struct ceph_osdmap *map, u64 id) in ceph_pg_pool_name_by_id()
699 int ceph_pg_poolid_by_name(struct ceph_osdmap *map, const char *name) in ceph_pg_poolid_by_name()
884 static int decode_pool_names(void **p, void *end, struct ceph_osdmap *map) in decode_pool_names()
918 struct ceph_osdmap *ceph_osdmap_alloc(void) in ceph_osdmap_alloc()
920 struct ceph_osdmap *map; in ceph_osdmap_alloc()
937 void ceph_osdmap_destroy(struct ceph_osdmap *map) in ceph_osdmap_destroy()
989 static int osdmap_set_max_osd(struct ceph_osdmap *map, u32 max) in osdmap_set_max_osd()
1053 static int osdmap_set_crush(struct ceph_osdmap *map, struct crush_map *crush) in osdmap_set_crush()
1135 static int __decode_pools(void **p, void *end, struct ceph_osdmap *map, in __decode_pools()
[all …]
Ddebugfs.c59 struct ceph_osdmap *map = osdc->osdmap; in osdmap_show()
Dosd_client.c2571 struct ceph_osdmap *map = osdc->osdmap; in check_pool_dne()
3168 struct ceph_osdmap *map = osdc->osdmap; in check_linger_pool_dne()
3832 struct ceph_osdmap *newmap; in handle_one_map()