zfsmount
struct zfsmount zmount;
struct zfsmount *mount = dev->d_opendata;
const spa_t *spa = ((struct zfsmount *)dev->d_opendata)->spa;
struct zfsmount *mount;
STAILQ_FOREACH(mount, &zfsmount, next) {
struct zfsmount *mnt, *mount;
STAILQ_FOREACH(mount, &zfsmount, next) {
const spa_t *spa = ((struct zfsmount *)dev->d_opendata)->spa;
const spa_t *spa = ((struct zfsmount *)dev->d_opendata)->spa;
struct zfsmount *mnt = NULL;
STAILQ_INSERT_TAIL(&zfsmount, mnt, next);
struct zfsmount *mnt = data;
STAILQ_REMOVE(&zfsmount, mnt, zfsmount, next);
zfs_mount_impl(const spa_t *spa, uint64_t rootobj, struct zfsmount *mount)
zfs_lookup(const struct zfsmount *mount, const char *upath, dnode_phys_t *dnode)
STAILQ_ENTRY(zfsmount) next;
typedef STAILQ_HEAD(zfs_mnt_list, zfsmount) zfs_mnt_list_t;
static zfs_mnt_list_t zfsmount = STAILQ_HEAD_INITIALIZER(zfsmount);
struct zfsmount zfsmnt;