Searched refs:crush_map (Results 1 – 6 of 6) sorted by relevance
/Linux-v6.6/include/linux/crush/ |
D | mapper.h | 14 extern int crush_find_rule(const struct crush_map *map, int ruleset, int type, int size); 15 int crush_do_rule(const struct crush_map *map, 26 static inline size_t crush_work_size(const struct crush_map *map, in crush_work_size() 32 void crush_init_workspace(const struct crush_map *map, void *v);
|
D | crush.h | 239 struct crush_map { struct 325 extern void crush_destroy(struct crush_map *map); argument 357 void clear_choose_args(struct crush_map *c);
|
/Linux-v6.6/net/ceph/crush/ |
D | mapper.c | 42 int crush_find_rule(const struct crush_map *map, int ruleset, int type, int size) in crush_find_rule() 413 static int is_out(const struct crush_map *map, in is_out() 449 static int crush_choose_firstn(const struct crush_map *map, in crush_choose_firstn() 643 static void crush_choose_indep(const struct crush_map *map, in crush_choose_indep() 848 void crush_init_workspace(const struct crush_map *map, void *v) in crush_init_workspace() 894 int crush_do_rule(const struct crush_map *map, in crush_do_rule()
|
D | crush.c | 108 void crush_destroy(struct crush_map *map) in crush_destroy()
|
/Linux-v6.6/net/ceph/ |
D | osdmap.c | 265 void clear_choose_args(struct crush_map *c) in clear_choose_args() 350 static int decode_choose_args(void **p, void *end, struct crush_map *c) in decode_choose_args() 405 static void crush_finalize(struct crush_map *c) in crush_finalize() 431 static struct crush_map *crush_decode(void *pbyval, void *end) in crush_decode() 433 struct crush_map *c; in crush_decode() 990 static struct crush_work *alloc_workspace(const struct crush_map *c) in alloc_workspace() 1052 const struct crush_map *c) in get_workspace() 1261 static int osdmap_set_crush(struct ceph_osdmap *map, struct crush_map *crush) in osdmap_set_crush() 3032 static int get_immediate_parent(struct crush_map *c, int id, in get_immediate_parent()
|
/Linux-v6.6/include/linux/ceph/ |
D | osdmap.h | 196 struct crush_map *crush;
|