Lines Matching refs:next

54  * block points to ulp packet  private	area, next follows the	fc_packet
782 fc_ulp_ports_t *next;
792 while ((next = mod->mod_ports) != NULL) {
793 mod->mod_ports = next->port_next;
794 fctl_dealloc_ulp_port(next);
1091 int next;
1099 next = ((ulp_pkt[count]->pkt_tran_flags)
1101 ASSERT(next == polled);
2878 fc_ulp_ports_t *next;
2885 next = ulp_module->mod_ports;
2887 while (next != NULL) {
2888 last = next;
2889 next = next->port_next;
2928 fc_ulp_ports_t *next;
2934 next = ulp_module->mod_ports;
2936 while (next != NULL) {
2937 if (next->port_handle == port_handle) {
2938 if (next->port_dstate & ULP_PORT_ATTACH) {
2943 last = next;
2944 next = next->port_next;
2947 if (next != NULL) {
2948 ASSERT((next->port_dstate & ULP_PORT_ATTACH) == 0);
2951 ulp_module->mod_ports = next->port_next;
2953 last->port_next = next->port_next;
2955 fctl_dealloc_ulp_port(next);
2965 fctl_dealloc_ulp_port(fc_ulp_ports_t *next)
2967 mutex_destroy(&next->port_mutex);
2968 kmem_free(next, sizeof (*next));
2975 fc_ulp_ports_t *next;
2980 for (next = ulp_module->mod_ports; next != NULL;
2981 next = next->port_next) {
2982 if (next->port_handle == port_handle) {
2983 return (next);
3380 fc_remote_node_t *next;
3390 next = elem->fne_nodep;
3391 if (next != NULL) {
3392 mutex_enter(&next->fd_mutex);
3393 if (fctl_wwn_cmp(node_wwn, &next->fd_node_name) == 0) {
3394 rnodep = next;
3395 mutex_exit(&next->fd_mutex);
3398 mutex_exit(&next->fd_mutex);
3420 fc_remote_node_t *next;
3430 next = elem->fne_nodep;
3431 if (next != NULL) {
3432 mutex_enter(&next->fd_mutex);
3433 if (fctl_wwn_cmp(node_wwn, &next->fd_node_name) == 0) {
3434 rnodep = next;
3436 mutex_exit(&next->fd_mutex);
3439 mutex_exit(&next->fd_mutex);