Home
last modified time | relevance | path

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

/linux-4.1.27/include/linux/crush/
Dcrush.h111 struct crush_bucket { struct
130 struct crush_bucket h; argument
135 struct crush_bucket h;
142 struct crush_bucket h; /* note: h.size is _tree_ size, not number of
149 struct crush_bucket h;
155 struct crush_bucket h;
165 struct crush_bucket **buckets;
194 extern int crush_get_bucket_item_weight(const struct crush_bucket *b, int pos);
200 extern void crush_destroy_bucket(struct crush_bucket *b);
/linux-4.1.27/net/ceph/crush/
Dcrush.c30 int crush_get_bucket_item_weight(const struct crush_bucket *b, int p) in crush_get_bucket_item_weight()
91 void crush_destroy_bucket(struct crush_bucket *b) in crush_destroy_bucket()
Dmapper.c69 static int bucket_perm_choose(struct crush_bucket *bucket, in bucket_perm_choose()
337 static int crush_bucket_choose(struct crush_bucket *in, int x, int r) in crush_bucket_choose()
404 struct crush_bucket *bucket, in crush_choose_firstn()
421 struct crush_bucket *in = bucket; in crush_choose_firstn()
582 struct crush_bucket *bucket, in crush_choose_indep()
592 struct crush_bucket *in = bucket; in crush_choose_indep()
/linux-4.1.27/net/ceph/
Dosdmap.c200 struct crush_bucket *b; in crush_decode()