Changeset View
Changeset View
Standalone View
Standalone View
stand/libsa/zfs/libzfs.h
Show First 20 Lines • Show All 42 Lines • ▼ Show 20 Lines | |||||
* ZFS fully-qualified device descriptor. | * ZFS fully-qualified device descriptor. | ||||
*/ | */ | ||||
struct zfs_devdesc { | struct zfs_devdesc { | ||||
struct devdesc dd; /* Must be first. */ | struct devdesc dd; /* Must be first. */ | ||||
uint64_t pool_guid; | uint64_t pool_guid; | ||||
uint64_t root_guid; | uint64_t root_guid; | ||||
}; | }; | ||||
int zfs_parsedev(struct zfs_devdesc *dev, const char *devspec, | int zfs_parsedev(struct devdesc **dev, const char *devspec, | ||||
const char **path); | const char **path); | ||||
char *zfs_fmtdev(struct devdesc *); | char *zfs_fmtdev(struct devdesc *); | ||||
int zfs_probe_dev(const char *devname, uint64_t *pool_guid); | int zfs_probe_dev(const char *devname, uint64_t *pool_guid); | ||||
int zfs_list(const char *name); | int zfs_list(const char *name); | ||||
int zfs_get_bootonce(void *, const char *, char *, size_t); | int zfs_get_bootonce(void *, const char *, char *, size_t); | ||||
int zfs_get_bootenv(void *, nvlist_t **); | int zfs_get_bootenv(void *, nvlist_t **); | ||||
int zfs_set_bootenv(void *, nvlist_t *); | int zfs_set_bootenv(void *, nvlist_t *); | ||||
int zfs_attach_nvstore(void *); | int zfs_attach_nvstore(void *); | ||||
Show All 14 Lines |