Searched refs:shareopts (Results 1 – 4 of 4) sorted by relevance
/netbsd-src/external/cddl/osnet/lib/libzfs/ |
H A D | fsshare.c | 119 translate_opts(const char *shareopts) in translate_opts() argument 127 strlcpy(oldopts, shareopts, sizeof(oldopts)); in translate_opts() 148 fsshare_main(const char *file, const char *mountpoint, const char *shareopts, in fsshare_main() argument 213 translate_opts(shareopts)); in fsshare_main() 245 fsshare(const char *file, const char *mountpoint, const char *shareopts) in fsshare() argument 248 return (fsshare_main(file, mountpoint, shareopts, 1)); in fsshare()
|
/netbsd-src/external/cddl/osnet/dist/lib/libzfs/common/ |
H A D | libzfs_changelist.c | 166 char shareopts[ZFS_MAXPROPLEN]; in changelist_postfix() local 231 shareopts, sizeof (shareopts), NULL, NULL, 0, in changelist_postfix() 232 B_FALSE) == 0) && (strcmp(shareopts, "off") != 0)); in changelist_postfix() 235 shareopts, sizeof (shareopts), NULL, NULL, 0, in changelist_postfix() 236 B_FALSE) == 0) && (strcmp(shareopts, "off") != 0)); in changelist_postfix()
|
H A D | libzfs_mount.c | 734 char shareopts[ZFS_MAXPROPLEN]; in zfs_share_proto() local 749 shareopts, sizeof (shareopts), &sourcetype, sourcestr, in zfs_share_proto() 751 strcmp(shareopts, "off") == 0) in zfs_share_proto() 789 shareopts, sourcestr, zhp->zfs_name) != SA_OK) { in zfs_share_proto() 819 if (strcmp(shareopts, "on") == 0) in zfs_share_proto() 822 error = fsshare(ZFS_EXPORTS_PATH, mountpoint, shareopts); in zfs_share_proto()
|
/netbsd-src/external/cddl/osnet/dist/cmd/zfs/ |
H A D | zfs_main.c | 5848 char shareopts[ZFS_MAXPROPLEN]; in share_mount_one() local 5891 verify(zfs_prop_get(zhp, ZFS_PROP_SHARENFS, shareopts, in share_mount_one() 5892 sizeof (shareopts), NULL, NULL, 0, B_FALSE) == 0); in share_mount_one() 5896 if (op == OP_SHARE && strcmp(shareopts, "off") == 0 && in share_mount_one() 5988 (shared_nfs && strcmp(shareopts, "on") == 0 && in share_mount_one() 5991 strcmp(shareopts, "off") == 0)) { in share_mount_one()
|