/freebsd/sys/contrib/openzfs/cmd/zed/ |
H A D | zed_disk_event.c | 63 const char *strval; in zed_udev_event() local 69 if (nvlist_lookup_string(nvl, DEV_NAME, &strval) == 0) in zed_udev_event() 70 zed_log_msg(LOG_INFO, "\t%s: %s", DEV_NAME, strval); in zed_udev_event() 71 if (nvlist_lookup_string(nvl, DEV_PATH, &strval) == 0) in zed_udev_event() 72 zed_log_msg(LOG_INFO, "\t%s: %s", DEV_PATH, strval); in zed_udev_event() 78 zed_log_msg(LOG_INFO, "\t%s: %s", DEV_PHYS_PATH, strval); in zed_udev_event() 109 char strval[128]; in dev_event_nvlist() local 116 if (zfs_device_get_devid(dev, strval, sizeof (strval)) == 0) in dev_event_nvlist() 117 (void) nvlist_add_string(nvl, DEV_IDENTIFIER, strval); in dev_event_nvlist() 118 if (zfs_device_get_physical(dev, strval, sizeof (strval)) == 0) in dev_event_nvlist() [all …]
|
/freebsd/sys/contrib/openzfs/module/zfs/ |
H A D | zcp_get.c | 253 kmem_free(strval, ZAP_MAXVALUELEN); in get_special_prop() 284 dsl_dir_get_origin(ds->ds_dir, strval); in get_special_prop() 298 error = dsl_get_prev_snap(ds, strval); in get_special_prop() 301 dsl_dataset_name(ds, strval); in get_special_prop() 415 kmem_free(strval, ZAP_MAXVALUELEN); in get_special_prop() 425 (void) lua_pushstring(state, strval); in get_special_prop() 432 kmem_free(strval, ZAP_MAXVALUELEN); in get_special_prop() 439 kmem_free(strval, ZAP_MAXVALUELEN); in get_special_prop() 466 (void) lua_pushstring(state, strval); in get_zap_prop() 476 kmem_free(strval, ZAP_MAXVALUELEN); in get_zap_prop() [all …]
|
H A D | vdev.c | 5780 if (strval != NULL) in vdev_prop_add_list() 5826 const char *strval; in vdev_props_set_sync() local 5841 1, strlen(strval) + 1, strval, tx)); in vdev_props_set_sync() 5846 strval); in vdev_props_set_sync() 5858 1, strlen(strval) + 1, strval, tx)); in vdev_props_set_sync() 5862 strval); in vdev_props_set_sync() 6038 char *strval = NULL; in vdev_prop_get() local 6069 strval = NULL; in vdev_prop_get() 6080 if (strval == NULL) in vdev_prop_get() 6333 strval = NULL; in vdev_prop_get() [all …]
|
H A D | spa.c | 331 if (strval != NULL) in spa_prop_add_list() 527 char *strval = NULL; in spa_prop_get() local 552 dsl_dataset_name(ds, strval); in spa_prop_get() 555 strval = NULL; in spa_prop_get() 561 if (strval != NULL) in spa_prop_get() 726 if (strval == NULL || strval[0] == '\0') { in spa_prop_validate() 771 if (strval[0] == '\0') in spa_prop_validate() 777 if (strval[0] != '/') { in spa_prop_validate() 782 slash = strrchr(strval, '/'); in spa_prop_validate() 9484 const char *strval, *fname; local [all …]
|
H A D | zfs_ioctl.c | 524 if (strcasecmp(strval, ZFS_MLSLABEL_DEFAULT) == 0) in zfs_set_slabel_policy() 551 if (zfs_check_global_label(name, strval) != 0) in zfs_set_slabel_policy() 581 if (hexstr_to_label(strval, &new_sl) != 0) in zfs_set_slabel_policy() 607 const char *strval; in zfs_secpolicy_setprop() local 646 if (nvpair_value_string(propval, &strval) == 0) { in zfs_secpolicy_setprop() 649 err = zfs_set_slabel_policy(dsname, strval, CRED()); in zfs_secpolicy_setprop() 2453 const char *strval = NULL; in zfs_prop_set_special() local 2471 strval = fnvpair_value_string(pair); in zfs_prop_set_special() 2616 const char *strval; in zfs_set_prop_nvlist() local 2751 strval = fnvpair_value_string(propval); in zfs_set_prop_nvlist() [all …]
|
/freebsd/contrib/bsnmp/snmpd/ |
H A D | config.c | 573 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/crypto/openssl/crypto/x509/ |
H A D | v3_enum.c | 45 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/crypto/openssl/test/ |
H A D | params_test.c | 568 const char *strval; member 623 a.argname, a.strval, 0, NULL)) { in check_int_from_text() 626 a.argname, a.strval); in check_int_from_text() 634 a.argname, a.strval); in check_int_from_text() 642 "%d != %d", a.argname, a.strval, a.expected_res, res); in check_int_from_text() 647 a.argname, a.strval, a.expected_intval, val); in check_int_from_text() 652 a.argname, a.strval, in check_int_from_text()
|
/freebsd/sys/contrib/openzfs/lib/libzfs/ |
H A D | libzfs_pool.c | 281 const char *strval; in zpool_get_prop() local 494 const char *strval; in zpool_valid_proplist() local 611 strval); in zpool_valid_proplist() 617 strval) != 0) { in zpool_valid_proplist() 729 if (strval[0] != '/') { in zpool_valid_proplist() 738 if (strval[0] == '\0') in zpool_valid_proplist() 744 if (strval[0] != '/') { in zpool_valid_proplist() 764 if (strval[0] != '\0' && in zpool_valid_proplist() 770 strval); in zpool_valid_proplist() 5172 const char *strval; in zpool_get_vdev_prop_value() local [all …]
|
H A D | libzfs_dataset.c | 1036 const char *strval; in zfs_valid_proplist() local 1133 strval, &intval) != 0) { in zfs_valid_proplist() 1338 if (strcmp(strval, hex) == 0) { in zfs_valid_proplist() 1456 strcmp(strval, "on") != 0 && in zfs_valid_proplist() 1457 strcmp(strval, "off") != 0) { in zfs_valid_proplist() 2607 const char *strval) in zcp_check() argument 2681 const char *strval; in zfs_prop_get() local 3058 zcp_check(zhp, prop, 0, strval); in zfs_prop_get() 4728 const char *strval; in zfs_expand_proplist() local 5609 const char *strval; in zvol_volsize_to_reservation() local [all …]
|
H A D | libzfs_crypto.c | 946 const char *strval; in proplist_has_encryption_props() local 954 zfs_prop_to_name(ZFS_PROP_KEYLOCATION), &strval); in proplist_has_encryption_props() 955 if (ret == 0 && strcmp(strval, "none") != 0) in proplist_has_encryption_props()
|
/freebsd/contrib/atf/atf-c/ |
H A D | tc.c | 697 const char *strval; in atf_tc_get_config_var_as_bool() local 700 strval = atf_tc_get_config_var(tc, name); in atf_tc_get_config_var_as_bool() 701 err = atf_text_to_bool(strval, &val); in atf_tc_get_config_var_as_bool() 705 "boolean value; found %s", name, strval); in atf_tc_get_config_var_as_bool() 729 const char *strval; in atf_tc_get_config_var_as_long() local 732 strval = atf_tc_get_config_var(tc, name); in atf_tc_get_config_var_as_long() 733 err = atf_text_to_long(strval, &val); in atf_tc_get_config_var_as_long() 737 "long value; found %s", name, strval); in atf_tc_get_config_var_as_long()
|
/freebsd/sys/contrib/openzfs/cmd/zed/agents/ |
H A D | fmd_api.c | 341 const char *strval; in zed_log_fault() local 349 if (nvlist_lookup_string(nvl, FM_CLASS, &strval) == 0) in zed_log_fault() 350 zed_log_msg(LOG_INFO, "\t%s: %s", FM_CLASS, strval); in zed_log_fault() 356 if (nvlist_lookup_string(rsrc, FM_FMRI_SCHEME, &strval) == 0) in zed_log_fault() 358 strval); in zed_log_fault()
|
/freebsd/sys/dev/bhnd/nvram/ |
H A D | bhnd_nvram_value_fmts.c | 396 } strval; in bhnd_nvram_val_bcm_leddc_encode_elem() local 459 inp = &strval; in bhnd_nvram_val_bcm_leddc_encode_elem() 461 strval.u32 = ival; in bhnd_nvram_val_bcm_leddc_encode_elem() 464 strval.u16 = ival; in bhnd_nvram_val_bcm_leddc_encode_elem()
|
/freebsd/contrib/lua/src/ |
H A D | lparser.h | 73 TString *strval; /* for VKSTR */ member
|
H A D | lcode.c | 98 setsvalue(fs->ls->L, v, e->u.strval); in luaK_exp2const() 717 e->k = VKSTR; e->u.strval = tsvalue(v); in const2exp() 746 e->u.info = stringK(fs, e->u.strval); in str2K() 1014 case VKSTR: info = stringK(fs, e->u.strval); break; in luaK_exp2K()
|
H A D | lparser.c | 162 e->u.strval = s; in codestring()
|
/freebsd/sys/cam/ |
H A D | cam_periph.c | 560 const char *dname, *strval; in camperiphnextunit() local 599 if (resource_string_value(dname, dunit, "sn", &strval) == 0 || in camperiphnextunit() 602 resource_string_value(dname, dunit, "at", &strval) == 0) in camperiphnextunit() 618 const char *dname, *strval; in camperiphunit() local 629 if (resource_string_value(dname, dunit, "at", &strval) == 0) { in camperiphunit() 630 if (strcmp(strval, pathbuf) != 0) in camperiphunit() 644 if (resource_string_value(dname, dunit, "sn", &strval) == 0) { in camperiphunit() 645 if (sn == NULL || strcmp(strval, sn) != 0) in camperiphunit()
|
H A D | cam_xpt.c | 4008 const char *strval; in xptnextfreepathid() local 4025 if (resource_string_value("scbus", pathid, "at", &strval) == 0) { in xptnextfreepathid()
|
/freebsd/sys/contrib/openzfs/cmd/zfs/ |
H A D | zfs_main.c | 1058 const char *strval; in zfs_do_create() local 1221 &strval) != 0) { in zfs_do_create() 1920 const char *strval; in get_callback() local 1988 strval = "-"; in get_callback() 3079 strval = valstr; in print_us_node() 3088 strval = valstr; in print_us_node() 3091 strval = "none"; in print_us_node() 3095 strval = valstr; in print_us_node() 3105 strval = valstr; in print_us_node() 3108 strval = "none"; in print_us_node() [all …]
|
/freebsd/usr.sbin/bsnmpd/modules/snmp_wlan/ |
H A D | wlan_snmp.h | 237 char *strval, int len);
|
H A D | wlan_sys.c | 2052 char *strval, int len) in wlan_config_set_ioctl() argument 2058 return (wlan_config_set_country(wif, strval, in wlan_config_set_ioctl() 2064 return (wlan_config_set_dssid(wif, strval, len)); in wlan_config_set_ioctl() 2068 return (wlan_config_set_bssid(wif, strval)); in wlan_config_set_ioctl()
|
H A D | wlan_snmp.c | 491 char *strval; in op_wlan_iface_config() local 513 strval = NULL; in op_wlan_iface_config() 673 strval = val->v.octetstring.octets; in op_wlan_iface_config() 679 strval = NULL; in op_wlan_iface_config() 688 strval = ctx->scratch->ptr1; in op_wlan_iface_config() 855 strval, vlen); in op_wlan_iface_config()
|
/freebsd/sys/contrib/openzfs/cmd/zpool/ |
H A D | zpool_main.c | 915 const char *strval; in add_prop_list() local 990 if (nvlist_lookup_string(proplist, normnm, &strval) == 0 && in add_prop_list() 1157 char strval[ZPOOL_MAXPROPLEN]; in zpool_do_add() local 1161 (void) sprintf(strval, "%" PRId32, intval); in zpool_do_add() 1162 verify(add_prop_list(ZPOOL_CONFIG_ASHIFT, strval, in zpool_do_add() 6933 char strval[ZPOOL_MAXPROPLEN]; in zpool_do_attach_or_replace() local 6937 (void) sprintf(strval, "%" PRId32, intval); in zpool_do_attach_or_replace() 6938 verify(add_prop_list(ZPOOL_CONFIG_ASHIFT, strval, in zpool_do_attach_or_replace()
|