Searched refs:trans_skb (Results 1 – 3 of 3) sorted by relevance
155 struct sk_buff *trans_skb; /* transmit/receive buffer */ member283 if (ch->trans_skb == NULL) in ctcm_checkalloc_buffer()286 dev_kfree_skb(ch->trans_skb); in ctcm_checkalloc_buffer()
220 if (ch->trans_skb != NULL) { in channel_remove()222 dev_kfree_skb_any(ch->trans_skb); in channel_remove()384 ch->trans_skb = __dev_alloc_skb(ch->max_bufsize, GFP_ATOMIC | GFP_DMA); in ctcm_ch_alloc_buffer()385 if (ch->trans_skb == NULL) { in ctcm_ch_alloc_buffer()395 if (set_normalized_cda(&ch->ccw[1], ch->trans_skb->data)) { in ctcm_ch_alloc_buffer()396 dev_kfree_skb(ch->trans_skb); in ctcm_ch_alloc_buffer()397 ch->trans_skb = NULL; in ctcm_ch_alloc_buffer()407 ch->trans_skb_data = ch->trans_skb->data; in ctcm_ch_alloc_buffer()551 skb_reset_tail_pointer(ch->trans_skb); in ctcm_transmit_skb()552 ch->trans_skb->len = 0; in ctcm_transmit_skb()[all …]
1666 ch->trans_skb->data = ch->trans_skb_data; in mpc_action_side_xid()1667 skb_reset_tail_pointer(ch->trans_skb); in mpc_action_side_xid()1668 ch->trans_skb->len = 0; in mpc_action_side_xid()1673 memset(ch->trans_skb->data, 0, 16); in mpc_action_side_xid()1676 skb_put(ch->trans_skb, TH_HEADER_LENGTH); in mpc_action_side_xid()1677 ch->rcvd_xid = (struct xid2 *)skb_tail_pointer(ch->trans_skb); in mpc_action_side_xid()1679 skb_put(ch->trans_skb, XID2_LENGTH); in mpc_action_side_xid()1680 ch->rcvd_xid_id = skb_tail_pointer(ch->trans_skb); in mpc_action_side_xid()1682 ch->trans_skb->data = ch->trans_skb_data; in mpc_action_side_xid()1683 skb_reset_tail_pointer(ch->trans_skb); in mpc_action_side_xid()[all …]