Home
last modified time | relevance | path

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

/drivers/net/ethernet/chelsio/inline_crypto/chtls/
Dchtls_io.c77 int flowclen16, flowclen; in flowc_wr_credits() local
79 flowclen = offsetof(struct fw_flowc_wr, mnemval[nparams]); in flowc_wr_credits()
80 flowclen16 = DIV_ROUND_UP(flowclen, 16); in flowc_wr_credits()
81 flowclen = flowclen16 * 16; in flowc_wr_credits()
84 *flowclenp = flowclen; in flowc_wr_credits()
91 int flowclen) in create_flowc_wr_skb() argument
96 skb = alloc_skb(flowclen, GFP_ATOMIC); in create_flowc_wr_skb()
100 __skb_put_data(skb, flowc, flowclen); in create_flowc_wr_skb()
107 int flowclen) in send_flowc_wr() argument
115 flowclen16 = flowclen / 16; in send_flowc_wr()
[all …]
/drivers/target/iscsi/cxgbit/
Dcxgbit_cm.c1095 u32 len, flowclen; in cxgbit_alloc_csk_skb() local
1098 flowclen = offsetof(struct fw_flowc_wr, in cxgbit_alloc_csk_skb()
1104 len = max(len, flowclen); in cxgbit_alloc_csk_skb()
1391 u32 nparams, flowclen16, flowclen; in cxgbit_tx_flowc_wr_credits() local
1401 flowclen = offsetof(struct fw_flowc_wr, mnemval[nparams]); in cxgbit_tx_flowc_wr_credits()
1402 flowclen16 = DIV_ROUND_UP(flowclen, 16); in cxgbit_tx_flowc_wr_credits()
1403 flowclen = flowclen16 * 16; in cxgbit_tx_flowc_wr_credits()
1411 *flowclenp = flowclen; in cxgbit_tx_flowc_wr_credits()
1419 u32 nparams, flowclen16, flowclen; in cxgbit_send_tx_flowc_wr() local
1427 flowclen16 = cxgbit_tx_flowc_wr_credits(csk, &nparams, &flowclen); in cxgbit_send_tx_flowc_wr()
[all …]
/drivers/scsi/cxgbi/cxgb4i/
Dcxgb4i.c592 int nparams, flowclen16, flowclen; in tx_flowc_wr_credits() local
598 flowclen = offsetof(struct fw_flowc_wr, mnemval[nparams]); in tx_flowc_wr_credits()
599 flowclen16 = DIV_ROUND_UP(flowclen, 16); in tx_flowc_wr_credits()
600 flowclen = flowclen16 * 16; in tx_flowc_wr_credits()
608 *flowclenp = flowclen; in tx_flowc_wr_credits()
617 int nparams, flowclen16, flowclen; in send_tx_flowc_wr() local
622 flowclen16 = tx_flowc_wr_credits(&nparams, &flowclen); in send_tx_flowc_wr()
623 skb = alloc_wr(flowclen, 0, GFP_ATOMIC); in send_tx_flowc_wr()
/drivers/infiniband/hw/cxgb4/
Dcm.c594 int flowclen, flowclen16; in send_flowc() local
604 flowclen = offsetof(struct fw_flowc_wr, mnemval[nparams]); in send_flowc()
605 flowclen16 = DIV_ROUND_UP(flowclen, 16); in send_flowc()
606 flowclen = flowclen16 * 16; in send_flowc()
608 flowc = __skb_put(skb, flowclen); in send_flowc()
609 memset(flowc, 0, flowclen); in send_flowc()