Lines Matching +defs:p +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()
82 static int crush_decode_list_bucket(void **p, void *end, in crush_decode_list_bucket()
103 static int crush_decode_tree_bucket(void **p, void *end, in crush_decode_tree_bucket()
120 static int crush_decode_straw_bucket(void **p, void *end, in crush_decode_straw_bucket()
141 static int crush_decode_straw2_bucket(void **p, void *end, in crush_decode_straw2_bucket()
277 static u32 *decode_array_32_alloc(void **p, void *end, u32 *plen) in decode_array_32_alloc()
311 static int decode_choose_arg(void **p, void *end, struct crush_choose_arg *arg) in decode_choose_arg()
350 static int decode_choose_args(void **p, void *end, struct crush_map *c) in decode_choose_args()
436 void **p = &pbyval; in crush_decode() local
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()
788 static int decode_pool(void **p, void *end, struct ceph_pg_pool_info *pi) in decode_pool()
952 static int decode_pool_names(void **p, void *end, struct ceph_osdmap *map) in decode_pool_names()
1125 struct ceph_osdmap *map; in ceph_osdmap_alloc() local
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()
1290 static int get_osdmap_client_data_v(void **p, void *end, in get_osdmap_client_data_v()
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()
1432 static struct ceph_pg_mapping *__decode_pg_temp(void **p, void *end, in __decode_pg_temp()
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()
1471 static struct ceph_pg_mapping *__decode_primary_temp(void **p, void *end, in __decode_primary_temp()
1492 static int decode_primary_temp(void **p, void *end, struct ceph_osdmap *map) in decode_primary_temp()
1498 static int decode_new_primary_temp(void **p, void *end, in decode_new_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()
1538 static int decode_primary_affinity(void **p, void *end, in decode_primary_affinity()
1539 struct ceph_osdmap *map) in decode_primary_affinity()
1568 static int decode_new_primary_affinity(void **p, void *end, in decode_new_primary_affinity()
1569 struct ceph_osdmap *map) in decode_new_primary_affinity()
1594 static struct ceph_pg_mapping *__decode_pg_upmap(void **p, void *end, in __decode_pg_upmap()
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()
1617 static struct ceph_pg_mapping *__decode_pg_upmap_items(void **p, void *end, in __decode_pg_upmap_items()
1644 static int decode_pg_upmap_items(void **p, void *end, struct ceph_osdmap *map) in decode_pg_upmap_items()
1650 static int decode_new_pg_upmap_items(void **p, void *end, in decode_new_pg_upmap_items()
1651 struct ceph_osdmap *map) in decode_new_pg_upmap_items()
1657 static int decode_old_pg_upmap_items(void **p, void *end, in decode_old_pg_upmap_items()
1658 struct ceph_osdmap *map) in decode_old_pg_upmap_items()
1666 static int osdmap_decode(void **p, void *end, bool msgr2, in osdmap_decode()
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() local
1843 static int decode_new_up_state_weight(void **p, void *end, u8 struct_v, in decode_new_up_state_weight()
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()
2490 static int do_crush(struct ceph_osdmap *map, int ruleno, int x, in do_crush()