#include <linux/types.h>
Go to the source code of this file.
#define CRUSH_CHOOSE_N_MINUS |
( |
|
x | ) |
(-(x)) |
#define CRUSH_MAGIC 0x00010000ul /* for detecting algorithm revisions */ |
#define CRUSH_MAX_DEPTH 10 /* max crush hierarchy depth */ |
#define crush_rule_size |
( |
|
len | ) |
|
Value:
Definition at line 75 of file crush.h.
- Enumerator:
CRUSH_RULE_NOOP |
|
CRUSH_RULE_TAKE |
|
CRUSH_RULE_CHOOSE_FIRSTN |
|
CRUSH_RULE_CHOOSE_INDEP |
|
CRUSH_RULE_EMIT |
|
CRUSH_RULE_CHOOSE_LEAF_FIRSTN |
|
CRUSH_RULE_CHOOSE_LEAF_INDEP |
|
Definition at line 39 of file crush.h.
- Enumerator:
CRUSH_BUCKET_UNIFORM |
|
CRUSH_BUCKET_LIST |
|
CRUSH_BUCKET_TREE |
|
CRUSH_BUCKET_STRAW |
|
Definition at line 94 of file crush.h.
crush_get_bucket_item_weight - Get weight of an item in given bucket : bucket pointer
: item index in bucket
Definition at line 29 of file crush.c.