Searched refs:trans_skb (Results 1 – 5 of 5) sorted by relevance
| /linux-4.4.14/drivers/s390/net/ |
| D | ctcm_fsms.c | 286 ch->trans_skb->data = ch->trans_skb_data; in chx_txdone() 287 skb_reset_tail_pointer(ch->trans_skb); in chx_txdone() 288 ch->trans_skb->len = 0; in chx_txdone() 293 *((__u16 *)skb_put(ch->trans_skb, 2)) = ch->collect_len + 2; in chx_txdone() 297 skb_put(ch->trans_skb, skb->len), skb->len); in chx_txdone() 306 ch->ccw[1].count = ch->trans_skb->len; in chx_txdone() 361 struct sk_buff *skb = ch->trans_skb; in chx_rx() 454 *((__u16 *)ch->trans_skb->data) = CTCM_INITIAL_BLOCKLEN; in chx_firstio() 475 *((__u16 *)ch->trans_skb->data) = CTCM_INITIAL_BLOCKLEN; in chx_firstio() 520 buflen = *((__u16 *)ch->trans_skb->data); in chx_rxidle() [all …]
|
| D | ctcm_main.h | 153 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()
|
| D | ctcm_main.c | 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 …]
|
| D | ctcm_mpc.c | 1683 ch->trans_skb->data = ch->trans_skb_data; in mpc_action_side_xid() 1684 skb_reset_tail_pointer(ch->trans_skb); in mpc_action_side_xid() 1685 ch->trans_skb->len = 0; in mpc_action_side_xid() 1690 memset(ch->trans_skb->data, 0, 16); in mpc_action_side_xid() 1693 skb_put(ch->trans_skb, TH_HEADER_LENGTH); in mpc_action_side_xid() 1694 ch->rcvd_xid = (struct xid2 *)skb_tail_pointer(ch->trans_skb); in mpc_action_side_xid() 1696 skb_put(ch->trans_skb, XID2_LENGTH); in mpc_action_side_xid() 1697 ch->rcvd_xid_id = skb_tail_pointer(ch->trans_skb); in mpc_action_side_xid() 1699 ch->trans_skb->data = ch->trans_skb_data; in mpc_action_side_xid() 1700 skb_reset_tail_pointer(ch->trans_skb); in mpc_action_side_xid() [all …]
|
| /linux-4.4.14/drivers/net/ethernet/mellanox/mlxsw/ |
| D | core.c | 446 struct sk_buff *trans_skb; in mlxsw_emad_transmit() local 455 trans_skb = skb_copy(skb, GFP_KERNEL); in mlxsw_emad_transmit() 456 if (!trans_skb) { in mlxsw_emad_transmit() 461 err = __mlxsw_emad_transmit(mlxsw_core, trans_skb, tx_info); in mlxsw_emad_transmit()
|