Lines Matching refs:ceph_osdmap
722 struct ceph_pg_pool_info *ceph_pg_pool_by_id(struct ceph_osdmap *map, u64 id) in DEFINE_RB_FUNCS2()
727 const char *ceph_pg_pool_name_by_id(struct ceph_osdmap *map, u64 id) in ceph_pg_pool_name_by_id()
742 int ceph_pg_poolid_by_name(struct ceph_osdmap *map, const char *name) in ceph_pg_poolid_by_name()
756 u64 ceph_pg_pool_flags(struct ceph_osdmap *map, u64 id) in ceph_pg_pool_flags()
936 static int decode_pool_names(void **p, void *end, struct ceph_osdmap *map) in decode_pool_names()
1107 struct ceph_osdmap *ceph_osdmap_alloc(void) in ceph_osdmap_alloc()
1109 struct ceph_osdmap *map; in ceph_osdmap_alloc()
1127 void ceph_osdmap_destroy(struct ceph_osdmap *map) in ceph_osdmap_destroy()
1181 static int osdmap_set_max_osd(struct ceph_osdmap *map, u32 max) in osdmap_set_max_osd()
1245 static int osdmap_set_crush(struct ceph_osdmap *map, struct crush_map *crush) in osdmap_set_crush()
1323 static int __decode_pools(void **p, void *end, struct ceph_osdmap *map, in __decode_pools()
1362 static int decode_pools(void **p, void *end, struct ceph_osdmap *map) in decode_pools()
1367 static int decode_new_pools(void **p, void *end, struct ceph_osdmap *map) in decode_new_pools()
1443 static int decode_pg_temp(void **p, void *end, struct ceph_osdmap *map) in decode_pg_temp()
1449 static int decode_new_pg_temp(void **p, void *end, struct ceph_osdmap *map) in decode_new_pg_temp()
1476 static int decode_primary_temp(void **p, void *end, struct ceph_osdmap *map) in decode_primary_temp()
1483 struct ceph_osdmap *map) in decode_new_primary_temp()
1489 u32 ceph_get_primary_affinity(struct ceph_osdmap *map, int osd) in ceph_get_primary_affinity()
1499 static int set_primary_affinity(struct ceph_osdmap *map, int osd, u32 aff) in set_primary_affinity()
1523 struct ceph_osdmap *map) in decode_primary_affinity()
1553 struct ceph_osdmap *map) in decode_new_primary_affinity()
1584 static int decode_pg_upmap(void **p, void *end, struct ceph_osdmap *map) in decode_pg_upmap()
1590 static int decode_new_pg_upmap(void **p, void *end, struct ceph_osdmap *map) in decode_new_pg_upmap()
1596 static int decode_old_pg_upmap(void **p, void *end, struct ceph_osdmap *map) in decode_old_pg_upmap()
1628 static int decode_pg_upmap_items(void **p, void *end, struct ceph_osdmap *map) in decode_pg_upmap_items()
1635 struct ceph_osdmap *map) in decode_new_pg_upmap_items()
1642 struct ceph_osdmap *map) in decode_old_pg_upmap_items()
1650 static int osdmap_decode(void **p, void *end, struct ceph_osdmap *map) in osdmap_decode()
1793 struct ceph_osdmap *ceph_osdmap_decode(void **p, void *end) in ceph_osdmap_decode()
1795 struct ceph_osdmap *map; in ceph_osdmap_decode()
1820 struct ceph_osdmap *map) in decode_new_up_state_weight()
1930 struct ceph_osdmap *osdmap_apply_incremental(void **p, void *end, in osdmap_apply_incremental()
1931 struct ceph_osdmap *map) in osdmap_apply_incremental()
2392 int ceph_object_locator_to_pg(struct ceph_osdmap *osdmap, in ceph_object_locator_to_pg()
2455 static int do_crush(struct ceph_osdmap *map, int ruleno, int x, in do_crush()
2480 static void remove_nonexistent_osds(struct ceph_osdmap *osdmap, in remove_nonexistent_osds()
2514 static void pg_to_raw_osds(struct ceph_osdmap *osdmap, in pg_to_raw_osds()
2557 static void apply_upmap(struct ceph_osdmap *osdmap, in apply_upmap()
2624 static void raw_to_up_osds(struct ceph_osdmap *osdmap, in raw_to_up_osds()
2659 static void apply_primary_affinity(struct ceph_osdmap *osdmap, in apply_primary_affinity()
2735 static void get_temp_osds(struct ceph_osdmap *osdmap, in get_temp_osds()
2781 void ceph_pg_to_up_acting_osds(struct ceph_osdmap *osdmap, in ceph_pg_to_up_acting_osds()
2807 bool ceph_pg_to_primary_shard(struct ceph_osdmap *osdmap, in ceph_pg_to_primary_shard()
2840 int ceph_pg_to_acting_primary(struct ceph_osdmap *osdmap, in ceph_pg_to_acting_primary()
3052 int ceph_get_crush_locality(struct ceph_osdmap *osdmap, int id, in ceph_get_crush_locality()