Lines Matching refs:strval

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