Searched refs:trans_skb (Results 1 – 4 of 4) sorted by relevance
287 ch->trans_skb->data = ch->trans_skb_data; in chx_txdone()288 skb_reset_tail_pointer(ch->trans_skb); in chx_txdone()289 ch->trans_skb->len = 0; in chx_txdone()294 *((__u16 *)skb_put(ch->trans_skb, 2)) = ch->collect_len + 2; in chx_txdone()298 skb_put(ch->trans_skb, skb->len), skb->len); in chx_txdone()307 ch->ccw[1].count = ch->trans_skb->len; in chx_txdone()361 struct sk_buff *skb = ch->trans_skb; in chx_rx()453 *((__u16 *)ch->trans_skb->data) = CTCM_INITIAL_BLOCKLEN; in chx_firstio()474 *((__u16 *)ch->trans_skb->data) = CTCM_INITIAL_BLOCKLEN; in chx_firstio()518 buflen = *((__u16 *)ch->trans_skb->data); in chx_rxidle()[all …]
154 struct sk_buff *trans_skb; /* transmit/receive buffer */ member282 if (ch->trans_skb == NULL) in ctcm_checkalloc_buffer()285 dev_kfree_skb(ch->trans_skb); in ctcm_checkalloc_buffer()
221 if (ch->trans_skb != NULL) { in channel_remove()223 dev_kfree_skb_any(ch->trans_skb); in channel_remove()385 ch->trans_skb = __dev_alloc_skb(ch->max_bufsize, GFP_ATOMIC | GFP_DMA); in ctcm_ch_alloc_buffer()386 if (ch->trans_skb == NULL) { in ctcm_ch_alloc_buffer()396 if (set_normalized_cda(&ch->ccw[1], ch->trans_skb->data)) { in ctcm_ch_alloc_buffer()397 dev_kfree_skb(ch->trans_skb); in ctcm_ch_alloc_buffer()398 ch->trans_skb = NULL; in ctcm_ch_alloc_buffer()408 ch->trans_skb_data = ch->trans_skb->data; in ctcm_ch_alloc_buffer()552 skb_reset_tail_pointer(ch->trans_skb); in ctcm_transmit_skb()553 ch->trans_skb->len = 0; in ctcm_transmit_skb()[all …]
1664 ch->trans_skb->data = ch->trans_skb_data; in mpc_action_side_xid()1665 skb_reset_tail_pointer(ch->trans_skb); in mpc_action_side_xid()1666 ch->trans_skb->len = 0; in mpc_action_side_xid()1671 memset(ch->trans_skb->data, 0, 16); in mpc_action_side_xid()1674 skb_put(ch->trans_skb, TH_HEADER_LENGTH); in mpc_action_side_xid()1675 ch->rcvd_xid = (struct xid2 *)skb_tail_pointer(ch->trans_skb); in mpc_action_side_xid()1677 skb_put(ch->trans_skb, XID2_LENGTH); in mpc_action_side_xid()1678 ch->rcvd_xid_id = skb_tail_pointer(ch->trans_skb); in mpc_action_side_xid()1680 ch->trans_skb->data = ch->trans_skb_data; in mpc_action_side_xid()1681 skb_reset_tail_pointer(ch->trans_skb); in mpc_action_side_xid()[all …]