Lines Matching refs:ceph_osdmap
679 struct ceph_pg_pool_info *ceph_pg_pool_by_id(struct ceph_osdmap *map, u64 id) in ceph_pg_pool_by_id()
684 const char *ceph_pg_pool_name_by_id(struct ceph_osdmap *map, u64 id) in ceph_pg_pool_name_by_id()
700 int ceph_pg_poolid_by_name(struct ceph_osdmap *map, const char *name) in ceph_pg_poolid_by_name()
885 static int decode_pool_names(void **p, void *end, struct ceph_osdmap *map) in decode_pool_names()
919 struct ceph_osdmap *ceph_osdmap_alloc(void) in ceph_osdmap_alloc()
921 struct ceph_osdmap *map; in ceph_osdmap_alloc()
938 void ceph_osdmap_destroy(struct ceph_osdmap *map) in ceph_osdmap_destroy()
990 static int osdmap_set_max_osd(struct ceph_osdmap *map, int max) in osdmap_set_max_osd()
1037 static int osdmap_set_crush(struct ceph_osdmap *map, struct crush_map *crush) in osdmap_set_crush()
1119 static int __decode_pools(void **p, void *end, struct ceph_osdmap *map, in __decode_pools()
1158 static int decode_pools(void **p, void *end, struct ceph_osdmap *map) in decode_pools()
1163 static int decode_new_pools(void **p, void *end, struct ceph_osdmap *map) in decode_new_pools()
1239 static int decode_pg_temp(void **p, void *end, struct ceph_osdmap *map) in decode_pg_temp()
1245 static int decode_new_pg_temp(void **p, void *end, struct ceph_osdmap *map) in decode_new_pg_temp()
1272 static int decode_primary_temp(void **p, void *end, struct ceph_osdmap *map) in decode_primary_temp()
1279 struct ceph_osdmap *map) in decode_new_primary_temp()
1285 u32 ceph_get_primary_affinity(struct ceph_osdmap *map, int osd) in ceph_get_primary_affinity()
1295 static int set_primary_affinity(struct ceph_osdmap *map, int osd, u32 aff) in set_primary_affinity()
1319 struct ceph_osdmap *map) in decode_primary_affinity()
1349 struct ceph_osdmap *map) in decode_new_primary_affinity()
1380 static int decode_pg_upmap(void **p, void *end, struct ceph_osdmap *map) in decode_pg_upmap()
1386 static int decode_new_pg_upmap(void **p, void *end, struct ceph_osdmap *map) in decode_new_pg_upmap()
1392 static int decode_old_pg_upmap(void **p, void *end, struct ceph_osdmap *map) in decode_old_pg_upmap()
1424 static int decode_pg_upmap_items(void **p, void *end, struct ceph_osdmap *map) in decode_pg_upmap_items()
1431 struct ceph_osdmap *map) in decode_new_pg_upmap_items()
1438 struct ceph_osdmap *map) in decode_old_pg_upmap_items()
1446 static int osdmap_decode(void **p, void *end, struct ceph_osdmap *map) in osdmap_decode()
1589 struct ceph_osdmap *ceph_osdmap_decode(void **p, void *end) in ceph_osdmap_decode()
1591 struct ceph_osdmap *map; in ceph_osdmap_decode()
1616 struct ceph_osdmap *map) in decode_new_up_state_weight()
1721 struct ceph_osdmap *osdmap_apply_incremental(void **p, void *end, in osdmap_apply_incremental()
1722 struct ceph_osdmap *map) in osdmap_apply_incremental()
2183 int ceph_object_locator_to_pg(struct ceph_osdmap *osdmap, in ceph_object_locator_to_pg()
2246 static int do_crush(struct ceph_osdmap *map, int ruleno, int x, in do_crush()
2271 static void remove_nonexistent_osds(struct ceph_osdmap *osdmap, in remove_nonexistent_osds()
2305 static void pg_to_raw_osds(struct ceph_osdmap *osdmap, in pg_to_raw_osds()
2348 static void apply_upmap(struct ceph_osdmap *osdmap, in apply_upmap()
2415 static void raw_to_up_osds(struct ceph_osdmap *osdmap, in raw_to_up_osds()
2450 static void apply_primary_affinity(struct ceph_osdmap *osdmap, in apply_primary_affinity()
2526 static void get_temp_osds(struct ceph_osdmap *osdmap, in get_temp_osds()
2572 void ceph_pg_to_up_acting_osds(struct ceph_osdmap *osdmap, in ceph_pg_to_up_acting_osds()
2598 bool ceph_pg_to_primary_shard(struct ceph_osdmap *osdmap, in ceph_pg_to_primary_shard()
2631 int ceph_pg_to_acting_primary(struct ceph_osdmap *osdmap, in ceph_pg_to_acting_primary()