Lines Matching refs:mntpt
439 char *mntpt = NULL;
451 mntpt = zfs_strdup(hdl, entry.mnt_mountp);
453 mntpt = zfs_strdup(hdl, mountpoint);
458 if (zfs_unshare_proto(zhp, mntpt, share_all_proto) != 0)
461 if (unmount_one(hdl, mntpt, flags) != 0) {
462 free(mntpt);
467 free(mntpt);
884 char *mntpt;
890 mntpt = zfs_strdup(hdl, mountpoint);
894 free(mntpt); /* don't need the copy anymore */
900 share = zfs_sa_find_share(hdl->libzfs_sharehdl, mntpt);
901 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);