Home
last modified time | relevance | path

Searched refs:shareopts (Results 1 – 4 of 4) sorted by relevance

/NextBSD/cddl/compat/opensolaris/misc/
HDfsshare.c121 translate_opts(const char *shareopts) in translate_opts() argument
129 strlcpy(oldopts, shareopts, sizeof(oldopts)); in translate_opts()
150 fsshare_main(const char *file, const char *mountpoint, const char *shareopts, in fsshare_main() argument
215 translate_opts(shareopts)); in fsshare_main()
248 fsshare(const char *file, const char *mountpoint, const char *shareopts) in fsshare() argument
251 return (fsshare_main(file, mountpoint, shareopts, 1)); in fsshare()
/NextBSD/cddl/contrib/opensolaris/lib/libzfs/common/
HDlibzfs_changelist.c162 char shareopts[ZFS_MAXPROPLEN]; in changelist_postfix() local
227 shareopts, sizeof (shareopts), NULL, NULL, 0, in changelist_postfix()
228 B_FALSE) == 0) && (strcmp(shareopts, "off") != 0)); in changelist_postfix()
231 shareopts, sizeof (shareopts), NULL, NULL, 0, in changelist_postfix()
232 B_FALSE) == 0) && (strcmp(shareopts, "off") != 0)); in changelist_postfix()
HDlibzfs_mount.c730 char shareopts[ZFS_MAXPROPLEN]; in zfs_share_proto() local
745 shareopts, sizeof (shareopts), &sourcetype, sourcestr, in zfs_share_proto()
747 strcmp(shareopts, "off") == 0) in zfs_share_proto()
785 shareopts, sourcestr, zhp->zfs_name) != SA_OK) { in zfs_share_proto()
815 if (strcmp(shareopts, "on") == 0) in zfs_share_proto()
818 error = fsshare(ZFS_EXPORTS_PATH, mountpoint, shareopts); in zfs_share_proto()
/NextBSD/cddl/contrib/opensolaris/cmd/zfs/
HDzfs_main.c5820 char shareopts[ZFS_MAXPROPLEN]; in share_mount_one() local
5863 verify(zfs_prop_get(zhp, ZFS_PROP_SHARENFS, shareopts, in share_mount_one()
5864 sizeof (shareopts), NULL, NULL, 0, B_FALSE) == 0); in share_mount_one()
5868 if (op == OP_SHARE && strcmp(shareopts, "off") == 0 && in share_mount_one()
5960 (shared_nfs && strcmp(shareopts, "on") == 0 && in share_mount_one()
5963 strcmp(shareopts, "off") == 0)) { in share_mount_one()