Home
last modified time | relevance | path

Searched refs:localport (Results 1 – 12 of 12) sorted by relevance

/drivers/staging/vc04_services/interface/vchiq_arm/
Dvchiq_core.c139 service->state->id, service->localport, in vchiq_set_service_state()
166 find_service_by_port(struct vchiq_state *state, int localport) in find_service_by_port() argument
169 if ((unsigned int)localport <= VCHIQ_PORT_MAX) { in find_service_by_port()
173 service = rcu_dereference(state->services[localport]); in find_service_by_port()
183 "Invalid port %d", localport); in find_service_by_port()
294 rcu_assign_pointer(state->services[service->localport], NULL); in service_release()
358 service_quota = &state->service_quotas[service->localport]; in mark_service_closing_internal()
375 service->state->id, service->localport, reason_names[reason], in make_service_callback()
543 service->localport>>5]); in request_poll()
545 &state->poll_services[service->localport>>5], in request_poll()
[all …]
Dvchiq_core.h276 unsigned int localport; member
598 find_service_by_port(struct vchiq_state *state, int localport);
Dvchiq_arm.c613 service->localport, user_service->userdata, in service_callback()
/drivers/scsi/lpfc/
Dlpfc_nvme.c330 lpfc_nvme_localport_delete(struct nvme_fc_local_port *localport) in lpfc_nvme_localport_delete() argument
332 struct lpfc_nvme_lport *lport = localport->private; in lpfc_nvme_localport_delete()
339 if (lport->vport->localport) in lpfc_nvme_localport_delete()
432 if (!vport->localport) in lpfc_nvme_handle_lsreq()
435 lport = vport->localport->private; in lpfc_nvme_handle_lsreq()
525 if (vport->localport) { in lpfc_nvme_ls_req_cmp()
526 lport = (struct lpfc_nvme_lport *)vport->localport->private; in lpfc_nvme_ls_req_cmp()
900 lpfc_nvme_xmt_ls_rsp(struct nvme_fc_local_port *localport, in lpfc_nvme_xmt_ls_rsp() argument
912 lport = (struct lpfc_nvme_lport *)localport->private; in lpfc_nvme_xmt_ls_rsp()
1123 if (unlikely(status && vport->localport)) { in lpfc_nvme_io_cmd_wqe_cmpl()
[all …]
Dlpfc_debugfs.c813 struct nvme_fc_local_port *localport; in lpfc_debugfs_nodelist_data() local
941 localport = vport->localport; in lpfc_debugfs_nodelist_data()
942 if (!localport) in lpfc_debugfs_nodelist_data()
948 if (localport->port_id) in lpfc_debugfs_nodelist_data()
955 localport->port_id, statep); in lpfc_debugfs_nodelist_data()
1036 struct nvme_fc_local_port *localport; in lpfc_debugfs_nvmestat_data() local
1168 localport = vport->localport; in lpfc_debugfs_nvmestat_data()
1169 if (!localport) in lpfc_debugfs_nvmestat_data()
1171 lport = (struct lpfc_nvme_lport *)localport->private; in lpfc_debugfs_nvmestat_data()
Dlpfc_attr.c164 struct nvme_fc_local_port *localport; in lpfc_nvme_info_show() local
335 localport = vport->localport; in lpfc_nvme_info_show()
336 if (!localport) { in lpfc_nvme_info_show()
342 lport = (struct lpfc_nvme_lport *)localport->private; in lpfc_nvme_info_show()
356 if (localport->port_id) in lpfc_nvme_info_show()
367 localport->port_id, statep); in lpfc_nvme_info_show()
Dlpfc.h503 struct nvme_fc_local_port *localport; member
Dlpfc_sli.c2831 } else if (!phba->nvmet_support && !phba->pport->localport) { in lpfc_nvme_unsol_ls_handler()
/drivers/nvme/target/
Dfcloop.c208 struct nvme_fc_local_port *localport; member
304 fcloop_create_queue(struct nvme_fc_local_port *localport, in fcloop_create_queue() argument
308 *handle = localport; in fcloop_create_queue()
313 fcloop_delete_queue(struct nvme_fc_local_port *localport, in fcloop_delete_queue() argument
347 fcloop_h2t_ls_req(struct nvme_fc_local_port *localport, in fcloop_h2t_ls_req() argument
463 fcloop_t2h_xmt_ls_rsp(struct nvme_fc_local_port *localport, in fcloop_t2h_xmt_ls_rsp() argument
668 fcloop_fcp_req(struct nvme_fc_local_port *localport, in fcloop_fcp_req() argument
885 fcloop_h2t_ls_abort(struct nvme_fc_local_port *localport, in fcloop_h2t_ls_abort() argument
898 fcloop_fcp_abort(struct nvme_fc_local_port *localport, in fcloop_fcp_abort() argument
974 fcloop_localport_delete(struct nvme_fc_local_port *localport) in fcloop_localport_delete() argument
[all …]
/drivers/nvme/host/
Dfc.c119 struct nvme_fc_local_port localport; member
191 return container_of(portptr, struct nvme_fc_lport, localport); in localport_to_lport()
246 WARN_ON(lport->localport.port_state != FC_OBJSTATE_DELETED); in nvme_fc_free_lport()
254 ida_simple_remove(&nvme_fc_local_port_cnt, lport->localport.port_num); in nvme_fc_free_lport()
286 if (lport->localport.node_name != pinfo->node_name || in nvme_fc_attach_to_unreg_lport()
287 lport->localport.port_name != pinfo->port_name) in nvme_fc_attach_to_unreg_lport()
295 if (lport->localport.port_state != FC_OBJSTATE_DELETED) { in nvme_fc_attach_to_unreg_lport()
312 lport->localport.port_role = pinfo->port_role; in nvme_fc_attach_to_unreg_lport()
313 lport->localport.port_id = pinfo->port_id; in nvme_fc_attach_to_unreg_lport()
314 lport->localport.port_state = FC_OBJSTATE_ONLINE; in nvme_fc_attach_to_unreg_lport()
[all …]
/drivers/isdn/mISDN/
Dl1oip_core.c670 hc->sin_local.sin_port = htons((unsigned short)hc->localport); in l1oip_socket_thread()
681 __func__, hc->localport); in l1oip_socket_thread()
946 hc->localport = cq->p2 >> 16; in channel_dctrl()
948 hc->remoteport = hc->localport; in channel_dctrl()
966 cq->p2 = hc->remoteport | (hc->localport << 16); in channel_dctrl()
1359 hc->localport = port[l1oip_cnt]?:(L1OIP_DEFAULTPORT + l1oip_cnt); in init_card()
1363 hc->remoteport = hc->localport; in init_card()
1367 hc->localport, hc->remoteip >> 24, in init_card()
Dl1oip.h76 u16 localport; /* must always be set */ member