Lines Matching defs:d_id

1178 		uint32_t	d_id;
1214 d_id = ((ns_resp_gid_pn_t *)ns_cmd->ns_data_buf)->pid.port_id;
1225 ((ns_req_gan_t *)(ns_cmd->ns_cmd_buf))->pid.port_id = d_id - 1;
1471 } else if (FC_IS_REAL_DEVICE(pkt->pkt_cmd_fhdr.d_id)) {
1784 fc_ulp_get_pwwn_by_did(opaque_t port_handle, fc_portid_t d_id, la_wwn_t *pwwn)
1790 pd = fctl_get_remote_port_by_did(port, d_id.port_id);
1844 fc_ulp_get_fca_device(opaque_t port_handle, fc_portid_t d_id)
1852 return (port->fp_fca_tran->fca_get_device(port->fp_fca_handle, d_id));
3049 fc_portid_t d_id;
3055 d_id = pd->pd_port_id;
3065 d_id.port_id);
3455 uint32_t d_id, uchar_t recepient, int sleep)
3460 ASSERT(FC_IS_REAL_DEVICE(d_id));
3470 pd->pd_port_id.port_id = d_id;
3609 * Add the given fc_remote_port_t struct to the d_id table in the given
3676 * Remove the given fc_remote_port_t struct from the d_id table in the given
3685 uint32_t d_id;
3693 d_id = pd->pd_port_id.port_id;
3694 head = &port->fp_did_table[D_ID_HASH_FUNC(d_id, did_table_size)];
3709 * d_id list.
3848 * Looks in the d_id table of the specified fc_local_port_t for the
3849 * fc_remote_port_t that matches the given d_id. Hashes based upon
3850 * the given d_id.
3856 fctl_get_remote_port_by_did(fc_local_port_t *port, uint32_t d_id)
3865 head = &port->fp_did_table[D_ID_HASH_FUNC(d_id, did_table_size)];
3870 if (pd->pd_port_id.port_id == d_id) {
3898 * Looks in the d_id table of the specified fc_local_port_t for the
3899 * fc_remote_port_t that matches the given d_id. Hashes based upon
3900 * the given d_id. Returns a pointer to the fc_remote_port_t struct.
3903 * fc_remote_port_t is found at the given d_id.
3909 fctl_hold_remote_port_by_did(fc_local_port_t *port, uint32_t d_id)
3918 head = &port->fp_did_table[D_ID_HASH_FUNC(d_id, did_table_size)];
3923 if (pd->pd_port_id.port_id == d_id && pd->pd_state !=
4012 * fc_remote_port_t that matches the given d_id. Hashes based upon the
4065 * fc_remote_port_t (which will also remove it from the d_id and pwwn tables
4504 * Create the fc_remote_port_t struct for the given port_wwn and d_id.
4507 * it, the code below also checks: (a) if the d_id has changed, and (b) if
4514 * struct(s). The d_id and pwwn hash tables in the port_wwn are updated.
4519 la_wwn_t *port_wwn, uint32_t d_id, uchar_t recepient, int sleep)
4570 * This call will also update the d_id and pwwn hash tables
4574 if ((pd = fctl_alloc_remote_port(port, port_wwn, d_id,
4583 * Add the new fc_remote_port_t struct to the d_id and pwwn
4610 if (pd->pd_port_id.port_id != d_id) {
4618 * d_id than what we were given. This code will
4634 d_id, old_id);
4636 pd->pd_port_id.port_id = d_id;
4646 /* Record (update) the new d_id for the remote port */
4651 * OK at least the old & new d_id's match. So for
4664 * OK the old & new d_id's match, and the remote
4668 * do not need to update d_id or pwwn hash tables.
4720 * references to the fc_remote_port_t from the d_id and pwwn tables in the
4795 * This goes thru the d_id table on the given fc_local_port_t.
4808 * - Removes the link to the fc_remote_port_t in the d_id table. Note, this
4874 * Remove the current entry from the d_id list.
5980 fctl_lookup_pd_by_did(fc_local_port_t *port, uint32_t d_id)
5994 if (pd->pd_port_id.port_id == d_id) {