Searched refs:ns_cmd (Results 1 – 7 of 7) sorted by relevance
/illumos-gate/usr/src/uts/common/io/fibre-channel/impl/ |
H A D | fp.c | 2808 fctl_ns_req_t *ns_cmd; in fp_job_handler() local 2813 ns_cmd = (fctl_ns_req_t *)job->job_private; in fp_job_handler() 2814 if (ns_cmd->ns_cmd_code < NS_GA_NXT || in fp_job_handler() 2815 ns_cmd->ns_cmd_code > NS_DA_ID) { in fp_job_handler() 2821 if (FC_IS_CMD_A_REG(ns_cmd->ns_cmd_code)) { in fp_job_handler() 2822 if (ns_cmd->ns_pd != NULL) { in fp_job_handler() 2830 rval = fp_ns_reg(port, ns_cmd->ns_pd, in fp_job_handler() 2831 ns_cmd->ns_cmd_code, job, 0, KM_SLEEP); in fp_job_handler() 2842 rval = fp_ns_query(port, ns_cmd, job, 0, KM_SLEEP); in fp_job_handler() 7130 fctl_ns_req_t *ns_cmd; in fp_ns_get_devcount() local [all …]
|
H A D | fctl.c | 1180 fctl_ns_req_t *ns_cmd; in fc_ulp_get_remote_port() local 1191 ns_cmd = fctl_alloc_ns_cmd(sizeof (ns_req_gid_pn_t), in fc_ulp_get_remote_port() 1195 if (ns_cmd == NULL) { in fc_ulp_get_remote_port() 1200 ns_cmd->ns_cmd_code = NS_GID_PN; in fc_ulp_get_remote_port() 1201 ((ns_req_gid_pn_t *)(ns_cmd->ns_cmd_buf))->pwwn = *pwwn; in fc_ulp_get_remote_port() 1204 job->job_private = (void *)ns_cmd; in fc_ulp_get_remote_port() 1211 fctl_free_ns_cmd(ns_cmd); in fc_ulp_get_remote_port() 1215 d_id = ((ns_resp_gid_pn_t *)ns_cmd->ns_data_buf)->pid.port_id; in fc_ulp_get_remote_port() 1216 fctl_free_ns_cmd(ns_cmd); in fc_ulp_get_remote_port() 1218 ns_cmd = fctl_alloc_ns_cmd(sizeof (ns_req_gan_t), in fc_ulp_get_remote_port() [all …]
|
/illumos-gate/usr/src/uts/common/sys/fibre-channel/impl/ |
H A D | fp.h | 424 static int fp_ns_query(fc_local_port_t *port, fctl_ns_req_t *ns_cmd, 427 fctl_ns_req_t *ns_cmd, uint16_t cmd_code, caddr_t cmd_buf, 430 static void fp_gan_handler(fc_packet_t *pkt, fctl_ns_req_t *ns_cmd); 431 static void fp_ns_query_handler(fc_packet_t *pkt, fctl_ns_req_t *ns_cmd); 451 job_request_t *job, fctl_ns_req_t *ns_cmd, fc_portmap_t *listptr,
|
H A D | fc_portif.h | 432 void fctl_free_ns_cmd(fctl_ns_req_t *ns_cmd);
|
/illumos-gate/usr/src/uts/common/sys/fibre-channel/ |
H A D | fc_appif.h | 198 uint16_t ns_cmd; /* NS command type */ member 227 uint16_t ns_cmd; /* NS command type */ member
|
/illumos-gate/usr/src/uts/common/io/fibre-channel/ulp/ |
H A D | fcip.c | 4464 fc_ns_cmd_t ns_cmd; in fcip_port_ns() local 4491 ns_cmd.ns_flags = 0; in fcip_port_ns() 4492 ns_cmd.ns_cmd = NS_RFT_ID; in fcip_port_ns() 4493 ns_cmd.ns_req_len = sizeof (rfc); in fcip_port_ns() 4494 ns_cmd.ns_req_payload = (caddr_t)&rfc; in fcip_port_ns() 4495 ns_cmd.ns_resp_len = 0; in fcip_port_ns() 4496 ns_cmd.ns_resp_payload = NULL; in fcip_port_ns() 4503 (opaque_t)0, &ns_cmd); in fcip_port_ns() 5502 fcip_ns_cmd.ns_cmd = NS_RPN_ID; in fcip_spareq()
|
H A D | fcp.c | 9702 fc_ns_cmd_t ns_cmd; in fcp_do_ns_registry() local 9720 ns_cmd.ns_flags = 0; in fcp_do_ns_registry() 9721 ns_cmd.ns_cmd = NS_RFT_ID; in fcp_do_ns_registry() 9722 ns_cmd.ns_req_len = sizeof (rfc); in fcp_do_ns_registry() 9723 ns_cmd.ns_req_payload = (caddr_t)&rfc; in fcp_do_ns_registry() 9724 ns_cmd.ns_resp_len = 0; in fcp_do_ns_registry() 9725 ns_cmd.ns_resp_payload = NULL; in fcp_do_ns_registry() 9730 if (fc_ulp_port_ns(pptr->port_fp_handle, NULL, &ns_cmd)) { in fcp_do_ns_registry()
|