Searched refs:trans_skb (Results 1 - 8 of 8) sorted by relevance
/kernel/linux/linux-5.10/drivers/s390/net/ |
H A D | ctcm_fsms.c | 287 ch->trans_skb->data = ch->trans_skb_data; in chx_txdone() 288 skb_reset_tail_pointer(ch->trans_skb); in chx_txdone() 289 ch->trans_skb->len = 0; in chx_txdone() 294 *((__u16 *)skb_put(ch->trans_skb, 2)) = ch->collect_len + 2; in chx_txdone() 298 skb_put(ch->trans_skb, skb->len), skb->len); in chx_txdone() 307 ch->ccw[1].count = ch->trans_skb->len; in chx_txdone() 361 struct sk_buff *skb = ch->trans_skb; in chx_rx() 453 *((__u16 *)ch->trans_skb->data) = CTCM_INITIAL_BLOCKLEN; in chx_firstio() 474 *((__u16 *)ch->trans_skb->data) = CTCM_INITIAL_BLOCKLEN; in chx_firstio() 518 buflen = *((__u16 *)ch->trans_skb in chx_rxidle() [all...] |
H A D | ctcm_main.h | 154 struct sk_buff *trans_skb; /* transmit/receive buffer */ member 282 if (ch->trans_skb == NULL) in ctcm_checkalloc_buffer() 285 dev_kfree_skb(ch->trans_skb); in ctcm_checkalloc_buffer()
|
H A D | ctcm_main.c | 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() 388 "%s(%s): %s trans_skb allocation error", 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() 538 * trans_skb in ctcm_transmit_skb() [all...] |
H A D | ctcm_mpc.c | 1678 ch->trans_skb->data = ch->trans_skb_data; in mpc_action_side_xid() 1679 skb_reset_tail_pointer(ch->trans_skb); in mpc_action_side_xid() 1680 ch->trans_skb->len = 0; in mpc_action_side_xid() 1683 * because of possible reuse of the trans_skb in mpc_action_side_xid() 1685 memset(ch->trans_skb->data, 0, 16); in mpc_action_side_xid() 1688 skb_put(ch->trans_skb, TH_HEADER_LENGTH); in mpc_action_side_xid() 1689 ch->rcvd_xid = (struct xid2 *)skb_tail_pointer(ch->trans_skb); in mpc_action_side_xid() 1691 skb_put(ch->trans_skb, XID2_LENGTH); in mpc_action_side_xid() 1692 ch->rcvd_xid_id = skb_tail_pointer(ch->trans_skb); in mpc_action_side_xid() 1694 ch->trans_skb in mpc_action_side_xid() [all...] |
/kernel/linux/linux-6.6/drivers/s390/net/ |
H A D | ctcm_fsms.c | 287 ch->trans_skb->data = ch->trans_skb_data; in chx_txdone() 288 skb_reset_tail_pointer(ch->trans_skb); in chx_txdone() 289 ch->trans_skb->len = 0; in chx_txdone() 294 *((__u16 *)skb_put(ch->trans_skb, 2)) = ch->collect_len + 2; in chx_txdone() 298 skb_put(ch->trans_skb, skb->len), skb->len); in chx_txdone() 307 ch->ccw[1].count = ch->trans_skb->len; in chx_txdone() 361 struct sk_buff *skb = ch->trans_skb; in chx_rx() 453 *((__u16 *)ch->trans_skb->data) = CTCM_INITIAL_BLOCKLEN; in chx_firstio() 474 *((__u16 *)ch->trans_skb->data) = CTCM_INITIAL_BLOCKLEN; in chx_firstio() 518 buflen = *((__u16 *)ch->trans_skb in chx_rxidle() [all...] |
H A D | ctcm_main.h | 155 struct sk_buff *trans_skb; /* transmit/receive buffer */ member 283 if (ch->trans_skb == NULL) in ctcm_checkalloc_buffer() 286 dev_kfree_skb(ch->trans_skb); in ctcm_checkalloc_buffer()
|
H A D | ctcm_main.c | 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() 388 "%s(%s): %s trans_skb allocation error", 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() 538 * trans_skb in ctcm_transmit_skb() [all...] |
H A D | ctcm_mpc.c | 1667 ch->trans_skb->data = ch->trans_skb_data; in mpc_action_side_xid() 1668 skb_reset_tail_pointer(ch->trans_skb); in mpc_action_side_xid() 1669 ch->trans_skb->len = 0; in mpc_action_side_xid() 1672 * because of possible reuse of the trans_skb in mpc_action_side_xid() 1674 memset(ch->trans_skb->data, 0, 16); in mpc_action_side_xid() 1677 skb_put(ch->trans_skb, TH_HEADER_LENGTH); in mpc_action_side_xid() 1678 ch->rcvd_xid = (struct xid2 *)skb_tail_pointer(ch->trans_skb); in mpc_action_side_xid() 1680 skb_put(ch->trans_skb, XID2_LENGTH); in mpc_action_side_xid() 1681 ch->rcvd_xid_id = skb_tail_pointer(ch->trans_skb); in mpc_action_side_xid() 1683 ch->trans_skb in mpc_action_side_xid() [all...] |
Completed in 10 milliseconds