Home
last modified time | relevance | path

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

/linux-6.1.9/io_uring/
Dio-wq.c130 struct io_wqe *wqes[]; member
958 struct io_wqe *wqe = wq->wqes[numa_node_id()]; in io_wq_enqueue()
1096 struct io_wqe *wqe = wq->wqes[node]; in io_wq_cancel_cb()
1145 wq = kzalloc(struct_size(wq, wqes, nr_node_ids), GFP_KERNEL); in io_wq_create()
1167 wq->wqes[node] = wqe; in io_wq_create()
1199 if (!wq->wqes[node]) in io_wq_create()
1201 free_cpumask_var(wq->wqes[node]->cpu_mask); in io_wq_create()
1202 kfree(wq->wqes[node]); in io_wq_create()
1253 struct io_wqe *wqe = wq->wqes[node]; in io_wq_exit_workers()
1263 list_del_init(&wq->wqes[node]->wait.entry); in io_wq_exit_workers()
[all …]
/linux-6.1.9/drivers/net/ethernet/broadcom/
Dcnic.c1342 static int cnic_submit_bnx2_kwqes(struct cnic_dev *dev, struct kwqe *wqes[], in cnic_submit_bnx2_kwqes() argument
1365 memcpy(prod_qe, wqes[i], sizeof(struct kwqe)); in cnic_submit_bnx2_kwqes()
1685 static int cnic_setup_bnx2x_ctx(struct cnic_dev *dev, struct kwqe *wqes[], in cnic_setup_bnx2x_ctx() argument
1691 (struct iscsi_kwqe_conn_offload1 *) wqes[0]; in cnic_setup_bnx2x_ctx()
1693 (struct iscsi_kwqe_conn_offload2 *) wqes[1]; in cnic_setup_bnx2x_ctx()
1714 req3 = (struct iscsi_kwqe_conn_offload3 *) wqes[n++]; in cnic_setup_bnx2x_ctx()
1811 req3 = (struct iscsi_kwqe_conn_offload3 *) wqes[n++]; in cnic_setup_bnx2x_ctx()
1872 static int cnic_bnx2x_iscsi_ofld1(struct cnic_dev *dev, struct kwqe *wqes[], in cnic_bnx2x_iscsi_ofld1() argument
1890 req1 = (struct iscsi_kwqe_conn_offload1 *) wqes[0]; in cnic_bnx2x_iscsi_ofld1()
1891 req2 = (struct iscsi_kwqe_conn_offload2 *) wqes[1]; in cnic_bnx2x_iscsi_ofld1()
[all …]
Dcnic_if.h319 int (*submit_kwqes)(struct cnic_dev *dev, struct kwqe *wqes[],
321 int (*submit_kwqes_16)(struct cnic_dev *dev, struct kwqe_16 *wqes[],
/linux-6.1.9/drivers/infiniband/core/
Duverbs_cmd.c2001 const void __user *wqes; in ib_uverbs_post_send() local
2007 wqes = uverbs_request_next_ptr(&iter, cmd.wqe_size * cmd.wr_count); in ib_uverbs_post_send()
2008 if (IS_ERR(wqes)) in ib_uverbs_post_send()
2009 return PTR_ERR(wqes); in ib_uverbs_post_send()
2032 if (copy_from_user(user_wr, wqes + i * cmd.wqe_size, in ib_uverbs_post_send()
2192 const void __user *wqes; in ib_uverbs_unmarshall_recv() local
2197 wqes = uverbs_request_next_ptr(iter, wqe_size * wr_count); in ib_uverbs_unmarshall_recv()
2198 if (IS_ERR(wqes)) in ib_uverbs_unmarshall_recv()
2199 return ERR_CAST(wqes); in ib_uverbs_unmarshall_recv()
2215 if (copy_from_user(user_wr, wqes + i * wqe_size, in ib_uverbs_unmarshall_recv()