Home
last modified time | relevance | path

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

/Linux-v6.6/net/ceph/crush/
Dcrush.c42 return ((struct crush_bucket_straw2 *)b)->item_weights[p]; in crush_get_bucket_item_weight()
76 void crush_destroy_bucket_straw2(struct crush_bucket_straw2 *b) in crush_destroy_bucket_straw2()
99 crush_destroy_bucket_straw2((struct crush_bucket_straw2 *)b); in crush_destroy_bucket()
Dmapper.c305 static __u32 *get_choose_arg_weights(const struct crush_bucket_straw2 *bucket, in get_choose_arg_weights()
317 static __s32 *get_choose_arg_ids(const struct crush_bucket_straw2 *bucket, in get_choose_arg_ids()
326 static int bucket_straw2_choose(const struct crush_bucket_straw2 *bucket, in bucket_straw2_choose()
401 (const struct crush_bucket_straw2 *)in, in crush_bucket_choose()
/Linux-v6.6/include/linux/crush/
Dcrush.h229 struct crush_bucket_straw2 { struct
322 extern void crush_destroy_bucket_straw2(struct crush_bucket_straw2 *b);
/Linux-v6.6/net/ceph/
Dosdmap.c142 struct crush_bucket_straw2 *b) in crush_decode_straw2_bucket()
502 size = sizeof(struct crush_bucket_straw2); in crush_decode()
558 (struct crush_bucket_straw2 *)b); in crush_decode()