Home
last modified time | relevance | path

Searched refs:subtype (Results 1 – 25 of 218) sorted by relevance

123456789

/src/sbin/nvmecontrol/modules/wdc/
H A Dwdc.c421 typedef void (*subprint_fn_t)(void *buf, uint16_t subtype, uint8_t res, uint32_t size);
429 static void print_hgst_info_write_errors(void *buf, uint16_t subtype, uint8_t res, uint32_t size);
430 static void print_hgst_info_read_errors(void *buf, uint16_t subtype, uint8_t res, uint32_t size);
431 static void print_hgst_info_verify_errors(void *buf, uint16_t subtype, uint8_t res, uint32_t size);
432 static void print_hgst_info_self_test(void *buf, uint16_t subtype, uint8_t res, uint32_t size);
433 static void print_hgst_info_background_scan(void *buf, uint16_t subtype, uint8_t res, uint32_t size…
434 static void print_hgst_info_erase_errors(void *buf, uint16_t subtype, uint8_t res, uint32_t size);
435 static void print_hgst_info_erase_counts(void *buf, uint16_t subtype, uint8_t res, uint32_t size);
436 static void print_hgst_info_temp_history(void *buf, uint16_t subtype, uint8_t res, uint32_t size);
437 static void print_hgst_info_ssd_perf(void *buf, uint16_t subtype, uint8_t res, uint32_t size);
[all …]
/src/sys/net80211/
H A Dieee80211_adhoc.c73 int subtype, const struct ieee80211_rx_stats *, int, int);
75 int subtype, const struct ieee80211_rx_stats *rxs, int, int);
76 static void adhoc_recv_ctl(struct ieee80211_node *, struct mbuf *, int subtype);
281 doprint(struct ieee80211vap *vap, int subtype) in doprint() argument
283 switch (subtype) { in doprint()
313 uint8_t dir, type, subtype, qos; in adhoc_input() local
338 subtype = IEEE80211_FC0_SUBTYPE_QOS_DATA; in adhoc_input()
373 subtype = wh->i_fc[0] & IEEE80211_FC0_SUBTYPE_MASK; in adhoc_input()
394 (subtype == IEEE80211_FC0_SUBTYPE_BEACON || in adhoc_input()
395 subtype == IEEE80211_FC0_SUBTYPE_PROBE_RESP)) && in adhoc_input()
[all …]
H A Dieee80211_sta.c72 int subtype, const struct ieee80211_rx_stats *, int rssi, int nf);
73 static void sta_recv_ctl(struct ieee80211_node *, struct mbuf *, int subtype);
510 doprint(struct ieee80211vap *vap, int subtype) in doprint() argument
512 switch (subtype) { in doprint()
542 uint8_t dir, type, subtype, qos; in sta_input() local
594 subtype = IEEE80211_FC0_SUBTYPE_QOS_DATA; in sta_input()
603 subtype = wh->i_fc[0] & IEEE80211_FC0_SUBTYPE_MASK; in sta_input()
646 if ( IEEE80211_HAS_SEQ(type, subtype) && in sta_input()
788 if (subtype == IEEE80211_FC0_SUBTYPE_QOS_DATA) in sta_input()
833 if (subtype == IEEE80211_FC0_SUBTYPE_NODATA || in sta_input()
[all …]
H A Dieee80211_wds.c66 static void wds_recv_mgmt(struct ieee80211_node *, struct mbuf *, int subtype,
416 uint8_t dir, type, subtype, qos; in wds_input() local
440 subtype = IEEE80211_FC0_SUBTYPE_QOS_DATA; in wds_input()
477 subtype = wh->i_fc[0] & IEEE80211_FC0_SUBTYPE_MASK; in wds_input()
499 if (IEEE80211_HAS_SEQ(type, subtype)) { in wds_input()
581 if (subtype == IEEE80211_FC0_SUBTYPE_QOS_DATA) in wds_input()
621 if (subtype == IEEE80211_FC0_SUBTYPE_NODATA || in wds_input()
622 subtype == IEEE80211_FC0_SUBTYPE_QOS_NULL) in wds_input()
707 ieee80211_mgt_subtype_name(subtype), in wds_input()
717 vap->iv_recv_mgmt(ni, m, subtype, rxs, rssi, nf); in wds_input()
[all …]
H A Dieee80211_input.h65 ieee80211_mgt_subtype_name(subtype), \
202 uint8_t type, subtype; in ieee80211_check_rxseq() local
208 subtype = wh->i_fc[0] & IEEE80211_FC0_SUBTYPE_MASK; in ieee80211_check_rxseq()
214 if (! IEEE80211_HAS_SEQ(type, subtype)) in ieee80211_check_rxseq()
318 const uint8_t mac[IEEE80211_ADDR_LEN], int subtype, int arg);
H A Dieee80211_hostap.c73 int subtype, const struct ieee80211_rx_stats *rxs, int rssi, int nf);
446 doprint(struct ieee80211vap *vap, int subtype) in doprint() argument
448 switch (subtype) { in doprint()
478 uint8_t dir, type, subtype, qos; in hostap_input() local
503 subtype = IEEE80211_FC0_SUBTYPE_QOS_DATA; in hostap_input()
538 subtype = wh->i_fc[0] & IEEE80211_FC0_SUBTYPE_MASK; in hostap_input()
559 subtype == IEEE80211_FC0_SUBTYPE_BEACON) && in hostap_input()
572 if (IEEE80211_HAS_SEQ(type, subtype)) { in hostap_input()
706 if (subtype == IEEE80211_FC0_SUBTYPE_QOS_DATA) in hostap_input()
744 if (subtype == IEEE80211_FC0_SUBTYPE_NODATA || in hostap_input()
[all …]
/src/contrib/tcpdump/
H A Dprint-lldp.c658 u_int subtype; in lldp_private_8021_print() local
666 subtype = GET_U_1(tptr + 3); in lldp_private_8021_print()
669 tok2str(lldp_8021_subtype_values, "unknown", subtype), in lldp_private_8021_print()
670 subtype); in lldp_private_8021_print()
672 switch (subtype) { in lldp_private_8021_print()
872 u_int subtype; in lldp_private_8023_print() local
877 subtype = GET_U_1(tptr + 3); in lldp_private_8023_print()
880 tok2str(lldp_8023_subtype_values, "unknown", subtype), in lldp_private_8023_print()
881 subtype); in lldp_private_8023_print()
883 switch (subtype) { in lldp_private_8023_print()
[all …]
H A Dprint-eap.c152 u_int type, subtype, len; in eap_print() local
187 subtype = GET_U_1(cp + 4); in eap_print()
189 tok2str(eap_type_values, "unknown", subtype), in eap_print()
190 subtype); in eap_print()
192 switch (subtype) { in eap_print()
236 if (subtype == EAP_TYPE_TTLS) in eap_print()
H A Dprint-mptcp.c469 u_int subtype; in mptcp_print() local
476 subtype = MPTCP_OPT_SUBTYPE(GET_U_1(opt->sub_etc)); in mptcp_print()
477 subtype = ND_MIN(subtype, MPTCP_SUB_FCLOSE + 1); in mptcp_print()
481 ND_PRINT(" %s", mptcp_options[subtype].name); in mptcp_print()
482 return mptcp_options[subtype].print(ndo, cp, len, flags); in mptcp_print()
/src/bin/sh/
H A Dexpand.c544 int subtype, int startloc) in subevalvar_trim() argument
557 switch (subtype) { in subevalvar_trim()
618 const char *var, int subtype, int startloc, int varflags) in subevalvar_misc() argument
628 switch (subtype) { in subevalvar_misc()
658 int subtype; in evalvar() local
672 subtype = varflags & VSTYPE; in evalvar()
696 switch (subtype) { in evalvar()
707 if (set && subtype != VSPLUS) { in evalvar()
715 strtodest(buf, flag, subtype, in evalvar()
718 varvalue(var, varflags & VSQUOTE, subtype, flag, in evalvar()
[all …]
H A Dshow.c171 int subtype; in sharg() local
187 subtype = *++p; in sharg()
188 if (subtype == VSLENGTH) in sharg()
194 if (subtype & VSNUL) in sharg()
197 switch (subtype & VSTYPE) { in sharg()
230 printf("<subtype %d>", subtype); in sharg()
H A Dparser.c1617 int subtype; in readtoken1() local
1642 subtype = VSNORMAL; in readtoken1()
1646 subtype = 0; in readtoken1()
1672 if (subtype != VSNORMAL) { in readtoken1()
1684 if (subtype == 0 && c1 == '#') { in readtoken1()
1685 subtype = VSLENGTH; in readtoken1()
1699 subtype = 0; in readtoken1()
1703 subtype = VSERROR; in readtoken1()
1711 if (subtype == 0) { in readtoken1()
1726 subtype = VSERROR; in readtoken1()
[all …]
/src/sbin/pfctl/
H A Dpfctl_osfp.c99 char *class, *version, *subtype, *desc, *tcpopts; in pfctl_file_fingerprints() local
108 class = version = subtype = desc = tcpopts = NULL; in pfctl_file_fingerprints()
117 free(subtype); in pfctl_file_fingerprints()
120 class = version = subtype = desc = tcpopts = NULL; in pfctl_file_fingerprints()
158 GET_STR(subtype, "OS subtype", 0) || in pfctl_file_fingerprints()
238 strlcpy(fp.fp_os.fp_subtype_nm, subtype, in pfctl_file_fingerprints()
250 free(subtype); in pfctl_file_fingerprints()
331 int class, version, subtype; in pfctl_get_fingerprint() local
343 subtype = PF_OSFP_ANY; in pfctl_get_fingerprint()
368 subtype = PF_OSFP_ANY; in pfctl_get_fingerprint()
[all …]
/src/contrib/wpa/src/eap_server/
H A Deap_server_sake.c91 u8 id, size_t length, u8 subtype) in eap_sake_build_msg() argument
110 sake->subtype = subtype; in eap_sake_build_msg()
241 u8 version, session_id, subtype; in eap_sake_check() local
253 subtype = resp->subtype; in eap_sake_check()
266 wpa_printf(MSG_DEBUG, "EAP-SAKE: Received frame: subtype=%d", subtype); in eap_sake_check()
268 if (data->state == IDENTITY && subtype == EAP_SAKE_SUBTYPE_IDENTITY) in eap_sake_check()
271 if (data->state == CHALLENGE && subtype == EAP_SAKE_SUBTYPE_CHALLENGE) in eap_sake_check()
274 if (data->state == CONFIRM && subtype == EAP_SAKE_SUBTYPE_CONFIRM) in eap_sake_check()
277 if (subtype == EAP_SAKE_SUBTYPE_AUTH_REJECT) in eap_sake_check()
281 subtype, data->state); in eap_sake_check()
[all …]
H A Deap_server_sim.c398 u8 subtype) in eap_sim_unexpected_subtype() argument
400 if (subtype == EAP_SIM_SUBTYPE_CLIENT_ERROR) in eap_sim_unexpected_subtype()
405 if (subtype != EAP_SIM_SUBTYPE_START) { in eap_sim_unexpected_subtype()
407 "subtype %d", subtype); in eap_sim_unexpected_subtype()
412 if (subtype != EAP_SIM_SUBTYPE_CHALLENGE) { in eap_sim_unexpected_subtype()
414 "subtype %d", subtype); in eap_sim_unexpected_subtype()
419 if (subtype != EAP_SIM_SUBTYPE_REAUTHENTICATION) { in eap_sim_unexpected_subtype()
421 "subtype %d", subtype); in eap_sim_unexpected_subtype()
426 if (subtype != EAP_SIM_SUBTYPE_NOTIFICATION) { in eap_sim_unexpected_subtype()
428 "subtype %d", subtype); in eap_sim_unexpected_subtype()
[all …]
/src/crypto/heimdal/lib/asn1/
H A Dgen_seq.c48 type = type->subtype; in generate_type_seq()
60 if (type->subtype->type != TType) { in generate_type_seq()
63 s->name, (int)type->subtype->type); in generate_type_seq()
67 subname = type->subtype->symbol->gen_name; in generate_type_seq()
H A Dgen_template.c97 return symbol_name(basename, t->subtype); in tag_symbol()
445 return is_struct(t->subtype, isstruct); in is_struct()
463 t = t->subtype; in compact_tag()
620 int subtype_is_struct = is_struct(t->subtype, isstruct); in template_members()
625 sename = symbol_name(basetype, t->subtype); in template_members()
635 t->subtype, 0, subtype_is_struct, 0); in template_members()
640 is_primitive_type(t->subtype->type) ? "PRIM" : "CONS", in template_members()
653 int subtype_is_struct = is_struct(t->subtype, 0); in template_members()
661 if (asprintf(&sename, "%s_val", symbol_name(basetype, t->subtype)) < 0) in template_members()
668 sename = strdup(symbol_name(basetype, t->subtype)); in template_members()
[all …]
/src/sys/dev/mlx5/mlx5_en/
H A Dmlx5_en_main.c56 u32 subtype; member
63 .subtype = IFM_1000_CX_SGMII,
67 .subtype = IFM_1000_KX,
71 .subtype = IFM_10G_CX4,
75 .subtype = IFM_10G_KX4,
79 .subtype = IFM_10G_KR,
83 .subtype = IFM_20G_KR2,
87 .subtype = IFM_40G_CR4,
91 .subtype = IFM_40G_KR4,
95 .subtype = IFM_56G_R4,
[all …]
/src/stand/efi/libefi/
H A Ddevpath.c141 uint8_t subtype = DevicePathSubType(node); in efi_hw_dev_path() local
145 switch (subtype) { in efi_hw_dev_path()
174 if (asprintf(&name, "UnknownHW(%x)%s", subtype, tail) < 0) in efi_hw_dev_path()
185 uint8_t subtype = DevicePathSubType(node); in efi_acpi_dev_path() local
190 switch (subtype) { in efi_acpi_dev_path()
239 if (asprintf(&name, "UnknownACPI(%x)%s", subtype, tail) < 0) in efi_acpi_dev_path()
250 uint8_t subtype = DevicePathSubType(node); in efi_messaging_dev_path() local
255 switch (subtype) { in efi_messaging_dev_path()
329 subtype, tail) < 0) in efi_messaging_dev_path()
340 uint8_t subtype = DevicePathSubType(node); in efi_media_dev_path() local
[all …]
/src/sbin/ifconfig/
H A Difmedia.c196 int subtype; in setmedia() local
209 subtype = get_media_subtype(ifmr->ifm_ulist[0], val); in setmedia()
212 IFM_TYPE(ifmr->ifm_ulist[0]) | subtype; in setmedia()
288 ifmedia_t subtype; in get_media_subtype() local
290 subtype = ifconfig_media_lookup_subtype(media, val); in get_media_subtype()
291 if (subtype != INVALID_IFMEDIA) in get_media_subtype()
292 return (subtype); in get_media_subtype()
/src/contrib/wpa/src/eap_peer/
H A Deap_sake.c115 int id, size_t length, u8 subtype) in eap_sake_build_msg() argument
134 sake->subtype = subtype; in eap_sake_build_msg()
379 u8 subtype, session_id, id; in eap_sake_process() local
390 subtype = req->subtype; in eap_sake_process()
395 "session_id %d", subtype, session_id); in eap_sake_process()
413 switch (subtype) { in eap_sake_process()
428 "unknown subtype %d", subtype); in eap_sake_process()
/src/contrib/bsnmp/gensnmptree/
H A Dgensnmptree.c201 char *subtype; /* subtype */ member
206 char *subtype; /* subtype */ member
746 parse_type(enum tok *tok, struct type *t, const char *vname, char **subtype) in parse_type() argument
752 if (subtype != NULL) in parse_type()
753 *subtype = NULL; in parse_type()
797 if (subtype != NULL) in parse_type()
798 *subtype = savetok(); in parse_type()
834 char *subtype; in parse() local
835 u_int syntax = parse_type(&tok, NULL, node->name, &subtype); in parse()
842 node->u.leaf.subtype = subtype; in parse()
[all …]
/src/sys/contrib/dev/broadcom/brcm80211/brcmfmac/
H A Dfweh.h216 __be16 subtype; member
370 u16 subtype, usr_stype; in brcmf_fweh_process_skb() local
383 subtype = get_unaligned_be16(&event_packet->hdr.subtype); in brcmf_fweh_process_skb()
384 if (subtype != stype) in brcmf_fweh_process_skb()
/src/sys/kern/
H A Dsubr_smp.c1152 topo_node_type type, uintptr_t subtype) in topo_add_node_by_hwid() argument
1159 && node->type == type && node->subtype == subtype) { in topo_add_node_by_hwid()
1169 node->subtype = subtype; in topo_add_node_by_hwid()
1181 topo_node_type type, uintptr_t subtype) in topo_find_node_by_hwid() argument
1188 && node->type == type && node->subtype == subtype) { in topo_find_node_by_hwid()
1279 node->subtype = 1; in topo_set_pu_id()
1292 uintptr_t subtype; member
1299 .subtype = CG_SHARE_L3,
1322 (spec->match_subtype && node->subtype != spec->subtype)) { in topo_analyze_table()
/src/sbin/nvmecontrol/
H A Ddiscover.c66 nvmf_subsystem_type(uint8_t subtype) in nvmf_subsystem_type() argument
70 switch (subtype) { in nvmf_subsystem_type()
76 snprintf(buf, sizeof(buf), "0x%02x\n", subtype); in nvmf_subsystem_type()
192 nvmf_subsystem_type(entry->subtype)); in print_discovery_entry()

123456789