#include <sys/zfs_context.h>
#include <sys/avl.h>
#include <sys/unique.h>
Go to the source code of this file.
Define Documentation
#define UNIQUE_MASK ((1ULL << UNIQUE_BITS) - 1) |
Typedef Documentation
Function Documentation
static int unique_compare |
( |
const void * |
a, |
|
|
const void * |
b |
|
) |
| [static] |
uint64_t unique_create |
( |
void |
| ) |
|
Return a new unique value (which will not be uniquified against until it is unique_insert()-ed).
Definition at line 71 of file unique.c.
void unique_fini |
( |
void |
| ) |
|
void unique_init |
( |
void |
| ) |
|
uint64_t unique_insert |
( |
uint64_t |
value | ) |
|
Return a unique value, which equals the one passed in if possible.
Definition at line 79 of file unique.c.
void unique_remove |
( |
uint64_t |
value | ) |
|
Indicate that this value no longer needs to be uniquified against.
Definition at line 103 of file unique.c.
Variable Documentation