Lines Matching refs:trans_skb
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()
556 skb_put(ch->trans_skb, skb->len), skb->len); in ctcm_transmit_skb()
769 skb_reset_tail_pointer(ch->trans_skb); in ctcmpc_transmit_skb()
770 ch->trans_skb->len = 0; in ctcmpc_transmit_skb()
772 skb_put_data(ch->trans_skb, skb->data, skb->len); in ctcmpc_transmit_skb()
778 __func__, dev->name, ch->trans_skb->len); in ctcmpc_transmit_skb()
779 CTCM_D3_DUMP((char *)ch->trans_skb->data, in ctcmpc_transmit_skb()
780 min_t(int, 32, ch->trans_skb->len)); in ctcmpc_transmit_skb()