Lines Matching defs:strval

858     const char *strval, uint64_t intval)
880 } else if ((prop == ZFS_PROP_SHARESMB && strval != NULL &&
881 strcmp(strval, "off") != 0) ||
953 char *strval;
1000 (void) nvpair_value_string(elem, &strval);
1001 err = nvlist_add_string(ret, propname, strval);
1057 (void) nvpair_value_string(elem, &strval);
1058 if (strcmp(strval, "none") == 0) {
1061 strval, &intval) != 0) {
1156 (void) nvpair_value_string(elem, &strval);
1159 if (strcmp(strval, "on") == 0) {
1161 } else if (strcmp(strval, "off") == 0) {
1176 if (strcmp(strval,
1180 propname, strval);
1193 err = nvlist_add_string(ret, propname, strval);
1206 &strval, &intval, errbuf) != 0)
1357 if (strcasecmp(strval, ZFS_MLSLABEL_NONE) == 0) {
1361 err_multilevel), strval);
1367 if (strcasecmp(strval, ADMIN_LOW) == 0) {
1385 (str_to_label(strval, &new_slabel, MAC_LABEL,
1388 err_badlabel), strval);
1405 strval);
1419 strval);
1426 err_multilevel), strval);
1438 err_badlabel), strval);
1444 if (strcmp(strval, hex) == 0) {
1493 if (strcmp(strval, ZFS_MOUNTPOINT_NONE) == 0 ||
1494 strcmp(strval, ZFS_MOUNTPOINT_LEGACY) == 0)
1497 if (mountpoint_namecheck(strval, &why)) {
1545 (void) nvpair_value_string(elem, &strval);
1546 propval = strval;
1602 (void) nvpair_value_string(elem, &strval);
1605 if (snapshot_namecheck(strval, &why, &what) != 0) {
1627 (void) strlcpy(sharename, strval, SA_MAX_SHARE_NAME);
1629 if (strcmp(sharename, strval) != 0) {
1654 errbuf, strval, intval) != 0)
1676 (void) nvpair_value_string(elem, &strval);
1677 if (strcmp(strval, "on") != 0 &&
1678 strcmp(strval, "off") != 0) {
1691 if (zfs_shadow_validate(hdl, strval) != 0)
1722 &strval) == 0 && strcmp(strval, "off") != 0))) {
1759 &strval) == 0) {
1775 strval)) {
1784 if (!zfs_valid_keysource(strval)) {
3196 const char *strval;
3535 strval = getprop_string(zhp, ZFS_PROP_SHARESMB, &source);
3547 strcmp(strval, "off") == 0 || strcmp(strval, "") == 0) {
3548 (void) strlcpy(propbuf, strval, proplen);
3553 (void) strlcpy(propsmb, strval, sizeof (propsmb));
3788 if (zfs_prop_index_to_string(prop, val, &strval) != 0)
3790 (void) strlcpy(propbuf, strval, proplen);
3876 char *strval;
3878 &strval) == 0);
3879 value = strval;
6082 char *strval;
6088 ZPROP_VALUE, &strval) == 0);
6110 if (strlen(strval) > entry->pl_width)
6111 entry->pl_width = strlen(strval);
6692 char *strval;
6695 zfs_prop_to_name(ZFS_PROP_COPIES), &strval) == 0)
6696 ncopies = atoi(strval);