Home
last modified time | relevance | path

Searched refs:txh (Results 1 – 4 of 4) sorted by relevance

/freebsd/sys/contrib/openzfs/module/zfs/
H A Ddmu_tx.c109 dmu_tx_hold_t *txh; in dmu_tx_hold_dnode_impl() local
127 txh = kmem_zalloc(sizeof (dmu_tx_hold_t), KM_SLEEP); in dmu_tx_hold_dnode_impl()
128 txh->txh_tx = tx; in dmu_tx_hold_dnode_impl()
129 txh->txh_dnode = dn; in dmu_tx_hold_dnode_impl()
130 zfs_refcount_create(&txh->txh_space_towrite); in dmu_tx_hold_dnode_impl()
131 zfs_refcount_create(&txh->txh_memory_tohold); in dmu_tx_hold_dnode_impl()
132 txh->txh_type = type; in dmu_tx_hold_dnode_impl()
133 txh->txh_arg1 = arg1; in dmu_tx_hold_dnode_impl()
134 txh->txh_arg2 = arg2; in dmu_tx_hold_dnode_impl()
135 list_insert_tail(&tx->tx_holds, txh); in dmu_tx_hold_dnode_impl()
[all …]
/freebsd/sys/contrib/dev/broadcom/brcm80211/brcmsmac/
H A Dampdu.c494 struct d11txh *txh = (struct d11txh *)p->data; in brcms_c_ampdu_add_frame() local
503 ndelim = txh->RTSPLCPFallback[AMPDU_FBR_NULL_DELIM]; in brcms_c_ampdu_add_frame()
504 plcp = (u8 *)(txh + 1); in brcms_c_ampdu_add_frame()
505 fbr_iscck = !(le16_to_cpu(txh->XtraFrameTypes) & 0x03); in brcms_c_ampdu_add_frame()
506 len = fbr_iscck ? BRCMS_GET_CCK_PLCP_LEN(txh->FragPLCPFallback) : in brcms_c_ampdu_add_frame()
507 BRCMS_GET_MIMO_PLCP_LEN(txh->FragPLCPFallback); in brcms_c_ampdu_add_frame()
551 uint fifo = le16_to_cpu(txh->TxFrameID) & TXFID_QUEUE_MASK; in brcms_c_ampdu_add_frame()
558 plcp0 = txh->FragPLCPFallback[0]; in brcms_c_ampdu_add_frame()
559 plcp3 = txh->FragPLCPFallback[3]; in brcms_c_ampdu_add_frame()
582 mcl = le16_to_cpu(txh->MacTxControlLow); in brcms_c_ampdu_add_frame()
[all …]
H A Dbrcms_trace_brcmsmac_tx.h27 void *txh, size_t txh_len),
28 TP_ARGS(dev, txh, txh_len),
31 __dynamic_array(u8, txh, txh_len)
35 memcpy(__get_dynamic_array(txh), txh, txh_len);
H A Dmain.c831 struct d11txh *txh = NULL; in brcms_c_dotxstatus() local
872 txh = (struct d11txh *) (p->data); in brcms_c_dotxstatus()
876 txs->phyerr, txh->MainRates); in brcms_c_dotxstatus()
878 if (txs->frameid != le16_to_cpu(txh->TxFrameID)) { in brcms_c_dotxstatus()
883 h = (struct ieee80211_hdr *)((u8 *) (txh + 1) + D11_PHY_HDR_LEN); in brcms_c_dotxstatus()
898 trace_brcms_txdesc(&wlc->hw->d11core->dev, txh, sizeof(*txh)); in brcms_c_dotxstatus()
902 unsigned xfts = le16_to_cpu(txh->XtraFrameTypes); in brcms_c_dotxstatus()
993 if (txh) in brcms_c_dotxstatus()
994 trace_brcms_txdesc(&wlc->hw->d11core->dev, txh, in brcms_c_dotxstatus()
995 sizeof(*txh)); in brcms_c_dotxstatus()
[all …]