Home
last modified time | relevance | path

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

/linux-2.6.39/include/linux/crush/
Dmapper.h13 extern int crush_find_rule(struct crush_map *map, int pool, int type, int size);
14 extern int crush_do_rule(struct crush_map *map,
Dcrush.h150 struct crush_map { struct
172 extern void crush_calc_parents(struct crush_map *map); argument
178 extern void crush_destroy(struct crush_map *map);
/linux-2.6.39/net/ceph/crush/
Dcrush.c53 void crush_calc_parents(struct crush_map *map) in crush_calc_parents()
125 void crush_destroy(struct crush_map *map) in crush_destroy()
Dmapper.c35 int crush_find_rule(struct crush_map *map, int ruleset, int type, int size) in crush_find_rule()
265 static int is_out(struct crush_map *map, __u32 *weight, int item, int x) in is_out()
290 static int crush_choose(struct crush_map *map, in crush_choose()
459 int crush_do_rule(struct crush_map *map, in crush_do_rule()
/linux-2.6.39/include/linux/ceph/
Dosdmap.h55 struct crush_map *crush;
/linux-2.6.39/net/ceph/
Dosdmap.c138 static struct crush_map *crush_decode(void *pbyval, void *end) in crush_decode()
140 struct crush_map *c; in crush_decode()
705 struct crush_map *newcrush = NULL; in osdmap_apply_incremental()