Home
last modified time | relevance | path

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

/linux-4.4.14/include/linux/ceph/
Dosdmap.h87 struct ceph_osdmap { struct
140 static inline int ceph_osd_exists(struct ceph_osdmap *map, int osd) in ceph_osd_exists()
146 static inline int ceph_osd_is_up(struct ceph_osdmap *map, int osd) in ceph_osd_is_up()
152 static inline int ceph_osd_is_down(struct ceph_osdmap *map, int osd) in ceph_osd_is_down()
157 static inline bool ceph_osdmap_flag(struct ceph_osdmap *map, int flag) in ceph_osdmap_flag()
163 extern u32 ceph_get_primary_affinity(struct ceph_osdmap *map, int osd);
165 static inline struct ceph_entity_addr *ceph_osd_addr(struct ceph_osdmap *map, in ceph_osd_addr()
195 extern struct ceph_osdmap *ceph_osdmap_decode(void **p, void *end);
196 extern struct ceph_osdmap *osdmap_apply_incremental(void **p, void *end,
197 struct ceph_osdmap *map,
[all …]
Dosd_client.h205 struct ceph_osdmap *osdmap; /* current map */
/linux-4.4.14/net/ceph/
Dosdmap.c497 struct ceph_pg_pool_info *ceph_pg_pool_by_id(struct ceph_osdmap *map, u64 id) in ceph_pg_pool_by_id()
502 const char *ceph_pg_pool_name_by_id(struct ceph_osdmap *map, u64 id) in ceph_pg_pool_name_by_id()
518 int ceph_pg_poolid_by_name(struct ceph_osdmap *map, const char *name) in ceph_pg_poolid_by_name()
620 static int decode_pool_names(void **p, void *end, struct ceph_osdmap *map) in decode_pool_names()
654 void ceph_osdmap_destroy(struct ceph_osdmap *map) in ceph_osdmap_destroy()
691 static int osdmap_set_max_osd(struct ceph_osdmap *map, int max) in osdmap_set_max_osd()
795 static int __decode_pools(void **p, void *end, struct ceph_osdmap *map, in __decode_pools()
834 static int decode_pools(void **p, void *end, struct ceph_osdmap *map) in decode_pools()
839 static int decode_new_pools(void **p, void *end, struct ceph_osdmap *map) in decode_new_pools()
844 static int __decode_pg_temp(void **p, void *end, struct ceph_osdmap *map, in __decode_pg_temp()
[all …]
Ddebugfs.c57 struct ceph_osdmap *map = client->osdc.osdmap; in osdmap_show()
Dosd_client.c1357 static int __calc_request_pg(struct ceph_osdmap *osdmap, in __calc_request_pg()
2078 struct ceph_osdmap *newmap = NULL, *oldmap; in ceph_osdc_handle_map()