Home
last modified time | relevance | path

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

/drivers/scsi/lpfc/
Dlpfc_nvme.c164 lpfc_nvme_localport_delete(struct nvme_fc_local_port *localport) in lpfc_nvme_localport_delete() argument
166 struct lpfc_nvme_lport *lport = localport->private; in lpfc_nvme_localport_delete()
173 if (lport->vport->localport) in lpfc_nvme_localport_delete()
275 if (!vport->localport || in lpfc_nvme_handle_lsreq()
279 lport = vport->localport->private; in lpfc_nvme_handle_lsreq()
372 if (vport->localport) { in lpfc_nvme_ls_req_cmp()
373 lport = (struct lpfc_nvme_lport *)vport->localport->private; in lpfc_nvme_ls_req_cmp()
757 lpfc_nvme_xmt_ls_rsp(struct nvme_fc_local_port *localport, in lpfc_nvme_xmt_ls_rsp() argument
769 lport = (struct lpfc_nvme_lport *)localport->private; in lpfc_nvme_xmt_ls_rsp()
981 if (unlikely(status && vport->localport)) { in lpfc_nvme_io_cmd_cmpl()
[all …]
Dlpfc_debugfs.c813 struct nvme_fc_local_port *localport; in lpfc_debugfs_nodelist_data() local
939 localport = vport->localport; in lpfc_debugfs_nodelist_data()
940 if (!localport) in lpfc_debugfs_nodelist_data()
946 if (localport->port_id) in lpfc_debugfs_nodelist_data()
953 localport->port_id, statep); in lpfc_debugfs_nodelist_data()
1034 struct nvme_fc_local_port *localport; in lpfc_debugfs_nvmestat_data() local
1166 localport = vport->localport; in lpfc_debugfs_nvmestat_data()
1167 if (!localport) in lpfc_debugfs_nvmestat_data()
1169 lport = (struct lpfc_nvme_lport *)localport->private; in lpfc_debugfs_nvmestat_data()
Dlpfc_attr.c339 struct nvme_fc_local_port *localport; in lpfc_nvme_info_show() local
510 localport = vport->localport; in lpfc_nvme_info_show()
511 if (!localport) { in lpfc_nvme_info_show()
517 lport = (struct lpfc_nvme_lport *)localport->private; in lpfc_nvme_info_show()
531 if (localport->port_id) in lpfc_nvme_info_show()
542 localport->port_id, statep); in lpfc_nvme_info_show()
Dlpfc.h746 struct nvme_fc_local_port *localport; member
Dlpfc_sli.c3224 } else if (!phba->nvmet_support && !phba->pport->localport) { in lpfc_nvme_unsol_ls_handler()
/drivers/staging/vc04_services/interface/vchiq_arm/
Dvchiq_core.c231 service->state->id, service->localport, in set_service_state()
264 find_service_by_port(struct vchiq_state *state, unsigned int localport) in find_service_by_port() argument
266 if (localport <= VCHIQ_PORT_MAX) { in find_service_by_port()
270 service = rcu_dereference(state->services[localport]); in find_service_by_port()
280 "Invalid port %u", localport); in find_service_by_port()
390 rcu_assign_pointer(state->services[service->localport], NULL); in service_release()
456 quota = &state->service_quotas[service->localport]; in mark_service_closing_internal()
473 service->state->id, service->localport, reason_names[reason], in make_service_callback()
646 index = BITSET_WORD(service->localport); in request_poll()
650 value, value | BIT(service->localport & 0x1f)) != value); in request_poll()
[all …]
Dvchiq_core.h194 unsigned int localport; member
515 find_service_by_port(struct vchiq_state *state, unsigned int localport);
Dvchiq_arm.c1088 __func__, (unsigned long)user_service, service->localport, in service_callback()
/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
716 fcloop_fcp_req(struct nvme_fc_local_port *localport, in fcloop_fcp_req() argument
933 fcloop_h2t_ls_abort(struct nvme_fc_local_port *localport, in fcloop_h2t_ls_abort() argument
946 fcloop_fcp_abort(struct nvme_fc_local_port *localport, in fcloop_fcp_abort() argument
1022 fcloop_localport_delete(struct nvme_fc_local_port *localport) in fcloop_localport_delete() argument
[all …]
/drivers/nvme/host/
Dfc.c120 struct nvme_fc_local_port localport; member
192 return container_of(portptr, struct nvme_fc_lport, localport); in localport_to_lport()
247 WARN_ON(lport->localport.port_state != FC_OBJSTATE_DELETED); in nvme_fc_free_lport()
255 ida_free(&nvme_fc_local_port_cnt, lport->localport.port_num); in nvme_fc_free_lport()
287 if (lport->localport.node_name != pinfo->node_name || in nvme_fc_attach_to_unreg_lport()
288 lport->localport.port_name != pinfo->port_name) in nvme_fc_attach_to_unreg_lport()
296 if (lport->localport.port_state != FC_OBJSTATE_DELETED) { in nvme_fc_attach_to_unreg_lport()
313 lport->localport.port_role = pinfo->port_role; in nvme_fc_attach_to_unreg_lport()
314 lport->localport.port_id = pinfo->port_id; in nvme_fc_attach_to_unreg_lport()
315 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