Home
last modified time | relevance | path

Searched refs:qentry (Results 1 – 8 of 8) sorted by relevance

/openbmc/linux/net/smc/
H A Dsmc_llc.c209 struct smc_llc_qentry *qentry = flow->qentry; in smc_llc_flow_qentry_clr() local
211 flow->qentry = NULL; in smc_llc_flow_qentry_clr()
212 return qentry; in smc_llc_flow_qentry_clr()
217 struct smc_llc_qentry *qentry; in smc_llc_flow_qentry_del() local
219 if (flow->qentry) { in smc_llc_flow_qentry_del()
220 qentry = flow->qentry; in smc_llc_flow_qentry_del()
221 flow->qentry = NULL; in smc_llc_flow_qentry_del()
222 kfree(qentry); in smc_llc_flow_qentry_del()
227 struct smc_llc_qentry *qentry) in smc_llc_flow_qentry_set() argument
229 flow->qentry = qentry; in smc_llc_flow_qentry_set()
[all …]
H A Dsmc_llc.h103 int smc_llc_eval_conf_link(struct smc_llc_qentry *qentry,
106 void smc_llc_save_peer_uid(struct smc_llc_qentry *qentry);
114 int smc_llc_cli_add_link(struct smc_link *link, struct smc_llc_qentry *qentry);
H A Daf_smc.c589 struct smc_llc_qentry *qentry; in smcr_clnt_conf_first_link() local
597 qentry = smc_llc_wait(link->lgr, NULL, 2 * SMC_LLC_WAIT_TIME, in smcr_clnt_conf_first_link()
599 if (!qentry) { in smcr_clnt_conf_first_link()
606 smc_llc_save_peer_uid(qentry); in smcr_clnt_conf_first_link()
607 rc = smc_llc_eval_conf_link(qentry, SMC_LLC_REQ); in smcr_clnt_conf_first_link()
641 qentry = smc_llc_wait(link->lgr, NULL, SMC_LLC_WAIT_TIME, in smcr_clnt_conf_first_link()
643 if (!qentry) { in smcr_clnt_conf_first_link()
653 smc_llc_cli_add_link(link, qentry); in smcr_clnt_conf_first_link()
1852 struct smc_llc_qentry *qentry; in smcr_serv_conf_first_link() local
1871 qentry = smc_llc_wait(link->lgr, link, SMC_LLC_WAIT_TIME, in smcr_serv_conf_first_link()
[all …]
H A Dsmc_core.h270 struct smc_llc_qentry *qentry; member
/openbmc/linux/drivers/net/ethernet/cavium/thunder/
H A Dnicvf_queues.c20 static inline void nicvf_sq_add_gather_subdesc(struct snd_queue *sq, int qentry,
1121 int qentry; in nicvf_get_sq_desc() local
1123 qentry = sq->tail; in nicvf_get_sq_desc()
1131 return qentry; in nicvf_get_sq_desc()
1136 int qentry, int desc_cnt) in nicvf_rollback_sq_desc() argument
1138 sq->tail = qentry; in nicvf_rollback_sq_desc()
1153 static inline int nicvf_get_nxt_sqentry(struct snd_queue *sq, int qentry) in nicvf_get_nxt_sqentry() argument
1155 qentry++; in nicvf_get_nxt_sqentry()
1156 qentry &= (sq->dmem.q_len - 1); in nicvf_get_nxt_sqentry()
1157 return qentry; in nicvf_get_nxt_sqentry()
[all …]
/openbmc/linux/drivers/net/ethernet/marvell/octeontx2/af/
H A Drvu_cgx.c183 struct cgx_evq_entry *qentry; in rvu_cgx_send_link_info() local
187 qentry = kmalloc(sizeof(*qentry), GFP_KERNEL); in rvu_cgx_send_link_info()
188 if (!qentry) in rvu_cgx_send_link_info()
194 &qentry->link_event.link_uinfo); in rvu_cgx_send_link_info()
195 qentry->link_event.cgx_id = cgx_id; in rvu_cgx_send_link_info()
196 qentry->link_event.lmac_id = lmac_id; in rvu_cgx_send_link_info()
198 kfree(qentry); in rvu_cgx_send_link_info()
201 list_add_tail(&qentry->evq_node, &rvu->cgx_evq_head); in rvu_cgx_send_link_info()
214 struct cgx_evq_entry *qentry; in cgx_lmac_postevent() local
218 qentry = kmalloc(sizeof(*qentry), GFP_ATOMIC); in cgx_lmac_postevent()
[all …]
H A Dmcs_rvu_if.c91 struct mcs_intrq_entry *qentry; in mcs_add_intr_wq_entry() local
108 qentry = kmalloc(sizeof(*qentry), GFP_ATOMIC); in mcs_add_intr_wq_entry()
109 if (!qentry) in mcs_add_intr_wq_entry()
112 qentry->intr_event = *event; in mcs_add_intr_wq_entry()
114 list_add_tail(&qentry->node, &rvu->mcs_intrq_head); in mcs_add_intr_wq_entry()
154 struct mcs_intrq_entry *qentry; in mcs_intr_handler_task() local
160 qentry = list_first_entry_or_null(&rvu->mcs_intrq_head, in mcs_intr_handler_task()
163 if (qentry) in mcs_intr_handler_task()
164 list_del(&qentry->node); in mcs_intr_handler_task()
167 if (!qentry) in mcs_intr_handler_task()
[all …]
/openbmc/linux/drivers/scsi/qla2xxx/
H A Dqla_isr.c4526 struct qla_msix_entry *qentry; in qla24xx_enable_msix() local
4588 qentry = &ha->msix_entries[i]; in qla24xx_enable_msix()
4589 qentry->vector = pci_irq_vector(ha->pdev, i); in qla24xx_enable_msix()
4590 qentry->vector_base0 = i; in qla24xx_enable_msix()
4591 qentry->entry = i; in qla24xx_enable_msix()
4592 qentry->have_irq = 0; in qla24xx_enable_msix()
4593 qentry->in_use = 0; in qla24xx_enable_msix()
4594 qentry->handle = NULL; in qla24xx_enable_msix()
4599 qentry = &ha->msix_entries[i]; in qla24xx_enable_msix()
4600 qentry->handle = rsp; in qla24xx_enable_msix()
[all …]