Home
last modified time | relevance | path

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

/Linux-v4.19/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
319 extern void crush_destroy(struct crush_map *map); argument
/Linux-v4.19/net/ceph/crush/
Dcrush.c5 void clear_choose_args(struct crush_map *c);
109 void crush_destroy(struct crush_map *map) in crush_destroy()
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()
/Linux-v4.19/include/linux/ceph/
Dosdmap.h183 struct crush_map *crush;
/Linux-v4.19/net/ceph/
Dosdmap.c176 void clear_choose_args(struct crush_map *c) in clear_choose_args()
261 static int decode_choose_args(void **p, void *end, struct crush_map *c) in decode_choose_args()
316 static void crush_finalize(struct crush_map *c) in crush_finalize()
342 static struct crush_map *crush_decode(void *pbyval, void *end) in crush_decode()
344 struct crush_map *c; in crush_decode()
1037 static int osdmap_set_crush(struct ceph_osdmap *map, struct crush_map *crush) in osdmap_set_crush()