Lines Matching refs:mountpoint

209  * compares the mountpoint on two zfs file systems handles.
230 * return legacy mountpoint. Caller provides space for mountpoint and
235 char *mountpoint, size_t mlen)
252 (void) strlcpy(mountpoint, entry.mnt_mountp,
279 char mountpoint[ZFS_MAXPROPLEN];
284 /* must have a mountpoint */
285 if (zfs_prop_get(zlist[i], ZFS_PROP_MOUNTPOINT, mountpoint,
286 sizeof (mountpoint), NULL, NULL, 0, B_FALSE) != 0) {
287 /* no mountpoint */
291 /* mountpoint must be a path */
292 if (strcmp(mountpoint, ZFS_MOUNTPOINT_NONE) == 0 ||
293 strcmp(mountpoint, ZFS_MOUNTPOINT_LEGACY) == 0) {
295 * Search mmttab for mountpoint and get dataset.
299 get_legacy_mountpoint(path, mountpoint,
300 sizeof (mountpoint), NULL, 0) == 0) {
301 dataset = mountpoint;
318 if (strcmp(mountpoint, path) == 0) {
544 char *shareopts, char *mountpoint, char *proto, char *dataset)
567 share = _sa_add_share(group, mountpoint,
608 * zfs_notinherited(group, share, mountpoint, shareopts, proto, dataset,
617 zfs_notinherited(sa_group_t group, sa_share_t share, char *mountpoint,
626 share = _sa_add_share(group, mountpoint, SA_SHARE_TRANSIENT,
688 * zfs_process_share(handle, share, mountpoint, proto, source,
696 char *mountpoint, char *proto, zprop_source_t source, char *shareopts,
703 mountpoint, proto, dataset);
721 err = zfs_notinherited(group, share, mountpoint, shareopts,
758 char mountpoint[ZFS_MAXPROPLEN];
786 /* If no mountpoint, skip. */
788 mountpoint, sizeof (mountpoint), NULL, NULL, 0,
831 * If the mountpoint is already shared, it must be a
835 share = sa_find_share(handle, mountpoint);
861 share, mountpoint, "nfs",
864 share = sa_find_share(handle, mountpoint);
868 share, mountpoint, "smb",
893 share, mountpoint, "nfs",
896 share = sa_find_share(handle, mountpoint);
900 share, mountpoint, "smb",
1382 * sa_get_zfs_info(libzfs, path, mountpoint, dataset)
1384 * Find the ZFS dataset and mountpoint for a given path
1392 char mountpoint[ZFS_MAXPROPLEN];
1409 /* must have a mountpoint */
1411 mountpoint, sizeof (mountpoint),
1413 /* no mountpoint */
1417 /* mountpoint must be a path */
1418 if (strcmp(mountpoint, ZFS_MOUNTPOINT_NONE) == 0 ||
1419 strcmp(mountpoint, ZFS_MOUNTPOINT_LEGACY) == 0) {
1421 * Search mmttab for mountpoint
1425 ZFS_MAXPROPLEN, mountpoint,
1444 if (strcmp(mountpoint, path) == 0) {
1450 (void) strcpy(mountpointp, mountpoint);