Home
last modified time | relevance | path

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

123

/Linux-v5.4/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.c266 rsp->req_id = req->req_id; in pvcalls_back_socket()
414 rsp->req_id = req->req_id; in pvcalls_back_connect()
496 rsp->req_id = req->req_id; in pvcalls_back_release()
563 rsp->req_id = req->req_id; in __pvcalls_back_accept()
590 rsp->req_id = mappass->reqcopy.req_id; in pvcalls_pass_sk_data_ready()
665 rsp->req_id = req->req_id; in pvcalls_back_bind()
692 rsp->req_id = req->req_id; in pvcalls_back_listen()
737 rsp->req_id = req->req_id; in pvcalls_back_accept()
793 rsp->req_id = req->req_id; in pvcalls_back_poll()
835 rsp->req_id = req->req_id; in pvcalls_back_handle_cmd()
/Linux-v5.4/drivers/s390/scsi/
Dzfcp_reqlist.h27 static inline int zfcp_reqlist_hash(unsigned long req_id) in zfcp_reqlist_hash() argument
29 return req_id % ZFCP_REQ_LIST_BUCKETS; in zfcp_reqlist_hash()
84 _zfcp_reqlist_find(struct zfcp_reqlist *rl, unsigned long req_id) in _zfcp_reqlist_find() argument
89 i = zfcp_reqlist_hash(req_id); in _zfcp_reqlist_find()
91 if (req->req_id == req_id) in _zfcp_reqlist_find()
105 zfcp_reqlist_find(struct zfcp_reqlist *rl, unsigned long req_id) in zfcp_reqlist_find() argument
111 req = _zfcp_reqlist_find(rl, req_id); in zfcp_reqlist_find()
130 zfcp_reqlist_find_rm(struct zfcp_reqlist *rl, unsigned long req_id) in zfcp_reqlist_find_rm() argument
136 req = _zfcp_reqlist_find(rl, req_id); in zfcp_reqlist_find_rm()
160 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()
101 rec->pl_len, "fsf_res", req->req_id); in zfcp_dbf_hba_fsf_res()
129 rec->fsf_req_id = req->req_id; in zfcp_dbf_hba_fsf_uss()
149 "fsf_uss", req->req_id); in zfcp_dbf_hba_fsf_uss()
176 rec->fsf_req_id = req->req_id; in zfcp_dbf_hba_bit_err()
193 void zfcp_dbf_hba_def_err(struct zfcp_adapter *adapter, u64 req_id, u16 scount, in zfcp_dbf_hba_def_err() argument
212 payload->fsf_req_id = req_id; in zfcp_dbf_hba_def_err()
393 u64 req_id) in zfcp_dbf_rec_run_wka() argument
[all …]
Dzfcp_fsf.c724 req->req_id = adapter->req_no; in zfcp_fsf_req_create()
739 req->qtcb->prefix.req_id = req->req_id; in zfcp_fsf_req_create()
743 req->qtcb->header.req_handle = req->req_id; in zfcp_fsf_req_create()
747 zfcp_qdio_req_init(adapter->qdio, &req->qdio_req, req->req_id, sbtype, in zfcp_fsf_req_create()
758 int req_id = req->req_id; in zfcp_fsf_req_send() local
767 zfcp_reqlist_find_rm(adapter->req_list, req_id); in zfcp_fsf_req_send()
1267 erp_action->fsf_req_id = req->req_id; in zfcp_fsf_exchange_config_data()
1357 erp_action->fsf_req_id = req->req_id; in zfcp_fsf_exchange_port_data()
1521 erp_action->fsf_req_id = req->req_id; in zfcp_fsf_open_port()
1588 erp_action->fsf_req_id = req->req_id; in zfcp_fsf_close_port()
[all …]
Dzfcp_qdio.h111 unsigned long req_id, u8 sbtype, void *data, u32 len) in zfcp_qdio_req_init() argument
125 sbale->addr = (void *) req_id; in zfcp_qdio_req_init()
/Linux-v5.4/drivers/scsi/fnic/
Dfnic_res.h80 u32 req_id, in fnic_queue_wq_copy_desc_icmnd_16() argument
96 desc->hdr.tag.u.req_id = req_id; /* id for this request */ in fnic_queue_wq_copy_desc_icmnd_16()
125 u32 req_id, u32 lunmap_id, in fnic_queue_wq_copy_desc_itmf() argument
135 desc->hdr.tag.u.req_id = req_id; /* id for this request */ in fnic_queue_wq_copy_desc_itmf()
151 u32 req_id, u8 format, in fnic_queue_wq_copy_desc_flogi_reg() argument
159 desc->hdr.tag.u.req_id = req_id; /* id for this request */ in fnic_queue_wq_copy_desc_flogi_reg()
170 u32 req_id, u32 s_id, in fnic_queue_wq_copy_desc_fip_reg() argument
179 desc->hdr.tag.u.req_id = req_id; /* id for this request */ in fnic_queue_wq_copy_desc_fip_reg()
194 u32 req_id) in fnic_queue_wq_copy_desc_fw_reset() argument
201 desc->hdr.tag.u.req_id = req_id; /* id for this request */ in fnic_queue_wq_copy_desc_fw_reset()
[all …]
/Linux-v5.4/include/linux/
Dacpi_iort.h31 u32 iort_msi_map_rid(struct device *dev, u32 req_id);
32 struct irq_domain *iort_get_device_domain(struct device *dev, u32 req_id);
41 static inline u32 iort_msi_map_rid(struct device *dev, u32 req_id) in iort_msi_map_rid() argument
42 { return req_id; } in iort_msi_map_rid()
44 u32 req_id) in iort_get_device_domain() argument
/Linux-v5.4/drivers/net/ethernet/amazon/ena/
Dena_eth_com.h50 u16 req_id; member
88 u16 req_id);
243 u16 *req_id) in ena_com_tx_comp_req_id_get() argument
266 *req_id = READ_ONCE(cdesc->req_id); in ena_com_tx_comp_req_id_get()
267 if (unlikely(*req_id >= io_cq->q_depth)) { in ena_com_tx_comp_req_id_get()
268 pr_err("Invalid req id %d\n", cdesc->req_id); in ena_com_tx_comp_req_id_get()
Dena_eth_io_defs.h176 u16 req_id; member
209 u16 req_id; member
260 u16 req_id; member
Dena_eth_com.c438 desc->meta_ctrl |= (ena_tx_ctx->req_id << in ena_com_prepare_tx()
447 desc->len_ctrl |= ((ena_tx_ctx->req_id >> 10) << in ena_com_prepare_tx()
545 ena_buf->req_id = cdesc->req_id; in ena_com_rx_pkt()
564 u16 req_id) in ena_com_add_single_rx_desc() argument
586 desc->req_id = req_id; in ena_com_add_single_rx_desc()
Dena_netdev.c329 static int validate_rx_req_id(struct ena_ring *rx_ring, u16 req_id) in validate_rx_req_id() argument
331 if (likely(req_id < rx_ring->ring_size)) in validate_rx_req_id()
335 "Invalid rx req_id: %hu\n", req_id); in validate_rx_req_id()
525 u16 next_to_use, req_id; in ena_refill_rx_bufs() local
534 req_id = rx_ring->free_ids[next_to_use]; in ena_refill_rx_bufs()
535 rc = validate_rx_req_id(rx_ring, req_id); in ena_refill_rx_bufs()
539 rx_info = &rx_ring->rx_buffer_info[req_id]; in ena_refill_rx_bufs()
552 req_id); in ena_refill_rx_bufs()
726 static int validate_tx_req_id(struct ena_ring *tx_ring, u16 req_id) in validate_tx_req_id() argument
730 if (likely(req_id < tx_ring->ring_size)) { in validate_tx_req_id()
[all …]
/Linux-v5.4/drivers/net/hyperv/
Dhyperv_net.h1021 u32 req_id; member
1029 u32 req_id; member
1052 u32 req_id; member
1057 u32 req_id; member
1066 u32 req_id; member
1074 u32 req_id; member
1083 u32 req_id; member
1114 u32 req_id; member
1119 u32 req_id; member
1487 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,
/Linux-v5.4/drivers/crypto/hisilicon/zip/
Dzip_crypto.c56 int req_id; member
310 clear_bit(req->req_id, req_q->req_bitmap); in hisi_zip_remove_req()
455 int ret, req_id; in hisi_zip_create_req() local
480 req_id = find_first_zero_bit(req_q->req_bitmap, req_q->size); in hisi_zip_create_req()
481 if (req_id >= req_q->size) { in hisi_zip_create_req()
487 set_bit(req_id, req_q->req_bitmap); in hisi_zip_create_req()
489 req_cache = q + req_id; in hisi_zip_create_req()
490 req_cache->req_id = req_id; in hisi_zip_create_req()
524 req->req_id << 1, &input); in hisi_zip_do_work()
530 (req->req_id << 1) + 1, in hisi_zip_do_work()
[all …]
/Linux-v5.4/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-v5.4/drivers/nfc/
Dmei_phy.c18 u16 req_id; member
88 (_hdr)->cmd, (_hdr)->status, (_hdr)->req_id, \
223 hdr->req_id = phy->req_id; in mei_nfc_send()
235 phy->recv_req_id == phy->req_id, HZ)) { in mei_nfc_send()
239 phy->req_id++; in mei_nfc_send()
278 phy->recv_req_id = hdr->req_id; in mei_nfc_recv()
/Linux-v5.4/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-v5.4/drivers/scsi/snic/
Dsnic_res.h50 u16 flags, u32 req_id, u64 tgt_id, u8 *lun, u8 tm_type) in snic_itmf_init() argument
57 req->u.itmf.req_id = cpu_to_le32(req_id); in snic_itmf_init()
/Linux-v5.4/include/xen/interface/io/
Dpvcalls.h38 uint32_t req_id; /* private to guest, echoed in response */ member
86 uint32_t req_id; member
/Linux-v5.4/drivers/hv/
Dhv_fcopy.c195 u64 req_id; in fcopy_respond_to_host() local
207 req_id = fcopy_transaction.recv_req_id; in fcopy_respond_to_host()
221 vmbus_sendpacket(channel, recv_buffer, buf_len, req_id, in fcopy_respond_to_host()
Dhv_snapshot.c252 u64 req_id; in vss_respond_to_host() local
261 req_id = vss_transaction.recv_req_id; in vss_respond_to_host()
277 vmbus_sendpacket(channel, recv_buffer, buf_len, req_id, in vss_respond_to_host()
/Linux-v5.4/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()
511 tmp = p54_find_and_unlink_skb(priv, hdr->req_id); in p54_rx_eeprom_readback()
605 tmp = p54_find_and_unlink_skb(priv, hdr->req_id); in p54_rx_stats()
Dlmac.h80 __le32 req_id; member
88 (((struct p54_hdr *) ((struct sk_buff *) skb)->data)->req_id) \
491 __le32 req_id; member
529 int p54_tx_cancel(struct p54_common *priv, __le32 req_id);
/Linux-v5.4/drivers/pci/pcie/
Dpme.c129 static void pcie_pme_handle_request(struct pci_dev *port, u16 req_id) in pcie_pme_handle_request() argument
131 u8 busnr = req_id >> 8, devfn = req_id & 0xff; in pcie_pme_handle_request()

123