Lines Matching refs:mntpt
384 char *mntpt = NULL;
396 mntpt = zfs_strdup(hdl, entry.mnt_mountp);
398 mntpt = zfs_strdup(hdl, mountpoint);
403 if (zfs_unshare_proto(zhp, mntpt, share_all_proto) != 0)
406 if (unmount_one(hdl, mntpt, flags) != 0) {
407 free(mntpt);
412 free(mntpt);
866 char *mntpt;
872 mntpt = zfs_strdup(hdl, mountpoint);
876 free(mntpt); /* don't need the copy anymore */
882 share = zfs_sa_find_share(hdl->libzfs_sharehdl, mntpt);
883 free(mntpt); /* don't need the copy anymore */
927 char *mntpt = NULL;
932 mountpoint = mntpt = zfs_strdup(hdl, mountpoint);
939 mntpt = zfs_strdup(zhp->zfs_hdl, entry.mnt_mountp);
944 if (is_shared(hdl, mntpt, *curr_proto) &&
946 mntpt, *curr_proto) != 0) {
947 if (mntpt != NULL)
948 free(mntpt);
953 if (mntpt != NULL)
954 free(mntpt);