Lines Matching refs:ceph_osdmap
15 void osdmap_info(const struct ceph_osdmap *map, const char *fmt, ...) in osdmap_info()
742 struct ceph_pg_pool_info *ceph_pg_pool_by_id(struct ceph_osdmap *map, u64 id) in DEFINE_RB_FUNCS2()
747 const char *ceph_pg_pool_name_by_id(struct ceph_osdmap *map, u64 id) in ceph_pg_pool_name_by_id()
762 int ceph_pg_poolid_by_name(struct ceph_osdmap *map, const char *name) in ceph_pg_poolid_by_name()
776 u64 ceph_pg_pool_flags(struct ceph_osdmap *map, u64 id) in ceph_pg_pool_flags()
944 static int decode_pool_names(void **p, void *end, struct ceph_osdmap *map) in decode_pool_names()
1115 struct ceph_osdmap *ceph_osdmap_alloc(void) in ceph_osdmap_alloc()
1117 struct ceph_osdmap *map; in ceph_osdmap_alloc()
1135 void ceph_osdmap_destroy(struct ceph_osdmap *map) in ceph_osdmap_destroy()
1189 static int osdmap_set_max_osd(struct ceph_osdmap *map, u32 max) in osdmap_set_max_osd()
1253 static int osdmap_set_crush(struct ceph_osdmap *map, struct crush_map *crush) in osdmap_set_crush()
1331 static int __decode_pools(void **p, void *end, struct ceph_osdmap *map, in __decode_pools()
1370 static int decode_pools(void **p, void *end, struct ceph_osdmap *map) in decode_pools()
1375 static int decode_new_pools(void **p, void *end, struct ceph_osdmap *map) in decode_new_pools()
1451 static int decode_pg_temp(void **p, void *end, struct ceph_osdmap *map) in decode_pg_temp()
1457 static int decode_new_pg_temp(void **p, void *end, struct ceph_osdmap *map) in decode_new_pg_temp()
1484 static int decode_primary_temp(void **p, void *end, struct ceph_osdmap *map) in decode_primary_temp()
1491 struct ceph_osdmap *map) in decode_new_primary_temp()
1497 u32 ceph_get_primary_affinity(struct ceph_osdmap *map, int osd) in ceph_get_primary_affinity()
1505 static int set_primary_affinity(struct ceph_osdmap *map, int osd, u32 aff) in set_primary_affinity()
1527 struct ceph_osdmap *map) in decode_primary_affinity()
1557 struct ceph_osdmap *map) in decode_new_primary_affinity()
1590 static int decode_pg_upmap(void **p, void *end, struct ceph_osdmap *map) in decode_pg_upmap()
1596 static int decode_new_pg_upmap(void **p, void *end, struct ceph_osdmap *map) in decode_new_pg_upmap()
1602 static int decode_old_pg_upmap(void **p, void *end, struct ceph_osdmap *map) in decode_old_pg_upmap()
1634 static int decode_pg_upmap_items(void **p, void *end, struct ceph_osdmap *map) in decode_pg_upmap_items()
1641 struct ceph_osdmap *map) in decode_new_pg_upmap_items()
1648 struct ceph_osdmap *map) in decode_old_pg_upmap_items()
1657 struct ceph_osdmap *map) in osdmap_decode()
1807 struct ceph_osdmap *ceph_osdmap_decode(void **p, void *end, bool msgr2) in ceph_osdmap_decode()
1809 struct ceph_osdmap *map; in ceph_osdmap_decode()
1834 bool msgr2, struct ceph_osdmap *map) in decode_new_up_state_weight()
1961 struct ceph_osdmap *osdmap_apply_incremental(void **p, void *end, bool msgr2, in osdmap_apply_incremental()
1962 struct ceph_osdmap *map) in osdmap_apply_incremental()
2425 int ceph_object_locator_to_pg(struct ceph_osdmap *osdmap, in ceph_object_locator_to_pg()
2488 static int do_crush(struct ceph_osdmap *map, int ruleno, int x, in do_crush()
2513 static void remove_nonexistent_osds(struct ceph_osdmap *osdmap, in remove_nonexistent_osds()
2547 static void pg_to_raw_osds(struct ceph_osdmap *osdmap, in pg_to_raw_osds()
2590 static void apply_upmap(struct ceph_osdmap *osdmap, in apply_upmap()
2657 static void raw_to_up_osds(struct ceph_osdmap *osdmap, in raw_to_up_osds()
2692 static void apply_primary_affinity(struct ceph_osdmap *osdmap, in apply_primary_affinity()
2768 static void get_temp_osds(struct ceph_osdmap *osdmap, in get_temp_osds()
2814 void ceph_pg_to_up_acting_osds(struct ceph_osdmap *osdmap, in ceph_pg_to_up_acting_osds()
2840 bool ceph_pg_to_primary_shard(struct ceph_osdmap *osdmap, in ceph_pg_to_primary_shard()
2873 int ceph_pg_to_acting_primary(struct ceph_osdmap *osdmap, in ceph_pg_to_acting_primary()
3085 int ceph_get_crush_locality(struct ceph_osdmap *osdmap, int id, in ceph_get_crush_locality()