Home
last modified time | relevance | path

Searched refs:crush_map (Results 1 – 6 of 6) sorted by relevance

/Linux-v5.10/include/linux/crush/
Dmapper.h14 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);
Dcrush.h239 struct crush_map { struct
325 extern void crush_destroy(struct crush_map *map); argument
357 void clear_choose_args(struct crush_map *c);
/Linux-v5.10/net/ceph/crush/
Dmapper.c42 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()
Dcrush.c108 void crush_destroy(struct crush_map *map) in crush_destroy()
/Linux-v5.10/net/ceph/
Dosdmap.c249 void clear_choose_args(struct crush_map *c) in clear_choose_args()
334 static int decode_choose_args(void **p, void *end, struct crush_map *c) in decode_choose_args()
389 static void crush_finalize(struct crush_map *c) in crush_finalize()
415 static struct crush_map *crush_decode(void *pbyval, void *end) in crush_decode()
417 struct crush_map *c; in crush_decode()
974 static struct crush_work *alloc_workspace(const struct crush_map *c) in alloc_workspace()
1036 const struct crush_map *c) in get_workspace()
1245 static int osdmap_set_crush(struct ceph_osdmap *map, struct crush_map *crush) in osdmap_set_crush()
2997 static int get_immediate_parent(struct crush_map *c, int id, in get_immediate_parent()
/Linux-v5.10/include/linux/ceph/
Dosdmap.h196 struct crush_map *crush;