Home
last modified time | relevance | path

Searched refs:crush_bucket (Results 1 – 4 of 4) sorted by relevance

/linux-4.4.14/include/linux/crush/
Dcrush.h128 struct crush_bucket { struct
147 struct crush_bucket h; argument
152 struct crush_bucket h;
159 struct crush_bucket h; /* note: h.size is _tree_ size, not number of
166 struct crush_bucket h;
172 struct crush_bucket h;
182 struct crush_bucket **buckets;
230 extern int crush_get_bucket_item_weight(const struct crush_bucket *b, int pos);
236 extern void crush_destroy_bucket(struct crush_bucket *b);
/linux-4.4.14/net/ceph/crush/
Dcrush.c26 int crush_get_bucket_item_weight(const struct crush_bucket *b, int p) in crush_get_bucket_item_weight()
87 void crush_destroy_bucket(struct crush_bucket *b) in crush_destroy_bucket()
Dmapper.c73 static int bucket_perm_choose(struct crush_bucket *bucket, in bucket_perm_choose()
344 static int crush_bucket_choose(struct crush_bucket *in, int x, int r) in crush_bucket_choose()
411 struct crush_bucket *bucket, in crush_choose_firstn()
428 struct crush_bucket *in = bucket; in crush_choose_firstn()
593 struct crush_bucket *bucket, in crush_choose_indep()
603 struct crush_bucket *in = bucket; in crush_choose_indep()
/linux-4.4.14/net/ceph/
Dosdmap.c200 struct crush_bucket *b; in crush_decode()