#include <sys/zfs_context.h>
Go to the source code of this file.
Defines |
#define | ZVOL_OBJ 1ULL |
#define | ZVOL_ZAP_OBJ 2ULL |
Functions |
int | zvol_check_volsize (uint64_t volsize, uint64_t blocksize) |
int | zvol_check_volblocksize (uint64_t volblocksize) |
int | zvol_get_stats (objset_t *os, nvlist_t *nv) |
void | zvol_create_cb (objset_t *os, void *arg, cred_t *cr, dmu_tx_t *tx) |
int | zvol_create_minor (const char *) |
| Create a minor node (plus a whole lot more) for the specified volume.
|
int | zvol_remove_minor (const char *) |
void | zvol_remove_minors (const char *) |
int | zvol_set_volsize (const char *, major_t, uint64_t) |
int | zvol_ioctl (dev_t dev, int cmd, intptr_t arg, int flag, cred_t *cr, int *rvalp) |
int | zvol_busy (void) |
void | zvol_init (void) |
void | zvol_fini (void) |
Define Documentation
#define ZVOL_ZAP_OBJ 2ULL |
Function Documentation
int zvol_check_volblocksize |
( |
uint64_t |
volblocksize | ) |
|
int zvol_check_volsize |
( |
uint64_t |
volsize, |
|
|
uint64_t |
blocksize |
|
) |
| |
int zvol_create_minor |
( |
const char * |
| ) |
|
Create a minor node (plus a whole lot more) for the specified volume.
Definition at line 473 of file zvol.c.
int zvol_get_stats |
( |
objset_t * |
os, |
|
|
nvlist_t * |
nv |
|
) |
| |
int zvol_ioctl |
( |
dev_t |
dev, |
|
|
int |
cmd, |
|
|
intptr_t |
arg, |
|
|
int |
flag, |
|
|
cred_t * |
cr, |
|
|
int * |
rvalp |
|
) |
| |
int zvol_remove_minor |
( |
const char * |
| ) |
|
void zvol_remove_minors |
( |
const char * |
| ) |
|
int zvol_set_volsize |
( |
const char * |
, |
|
|
major_t |
, |
|
|
uint64_t |
|
|
) |
| |