Home
last modified time | relevance | path

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

/linux-2.6.39/include/linux/crush/
Dcrush.h102 struct crush_bucket { struct
121 struct crush_bucket h; argument
126 struct crush_bucket h;
133 struct crush_bucket h; /* note: h.size is _tree_ size, not number of
140 struct crush_bucket h;
151 struct crush_bucket **buckets;
171 extern int crush_get_bucket_item_weight(struct crush_bucket *b, int pos);
177 extern void crush_destroy_bucket(struct crush_bucket *b);
/linux-2.6.39/net/ceph/crush/
Dcrush.c29 int crush_get_bucket_item_weight(struct crush_bucket *b, int p) in crush_get_bucket_item_weight()
103 void crush_destroy_bucket(struct crush_bucket *b) in crush_destroy_bucket()
Dmapper.c68 static int bucket_perm_choose(struct crush_bucket *bucket, in bucket_perm_choose()
239 static int crush_bucket_choose(struct crush_bucket *in, int x, int r) in crush_bucket_choose()
291 struct crush_bucket *bucket, in crush_choose()
301 struct crush_bucket *in = bucket; in crush_choose()
/linux-2.6.39/net/ceph/
Dosdmap.c182 struct crush_bucket *b; in crush_decode()