#include <sys/zfs_context.h>
Go to the source code of this file.
Defines |
#define | UNIQUE_BITS 56 |
| The number of significant bits in each unique value.
|
Functions |
void | unique_init (void) |
void | unique_fini (void) |
uint64_t | unique_create (void) |
| Return a new unique value (which will not be uniquified against until it is unique_insert()-ed).
|
uint64_t | unique_insert (uint64_t value) |
| Return a unique value, which equals the one passed in if possible.
|
void | unique_remove (uint64_t value) |
| Indicate that this value no longer needs to be uniquified against.
|
Define Documentation
The number of significant bits in each unique value.
Definition at line 38 of file unique.h.
Function Documentation
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.