Changeset View
Changeset View
Standalone View
Standalone View
stand/zfs/libzfs.h
Show All 34 Lines | |||||
* ZFS fully-qualified device descriptor. | * ZFS fully-qualified device descriptor. | ||||
* Note, this must match the 'struct devdesc' declaration in bootstrap.h. | * Note, this must match the 'struct devdesc' declaration in bootstrap.h. | ||||
* Arch-specific device descriptors should be binary compatible with this | * Arch-specific device descriptors should be binary compatible with this | ||||
* structure if they are to support ZFS. | * structure if they are to support ZFS. | ||||
*/ | */ | ||||
struct zfs_devdesc | struct zfs_devdesc | ||||
{ | { | ||||
struct devsw *d_dev; | struct devsw *d_dev; | ||||
int d_type; | |||||
int d_unit; | int d_unit; | ||||
void *d_opendata; | void *d_opendata; | ||||
uint64_t pool_guid; | uint64_t pool_guid; | ||||
uint64_t root_guid; | uint64_t root_guid; | ||||
}; | }; | ||||
#ifdef LOADER_GELI_SUPPORT | #ifdef LOADER_GELI_SUPPORT | ||||
#include <crypto/intake.h> | #include <crypto/intake.h> | ||||
▲ Show 20 Lines • Show All 42 Lines • Show Last 20 Lines |