Lines Matching defs:shareopts
341 char shareopts[ZFS_MAXPROPLEN];
348 if (zfs_prop_get(handle, property, shareopts,
349 sizeof (shareopts), NULL, NULL, 0,
353 return (strdup(shareopts));
375 char shareopts[ZFS_MAXPROPLEN];
386 shareopts, sizeof (shareopts), NULL, NULL,
388 strcmp(shareopts, "off") != 0) {
544 char *shareopts, char *mountpoint, char *proto, char *dataset)
559 shareopts, &doshopt);
577 options = strdup(shareopts);
608 * zfs_notinherited(group, share, mountpoint, shareopts, proto, dataset,
618 char *shareopts, char *proto, char *dataset, int grouperr)
632 if (strcmp(shareopts, "on") == 0)
633 shareopts = "";
634 if (shareopts != NULL) {
644 options = strdup(shareopts);
689 * shareopts, sourcestr)
696 char *mountpoint, char *proto, zprop_source_t source, char *shareopts,
702 err = zfs_inherited(handle, share, sourcestr, shareopts,
706 shareopts, &err);
721 err = zfs_notinherited(group, share, mountpoint, shareopts,
1500 char shareopts[ZFS_MAXPROPLEN], cur_val[MAXPATHLEN];
1503 if (zfs_prop_get(handle, ZFS_PROP_SHARESMB, shareopts,
1504 sizeof (shareopts), NULL, NULL, 0, B_FALSE) != 0)
1507 if (strstr(shareopts, "=") == NULL)
1510 for (token = strtok_r(shareopts, ",", &last); token != NULL;