~ubuntu-branches/ubuntu/raring/ceph/raring

« back to all changes in this revision

Viewing changes to src/crush/crush.c

  • Committer: Package Import Robot
  • Author(s): Laszlo Boszormenyi (GCS)
  • Date: 2012-02-05 10:07:38 UTC
  • mfrom: (1.1.7) (0.1.11 sid)
  • Revision ID: package-import@ubuntu.com-20120205100738-00s0bxx93mamy8tk
Tags: 0.41-1
New upstream release.

Show diffs side-by-side

added added

removed removed

Lines of Context:
23
23
 
24
24
/**
25
25
 * crush_get_bucket_item_weight - Get weight of an item in given bucket
26
 
 * @b: bucket pointer
27
 
 * @p: item index in bucket
 
26
 * @param b bucket pointer
 
27
 * @param p item index in bucket
28
28
 */
29
29
int crush_get_bucket_item_weight(const struct crush_bucket *b, int p)
30
30
{
46
46
 
47
47
/**
48
48
 * crush_calc_parents - Calculate parent vectors for the given crush map.
49
 
 * @map: crush_map pointer
 
49
 * @param map crush_map pointer
50
50
 */
51
51
void crush_calc_parents(struct crush_map *map)
52
52
{
121
121
 
122
122
/**
123
123
 * crush_destroy - Destroy a crush_map
124
 
 * @map: crush_map pointer
 
124
 * @param map crush_map pointer
125
125
 */
126
126
void crush_destroy(struct crush_map *map)
127
127
{