Home
last modified time | relevance | path

Searched refs:strval (Results 1 – 21 of 21) sorted by relevance

/freebsd-12.1/sys/cddl/contrib/opensolaris/uts/common/fs/zfs/
H A Dzcp_get.c348 kmem_free(strval, ZAP_MAXVALUELEN); in get_special_prop()
393 error = dsl_get_prev_snap(ds, strval); in get_special_prop()
396 dsl_dataset_name(ds, strval); in get_special_prop()
439 if (strcmp(strval, "") == 0) { in get_special_prop()
444 if (strcmp(strval, "") == 0) in get_special_prop()
476 kmem_free(strval, ZAP_MAXVALUELEN); in get_special_prop()
486 (void) lua_pushstring(state, strval); in get_special_prop()
493 kmem_free(strval, ZAP_MAXVALUELEN); in get_special_prop()
500 kmem_free(strval, ZAP_MAXVALUELEN); in get_special_prop()
527 (void) lua_pushstring(state, strval); in get_zap_prop()
[all …]
H A Dspa.c281 if (strval != NULL) in spa_prop_add_list()
435 char *strval = NULL; in spa_prop_get() local
464 dsl_dataset_name(ds, strval); in spa_prop_get()
468 strval = NULL; in spa_prop_get()
474 if (strval != NULL) in spa_prop_get()
606 if (strval == NULL || strval[0] == '\0') { in spa_prop_validate()
662 if (strval[0] == '\0') in spa_prop_validate()
668 if (strval[0] != '/') { in spa_prop_validate()
673 slash = strrchr(strval, '/'); in spa_prop_validate()
7691 char *strval, *fname; local
[all …]
H A Dzfs_ioctl.c543 zfs_set_slabel_policy(const char *name, char *strval, cred_t *cr) in zfs_set_slabel_policy() argument
558 if (strcasecmp(strval, ZFS_MLSLABEL_DEFAULT) == 0) in zfs_set_slabel_policy()
562 if (!new_default && (hexstr_to_label(strval, &new_sl) != 0)) in zfs_set_slabel_policy()
585 if (zfs_check_global_label(name, strval) != 0) in zfs_set_slabel_policy()
615 if (hexstr_to_label(strval, &new_sl) != 0) in zfs_set_slabel_policy()
639 char *strval; in zfs_secpolicy_setprop() local
677 if (nvpair_value_string(propval, &strval) == 0) { in zfs_secpolicy_setprop()
680 err = zfs_set_slabel_policy(dsname, strval, CRED()); in zfs_secpolicy_setprop()
2606 char *strval; in zfs_set_prop_nvlist() local
2722 strval = fnvpair_value_string(propval); in zfs_set_prop_nvlist()
[all …]
/freebsd-12.1/contrib/bsnmp/snmpd/
H A Dconfig.c573 strval[strvallen] = '\0'; in _gettoken()
577 strval[strvallen++] = c; in _gettoken()
593 strval[strvallen++] = c; in _gettoken()
608 strval[strvallen++] = c; in _gettoken()
618 strval[strvallen] = '\0'; in _gettoken()
626 strval[strvallen++] = c; in _gettoken()
631 strval[strvallen] = '\0'; in _gettoken()
853 gethost(strval, ip); in parse_oid()
991 gethost(strval, ip); in parse_syntax_ipaddress()
1200 strcpy(fname, strval); in parse_include()
[all …]
/freebsd-12.1/crypto/openssl/crypto/x509v3/
H A Dv3_enum.c45 long strval; in i2s_ASN1_ENUMERATED_TABLE() local
47 strval = ASN1_ENUMERATED_get(e); in i2s_ASN1_ENUMERATED_TABLE()
49 if (strval == enam->bitnum) in i2s_ASN1_ENUMERATED_TABLE()
/freebsd-12.1/contrib/ntp/lib/isc/unix/
H A Dsyslog.c34 const char *strval; member
76 for (i = 0; facilities[i].strval != NULL; i++) { in isc_syslog_facilityfromstring()
77 if (strcasecmp(facilities[i].strval, str) == 0) { in isc_syslog_facilityfromstring()
/freebsd-12.1/contrib/ntp/lib/isc/win32/
H A Dsyslog.c39 const char *strval; member
81 for (i = 0; facilities[i].strval != NULL; i++) { in isc_syslog_facilityfromstring()
82 if (strcasecmp(facilities[i].strval, str) == 0) { in isc_syslog_facilityfromstring()
/freebsd-12.1/contrib/amd/amd/
H A Dsun_map_tok.l156 … xstrlcpy((char *)sun_map_lval.strval,(const char *)yytext,sizeof(sun_map_lval.strval));
H A Dsun_map_parse.y82 char strval[2048]; member
86 %token <strval> WORD
/freebsd-12.1/cddl/contrib/opensolaris/lib/libzfs/common/
H A Dlibzfs_dataset.c970 char *strval; in zfs_valid_proplist() local
1061 strval, &intval) != 0) { in zfs_valid_proplist()
1218 if (strcmp(strval, hex) == 0) { in zfs_valid_proplist()
1338 strcmp(strval, "on") != 0 && in zfs_valid_proplist()
1339 strcmp(strval, "off") != 0) { in zfs_valid_proplist()
2453 const char *strval) in zcp_check() argument
2503 strval, str_ans); in zcp_check()
2528 const char *strval; in zfs_prop_get() local
4507 char *strval; in zfs_expand_proplist() local
5173 char *strval; in zvol_volsize_to_reservation() local
[all …]
H A Dlibzfs_pool.c250 const char *strval; in zpool_get_prop() local
379 (void) strlcpy(buf, strval, len); in zpool_get_prop()
434 char *strval; in zpool_valid_proplist() local
554 strval)) { in zpool_valid_proplist()
579 if (strval[0] != '/') { in zpool_valid_proplist()
588 if (strval[0] == '\0') in zpool_valid_proplist()
591 if (strcmp(strval, "none") == 0) in zpool_valid_proplist()
594 if (strval[0] != '/') { in zpool_valid_proplist()
602 slash = strrchr(strval, '/'); in zpool_valid_proplist()
614 if (strval[0] != '\0' && in zpool_valid_proplist()
[all …]
/freebsd-12.1/contrib/atf/atf-c/
H A Dtc.c658 const char *strval; in atf_tc_get_config_var_as_bool() local
661 strval = atf_tc_get_config_var(tc, name); in atf_tc_get_config_var_as_bool()
662 err = atf_text_to_bool(strval, &val); in atf_tc_get_config_var_as_bool()
666 "boolean value; found %s", name, strval); in atf_tc_get_config_var_as_bool()
690 const char *strval; in atf_tc_get_config_var_as_long() local
693 strval = atf_tc_get_config_var(tc, name); in atf_tc_get_config_var_as_long()
694 err = atf_text_to_long(strval, &val); in atf_tc_get_config_var_as_long()
698 "long value; found %s", name, strval); in atf_tc_get_config_var_as_long()
/freebsd-12.1/sys/dev/bhnd/nvram/
H A Dbhnd_nvram_value_fmts.c402 } strval; in bhnd_nvram_val_bcm_leddc_encode_elem() local
465 inp = &strval; in bhnd_nvram_val_bcm_leddc_encode_elem()
467 strval.u32 = ival; in bhnd_nvram_val_bcm_leddc_encode_elem()
470 strval.u16 = ival; in bhnd_nvram_val_bcm_leddc_encode_elem()
/freebsd-12.1/sys/cam/
H A Dcam_periph.c548 const char *dname, *strval; in camperiphnextunit() local
586 (resource_string_value(dname, dunit, "at",&strval)|| in camperiphnextunit()
587 strcmp(strval, "scbus") == 0)) in camperiphnextunit()
604 const char *dname, *strval; in camperiphunit() local
614 if (resource_string_value(dname, dunit, "at", &strval) == 0) { in camperiphunit()
615 if (strcmp(strval, pathbuf) != 0) in camperiphunit()
H A Dcam_xpt.c4177 const char *strval; in xptnextfreepathid() local
4194 if (resource_string_value("scbus", pathid, "at", &strval) == 0) { in xptnextfreepathid()
/freebsd-12.1/cddl/contrib/opensolaris/cmd/zfs/
H A Dzfs_main.c538 char *propval, *strval; in parseprop() local
882 char *strval; in zfs_do_create() local
912 &strval) != 0) { in zfs_do_create()
1546 char *strval; in get_callback() local
1614 strval = "-"; in get_callback()
1617 ZPROP_VALUE, &strval) == 0); in get_callback()
2623 char *strval = NULL; in print_us_node() local
2653 strval = valstr; in print_us_node()
2667 strval = "none"; in print_us_node()
2669 strval = valstr; in print_us_node()
[all …]
/freebsd-12.1/usr.sbin/bsnmpd/modules/snmp_wlan/
H A Dwlan_snmp.h240 char *strval, int len);
H A Dwlan_sys.c2055 char *strval, int len) in wlan_config_set_ioctl() argument
2061 return (wlan_config_set_country(wif, strval, in wlan_config_set_ioctl()
2067 return (wlan_config_set_dssid(wif, strval, len)); in wlan_config_set_ioctl()
2071 return (wlan_config_set_bssid(wif, strval)); in wlan_config_set_ioctl()
H A Dwlan_snmp.c494 char *strval; in op_wlan_iface_config() local
516 strval = NULL; in op_wlan_iface_config()
676 strval = val->v.octetstring.octets; in op_wlan_iface_config()
682 strval = NULL; in op_wlan_iface_config()
691 strval = ctx->scratch->ptr1; in op_wlan_iface_config()
858 strval, vlen); in op_wlan_iface_config()
/freebsd-12.1/cddl/contrib/opensolaris/cmd/zpool/
H A Dzpool_main.c433 char *strval; in add_prop_list() local
481 if (nvlist_lookup_string(proplist, normnm, &strval) == 0 && in add_prop_list()
/freebsd-12.1/contrib/binutils/binutils/
H A Dieee.c3215 const char *strval; in ieee_read_cxx_defaults() local
3237 if (! ieee_require_atn65 (info, pp, &strval, &strvallen)) in ieee_read_cxx_defaults()