Lines Matching defs:mntpt
374 char *mntpt = NULL;
386 mntpt = zfs_strdup(hdl, entry.mnt_mountp);
388 mntpt = zfs_strdup(hdl, mountpoint);
393 if (zfs_unshare_proto(zhp, mntpt, share_all_proto) != 0)
396 if (unmount_one(hdl, mntpt, flags) != 0) {
397 free(mntpt);
402 free(mntpt);
824 char *mntpt;
830 mntpt = zfs_strdup(hdl, mountpoint);
834 free(mntpt); /* don't need the copy anymore */
840 share = zfs_sa_find_share(hdl->libzfs_sharehdl, mntpt);
841 free(mntpt); /* don't need the copy anymore */
867 char *mntpt = NULL;
872 mountpoint = mntpt = zfs_strdup(hdl, mountpoint);
879 mntpt = zfs_strdup(zhp->zfs_hdl, entry.mnt_mountp);
884 if (is_shared(hdl, mntpt, *curr_proto) &&
886 mntpt, *curr_proto) != 0) {
887 if (mntpt != NULL)
888 free(mntpt);
893 if (mntpt != NULL)
894 free(mntpt);