Searched refs:wrlen (Results 1 – 7 of 7) sorted by relevance
/Linux-v5.4/drivers/crypto/chelsio/chtls/ |
D | chtls_hw.c | 47 unsigned int wrlen; in __set_tcb_field() local 49 wrlen = roundup(sizeof(*req) + sizeof(*sc), 16); in __set_tcb_field() 52 req = (struct cpl_set_tcb_field *)__skb_put(skb, wrlen); in __set_tcb_field() 68 unsigned int wrlen; in chtls_set_tcb_field() local 71 wrlen = roundup(sizeof(*req) + sizeof(*sc), 16); in chtls_set_tcb_field() 73 skb = alloc_skb(wrlen, GFP_ATOMIC); in chtls_set_tcb_field() 77 credits_needed = DIV_ROUND_UP(wrlen, 16); in chtls_set_tcb_field() 296 int wrlen, klen, len; in chtls_setkey() local 307 wrlen = roundup(sizeof(*kwr), 16); in chtls_setkey() 308 len = klen + wrlen; in chtls_setkey()
|
/Linux-v5.4/drivers/scsi/cxgbi/ |
D | libcxgbi.h | 351 static inline struct sk_buff *alloc_wr(int wrlen, int dlen, gfp_t gfp) in alloc_wr() argument 353 struct sk_buff *skb = alloc_skb(wrlen + dlen, gfp); in alloc_wr() 356 __skb_put(skb, wrlen); in alloc_wr() 357 memset(skb->head, 0, wrlen + dlen); in alloc_wr() 359 pr_info("alloc cpl wr skb %u+%u, OOM.\n", wrlen, dlen); in alloc_wr()
|
/Linux-v5.4/drivers/infiniband/hw/cxgb4/ |
D | cm.c | 649 u32 wrlen = roundup(sizeof(struct cpl_close_con_req), 16); in send_halfclose() local 655 cxgb_mk_close_con_req(skb, wrlen, ep->hwtid, ep->txq_idx, in send_halfclose() 665 int wrlen = roundup(sizeof(*req), 16); in read_tcb() local 672 req = (struct cpl_get_tcb *) skb_put(skb, wrlen); in read_tcb() 673 memset(req, 0, wrlen); in read_tcb() 689 u32 wrlen = roundup(sizeof(struct cpl_abort_req), 16); in send_abort_req() local 696 cxgb_mk_abort_req(req_skb, wrlen, ep->hwtid, ep->txq_idx, in send_abort_req() 726 int win, sizev4, sizev6, wrlen; in send_connect() local 762 wrlen = (ep->com.remote_addr.ss_family == AF_INET) ? in send_connect() 768 skb = get_skb(NULL, wrlen, GFP_KERNEL); in send_connect() [all …]
|
/Linux-v5.4/drivers/net/ethernet/chelsio/cxgb4/ |
D | cxgb4_uld.h | 70 #define INIT_ULPTX_WR(w, wrlen, atomic, tid) do { \ argument 73 (w)->wr.wr_mid = htonl(FW_WR_LEN16_V(DIV_ROUND_UP(wrlen, 16)) | \
|
D | cxgb4_filter.c | 1462 unsigned int wrlen; in cxgb4_del_hash_filter() local 1487 wrlen = roundup(sizeof(*wr) + (sizeof(*req) + sizeof(*aligner)) in cxgb4_del_hash_filter() 1489 skb = alloc_skb(wrlen, GFP_KERNEL); in cxgb4_del_hash_filter() 1495 req = (struct cpl_set_tcb_field *)__skb_put(skb, wrlen); in cxgb4_del_hash_filter() 1496 INIT_ULPTX_WR(req, wrlen, 0, 0); in cxgb4_del_hash_filter()
|
/Linux-v5.4/drivers/scsi/cxgbi/cxgb3i/ |
D | cxgb3i.c | 331 static unsigned int wrlen __read_mostly; 347 wrlen = wr_len * 8; in init_wr_tab() 412 if (wrs_needed > 1 && len + sizeof(struct tx_data_wr) <= wrlen) in push_tx_frames()
|
/Linux-v5.4/drivers/crypto/chelsio/ |
D | chcr_algo.c | 2293 int aadmax, int wrlen, in chcr_aead_need_fallback() argument 2301 (wrlen > SGE_MAX_WR_LEN)) in chcr_aead_need_fallback()
|