Lines Matching +defs:end +defs:map
15 void osdmap_info(const struct ceph_osdmap *map, const char *fmt, ...) in osdmap_info()
71 static int crush_decode_uniform_bucket(void **p, void *end, in crush_decode_uniform_bucket()
81 static int crush_decode_list_bucket(void **p, void *end, in crush_decode_list_bucket()
102 static int crush_decode_tree_bucket(void **p, void *end, in crush_decode_tree_bucket()
119 static int crush_decode_straw_bucket(void **p, void *end, in crush_decode_straw_bucket()
140 static int crush_decode_straw2_bucket(void **p, void *end, in crush_decode_straw2_bucket()
280 static u32 *decode_array_32_alloc(void **p, void *end, u32 *plen) in decode_array_32_alloc()
314 static int decode_choose_arg(void **p, void *end, struct crush_choose_arg *arg) in decode_choose_arg()
352 static int decode_choose_args(void **p, void *end, struct crush_map *c) in decode_choose_args()
437 static struct crush_map *crush_decode(void *pbyval, void *end) in crush_decode()
753 const char *ceph_pg_pool_name_by_id(struct ceph_osdmap *map, u64 id) in ceph_pg_pool_name_by_id()
768 int ceph_pg_poolid_by_name(struct ceph_osdmap *map, const char *name) in ceph_pg_poolid_by_name()
782 u64 ceph_pg_pool_flags(struct ceph_osdmap *map, u64 id) in ceph_pg_pool_flags()
798 static int decode_pool(void **p, void *end, struct ceph_pg_pool_info *pi) in decode_pool()
950 static int decode_pool_names(void **p, void *end, struct ceph_osdmap *map) in decode_pool_names()
1123 struct ceph_osdmap *map; in ceph_osdmap_alloc() local
1141 void ceph_osdmap_destroy(struct ceph_osdmap *map) in ceph_osdmap_destroy()
1195 static int osdmap_set_max_osd(struct ceph_osdmap *map, u32 max) in osdmap_set_max_osd()
1259 static int osdmap_set_crush(struct ceph_osdmap *map, struct crush_map *crush) in osdmap_set_crush()
1288 static int get_osdmap_client_data_v(void **p, void *end, in get_osdmap_client_data_v()
1337 static int __decode_pools(void **p, void *end, struct ceph_osdmap *map, in __decode_pools()
1376 static int decode_pools(void **p, void *end, struct ceph_osdmap *map) in decode_pools()
1381 static int decode_new_pools(void **p, void *end, struct ceph_osdmap *map) in decode_new_pools()
1388 static int decode_pg_mapping(void **p, void *end, struct rb_root *mapping_root, in decode_pg_mapping()
1430 static struct ceph_pg_mapping *__decode_pg_temp(void **p, void *end, in __decode_pg_temp()
1457 static int decode_pg_temp(void **p, void *end, struct ceph_osdmap *map) in decode_pg_temp()
1463 static int decode_new_pg_temp(void **p, void *end, struct ceph_osdmap *map) in decode_new_pg_temp()
1469 static struct ceph_pg_mapping *__decode_primary_temp(void **p, void *end, in __decode_primary_temp()
1490 static int decode_primary_temp(void **p, void *end, struct ceph_osdmap *map) in decode_primary_temp()
1496 static int decode_new_primary_temp(void **p, void *end, in decode_new_primary_temp()
1497 struct ceph_osdmap *map) in decode_new_primary_temp()
1503 u32 ceph_get_primary_affinity(struct ceph_osdmap *map, int osd) in ceph_get_primary_affinity()
1511 static int set_primary_affinity(struct ceph_osdmap *map, int osd, u32 aff) in set_primary_affinity()
1532 static int decode_primary_affinity(void **p, void *end, in decode_primary_affinity()
1533 struct ceph_osdmap *map) in decode_primary_affinity()
1562 static int decode_new_primary_affinity(void **p, void *end, in decode_new_primary_affinity()
1563 struct ceph_osdmap *map) in decode_new_primary_affinity()
1590 static struct ceph_pg_mapping *__decode_pg_upmap(void **p, void *end, in __decode_pg_upmap()
1596 static int decode_pg_upmap(void **p, void *end, struct ceph_osdmap *map) in decode_pg_upmap()
1602 static int decode_new_pg_upmap(void **p, void *end, struct ceph_osdmap *map) in decode_new_pg_upmap()
1608 static int decode_old_pg_upmap(void **p, void *end, struct ceph_osdmap *map) in decode_old_pg_upmap()
1613 static struct ceph_pg_mapping *__decode_pg_upmap_items(void **p, void *end, in __decode_pg_upmap_items()
1640 static int decode_pg_upmap_items(void **p, void *end, struct ceph_osdmap *map) in decode_pg_upmap_items()
1646 static int decode_new_pg_upmap_items(void **p, void *end, in decode_new_pg_upmap_items()
1647 struct ceph_osdmap *map) in decode_new_pg_upmap_items()
1653 static int decode_old_pg_upmap_items(void **p, void *end, in decode_old_pg_upmap_items()
1654 struct ceph_osdmap *map) in decode_old_pg_upmap_items()
1662 static int osdmap_decode(void **p, void *end, bool msgr2, in osdmap_decode()
1663 struct ceph_osdmap *map) in osdmap_decode()
1813 struct ceph_osdmap *ceph_osdmap_decode(void **p, void *end, bool msgr2) in ceph_osdmap_decode()
1815 struct ceph_osdmap *map; in ceph_osdmap_decode() local
1839 static int decode_new_up_state_weight(void **p, void *end, u8 struct_v, in decode_new_up_state_weight()
1840 bool msgr2, struct ceph_osdmap *map) in decode_new_up_state_weight()
1967 struct ceph_osdmap *osdmap_apply_incremental(void **p, void *end, bool msgr2, in osdmap_apply_incremental()
1968 struct ceph_osdmap *map) in osdmap_apply_incremental()
2494 static int do_crush(struct ceph_osdmap *map, int ruleno, int x, in do_crush()