Lines Matching refs:ceph_osdmap
15 void osdmap_info(const struct ceph_osdmap *map, const char *fmt, ...) in osdmap_info()
738 struct ceph_pg_pool_info *ceph_pg_pool_by_id(struct ceph_osdmap *map, u64 id) in DEFINE_RB_FUNCS2()
743 const char *ceph_pg_pool_name_by_id(struct ceph_osdmap *map, u64 id) in ceph_pg_pool_name_by_id()
758 int ceph_pg_poolid_by_name(struct ceph_osdmap *map, const char *name) in ceph_pg_poolid_by_name()
772 u64 ceph_pg_pool_flags(struct ceph_osdmap *map, u64 id) in ceph_pg_pool_flags()
952 static int decode_pool_names(void **p, void *end, struct ceph_osdmap *map) in decode_pool_names()
1123 struct ceph_osdmap *ceph_osdmap_alloc(void) in ceph_osdmap_alloc()
1125 struct ceph_osdmap *map; in ceph_osdmap_alloc()
1143 void ceph_osdmap_destroy(struct ceph_osdmap *map) in ceph_osdmap_destroy()
1197 static int osdmap_set_max_osd(struct ceph_osdmap *map, u32 max) in osdmap_set_max_osd()
1261 static int osdmap_set_crush(struct ceph_osdmap *map, struct crush_map *crush) in osdmap_set_crush()
1339 static int __decode_pools(void **p, void *end, struct ceph_osdmap *map, in __decode_pools()
1378 static int decode_pools(void **p, void *end, struct ceph_osdmap *map) in decode_pools()
1383 static int decode_new_pools(void **p, void *end, struct ceph_osdmap *map) in decode_new_pools()
1459 static int decode_pg_temp(void **p, void *end, struct ceph_osdmap *map) in decode_pg_temp()
1465 static int decode_new_pg_temp(void **p, void *end, struct ceph_osdmap *map) in decode_new_pg_temp()
1492 static int decode_primary_temp(void **p, void *end, struct ceph_osdmap *map) in decode_primary_temp()
1499 struct ceph_osdmap *map) in decode_new_primary_temp()
1505 u32 ceph_get_primary_affinity(struct ceph_osdmap *map, int osd) in ceph_get_primary_affinity()
1515 static int set_primary_affinity(struct ceph_osdmap *map, int osd, u32 aff) in set_primary_affinity()
1539 struct ceph_osdmap *map) in decode_primary_affinity()
1569 struct ceph_osdmap *map) in decode_new_primary_affinity()
1600 static int decode_pg_upmap(void **p, void *end, struct ceph_osdmap *map) in decode_pg_upmap()
1606 static int decode_new_pg_upmap(void **p, void *end, struct ceph_osdmap *map) in decode_new_pg_upmap()
1612 static int decode_old_pg_upmap(void **p, void *end, struct ceph_osdmap *map) in decode_old_pg_upmap()
1644 static int decode_pg_upmap_items(void **p, void *end, struct ceph_osdmap *map) in decode_pg_upmap_items()
1651 struct ceph_osdmap *map) in decode_new_pg_upmap_items()
1658 struct ceph_osdmap *map) in decode_old_pg_upmap_items()
1667 struct ceph_osdmap *map) in osdmap_decode()
1817 struct ceph_osdmap *ceph_osdmap_decode(void **p, void *end, bool msgr2) in ceph_osdmap_decode()
1819 struct ceph_osdmap *map; in ceph_osdmap_decode()
1844 bool msgr2, struct ceph_osdmap *map) in decode_new_up_state_weight()
1965 struct ceph_osdmap *osdmap_apply_incremental(void **p, void *end, bool msgr2, in osdmap_apply_incremental()
1966 struct ceph_osdmap *map) in osdmap_apply_incremental()
2427 int ceph_object_locator_to_pg(struct ceph_osdmap *osdmap, in ceph_object_locator_to_pg()
2490 static int do_crush(struct ceph_osdmap *map, int ruleno, int x, in do_crush()
2515 static void remove_nonexistent_osds(struct ceph_osdmap *osdmap, in remove_nonexistent_osds()
2549 static void pg_to_raw_osds(struct ceph_osdmap *osdmap, in pg_to_raw_osds()
2592 static void apply_upmap(struct ceph_osdmap *osdmap, in apply_upmap()
2659 static void raw_to_up_osds(struct ceph_osdmap *osdmap, in raw_to_up_osds()
2694 static void apply_primary_affinity(struct ceph_osdmap *osdmap, in apply_primary_affinity()
2770 static void get_temp_osds(struct ceph_osdmap *osdmap, in get_temp_osds()
2816 void ceph_pg_to_up_acting_osds(struct ceph_osdmap *osdmap, in ceph_pg_to_up_acting_osds()
2842 bool ceph_pg_to_primary_shard(struct ceph_osdmap *osdmap, in ceph_pg_to_primary_shard()
2875 int ceph_pg_to_acting_primary(struct ceph_osdmap *osdmap, in ceph_pg_to_acting_primary()
3087 int ceph_get_crush_locality(struct ceph_osdmap *osdmap, int id, in ceph_get_crush_locality()