Lines Matching refs:trans_skb
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()
394 if (set_normalized_cda(&ch->ccw[1], ch->trans_skb->data)) { in ctcm_ch_alloc_buffer()
395 dev_kfree_skb(ch->trans_skb); in ctcm_ch_alloc_buffer()
396 ch->trans_skb = NULL; in ctcm_ch_alloc_buffer()
405 ch->trans_skb_data = ch->trans_skb->data; in ctcm_ch_alloc_buffer()
549 skb_reset_tail_pointer(ch->trans_skb); in ctcm_transmit_skb()
550 ch->trans_skb->len = 0; in ctcm_transmit_skb()
553 skb_put(ch->trans_skb, skb->len), skb->len); in ctcm_transmit_skb()
806 skb_reset_tail_pointer(ch->trans_skb); in ctcmpc_transmit_skb()
807 ch->trans_skb->len = 0; in ctcmpc_transmit_skb()
809 memcpy(skb_put(ch->trans_skb, skb->len), skb->data, skb->len); in ctcmpc_transmit_skb()
815 __func__, dev->name, ch->trans_skb->len); in ctcmpc_transmit_skb()
816 CTCM_D3_DUMP((char *)ch->trans_skb->data, in ctcmpc_transmit_skb()
817 min_t(int, 32, ch->trans_skb->len)); in ctcmpc_transmit_skb()