Lines Matching defs:strval
959 char *strval;
999 (void) nvpair_value_string(elem, &strval);
1000 if (nvlist_add_string(ret, propname, strval) != 0) {
1046 (void) nvpair_value_string(elem, &strval);
1047 if (strcmp(strval, "none") == 0) {
1050 strval, &intval) != 0) {
1121 &strval, &intval, errbuf) != 0)
1186 if (strcasecmp(strval, ZFS_MLSLABEL_DEFAULT) == 0)
1191 (str_to_label(strval, &new_sl, MAC_LABEL,
1206 if (strcmp(strval, hex) == 0) {
1222 "invalid mlslabel '%s'"), strval);
1233 if (strcmp(strval, ZFS_MOUNTPOINT_NONE) == 0 ||
1234 strcmp(strval, ZFS_MOUNTPOINT_LEGACY) == 0)
1237 if (mountpoint_namecheck(strval, &why)) {
1314 strcmp(strval, "on") != 0 &&
1315 strcmp(strval, "off") != 0) {
1349 if (zfs_parse_options(strval, proto) != SA_OK) {
2334 const char *strval;
2628 if (zfs_prop_index_to_string(prop, val, &strval) != 0)
2630 (void) strlcpy(propbuf, strval, proplen);
4167 char *strval;
4240 ZPROP_VALUE, &strval) == 0);
4241 if (strlen(strval) > entry->pl_width)
4242 entry->pl_width = strlen(strval);
4831 char *strval;
4834 zfs_prop_to_name(ZFS_PROP_COPIES), &strval) == 0)
4835 ncopies = atoi(strval);