| /linux/net/ipv4/ |
| H A D | inet_connection_sock.c | 928 struct request_sock *nreq; in inet_reqsk_clone() 930 nreq = kmem_cache_alloc(req->rsk_ops->slab, GFP_ATOMIC | __GFP_NOWARN); in inet_reqsk_clone() 931 if (!nreq) { in inet_reqsk_clone() 940 nreq_sk = req_to_sk(nreq); in inet_reqsk_clone() 955 nreq->rsk_listener = sk; in inet_reqsk_clone() 957 if (sk->sk_protocol == IPPROTO_TCP && tcp_rsk(nreq)->tfo_listener) { in inet_reqsk_clone() 960 /* reqsk_fastopen_remove() will uncharge nreq->rsk_listener, in inet_reqsk_clone() 972 rcu_assign_pointer(tcp_sk(nreq->sk)->fastopen_rsk, nreq); in reqsk_queue_migrated() 976 mptcp_subflow_reqsk_clone(req, nreq); in reqsk_migrate_reset() 917 struct request_sock *nreq; inet_reqsk_clone() local 1036 struct request_sock *nreq = NULL, *oreq = req; reqsk_timer_handler() local 1428 struct request_sock *nreq; inet_csk_complete_hashdance() local 1482 struct request_sock *nreq; inet_csk_listen_stop() local [all...] |
| /linux/drivers/infiniband/hw/mlx5/ |
| H A D | wr.c | 29 int mlx5r_wq_overflow(struct mlx5_ib_wq *wq, int nreq, struct ib_cq *ib_cq) in mlx5r_wq_overflow() argument 35 if (likely(cur + nreq < wq->max_post)) in mlx5r_wq_overflow() 43 return cur + nreq >= wq->max_post; in mlx5r_wq_overflow() 726 int *size, void **cur_edge, int nreq, __be32 general_id, in mlx5r_begin_wqe() argument 729 if (unlikely(mlx5r_wq_overflow(&qp->sq, nreq, qp->ibqp.send_cq))) in mlx5r_begin_wqe() 751 void **cur_edge, int nreq) in begin_wqe() argument 753 return mlx5r_begin_wqe(qp, seg, ctrl, idx, size, cur_edge, nreq, in begin_wqe() 760 u64 wr_id, int nreq, u8 fence, u32 mlx5_opcode) in mlx5r_finish_wqe() argument 773 qp->sq.wqe_head[idx] = qp->sq.head + nreq; in mlx5r_finish_wqe() 815 void **cur_edge, unsigned int *idx, int nreq, in handle_psv() argument 849 handle_reg_mr_integrity(struct mlx5_ib_dev * dev,struct mlx5_ib_qp * qp,const struct ib_send_wr * wr,struct mlx5_wqe_ctrl_seg ** ctrl,void ** seg,int * size,void ** cur_edge,unsigned int * idx,int nreq,u8 fence,u8 next_fence) handle_reg_mr_integrity() argument 936 handle_qpt_rc(struct mlx5_ib_dev * dev,struct mlx5_ib_qp * qp,const struct ib_send_wr * wr,struct mlx5_wqe_ctrl_seg ** ctrl,void ** seg,int * size,void ** cur_edge,unsigned int * idx,int nreq,u8 fence,u8 next_fence,int * num_sge) handle_qpt_rc() argument 1027 mlx5r_ring_db(struct mlx5_ib_qp * qp,unsigned int nreq,struct mlx5_wqe_ctrl_seg * ctrl) mlx5r_ring_db() argument 1068 int nreq; mlx5_ib_post_send() local 1218 int nreq; mlx5_ib_post_recv() local [all...] |
| H A D | wr.h | 94 int mlx5r_wq_overflow(struct mlx5_ib_wq *wq, int nreq, struct ib_cq *ib_cq); 97 int *size, void **cur_edge, int nreq, __be32 general_id, 101 u64 wr_id, int nreq, u8 fence, u32 mlx5_opcode); 102 void mlx5r_ring_db(struct mlx5_ib_qp *qp, unsigned int nreq,
|
| /linux/drivers/crypto/intel/qat/qat_common/ |
| H A D | qat_comp_algs.c | 364 struct acomp_req *nreq = acomp_request_ctx(req); in qat_comp_alg_zstd_decompress() local 384 memcpy(nreq, req, sizeof(*req)); in qat_comp_alg_zstd_decompress() 385 acomp_request_set_tfm(nreq, ctx->ftfm); in qat_comp_alg_zstd_decompress() 387 ret = crypto_acomp_decompress(nreq); in qat_comp_alg_zstd_decompress() 388 req->dlen = nreq->dlen; in qat_comp_alg_zstd_decompress() 555 struct acomp_req *nreq = acomp_request_ctx(req); in qat_comp_alg_lz4s_zstd_compress() local 562 memcpy(nreq, req, sizeof(*req)); in qat_comp_alg_lz4s_zstd_compress() 563 acomp_request_set_tfm(nreq, ctx->ftfm); in qat_comp_alg_lz4s_zstd_compress() 565 ret = crypto_acomp_compress(nreq); in qat_comp_alg_lz4s_zstd_compress() 566 req->dlen = nreq->dlen; in qat_comp_alg_lz4s_zstd_compress() [all …]
|
| /linux/drivers/infiniband/hw/mthca/ |
| H A D | mthca_qp.c | 1568 static inline int mthca_wq_overflow(struct mthca_wq *wq, int nreq, in mthca_wq_overflow() argument 1575 if (likely(cur + nreq < wq->max)) in mthca_wq_overflow() 1583 return cur + nreq >= wq->max; in mthca_wq_overflow() 1634 int nreq; in mthca_tavor_post_send() local 1655 for (nreq = 0; wr; ++nreq, wr = wr->next) { in mthca_tavor_post_send() 1656 if (mthca_wq_overflow(&qp->sq, nreq, qp->ibqp.send_cq)) { in mthca_tavor_post_send() 1660 qp->sq.max, nreq); in mthca_tavor_post_send() 1789 cpu_to_be32((nreq ? 0 : MTHCA_NEXT_DBD) | size | in mthca_tavor_post_send() 1793 if (!nreq) { in mthca_tavor_post_send() 1806 if (likely(nreq)) { in mthca_tavor_post_send() [all …]
|
| H A D | mthca_srq.c | 493 int nreq; in mthca_tavor_post_srq_recv() local 502 for (nreq = 0; wr; wr = wr->next) { in mthca_tavor_post_srq_recv() 543 ++nreq; in mthca_tavor_post_srq_recv() 544 if (unlikely(nreq == MTHCA_TAVOR_MAX_WQES_PER_RECV_DB)) { in mthca_tavor_post_srq_recv() 545 nreq = 0; in mthca_tavor_post_srq_recv() 561 if (likely(nreq)) { in mthca_tavor_post_srq_recv() 568 mthca_write64(first_ind << srq->wqe_shift, (srq->srqn << 8) | nreq, in mthca_tavor_post_srq_recv() 586 int nreq; in mthca_arbel_post_srq_recv() local 592 for (nreq = 0; wr; ++nreq, wr = wr->next) { in mthca_arbel_post_srq_recv() 627 if (likely(nreq)) { in mthca_arbel_post_srq_recv() [all …]
|
| /linux/crypto/ |
| H A D | acompress.c | 563 struct acomp_req *nreq; in acomp_request_clone() local 570 nreq = kzalloc(len, gfp); in acomp_request_clone() 571 if (!nreq) { in acomp_request_clone() 576 memcpy(nreq, req, sizeof(*req)); in acomp_request_clone() 577 nreq->base.flags &= ~CRYPTO_TFM_REQ_ON_STACK; in acomp_request_clone() 580 nreq->src = &nreq->chain.ssg; in acomp_request_clone() 582 nreq->dst = &nreq->chain.dsg; in acomp_request_clone() 583 return nreq; in acomp_request_clone()
|
| /linux/fs/nfs/ |
| H A D | pnfs_nfs.c | 417 unsigned int nreq = 0; in pnfs_bucket_alloc_ds_commits() 429 nreq++; in pnfs_bucket_alloc_ds_commits() 433 return nreq; in pnfs_bucket_alloc_ds_commits() 438 return nreq; 473 unsigned int nreq = 0; in pnfs_generic_commit_pagelist() 484 nreq++; in pnfs_generic_commit_pagelist() 487 nreq += pnfs_alloc_ds_commits_list(&list, fl_cinfo, cinfo); in pnfs_generic_commit_pagelist() 488 if (nreq == 0) in pnfs_generic_commit_pagelist() 414 unsigned int nreq = 0; pnfs_bucket_alloc_ds_commits() local 470 unsigned int nreq = 0; pnfs_generic_commit_pagelist() local
|
| /linux/drivers/dma/ |
| H A D | arm-dma350.c | 201 int nreq; member 566 dmac->nreq = FIELD_GET(DMA_CFG_NUM_TRIGGER_IN, reg); in d350_probe() 568 dev_dbg(dev, "DMA-350 r%dp%d with %d channels, %d requests\n", r, p, dmac->nchan, dmac->nreq); in d350_probe()
|
| /linux/drivers/crypto/rockchip/ |
| H A D | rk3288_crypto.h | 223 unsigned long nreq; member
|
| H A D | rk3288_crypto_skcipher.c | 322 rkc->nreq++; in rk_cipher_run()
|
| /linux/drivers/nvme/host/ |
| H A D | apple.c | 848 struct nvme_request *nreq = nvme_req(req); in apple_nvme_init_request() 851 nreq->ctrl = &anv->ctrl; 852 nreq->cmd = &iod->cmd; in apple_nvme_disable() 843 struct nvme_request *nreq = nvme_req(req); apple_nvme_init_request() local
|
| H A D | fc.c | 88 struct nvme_request nreq; /* 2434 op->nreq.flags |= NVME_REQ_CANCELLED; in nvme_fc_terminate_exchange() 89 struct nvme_request nreq; /* global() member
|
| /linux/drivers/usb/isp1760/ |
| H A D | isp1760-udc.c | 841 struct isp1760_request *req, *nreq; in isp1760_ep_disable() local 868 list_for_each_entry_safe(req, nreq, &req_list, queue) { in isp1760_ep_disable()
|
| /linux/drivers/infiniband/hw/hfi1/ |
| H A D | tid_rdma.c | 5199 struct tid_rdma_request *req, *nreq; in make_tid_rdma_ack() local 5273 nreq = ack_to_tid_req(&qp->s_ack_queue[next]); in make_tid_rdma_ack() 5274 if (!nreq->comp_seg || nreq->ack_seg == nreq->comp_seg) in make_tid_rdma_ack()
|
| /linux/fs/ceph/ |
| H A D | mds_client.c | 4795 struct ceph_mds_request *req, *nreq; in send_reconnect_partial() 4801 list_for_each_entry_safe(req, nreq, &session->s_unsafe, r_unsafe_item) in send_reconnect_partial() 4733 struct ceph_mds_request *req, *nreq; replay_unsafe_requests() local
|