Home
last modified time | relevance | path

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

/linux-6.12.1/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-6.12.1/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()
453 static int crush_choose_firstn(const struct crush_map *map, in crush_choose_firstn()
646 static void crush_choose_indep(const struct crush_map *map, in crush_choose_indep()
851 void crush_init_workspace(const struct crush_map *map, void *v) in crush_init_workspace()
897 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-6.12.1/net/ceph/
Dosdmap.c265 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-6.12.1/include/linux/ceph/
Dosdmap.h196 struct crush_map *crush;