Home
last modified time | relevance | path

Searched refs:ns_cmd (Results 1 – 7 of 7) sorted by relevance

/titanic_44/usr/src/uts/common/io/fibre-channel/impl/
H A Dfp.c2807 fctl_ns_req_t *ns_cmd; in fp_job_handler() local
2812 ns_cmd = (fctl_ns_req_t *)job->job_private; in fp_job_handler()
2813 if (ns_cmd->ns_cmd_code < NS_GA_NXT || in fp_job_handler()
2814 ns_cmd->ns_cmd_code > NS_DA_ID) { in fp_job_handler()
2820 if (FC_IS_CMD_A_REG(ns_cmd->ns_cmd_code)) { in fp_job_handler()
2821 if (ns_cmd->ns_pd != NULL) { in fp_job_handler()
2829 rval = fp_ns_reg(port, ns_cmd->ns_pd, in fp_job_handler()
2830 ns_cmd->ns_cmd_code, job, 0, KM_SLEEP); in fp_job_handler()
2841 rval = fp_ns_query(port, ns_cmd, job, 0, KM_SLEEP); in fp_job_handler()
7129 fctl_ns_req_t *ns_cmd; in fp_ns_get_devcount() local
[all …]
H A Dfctl.c1179 fctl_ns_req_t *ns_cmd; in fc_ulp_get_remote_port() local
1190 ns_cmd = fctl_alloc_ns_cmd(sizeof (ns_req_gid_pn_t), in fc_ulp_get_remote_port()
1194 if (ns_cmd == NULL) { in fc_ulp_get_remote_port()
1199 ns_cmd->ns_cmd_code = NS_GID_PN; in fc_ulp_get_remote_port()
1200 ((ns_req_gid_pn_t *)(ns_cmd->ns_cmd_buf))->pwwn = *pwwn; in fc_ulp_get_remote_port()
1203 job->job_private = (void *)ns_cmd; in fc_ulp_get_remote_port()
1210 fctl_free_ns_cmd(ns_cmd); in fc_ulp_get_remote_port()
1214 d_id = ((ns_resp_gid_pn_t *)ns_cmd->ns_data_buf)->pid.port_id; in fc_ulp_get_remote_port()
1215 fctl_free_ns_cmd(ns_cmd); in fc_ulp_get_remote_port()
1217 ns_cmd = fctl_alloc_ns_cmd(sizeof (ns_req_gan_t), in fc_ulp_get_remote_port()
[all …]
/titanic_44/usr/src/uts/common/sys/fibre-channel/impl/
H A Dfp.h420 static int fp_ns_query(fc_local_port_t *port, fctl_ns_req_t *ns_cmd,
423 fctl_ns_req_t *ns_cmd, uint16_t cmd_code, caddr_t cmd_buf,
426 static void fp_gan_handler(fc_packet_t *pkt, fctl_ns_req_t *ns_cmd);
427 static void fp_ns_query_handler(fc_packet_t *pkt, fctl_ns_req_t *ns_cmd);
447 job_request_t *job, fctl_ns_req_t *ns_cmd, fc_portmap_t *listptr,
H A Dfc_portif.h432 void fctl_free_ns_cmd(fctl_ns_req_t *ns_cmd);
/titanic_44/usr/src/uts/common/sys/fibre-channel/
H A Dfc_appif.h198 uint16_t ns_cmd; /* NS command type */ member
227 uint16_t ns_cmd; /* NS command type */ member
/titanic_44/usr/src/uts/common/io/fibre-channel/ulp/
H A Dfcip.c4627 fc_ns_cmd_t ns_cmd; in fcip_port_ns() local
4654 ns_cmd.ns_flags = 0; in fcip_port_ns()
4655 ns_cmd.ns_cmd = NS_RFT_ID; in fcip_port_ns()
4656 ns_cmd.ns_req_len = sizeof (rfc); in fcip_port_ns()
4657 ns_cmd.ns_req_payload = (caddr_t)&rfc; in fcip_port_ns()
4658 ns_cmd.ns_resp_len = 0; in fcip_port_ns()
4659 ns_cmd.ns_resp_payload = NULL; in fcip_port_ns()
4666 (opaque_t)0, &ns_cmd); in fcip_port_ns()
5682 fcip_ns_cmd.ns_cmd = NS_RPN_ID; in fcip_spareq()
H A Dfcp.c9713 fc_ns_cmd_t ns_cmd; in fcp_do_ns_registry() local
9731 ns_cmd.ns_flags = 0; in fcp_do_ns_registry()
9732 ns_cmd.ns_cmd = NS_RFT_ID; in fcp_do_ns_registry()
9733 ns_cmd.ns_req_len = sizeof (rfc); in fcp_do_ns_registry()
9734 ns_cmd.ns_req_payload = (caddr_t)&rfc; in fcp_do_ns_registry()
9735 ns_cmd.ns_resp_len = 0; in fcp_do_ns_registry()
9736 ns_cmd.ns_resp_payload = NULL; in fcp_do_ns_registry()
9741 if (fc_ulp_port_ns(pptr->port_fp_handle, NULL, &ns_cmd)) { in fcp_do_ns_registry()