Lines Matching refs:ceph_osdmap

497 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()
895 static int decode_pg_temp(void **p, void *end, struct ceph_osdmap *map) in decode_pg_temp()
900 static int decode_new_pg_temp(void **p, void *end, struct ceph_osdmap *map) in decode_new_pg_temp()
905 static int __decode_primary_temp(void **p, void *end, struct ceph_osdmap *map, in __decode_primary_temp()
949 static int decode_primary_temp(void **p, void *end, struct ceph_osdmap *map) in decode_primary_temp()
955 struct ceph_osdmap *map) in decode_new_primary_temp()
960 u32 ceph_get_primary_affinity(struct ceph_osdmap *map, int osd) in ceph_get_primary_affinity()
970 static int set_primary_affinity(struct ceph_osdmap *map, int osd, u32 aff) in set_primary_affinity()
993 struct ceph_osdmap *map) in decode_primary_affinity()
1023 struct ceph_osdmap *map) in decode_new_primary_affinity()
1051 static int osdmap_decode(void **p, void *end, struct ceph_osdmap *map) in osdmap_decode()
1172 struct ceph_osdmap *ceph_osdmap_decode(void **p, void *end) in ceph_osdmap_decode()
1174 struct ceph_osdmap *map; in ceph_osdmap_decode()
1197 struct ceph_osdmap *osdmap_apply_incremental(void **p, void *end, in osdmap_apply_incremental()
1198 struct ceph_osdmap *map, in osdmap_apply_incremental()
1453 int ceph_oloc_oid_to_pg(struct ceph_osdmap *osdmap, in ceph_oloc_oid_to_pg()
1474 static int do_crush(struct ceph_osdmap *map, int ruleno, int x, in do_crush()
1495 static int pg_to_raw_osds(struct ceph_osdmap *osdmap, in pg_to_raw_osds()
1531 static int raw_to_up_osds(struct ceph_osdmap *osdmap, in raw_to_up_osds()
1566 static void apply_primary_affinity(struct ceph_osdmap *osdmap, u32 pps, in apply_primary_affinity()
1639 static int apply_temps(struct ceph_osdmap *osdmap, in apply_temps()
1696 int ceph_calc_pg_acting(struct ceph_osdmap *osdmap, struct ceph_pg pgid, in ceph_calc_pg_acting()
1745 int ceph_calc_pg_primary(struct ceph_osdmap *osdmap, struct ceph_pg pgid) in ceph_calc_pg_primary()