Home
last modified time | relevance | path

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

/drivers/s390/net/
Dctcm_fsms.c288 ch->trans_skb->data = ch->trans_skb_data; in chx_txdone()
289 skb_reset_tail_pointer(ch->trans_skb); in chx_txdone()
290 ch->trans_skb->len = 0; in chx_txdone()
295 *((__u16 *)skb_put(ch->trans_skb, 2)) = ch->collect_len + 2; in chx_txdone()
299 skb_put(ch->trans_skb, skb->len), skb->len); in chx_txdone()
308 ch->ccw[1].count = ch->trans_skb->len; in chx_txdone()
363 struct sk_buff *skb = ch->trans_skb; in chx_rx()
456 *((__u16 *)ch->trans_skb->data) = CTCM_INITIAL_BLOCKLEN; in chx_firstio()
477 *((__u16 *)ch->trans_skb->data) = CTCM_INITIAL_BLOCKLEN; in chx_firstio()
522 buflen = *((__u16 *)ch->trans_skb->data); in chx_rxidle()
[all …]
Dctcm_main.c220 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 …]
Dctcm_main.h153 struct sk_buff *trans_skb; /* transmit/receive buffer */ member
281 if (ch->trans_skb == NULL) in ctcm_checkalloc_buffer()
284 dev_kfree_skb(ch->trans_skb); in ctcm_checkalloc_buffer()
Dctcm_mpc.c1695 ch->trans_skb->data = ch->trans_skb_data; in mpc_action_side_xid()
1696 skb_reset_tail_pointer(ch->trans_skb); in mpc_action_side_xid()
1697 ch->trans_skb->len = 0; in mpc_action_side_xid()
1702 memset(ch->trans_skb->data, 0, 16); in mpc_action_side_xid()
1705 skb_put(ch->trans_skb, TH_HEADER_LENGTH); in mpc_action_side_xid()
1706 ch->rcvd_xid = (struct xid2 *)skb_tail_pointer(ch->trans_skb); in mpc_action_side_xid()
1708 skb_put(ch->trans_skb, XID2_LENGTH); in mpc_action_side_xid()
1709 ch->rcvd_xid_id = skb_tail_pointer(ch->trans_skb); in mpc_action_side_xid()
1711 ch->trans_skb->data = ch->trans_skb_data; in mpc_action_side_xid()
1712 skb_reset_tail_pointer(ch->trans_skb); in mpc_action_side_xid()
[all …]