/freebsd/sys/kern/ |
H A D | kern_intr.c | 221 strlcpy(ie->ie_fullname, ie->ie_name, sizeof(ie->ie_fullname)); in intr_event_update() 254 last = &ie->ie_fullname[sizeof(ie->ie_fullname) - 2]; in intr_event_update() 303 vsnprintf(ie->ie_name, sizeof(ie->ie_name), fmt, ap); in intr_event_create() 305 strlcpy(ie->ie_fullname, ie->ie_name, sizeof(ie->ie_fullname)); in intr_event_create() 354 error = ie->ie_assign_cpu(ie->ie_source, cpu); in _intr_event_bind() 640 msleep(ie, &ie->ie_lock, 0, "ithread", 0); in intr_event_add_handler() 983 if (ie == NULL || CK_SLIST_EMPTY(&ie->ie_handlers) || in intr_event_schedule_thread() 1249 ie->ie_post_ithread(ie->ie_source); in ithread_execute_handlers() 1372 if (ie == NULL || CK_SLIST_EMPTY(&ie->ie_handlers)) in intr_event_handle() 1457 ie->ie_pre_ithread(ie->ie_source); in intr_event_handle() [all …]
|
/freebsd/contrib/wpa/wpa_supplicant/ |
H A D | wifi_display.c | 41 struct wpabuf *ie; in wifi_display_get_wfd_ie() local 54 ie = wpabuf_alloc(len); in wifi_display_get_wfd_ie() 55 if (ie == NULL) in wifi_display_get_wfd_ie() 63 return ie; in wifi_display_get_wfd_ie() 180 ie); in wifi_display_update_wfd_ie() 189 "Request", ie); in wifi_display_update_wfd_ie() 220 "Response", ie); in wifi_display_update_wfd_ie() 307 ie, ie ? (unsigned long) wpabuf_len(ie) : 0); in wifi_display_subelem_set_from_ies() 309 if (ie == NULL || wpabuf_len(ie) < 6) in wifi_display_subelem_set_from_ies() 362 if (ie == NULL) in wifi_display_subelem_get() [all …]
|
H A D | bss.c | 26 if (ie == NULL || (ie[1] != 7 && ie[1] != 9)) { in wpa_bss_set_hessid() 30 if (ie[1] == 7) in wpa_bss_set_hessid() 491 switch (ie) { in are_ies_equal() 1233 u8 ie, len; in wpa_bss_get_vendor_ie_multi() local 1235 ie = pos[0]; in wpa_bss_get_vendor_ie_multi() 1308 const u8 *ie; in wpa_bss_get_max_rate() local 1312 for (i = 0; ie && i < ie[1]; i++) { in wpa_bss_get_max_rate() 1318 for (i = 0; ie && i < ie[1]; i++) { in wpa_bss_get_max_rate() 1346 len = (ie ? ie[1] : 0) + (ie2 ? ie2[1] : 0); in wpa_bss_get_bit_rates() 1352 for (i = 0; ie && i < ie[1]; i++) in wpa_bss_get_bit_rates() [all …]
|
H A D | events.c | 1151 wpa = ie && ie[1]; in wpa_scan_res_ok() 1153 wpa |= ie && ie[1]; in wpa_scan_res_ok() 1154 if (ie && wpa_parse_wpa_ie_rsn(ie, 2 + ie[1], &data) == 0 && in wpa_scan_res_ok() 1162 if (ie && ie[1] >= 1) in wpa_scan_res_ok() 1363 if (!ie) { in wpa_scan_res_ok() 1486 wpa_ie_len = ie ? ie[1] : 0; in wpa_scan_res_match() 1489 rsn_ie_len = ie ? ie[1] : 0; in wpa_scan_res_match() 2668 mb_ies.ies[mb_ies.nof_ies].ie = ie + 2; in wpas_fst_update_mbie() 2674 ie += len; in wpas_fst_update_mbie() 4179 ie = info->ie; in wpas_event_disassoc() [all …]
|
H A D | mbo.c | 90 struct wpa_ie_data ie; in wpas_mbo_check_pmf() local 105 if (!(ie.capabilities & WPA_CAPABILITY_MFPC)) in wpas_mbo_check_pmf() 446 wpabuf_put_u8(ie, WLAN_EID_VENDOR_SPECIFIC); in wpas_mbo_scan_ie() 447 len = wpabuf_put(ie, 1); in wpas_mbo_scan_ie() 449 wpabuf_put_be24(ie, OUI_WFA); in wpas_mbo_scan_ie() 450 wpabuf_put_u8(ie, MBO_OUI_TYPE); in wpas_mbo_scan_ie() 453 wpabuf_put_u8(ie, 1); in wpas_mbo_scan_ie() 456 wpabuf_put_u8(ie, OCE_ATTR_ID_CAPA_IND); in wpas_mbo_scan_ie() 457 wpabuf_put_u8(ie, 1); in wpas_mbo_scan_ie() 458 wpabuf_put_u8(ie, OCE_RELEASE); in wpas_mbo_scan_ie() [all …]
|
/freebsd/contrib/mandoc/ |
H A D | dba_array.c | 64 int32_t ie; in dba_array_free() local 69 for (ie = 0; ie < array->eu; ie++) in dba_array_free() 70 free(array->ep[ie]); in dba_array_free() 79 assert(ie >= 0); in dba_array_set() 82 if (ie == array->eu) in dba_array_set() 87 array->em[ie] = 0; in dba_array_set() 107 if (ie < 0 || ie >= array->eu || array->em[ie] == -1) in dba_array_get() 109 return array->ep[ie]; in dba_array_get() 148 array->em[ie] = pos; in dba_array_setpos() 174 int32_t ie; in dba_array_writepos() local [all …]
|
H A D | dba.c | 193 entries = dba_array_get(page, ie); in dba_page_add() 194 if (ie == DBP_ARCH) { in dba_page_add() 206 if (ie == DBP_FILE && *entry < ' ') in dba_page_add() 437 unsigned int ie, ne, slot; in dba_macro_write() local 469 for (ie = 0; ie < ne; ie++) { in dba_macro_write() 470 kpos[ie] = dba_tell(); in dba_macro_write() 477 for (ie = 0; ie < ne; ie++) { in dba_macro_write() 478 dpos[ie] = dba_tell(); in dba_macro_write() 489 for (ie = 0; ie < ne; ie++) { in dba_macro_write() 490 dba_int_write(kpos[ie]); in dba_macro_write() [all …]
|
/freebsd/contrib/wpa/src/wps/ |
H A D | wps.c | 420 struct wpabuf *ie; in wps_build_assoc_req_ie() local 426 if (ie == NULL) in wps_build_assoc_req_ie() 436 wpabuf_free(ie); in wps_build_assoc_req_ie() 442 return ie; in wps_build_assoc_req_ie() 454 struct wpabuf *ie; in wps_build_assoc_resp_ie() local 460 if (ie == NULL) in wps_build_assoc_resp_ie() 470 wpabuf_free(ie); in wps_build_assoc_resp_ie() 476 return ie; in wps_build_assoc_resp_ie() 500 struct wpabuf *ie; in wps_build_probe_req_ie() local 505 if (ie == NULL) in wps_build_probe_req_ie() [all …]
|
/freebsd/sbin/ipf/libipf/ |
H A D | interror.c | 527 ipf_error_entry_t *ie; in find_error() local 533 ie = ipf_errors + l + step; in find_error() 535 return (ie); in find_error() 551 ipf_error_entry_t *ie; in ipf_geterror() local 556 ie = find_error(errnum); in ipf_geterror() 557 if (ie != NULL) in ipf_geterror() 558 return (ie->iee_text); in ipf_geterror() 571 ipf_error_entry_t *ie; in ipf_strerror() local 574 ie = find_error(errnum); in ipf_strerror() 575 if (ie != NULL) in ipf_strerror() [all …]
|
/freebsd/contrib/wpa/src/ap/ |
H A D | taxonomy.c | 103 const u8 *ie; in ie_to_string() local 120 ie = wpabuf_head(ies); in ie_to_string() 127 id = *ie++; in ie_to_string() 128 elen = *ie++; in ie_to_string() 139 const u8 *data = &ie[4]; in ie_to_string() 152 sep, id, ie[0], ie[1], ie[2], ie[3]); in ie_to_string() 158 WPA_GET_LE16(ie)); in ie_to_string() 176 WPA_GET_LE32(ie)); in ie_to_string() 209 *(ie + i)); in ie_to_string() 216 WPA_GET_LE16(ie)); in ie_to_string() [all …]
|
H A D | rrm.c | 107 if (ie[1] < 3) { in hostapd_handle_radio_msmt_report() 116 switch (ie[4]) { in hostapd_handle_radio_msmt_report() 118 hostapd_handle_lci_report(hapd, token, ie + 2, ie[1]); in hostapd_handle_radio_msmt_report() 121 hostapd_handle_range_report(hapd, token, ie + 2, ie[1]); in hostapd_handle_radio_msmt_report() 125 rep_mode, ie + 2, ie[1]); in hostapd_handle_radio_msmt_report() 130 ie[4]); in hostapd_handle_radio_msmt_report() 134 pos = ie + ie[1] + 2; in hostapd_handle_radio_msmt_report() 301 if (ie && ie[1] && ie[1] <= SSID_MAX_LEN) { in hostapd_handle_nei_report_req() 310 if (ie[1] < 3) in hostapd_handle_nei_report_req() 315 ie[4]); in hostapd_handle_nei_report_req() [all …]
|
H A D | beacon.c | 298 const u8 *ie; in hostapd_get_rsne() local 301 if (!ie || 2U + ie[1] > len) in hostapd_get_rsne() 304 os_memcpy(pos, ie, 2 + ie[1]); in hostapd_get_rsne() 314 if (!ie || 2U + ie[1] > len) in hostapd_get_mde() 317 os_memcpy(pos, ie, 2 + ie[1]); in hostapd_get_mde() 333 if (!ie || 2U + ie[1] > len) in hostapd_get_rsnxe() 336 os_memcpy(pos, ie, 2 + ie[1]); in hostapd_get_rsnxe() 346 if (!ie || 2U + ie[1] > len) in hostapd_get_wpa_ie() 349 os_memcpy(pos, ie, 2 + ie[1]); in hostapd_get_wpa_ie() 359 if (!ie || 2U + ie[1] > len) in hostapd_get_osen_ie() [all …]
|
H A D | taxonomy.h | 14 const u8 *ie, size_t ie_len); 17 const u8 *ie, size_t ie_len); 20 const u8 *ie, size_t ie_len);
|
/freebsd/contrib/wpa/src/p2p/ |
H A D | p2p_group.c | 177 struct wpabuf *ie; in p2p_group_encaps_probe_resp() local 187 if (ie == NULL) in p2p_group_encaps_probe_resp() 204 return ie; in p2p_group_encaps_probe_resp() 210 struct wpabuf *ie; in p2p_group_build_beacon_ie() local 224 if (ie == NULL) in p2p_group_build_beacon_ie() 243 return ie; in p2p_group_build_beacon_ie() 264 if (ie == NULL) in wifi_display_encaps() 281 return ie; in wifi_display_encaps() 468 ie = wpabuf_concat(extra, ie); in p2p_group_build_probe_resp_ie() 474 ie = wpabuf_concat(wfd, ie); in p2p_group_build_probe_resp_ie() [all …]
|
/freebsd/sys/sys/ |
H A D | interrupt.h | 165 void db_dump_intr_event(struct intr_event *ie, int handlers); 168 int intr_event_add_handler(struct intr_event *ie, const char *name, 171 int intr_event_bind(struct intr_event *ie, int cpu); 172 int intr_event_bind_irqonly(struct intr_event *ie, int cpu); 173 int intr_event_bind_ithread(struct intr_event *ie, int cpu); 175 int intr_event_bind_ithread_cpuset(struct intr_event *ie, 182 int intr_event_describe_handler(struct intr_event *ie, void *cookie, 184 int intr_event_destroy(struct intr_event *ie); 185 int intr_event_handle(struct intr_event *ie, struct trapframe *frame);
|
/freebsd/contrib/unbound/ipset/ |
H A D | ipset.c | 131 ie->mnl = NULL; in ipset_add_rrset_data() 170 ipset_add_rrset_data(ie, mnl, d, setname, in ipset_check_zones_for_rrset() 179 struct query_info qinfo, struct ipset_env *ie) in ipset_update() argument 189 mnl = (struct mnl_socket *)ie->mnl; in ipset_update() 196 ie->mnl = mnl; in ipset_update() 210 ie->v4_enabled == 1) { in ipset_update() 212 setname = ie->name_v4; in ipset_update() 214 ie->v6_enabled == 1) { in ipset_update() 216 setname = ie->name_v6; in ipset_update() 368 if (!ie) { in ipset_get_mem() [all …]
|
/freebsd/contrib/unbound/ipsecmod/ |
H A D | ipsecmod-whitelist.c | 99 ipsecmod_whitelist_apply_cfg(struct ipsecmod_env* ie, in ipsecmod_whitelist_apply_cfg() argument 102 ie->whitelist = rbtree_create(name_tree_compare); in ipsecmod_whitelist_apply_cfg() 103 if(!read_whitelist(ie->whitelist, cfg)) in ipsecmod_whitelist_apply_cfg() 105 name_tree_init_parents(ie->whitelist); in ipsecmod_whitelist_apply_cfg() 140 ipsecmod_domain_is_whitelisted(struct ipsecmod_env* ie, uint8_t* dname, in ipsecmod_domain_is_whitelisted() argument 143 if(!ie->whitelist) return 1; /* No whitelist, treat as whitelisted. */ in ipsecmod_domain_is_whitelisted() 144 return name_tree_lookup(ie->whitelist, dname, dname_len, in ipsecmod_domain_is_whitelisted()
|
/freebsd/contrib/wpa/src/rsn_supp/ |
H A D | wpa.c | 701 os_memset(&ie, 0, sizeof(ie)); in wpa_supplicant_process_1_of_4() 1418 ie->mdie, 2 + ie->mdie[1]); in ft_validate_mdie() 1446 ie->ftie, 2 + ie->ftie[1]); in ft_validate_ftie() 1550 ie->rsn_ie, ie->rsn_ie_len); in wpa_supplicant_validate_ie() 1560 ie->rsn_ie, ie->rsn_ie_len))) { in wpa_supplicant_validate_ie() 1564 ie->rsn_ie, ie->rsn_ie_len); in wpa_supplicant_validate_ie() 1575 ie->rsn_ie, ie->rsn_ie_len); in wpa_supplicant_validate_ie() 1590 ie->rsnxe, ie->rsnxe_len); in wpa_supplicant_validate_ie() 1752 ie.dpp_kde[0], ie.dpp_kde[1]); in wpa_supplicant_process_3_of_4() 1804 ie.gtk, ie.gtk_len, key_info) < 0) { in wpa_supplicant_process_3_of_4() [all …]
|
/freebsd/contrib/wpa/src/common/ |
H A D | wpa_common.c | 926 parse->ftie = ie; in wpa_ft_parse_ftie() 931 end = ie + ie_len; in wpa_ft_parse_ftie() 3002 ie->wmm, ie->wmm_len); in wpa_parse_vendor_specific() 3007 ie->wmm, ie->wmm_len); in wpa_parse_vendor_specific() 3031 ie->wpa_ie, ie->wpa_ie_len); in wpa_parse_generic() 3036 ie->osen = pos; in wpa_parse_generic() 3154 os_memset(ie, 0, sizeof(*ie)); in wpa_parse_kde_ies() 3173 ie->rsn_ie, ie->rsn_ie_len); in wpa_parse_kde_ies() 3178 ie->rsnxe, ie->rsnxe_len); in wpa_parse_kde_ies() 3183 ie->mdie, ie->mdie_len); in wpa_parse_kde_ies() [all …]
|
/freebsd/sys/net80211/ |
H A D | ieee80211_regdomain.c | 262 struct ieee80211_country_ie *ie; in ieee80211_alloc_countryie() local 273 ie = (struct ieee80211_country_ie *) aie->ie_data; in ieee80211_alloc_countryie() 274 ie->ie = IEEE80211_ELEMID_COUNTRY; in ieee80211_alloc_countryie() 278 ie->cc[0] = ie->cc[1] = ' '; in ieee80211_alloc_countryie() 280 ie->cc[0] = rd->isocc[0]; in ieee80211_alloc_countryie() 281 ie->cc[1] = rd->isocc[1]; in ieee80211_alloc_countryie() 289 ie->cc[2] = (rd->location == 'I' ? 'I' : in ieee80211_alloc_countryie() 294 frm = (uint8_t *)&ie->band[0]; in ieee80211_alloc_countryie() 331 ie->len = frm - ie->cc; in ieee80211_alloc_countryie() 332 if (ie->len & 1) { /* Zero pad to multiple of 2 */ in ieee80211_alloc_countryie() [all …]
|
H A D | ieee80211_mesh.c | 2538 memset(ie, 0, sizeof(*ie)); in mesh_parse_meshgate_action() 2585 ie.gann_seq); in mesh_recv_action_meshgate() 2902 ie->lm_metric); in mesh_send_action_meshlmetric() 2924 ie->lm_flags, ie->lm_metric); in mesh_send_action_meshlmetric() 3086 if (ie == NULL || ie[1] != ms->ms_idlen) in mesh_verify_meshid() 3144 const uint8_t *ie) in mesh_verify_meshpeer() argument 3339 *frm++ = ie->gann_flags; in ieee80211_add_meshgate() 3340 *frm++ = ie->gann_hopcount; in ieee80211_add_meshgate() 3341 *frm++ = ie->gann_ttl; in ieee80211_add_meshgate() 3381 ni->ni_meshidlen = ie[1]; in ieee80211_parse_meshid() [all …]
|
/freebsd/sys/contrib/dev/athk/ath10k/ |
H A D | p2p.c | 70 static void ath10k_p2p_noa_ie_assign(struct ath10k_vif *arvif, void *ie, in ath10k_p2p_noa_ie_assign() argument 79 arvif->u.ap.noa_data = ie; in ath10k_p2p_noa_ie_assign() 87 void *ie; in __ath10k_p2p_noa_update() local 98 ie = kmalloc(len, GFP_ATOMIC); in __ath10k_p2p_noa_update() 99 if (!ie) in __ath10k_p2p_noa_update() 102 ath10k_p2p_noa_ie_fill(ie, len, noa); in __ath10k_p2p_noa_update() 103 ath10k_p2p_noa_ie_assign(arvif, ie, len); in __ath10k_p2p_noa_update()
|
/freebsd/usr.sbin/bluetooth/bthidd/ |
H A D | btuinput.c | 462 struct input_event ie; in uinput_write_event() local 466 memset(&ie, 0, sizeof(ie)); in uinput_write_event() 467 ie.type = type; in uinput_write_event() 468 ie.code = code; in uinput_write_event() 469 ie.value = value; in uinput_write_event() 470 return (write(fd, &ie, sizeof(ie))); in uinput_write_event() 584 struct input_event ie; in uinput_kbd_status_changed() local 592 memcpy(&ie, data, sizeof(ie)); in uinput_kbd_status_changed() 593 switch (ie.type) { in uinput_kbd_status_changed() 598 if (led_codes[i] == ie.code) { in uinput_kbd_status_changed() [all …]
|
/freebsd/contrib/unbound/cachedb/ |
H A D | cachedb.c | 626 if( !(*ie->backend->lookup)(qstate->env, ie, key, in cachedb_extcache_lookup() 657 (*ie->backend->store)(qstate->env, ie, key, in cachedb_extcache_store() 732 struct cachedb_env* ie, int id) in cachedb_handle_query() argument 736 if(!ie->enabled) { in cachedb_handle_query() 751 if(cachedb_intcache_lookup(qstate, ie)) { in cachedb_handle_query() 768 if(cachedb_extcache_lookup(qstate, ie)) { in cachedb_handle_query() 770 log_dns_msg(ie->backend->name, in cachedb_handle_query() 825 cachedb_extcache_store(qstate, ie); in cachedb_handle_response() 852 cachedb_handle_query(qstate, iq, ie, id); in cachedb_operate() 907 if(!ie) in cachedb_get_mem() [all …]
|
/freebsd/contrib/unbound/iterator/ |
H A D | iterator.c | 258 if((dpns->got4 == 2 || (!ie->supports_ipv4 && !ie->use_nat64)) && in error_supers() 1650 iq->dp, ie->supports_ipv4, ie->supports_ipv6, in processInitRequest() 2012 if((ie->supports_ipv4 || ie->use_nat64) && in query_for_targets() 2165 ((ie->supports_ipv4 || ie->use_nat64) && !ns->done_pside4)) && in processLastResort() 2172 if(ie->supports_ipv4 || ie->use_nat64) ns->done_pside4 = 1; in processLastResort() 2197 if((ie->supports_ipv4 || ie->use_nat64) && !ns->done_pside4) { in processLastResort() 2466 if(!ie->supports_ipv4 && !ie->use_nat64) in processQueryTargets() 2899 ie->nat64_prefix_addrlen, ie->nat64_prefix_net, in processQueryTargets() 3677 if((dpns->got4 == 2 || (!ie->supports_ipv4 && !ie->use_nat64)) && in processTargetResponse() 4338 if(!ie) in iter_get_mem() [all …]
|