Lines Matching defs:zfs_hdl
53 be_mountcheck_cb(zfs_handle_t *zfs_hdl, void *data)
61 if (!zfs_is_mounted(zfs_hdl, &mountpoint))
64 info->name = strdup(zfs_get_name(zfs_hdl));
78 be_mount_iter(zfs_handle_t *zfs_hdl, void *data)
87 if (zfs_is_mounted(zfs_hdl, &mountpoint)) {
100 if (zfs_prop_get_int(zfs_hdl, ZFS_PROP_CANMOUNT) ==
104 if (zfs_prop_get(zfs_hdl, ZFS_PROP_MOUNTPOINT, zfs_mnt,
122 if ((err = zfs_mount_at(zfs_hdl, NULL, info->mntflags, tmp)) != 0) {
144 err = zfs_iter_filesystems(zfs_hdl, be_mount_iter, info);
151 be_umount_iter(zfs_handle_t *zfs_hdl, void *data)
161 if((err = zfs_iter_filesystems(zfs_hdl, be_umount_iter, info)) != 0) {
166 if (!zfs_is_mounted(zfs_hdl, &mountpoint)) {
171 if (zfs_unmount(zfs_hdl, NULL, info->mntflags) != 0) {