Lines Matching defs:strval
248 const char *strval;
372 if (zpool_prop_index_to_string(prop, intval, &strval)
375 (void) strlcpy(buf, strval, len);
430 char *strval;
466 (void) nvpair_value_string(elem, &strval);
467 if (strcmp(strval, ZFS_FEATURE_ENABLED) != 0) {
500 &strval, &intval, errbuf) != 0)
539 if (strval[0] != '\0' && !bootfs_name_valid(poolname,
540 strval)) {
542 "is an invalid name"), strval);
565 if (strval[0] != '/') {
567 "bad alternate root '%s'"), strval);
574 if (strval[0] == '\0')
577 if (strcmp(strval, "none") == 0)
580 if (strval[0] != '/') {
588 slash = strrchr(strval, '/');
593 "'%s' is not a valid file"), strval);
600 if (strval[0] != '\0' &&
601 (stat64(strval, &statbuf) != 0 ||
605 strval);
614 for (check = strval; *check != '\0'; check++) {
625 if (strlen(strval) > ZPROP_MAX_COMMENT) {