Home
last modified time | relevance | path

Searched refs:wh (Results 1 – 25 of 57) sorted by relevance

123

/illumos-gate/usr/src/lib/libm/common/complex/
H A Dk_clog_rl.c458 *er = half * ((y - wh) * (y + wh) - (t2 - wh * wh));
526 wh = x;
546 tk = wh - x;
547 t3 = tk * tk - (two * wh * tk - (wh * wh - t1));
548 wh = y;
564 tk = wh - y;
565 t4 = tk * tk - (two * wh * tk - (wh * wh - t2));
582 wh = t3; t3 = t4; t4 = wh;
585 wh = t2; t2 = t3; t3 = wh;
618 wh = (t1 - wh) - (wh - t2);
[all …]
H A Dk_clog_r.c281 ((int *)&wh)[HIWORD] = iy; in __k_clog_r()
283 *er = half * ((y - wh) * (y + wh) - (t2 - wh * wh)); in __k_clog_r()
350 tk = wh - x; in __k_clog_r()
351 t3 = tk * tk - (two * wh * tk - (wh * wh - t1)); in __k_clog_r()
355 tk = wh - y; in __k_clog_r()
356 t4 = tk * tk - (two * wh * tk - (wh * wh - t2)); in __k_clog_r()
371 wh = t3; t3 = t4; t4 = wh; in __k_clog_r()
374 wh = t2; t2 = t3; t3 = wh; in __k_clog_r()
388 wh = half * zk; in __k_clog_r()
389 wh = (t1 - wh) - (wh - t2); in __k_clog_r()
[all …]
/illumos-gate/usr/src/uts/common/io/mac/plugins/
H A Dmac_wifi.c187 struct ieee80211_frame *wh; in mac_wifi_header() local
232 (struct ieee80211_qosframe *)wh; in mac_wifi_header()
242 wh->i_fc[1] |= IEEE80211_FC1_WEP; in mac_wifi_header()
252 wh->i_fc[1] |= IEEE80211_FC1_WEP; in mac_wifi_header()
280 struct ieee80211_frame *wh; in mac_wifi_header_info() local
340 mhp->mhi_daddr = wh->i_addr1; in mac_wifi_header_info()
341 mhp->mhi_saddr = wh->i_addr2; in mac_wifi_header_info()
345 mhp->mhi_daddr = wh->i_addr3; in mac_wifi_header_info()
346 mhp->mhi_saddr = wh->i_addr2; in mac_wifi_header_info()
350 mhp->mhi_daddr = wh->i_addr1; in mac_wifi_header_info()
[all …]
/illumos-gate/usr/src/uts/common/io/net80211/
H A Dnet80211_input.c64 struct ieee80211_frame *wh; in ieee80211_input() local
127 bssid = wh->i_addr2; in ieee80211_input()
134 bssid = wh->i_addr1; in ieee80211_input()
136 bssid = wh->i_addr1; in ieee80211_input()
144 bssid = wh->i_addr3; in ieee80211_input()
171 wh->i_addr2); in ieee80211_input()
830 struct ieee80211_frame *wh; in ieee80211_recv_beacon() local
836 frm = (uint8_t *)&wh[1]; in ieee80211_recv_beacon()
1138 struct ieee80211_frame *wh; in ieee80211_recv_mgmt() local
1157 frm = (uint8_t *)&wh[1]; in ieee80211_recv_mgmt()
[all …]
H A Dnet80211_output.c88 *(uint16_t *)&wh->i_seq[0] = in ieee80211_send_setup()
108 struct ieee80211_frame *wh; in ieee80211_mgmt_output() local
140 struct ieee80211_frame *wh; in ieee80211_send_nulldata() local
178 struct ieee80211_frame *wh; in ieee80211_encap() local
192 *(uint16_t *)wh->i_dur = 0; in ieee80211_encap()
235 *(uint16_t *)wh->i_seq = in ieee80211_encap()
239 *(uint16_t *)wh->i_seq = in ieee80211_encap()
430 struct ieee80211_frame *wh; in ieee80211_send_probereq() local
796 struct ieee80211_frame *wh; in ieee80211_beacon_alloc() local
918 *(uint16_t *)wh->i_dur = 0; in ieee80211_beacon_alloc()
[all …]
H A Dnet80211_crypto_ccmp.c372 IEEE80211_ADDR_COPY(b0 + 2, wh->i_addr2); in ccmp_init()
392 aad[2] = wh->i_fc[0] & 0x8f; /* magic #s */ in ccmp_init()
393 aad[3] = wh->i_fc[1] & 0xc7; /* magic #s */ in ccmp_init()
396 aad[22] = wh->i_seq[0] & IEEE80211_SEQ_FRAG_MASK; in ccmp_init()
408 if (IEEE80211_QOS_HAS_SEQ(wh)) { in ccmp_init()
410 (struct ieee80211_qosframe *)wh; in ccmp_init()
427 struct ieee80211_frame *wh; in ccmp_encrypt() local
433 wh = (struct ieee80211_frame *)mp->b_rptr; in ccmp_encrypt()
458 struct ieee80211_frame *wh; in ccmp_decrypt() local
464 wh = (struct ieee80211_frame *)mp->b_rptr; in ccmp_decrypt()
[all …]
H A Dnet80211_proto.c115 struct ieee80211_frame *wh; in ieee80211_dump_pkt() local
122 wh = (struct ieee80211_frame *)buf; in ieee80211_dump_pkt()
126 ieee80211_macaddr_sprintf(wh->i_addr2)); in ieee80211_dump_pkt()
129 ieee80211_macaddr_sprintf(wh->i_addr1)); in ieee80211_dump_pkt()
132 ieee80211_macaddr_sprintf(wh->i_addr3)); in ieee80211_dump_pkt()
137 ieee80211_macaddr_sprintf(wh->i_addr2)); in ieee80211_dump_pkt()
140 ieee80211_macaddr_sprintf(wh->i_addr3)); in ieee80211_dump_pkt()
143 ieee80211_macaddr_sprintf(wh->i_addr1)); in ieee80211_dump_pkt()
148 ieee80211_macaddr_sprintf(wh->i_addr3)); in ieee80211_dump_pkt()
187 wh->i_fc[0] & IEEE80211_FC0_TYPE_MASK); in ieee80211_dump_pkt()
[all …]
H A Dnet80211_crypto_tkip.c619 const struct ieee80211_frame_addr4 *wh = in michael_mic_hdr() local
622 switch (wh->i_fc[1] & IEEE80211_FC1_DIR_MASK) { in michael_mic_hdr()
624 IEEE80211_ADDR_COPY(hdr, wh->i_addr1); /* DA */ in michael_mic_hdr()
628 IEEE80211_ADDR_COPY(hdr, wh->i_addr3); /* DA */ in michael_mic_hdr()
641 if (wh->i_fc[0] & IEEE80211_FC0_SUBTYPE_QOS) { in michael_mic_hdr()
643 (const struct ieee80211_qosframe *)wh; in michael_mic_hdr()
715 struct ieee80211_frame *wh; in tkip_encrypt() local
718 wh = (struct ieee80211_frame *)mp->b_rptr; in tkip_encrypt()
746 struct ieee80211_frame *wh; in tkip_decrypt() local
750 wh = (struct ieee80211_frame *)mp->b_rptr; in tkip_decrypt()
[all …]
H A Dnet80211_node.c1079 in = ieee80211_find_node(nt, wh->i_addr3); in ieee80211_add_scan()
1084 in = ieee80211_alloc_node(ic, nt, wh->i_addr3); in ieee80211_add_scan()
1112 IEEE80211_ADDR_COPY(in->in_bssid, wh->i_addr3); in ieee80211_add_scan()
1166 IEEE80211_ADDR_COPY(in->in_bssid, wh->i_addr3); in ieee80211_init_neighbor()
1197 ieee80211_init_neighbor(in, wh, sp); in ieee80211_add_neighbor()
1204 #define IEEE80211_IS_CTL(wh) \ argument
1207 #define IEEE80211_IS_PSPOLL(wh) \ argument
1208 ((wh->i_fc[0] & IEEE80211_FC0_SUBTYPE_MASK) == \
1211 #define IEEE80211_IS_BAR(wh) \ argument
1238 if (IEEE80211_IS_CTL(wh) && in ieee80211_find_rxnode()
[all …]
H A Dnet80211_ht.c95 struct ieee80211_frame *wh; in ieee80211_decap_amsdu() local
100 wh = (struct ieee80211_frame *)mp->b_rptr; in ieee80211_decap_amsdu()
101 hdrspace = ieee80211_hdrspace(ic, wh); in ieee80211_decap_amsdu()
378 struct ieee80211_qosframe *wh; in ieee80211_ampdu_reorder() local
387 wh = (struct ieee80211_qosframe *)m->b_rptr; in ieee80211_ampdu_reorder()
388 ASSERT(wh->i_fc[0] == IEEE80211_FC0_QOSDATA); in ieee80211_ampdu_reorder()
393 tid = wh->i_qos[0]; in ieee80211_ampdu_reorder()
553 struct ieee80211_frame_bar *wh; in ieee80211_recv_bar() local
1417 struct ieee80211_frame_min *wh; in ieee80211_send_bar() local
1429 wh->i_fc[0] = IEEE80211_FC0_VERSION_0 | in ieee80211_send_bar()
[all …]
H A Dnet80211_crypto_none.c104 struct ieee80211_frame *wh = (struct ieee80211_frame *)mp->b_rptr; in none_decap() local
105 const uint8_t *ivp = (const uint8_t *)&wh[1]; in none_decap()
H A Dnet80211.c560 const struct ieee80211_frame *wh = data; in ieee80211_hdrsize() local
564 ASSERT((wh->i_fc[0]&IEEE80211_FC0_TYPE_MASK) != in ieee80211_hdrsize()
566 if ((wh->i_fc[1] & IEEE80211_FC1_DIR_MASK) == IEEE80211_FC1_DIR_DSTODS) in ieee80211_hdrsize()
568 if (IEEE80211_QOS_HAS_SEQ(wh)) in ieee80211_hdrsize()
594 const struct ieee80211_frame *wh = data; in ieee80211_anyhdrsize() local
596 if ((wh->i_fc[0]&IEEE80211_FC0_TYPE_MASK) == IEEE80211_FC0_TYPE_CTL) { in ieee80211_anyhdrsize()
597 switch (wh->i_fc[0] & IEEE80211_FC0_SUBTYPE_MASK) { in ieee80211_anyhdrsize()
/illumos-gate/usr/src/uts/common/io/arn/
H A Darn_xmit.c322 struct ieee80211_frame *wh; in arn_tx_set_retry() local
1001 struct ieee80211_frame *wh) in assign_aggr_tid_seqno() argument
1040 *(uint16_t *)&wh->i_seq[0] = in assign_aggr_tid_seqno()
1171 struct ieee80211_frame *wh, in setup_tx_flags() argument
1213 IEEE80211_IS_DATA(wh) ? in ath_tx_setup_buffer()
1216 IEEE80211_IS_BACK_REQ(wh) ? in ath_tx_setup_buffer()
1219 IEEE80211_IS_PSPOLL(wh) ? in ath_tx_setup_buffer()
1292 struct ieee80211_frame *wh) in ath_buf_set_rate() argument
1947 arn_get_rate(sc, bf, wh); in arn_tx_start()
2020 ath_buf_set_rate(sc, bf, wh); in arn_tx_start()
[all …]
H A Darn_recv.c428 struct ieee80211_frame *wh; in arn_rx_handler() local
531 wh = (struct ieee80211_frame *)rx_mp->b_rptr; in arn_rx_handler()
533 if ((wh->i_fc[0] & IEEE80211_FC0_TYPE_MASK) == in arn_rx_handler()
549 if (IEEE80211_IS_DATA_QOS(wh)) { in arn_rx_handler()
550 if ((wh->i_fc[1] & IEEE80211_FC1_DIR_MASK) == in arn_rx_handler()
553 wh)->i_qos[0]; in arn_rx_handler()
556 ((struct ieee80211_qosframe *)wh)->i_qos[0]; in arn_rx_handler()
569 in = ieee80211_find_rxnode(ic, wh); in arn_rx_handler()
610 if ((wh->i_fc[0] & IEEE80211_FC0_TYPE_MASK) == in arn_rx_handler()
612 subtype = wh->i_fc[0] & IEEE80211_FC0_SUBTYPE_MASK; in arn_rx_handler()
/illumos-gate/usr/src/lib/libm/common/m9x/
H A Dtgammal.c944 wh = CHOPPED((z1 * (yy.h + yy.l))); in gam_n()
945 wl = (zl * yy.h + z1 * yy.l) - (wh - zh * yy.h); in gam_n()
947 rr.h = xh * wh; in gam_n()
948 rr.l = z2 * wl + xl * wh; in gam_n()
981 wh = CHOPPED((x5 * (yy.h + yy.l))); in gam_n()
982 wl = (z1 * yy.h + x5 * yy.l) - (wh - zh * yy.h); in gam_n()
983 rr.h = wh * xh; in gam_n()
984 rr.l = z * wl + xl * wh; in gam_n()
1001 wh = CHOPPED((z2 * (yy.h + yy.l))); in gam_n()
1003 rr.h = wh * xh; in gam_n()
[all …]
H A Dtgamma.c1408 double r1, r2, t2, z, xh, xl, yh, yl, zh, z1, z2, zl, x5, wh, wl; in gam_n() local
1503 wh = (double) ((float) (x5 * (yy.h + yy.l))); in gam_n()
1504 wl = (z1 * yy.h + x5 * yy.l) - (wh - zh * yy.h); in gam_n()
1505 rr.h = wh * xh; in gam_n()
1506 rr.l = z * wl + xl * wh; in gam_n()
1523 wh = (double) ((float) (z2 * (yy.h + yy.l))); in gam_n()
1524 wl = (z2 * yy.l + yl * yy.h) - (wh - (yh - 6.0) * yy.h); in gam_n()
1525 rr.h = wh * xh; in gam_n()
1526 rr.l = z * wl + xl * wh; in gam_n()
/illumos-gate/usr/src/contrib/ast/src/cmd/ksh93/sh/
H A Dtdump.c94 if(t->wh.whinc) in p_tree()
96 if(p_tree((Shnode_t*)(t->wh.whinc))<0) in p_tree()
104 if(p_tree(t->wh.whtre)<0) in p_tree()
106 return(p_tree(t->wh.dotre)); in p_tree()
H A Ddeparse.c152 if(t->wh.whinc) in p_tree()
159 if(t->wh.whinc) in p_tree()
161 struct argnod *arg = (t->wh.whtre)->ar.arexpr; in p_tree()
165 arg = (t->wh.whinc)->arexpr; in p_tree()
169 p_tree(t->wh.whtre,0); in p_tree()
170 t = t->wh.dotre; in p_tree()
176 if(tr->tre.tretyp==TWH && tr->wh.whinc && t->lst.lstlef->tre.tretyp==TARITH) in p_tree()
/illumos-gate/usr/src/uts/common/pcmcia/cs/
H A Dcs_stubs.c279 csx_RequestWindow(client_handle_t ch, window_handle_t *wh, win_req_t *wr) in csx_RequestWindow() argument
285 return (CardServices(RequestWindow, ch, wh, wr)); in csx_RequestWindow()
289 csx_ReleaseWindow(window_handle_t wh) in csx_ReleaseWindow() argument
293 cmn_err(CE_CONT, "csx_ReleaseWindow: handle: 0x%x\n", wh); in csx_ReleaseWindow()
295 return (CardServices(ReleaseWindow, wh)); in csx_ReleaseWindow()
299 csx_ModifyWindow(window_handle_t wh, modify_win_t *mw) in csx_ModifyWindow() argument
303 cmn_err(CE_CONT, "csx_ModifyWindow: handle: 0x%x\n", wh); in csx_ModifyWindow()
305 return (CardServices(ModifyWindow, wh, mw)); in csx_ModifyWindow()
309 csx_MapMemPage(window_handle_t wh, map_mem_page_t *mmp) in csx_MapMemPage() argument
313 cmn_err(CE_CONT, "csx_MapMemPage: handle: 0x%x\n", wh); in csx_MapMemPage()
[all …]
/illumos-gate/usr/src/uts/common/io/zyd/
H A Dzyd.c227 struct ieee80211_frame *wh; in zyd_receive() local
262 wh = (struct ieee80211_frame *)m->b_rptr; in zyd_receive()
263 in = ieee80211_find_rxnode(ic, wh); in zyd_receive()
285 struct ieee80211_frame *wh; in zyd_send() local
337 wh = (struct ieee80211_frame *)m->b_rptr; in zyd_send()
338 in = ieee80211_find_txnode(ic, wh->i_addr1); in zyd_send()
351 if (wh->i_fc[1] & IEEE80211_FC1_WEP) { in zyd_send()
361 wh = (struct ieee80211_frame *)m->b_rptr; in zyd_send()
403 if (!IEEE80211_IS_MULTICAST(wh->i_addr1)) { in zyd_send()
419 (wh->i_fc[0] & IEEE80211_FC0_SUBTYPE_MASK) in zyd_send()
/illumos-gate/usr/src/uts/common/io/ath/
H A Dath_main.c536 struct ieee80211_frame *wh; in ath_rx_handler() local
625 in = ieee80211_find_rxnode(ic, wh); in ath_rx_handler()
673 struct ieee80211_frame *wh; in ath_tx_start() local
692 wh = (struct ieee80211_frame *)mp->b_rptr; in ath_tx_start()
693 iswep = wh->i_fc[1] & IEEE80211_FC1_WEP; in ath_tx_start()
732 wh = (struct ieee80211_frame *)mp->b_rptr; in ath_tx_start()
822 if (IEEE80211_IS_MULTICAST(wh->i_addr1)) { in ath_tx_start()
841 *(uint16_t *)wh->i_dur = LE_16(dur); in ath_tx_start()
961 struct ieee80211_frame *wh; in ath_xmit() local
1002 wh = (struct ieee80211_frame *)mp->b_rptr; in ath_xmit()
[all …]
/illumos-gate/usr/src/uts/common/io/wpi/
H A Dwpi.c1664 struct ieee80211_frame *wh; local
1753 in = ieee80211_find_rxnode(ic, wh);
1756 (void) memcpy(mp->b_wptr, wh, len);
2082 struct ieee80211_frame *wh; local
2164 if (wh->i_fc[1] & IEEE80211_FC1_WEP) {
2216 if (wh->i_fc[1] & IEEE80211_FC1_WEP)
2892 struct ieee80211_frame *wh; local
2946 wh->i_fc[1] = IEEE80211_FC1_DIR_NODS;
2947 (void) memset(wh->i_addr1, 0xff, 6);
2949 (void) memset(wh->i_addr3, 0xff, 6);
[all …]
/illumos-gate/usr/src/cmd/cmd-inet/usr.bin/rdist/
H A Dexpand.c66 expand(list, wh) in expand() argument
68 int wh;
76 printf("expand(%x, %d)\nlist = ", list, wh);
80 if (wh == 0) {
89 which = wh;
/illumos-gate/usr/src/uts/common/io/ral/
H A Drt2560.c1178 struct ieee80211_frame *wh; in rt2560_rx_intr() local
1253 ni = ieee80211_find_rxnode(ic, wh); in rt2560_rx_intr()
1433 struct ieee80211_frame *wh; in rt2560_mgmt_send() local
1474 wh = (struct ieee80211_frame *)m->b_rptr; in rt2560_mgmt_send()
1484 if (wh->i_fc[1] & IEEE80211_FC1_WEP) { in rt2560_mgmt_send()
1505 wh = (struct ieee80211_frame *)m->b_rptr; in rt2560_mgmt_send()
1512 *(uint16_t *)wh->i_dur = LE_16(dur); in rt2560_mgmt_send()
1565 struct ieee80211_frame *wh; in rt2560_send() local
1604 wh = (struct ieee80211_frame *)m->b_rptr; in rt2560_send()
1615 if (wh->i_fc[1] & IEEE80211_FC1_WEP) { in rt2560_send()
[all …]
/illumos-gate/usr/src/uts/common/pcmcia/sys/
H A Dcs_priv.h620 #define GET_WINDOW_NUMBER(wh) ((wh) & WINDOW_HANDLE_MASK) argument
621 #define GET_WINDOW_MAGIC(wh) ((wh) & ~WINDOW_HANDLE_MASK) argument

123