Searched refs:item_weights (Results 1 - 4 of 4) sorted by path
/linux-master/include/linux/crush/ |
H A D | crush.h | 146 * item_weights array. 211 __u32 *item_weights; /* 16-bit fixed point */ member in struct:crush_bucket_list 225 __u32 *item_weights; /* 16-bit fixed point */ member in struct:crush_bucket_straw 231 __u32 *item_weights; /* 16-bit fixed point */ member in struct:crush_bucket_straw2
|
/linux-master/net/ceph/crush/ |
H A D | crush.c | 36 return ((struct crush_bucket_list *)b)->item_weights[p]; 40 return ((struct crush_bucket_straw *)b)->item_weights[p]; 42 return ((struct crush_bucket_straw2 *)b)->item_weights[p]; 55 kfree(b->item_weights); 71 kfree(b->item_weights); 78 kfree(b->item_weights);
|
H A D | mapper.c | 153 i, x, r, bucket->h.items[i], bucket->item_weights[i], 158 if (w < bucket->item_weights[i]) { 310 return bucket->item_weights;
|
/linux-master/net/ceph/ |
H A D | osdmap.c | 87 b->item_weights = kcalloc(b->h.size, sizeof(u32), GFP_NOFS); 88 if (b->item_weights == NULL) 95 b->item_weights[j] = ceph_decode_32(p); 125 b->item_weights = kcalloc(b->h.size, sizeof(u32), GFP_NOFS); 126 if (b->item_weights == NULL) 133 b->item_weights[j] = ceph_decode_32(p); 146 b->item_weights = kcalloc(b->h.size, sizeof(u32), GFP_NOFS); 147 if (b->item_weights == NULL) 151 b->item_weights[j] = ceph_decode_32(p);
|
Completed in 187 milliseconds