Lines Matching defs:strval
218 const char *strval;
341 if (zpool_prop_index_to_string(prop, intval, &strval)
344 (void) strlcpy(buf, strval, len);
399 char *strval;
435 (void) nvpair_value_string(elem, &strval);
436 if (strcmp(strval, ZFS_FEATURE_ENABLED) != 0) {
469 &strval, &intval, errbuf) != 0)
508 if (strval[0] != '\0' && !bootfs_name_valid(poolname,
509 strval)) {
511 "is an invalid name"), strval);
534 if (strval[0] != '/') {
536 "bad alternate root '%s'"), strval);
543 if (strval[0] == '\0')
546 if (strcmp(strval, "none") == 0)
549 if (strval[0] != '/') {
557 slash = strrchr(strval, '/');
562 "'%s' is not a valid file"), strval);
569 if (strval[0] != '\0' &&
570 (stat64(strval, &statbuf) != 0 ||
574 strval);
583 for (check = strval; *check != '\0'; check++) {
594 if (strlen(strval) > ZPROP_MAX_COMMENT) {