Lines Matching defs:mntpt
381 char *mntpt = NULL;
393 mntpt = zfs_strdup(hdl, entry.mnt_mountp);
395 mntpt = zfs_strdup(hdl, mountpoint);
400 if (zfs_unshare_proto(zhp, mntpt, share_all_proto) != 0)
403 if (unmount_one(hdl, mntpt, flags) != 0) {
404 free(mntpt);
409 free(mntpt);
862 char *mntpt;
868 mntpt = zfs_strdup(hdl, mountpoint);
872 free(mntpt); /* don't need the copy anymore */
878 share = zfs_sa_find_share(hdl->libzfs_sharehdl, mntpt);
879 free(mntpt); /* don't need the copy anymore */
923 char *mntpt = NULL;
928 mountpoint = mntpt = zfs_strdup(hdl, mountpoint);
935 mntpt = zfs_strdup(zhp->zfs_hdl, entry.mnt_mountp);
940 if (is_shared(hdl, mntpt, *curr_proto) &&
942 mntpt, *curr_proto) != 0) {
943 if (mntpt != NULL)
944 free(mntpt);
949 if (mntpt != NULL)
950 free(mntpt);