Home
last modified time | relevance | path

Searched refs:req_id (Results 1 – 25 of 97) sorted by relevance

1234

/linux-6.12.1/drivers/xen/
Dpvcalls-front.c125 static inline int get_request(struct pvcalls_bedata *bedata, int *req_id) in get_request() argument
127 *req_id = bedata->ring.req_prod_pvt & (RING_SIZE(&bedata->ring) - 1); in get_request()
129 bedata->rsp[*req_id].req_id != PVCALLS_INVALID_ID) in get_request()
171 int req_id = 0, more = 0, done = 0; in pvcalls_front_event_handler() local
187 req_id = rsp->req_id; in pvcalls_front_event_handler()
203 dst = (uint8_t *)&bedata->rsp[req_id] + in pvcalls_front_event_handler()
204 sizeof(rsp->req_id); in pvcalls_front_event_handler()
205 src = (uint8_t *)rsp + sizeof(rsp->req_id); in pvcalls_front_event_handler()
206 memcpy(dst, src, sizeof(*rsp) - sizeof(rsp->req_id)); in pvcalls_front_event_handler()
212 bedata->rsp[req_id].req_id = req_id; in pvcalls_front_event_handler()
[all …]
Dpvcalls-back.c281 rsp->req_id = req->req_id; in pvcalls_back_socket()
428 rsp->req_id = req->req_id; in pvcalls_back_connect()
509 rsp->req_id = req->req_id; in pvcalls_back_release()
579 rsp->req_id = req->req_id; in __pvcalls_back_accept()
608 rsp->req_id = mappass->reqcopy.req_id; in pvcalls_pass_sk_data_ready()
683 rsp->req_id = req->req_id; in pvcalls_back_bind()
710 rsp->req_id = req->req_id; in pvcalls_back_listen()
755 rsp->req_id = req->req_id; in pvcalls_back_accept()
811 rsp->req_id = req->req_id; in pvcalls_back_poll()
853 rsp->req_id = req->req_id; in pvcalls_back_handle_cmd()
/linux-6.12.1/drivers/s390/scsi/
Dzfcp_reqlist.h29 static inline size_t zfcp_reqlist_hash(u64 req_id) in zfcp_reqlist_hash() argument
31 return req_id % ZFCP_REQ_LIST_BUCKETS; in zfcp_reqlist_hash()
86 _zfcp_reqlist_find(struct zfcp_reqlist *rl, u64 req_id) in _zfcp_reqlist_find() argument
91 i = zfcp_reqlist_hash(req_id); in _zfcp_reqlist_find()
93 if (req->req_id == req_id) in _zfcp_reqlist_find()
107 zfcp_reqlist_find(struct zfcp_reqlist *rl, u64 req_id) in zfcp_reqlist_find() argument
113 req = _zfcp_reqlist_find(rl, req_id); in zfcp_reqlist_find()
132 zfcp_reqlist_find_rm(struct zfcp_reqlist *rl, u64 req_id) in zfcp_reqlist_find_rm() argument
138 req = _zfcp_reqlist_find(rl, req_id); in zfcp_reqlist_find_rm()
162 i = zfcp_reqlist_hash(req->req_id); in zfcp_reqlist_add()
Dzfcp_dbf.c41 u64 req_id) in zfcp_dbf_pl_write() argument
48 pl->fsf_req_id = req_id; in zfcp_dbf_pl_write()
83 rec->fsf_req_id = req->req_id; in zfcp_dbf_hba_fsf_res()
100 rec->pl_len, "fsf_res", req->req_id); in zfcp_dbf_hba_fsf_res()
133 rec->fsf_req_id = req->req_id; in zfcp_dbf_hba_fsf_fces()
157 const u64 req_id) in zfcp_dbf_hba_fsf_reqid() argument
173 rec->fsf_req_id = req_id; in zfcp_dbf_hba_fsf_reqid()
211 rec->fsf_req_id = req->req_id; in zfcp_dbf_hba_fsf_uss()
231 "fsf_uss", req->req_id); in zfcp_dbf_hba_fsf_uss()
258 rec->fsf_req_id = req->req_id; in zfcp_dbf_hba_bit_err()
[all …]
Dzfcp_fsf.c853 req->req_id = adapter->req_no; in zfcp_fsf_req_create()
868 req->qtcb->prefix.req_id = req->req_id; in zfcp_fsf_req_create()
872 req->qtcb->header.req_handle = req->req_id; in zfcp_fsf_req_create()
876 zfcp_qdio_req_init(adapter->qdio, &req->qdio_req, req->req_id, sbtype, in zfcp_fsf_req_create()
887 u64 req_id = req->req_id; in zfcp_fsf_req_send() local
897 if (zfcp_reqlist_find_rm(adapter->req_list, req_id) == NULL) in zfcp_fsf_req_send()
898 zfcp_dbf_hba_fsf_reqid("fsrsrmf", 1, adapter, req_id); in zfcp_fsf_req_send()
1401 erp_action->fsf_req_id = req->req_id; in zfcp_fsf_exchange_config_data()
1513 erp_action->fsf_req_id = req->req_id; in zfcp_fsf_exchange_port_data()
1806 erp_action->fsf_req_id = req->req_id; in zfcp_fsf_open_port()
[all …]
/linux-6.12.1/drivers/scsi/fnic/
Dfnic_res.h68 u32 req_id, in fnic_queue_wq_copy_desc_icmnd_16() argument
84 desc->hdr.tag.u.req_id = req_id; /* id for this request */ in fnic_queue_wq_copy_desc_icmnd_16()
113 u32 req_id, u32 lunmap_id, in fnic_queue_wq_copy_desc_itmf() argument
123 desc->hdr.tag.u.req_id = req_id; /* id for this request */ in fnic_queue_wq_copy_desc_itmf()
139 u32 req_id, u8 format, in fnic_queue_wq_copy_desc_flogi_reg() argument
147 desc->hdr.tag.u.req_id = req_id; /* id for this request */ in fnic_queue_wq_copy_desc_flogi_reg()
158 u32 req_id, u32 s_id, in fnic_queue_wq_copy_desc_fip_reg() argument
167 desc->hdr.tag.u.req_id = req_id; /* id for this request */ in fnic_queue_wq_copy_desc_fip_reg()
182 u32 req_id) in fnic_queue_wq_copy_desc_fw_reset() argument
189 desc->hdr.tag.u.req_id = req_id; /* id for this request */ in fnic_queue_wq_copy_desc_fw_reset()
[all …]
/linux-6.12.1/drivers/net/ethernet/amazon/ena/
Dena_xdp.c8 static int validate_xdp_req_id(struct ena_ring *tx_ring, u16 req_id) in validate_xdp_req_id() argument
12 tx_info = &tx_ring->tx_buffer_info[req_id]; in validate_xdp_req_id()
16 return handle_invalid_req_id(tx_ring, req_id, tx_info, true); in validate_xdp_req_id()
82 u16 next_to_use, req_id; in ena_xdp_xmit_frame() local
86 req_id = tx_ring->free_ids[next_to_use]; in ena_xdp_xmit_frame()
87 tx_info = &tx_ring->tx_buffer_info[req_id]; in ena_xdp_xmit_frame()
94 ena_tx_ctx.req_id = req_id; in ena_xdp_xmit_frame()
372 u16 req_id; in ena_clean_xdp_irq() local
384 &req_id); in ena_clean_xdp_irq()
387 handle_invalid_req_id(tx_ring, req_id, NULL, true); in ena_clean_xdp_irq()
[all …]
Dena_eth_com.h25 u16 req_id; member
64 u16 req_id);
201 u16 *req_id) in ena_com_tx_comp_req_id_get() argument
224 *req_id = READ_ONCE(cdesc->req_id); in ena_com_tx_comp_req_id_get()
225 if (unlikely(*req_id >= io_cq->q_depth)) { in ena_com_tx_comp_req_id_get()
227 cdesc->req_id); in ena_com_tx_comp_req_id_get()
Dena_eth_com.c255 count, io_cq->qid, cdesc->req_id); in ena_com_cdesc_rx_pkt_get()
463 desc->meta_ctrl |= ((u32)ena_tx_ctx->req_id << in ena_com_prepare_tx()
472 desc->len_ctrl |= ((ena_tx_ctx->req_id >> 10) << in ena_com_prepare_tx()
582 ena_buf[i].req_id = cdesc->req_id; in ena_com_rx_pkt()
583 if (unlikely(ena_buf[i].req_id >= q_depth)) in ena_com_rx_pkt()
610 u16 req_id) in ena_com_add_single_rx_desc() argument
632 desc->req_id = req_id; in ena_com_add_single_rx_desc()
636 req_id); in ena_com_add_single_rx_desc()
Dena_eth_io_defs.h149 u16 req_id; member
182 u16 req_id; member
233 u16 req_id; member
Dena_netdev.c593 u16 next_to_use, req_id; in ena_refill_rx_bufs() local
602 req_id = rx_ring->free_ids[next_to_use]; in ena_refill_rx_bufs()
604 rx_info = &rx_ring->rx_buffer_info[req_id]; in ena_refill_rx_bufs()
615 req_id); in ena_refill_rx_bufs()
797 int handle_invalid_req_id(struct ena_ring *ring, u16 req_id, in handle_invalid_req_id() argument
805 is_xdp ? "xdp frame" : "skb", ring->qid, req_id); in handle_invalid_req_id()
811 req_id, ring->qid); in handle_invalid_req_id()
819 static int validate_tx_req_id(struct ena_ring *tx_ring, u16 req_id) in validate_tx_req_id() argument
823 tx_info = &tx_ring->tx_buffer_info[req_id]; in validate_tx_req_id()
827 return handle_invalid_req_id(tx_ring, req_id, tx_info, false); in validate_tx_req_id()
[all …]
/linux-6.12.1/drivers/net/hyperv/
Dhyperv_net.h1185 u32 req_id; member
1193 u32 req_id; member
1216 u32 req_id; member
1221 u32 req_id; member
1230 u32 req_id; member
1238 u32 req_id; member
1248 u32 req_id; member
1279 u32 req_id; member
1284 u32 req_id; member
1614 u32 req_id; member
[all …]
Dnetvsc_trace.h49 __field( u32, req_id )
56 __entry->req_id = msg->msg.init_req.req_id;
61 __get_str(name), __entry->queue, __entry->req_id,
Drndis_filter.c108 set->req_id = atomic_inc_return(&dev->new_req_id); in get_rndis_request()
163 init_complete->req_id, in dump_rndis_message()
183 query_complete->req_id, in dump_rndis_message()
197 set_complete->req_id, in dump_rndis_message()
294 u32 *req_id = &resp->msg.init_complete.req_id; in rndis_filter_receive_response() local
320 *req_id = *(u32 *)(data + RNDIS_HEADER_SIZE); in rndis_filter_receive_response()
328 if (request->request_msg.msg.init_req.req_id == *req_id) { in rndis_filter_receive_response()
338 memcpy(&request->response_msg, resp, RNDIS_HEADER_SIZE + sizeof(*req_id)); in rndis_filter_receive_response()
339 unsafe_memcpy((void *)&request->response_msg + RNDIS_HEADER_SIZE + sizeof(*req_id), in rndis_filter_receive_response()
340 data + RNDIS_HEADER_SIZE + sizeof(*req_id), in rndis_filter_receive_response()
[all …]
/linux-6.12.1/drivers/tee/optee/
Dsupp.c29 supp->req_id = -1; in optee_supp_init()
62 supp->req_id = -1; in optee_supp_release()
157 if (supp->req_id != -1) { in supp_pop_entry()
279 supp->req_id = id; in optee_supp_recv()
305 if (supp->req_id == -1) { in supp_pop_req()
311 id = supp->req_id; in supp_pop_req()
323 supp->req_id = -1; in supp_pop_req()
/linux-6.12.1/drivers/nfc/
Dmei_phy.c18 u16 req_id; member
88 (_hdr)->cmd, (_hdr)->status, (_hdr)->req_id, \
219 hdr->req_id = phy->req_id; in mei_nfc_send()
231 phy->recv_req_id == phy->req_id, HZ)) { in mei_nfc_send()
235 phy->req_id++; in mei_nfc_send()
274 phy->recv_req_id = hdr->req_id; in mei_nfc_recv()
/linux-6.12.1/drivers/crypto/hisilicon/zip/
Dzip_crypto.c51 u16 req_id; member
117 int req_id; in hisi_zip_create_req() local
121 req_id = find_first_zero_bit(req_q->req_bitmap, req_q->size); in hisi_zip_create_req()
122 if (req_id >= req_q->size) { in hisi_zip_create_req()
127 set_bit(req_id, req_q->req_bitmap); in hisi_zip_create_req()
131 req_cache = q + req_id; in hisi_zip_create_req()
132 req_cache->req_id = req_id; in hisi_zip_create_req()
144 clear_bit(req->req_id, req_q->req_bitmap); in hisi_zip_remove_req()
184 sqe->dw26 = req->req_id; in hisi_zip_fill_tag()
227 req->req_id << 1, &req->dma_src); in hisi_zip_do_work()
[all …]
/linux-6.12.1/drivers/input/serio/
Dhyperv-keyboard.c185 u64 req_id) in hv_kbd_handle_received_packet() argument
222 desc->type, req_id, msg_sz); in hv_kbd_handle_received_packet()
233 desc->type, req_id, bytes_recvd); in hv_kbd_handle_received_packet()
243 u64 req_id; in hv_kbd_on_channel_callback() local
247 req_id = desc->trans_id; in hv_kbd_on_channel_callback()
250 req_id); in hv_kbd_on_channel_callback()
/linux-6.12.1/drivers/infiniband/hw/efa/
Defa_io_defs.h63 u16 req_id; member
192 u16 req_id; member
213 u16 req_id; member
/linux-6.12.1/drivers/scsi/snic/
Dsnic_res.h36 u16 flags, u32 req_id, u64 tgt_id, u8 *lun, u8 tm_type) in snic_itmf_init() argument
43 req->u.itmf.req_id = cpu_to_le32(req_id); in snic_itmf_init()
/linux-6.12.1/drivers/crypto/hisilicon/sec2/
Dsec_crypto.c141 int req_id; in sec_alloc_req_id() local
144 req_id = idr_alloc_cyclic(&qp_ctx->req_idr, NULL, 0, qp_ctx->qp->sq_depth, GFP_ATOMIC); in sec_alloc_req_id()
146 if (unlikely(req_id < 0)) { in sec_alloc_req_id()
148 return req_id; in sec_alloc_req_id()
152 qp_ctx->req_list[req_id] = req; in sec_alloc_req_id()
154 return req_id; in sec_alloc_req_id()
160 int req_id = req->req_id; in sec_free_req_id() local
162 if (unlikely(req_id < 0 || req_id >= qp_ctx->qp->sq_depth)) { in sec_free_req_id()
167 qp_ctx->req_list[req_id] = NULL; in sec_free_req_id()
171 idr_remove(&qp_ctx->req_idr, req_id); in sec_free_req_id()
[all …]
/linux-6.12.1/drivers/media/pci/intel/ipu6/
Dipu6-fw-isys.c29 static int handle_proxy_response(struct ipu6_isys *isys, unsigned int req_id) in handle_proxy_response() argument
43 ret = req_id == resp->request_id ? 0 : -EIO; in handle_proxy_response()
51 unsigned int req_id, in ipu6_fw_isys_send_proxy_token() argument
63 req_id, index, offset, value); in ipu6_fw_isys_send_proxy_token()
69 token->request_id = req_id; in ipu6_fw_isys_send_proxy_token()
77 ret = handle_proxy_response(isys, req_id); in ipu6_fw_isys_send_proxy_token()
/linux-6.12.1/drivers/cdx/controller/
Dmcdi_functions.c56 u32 req_id; in cdx_mcdi_get_dev_config() local
73 req_id = MCDI_DWORD(outbuf, CDX_BUS_GET_DEVICE_CONFIG_OUT_REQUESTER_ID); in cdx_mcdi_get_dev_config()
74 dev_params->req_id = req_id; in cdx_mcdi_get_dev_config()
/linux-6.12.1/include/xen/interface/io/
Dpvcalls.h40 uint32_t req_id; /* private to guest, echoed in response */ member
88 uint32_t req_id; member
/linux-6.12.1/drivers/net/wireless/intersil/p54/
Dtxrx.c55 le32_to_cpu(hdr->req_id), le16_to_cpu(hdr->type), in p54_dump_tx_queue()
137 data->req_id = cpu_to_le32(target_addr + priv->headroom); in p54_assign_address()
140 priv->beacon_req_id = data->req_id; in p54_assign_address()
249 const __le32 req_id) in p54_find_and_unlink_skb() argument
258 if (hdr->req_id == req_id) { in p54_find_and_unlink_skb()
410 entry = p54_find_and_unlink_skb(priv, hdr->req_id); in p54_rx_frame_sent()
507 tmp = p54_find_and_unlink_skb(priv, hdr->req_id); in p54_rx_eeprom_readback()
601 tmp = p54_find_and_unlink_skb(priv, hdr->req_id); in p54_rx_stats()

1234