Lines Matching refs:pp
51 tNFA_HCI_DYN_PIPE *pp = nfa_hci_cb.cfg.dyn_pipes; in nfa_hciu_find_pipe_by_pid() local
55 for ( ; xx < NFA_HCI_MAX_PIPE_CB; xx++, pp++) in nfa_hciu_find_pipe_by_pid()
57 if (pp->pipe_id == pipe_id) in nfa_hciu_find_pipe_by_pid()
58 return (pp); in nfa_hciu_find_pipe_by_pid()
173 tNFA_HCI_DYN_PIPE *pp = nfa_hci_cb.cfg.dyn_pipes; in nfa_hciu_count_open_pipes_on_gate() local
178 for ( ; xx < NFA_HCI_MAX_PIPE_CB; xx++, pp++) in nfa_hciu_count_open_pipes_on_gate()
181 if ((p_gate->pipe_inx_mask & mask) && (pp->pipe_state == NFA_HCI_PIPE_OPENED)) in nfa_hciu_count_open_pipes_on_gate()
220 tNFA_HCI_DYN_PIPE *pp; in nfa_hciu_get_pipe_owner() local
223 if ((pp = nfa_hciu_find_pipe_by_pid (pipe_id)) == NULL) in nfa_hciu_get_pipe_owner()
226 if ((pg = nfa_hciu_find_gate_by_gid (pp->local_gate)) == NULL) in nfa_hciu_get_pipe_owner()
453 tNFA_HCI_DYN_PIPE *pp; in nfa_hciu_alloc_pipe() local
456 if ((pp = nfa_hciu_find_pipe_by_pid (pipe_id)) != NULL) in nfa_hciu_alloc_pipe()
459 return pp; in nfa_hciu_alloc_pipe()
464 for (xx = 0, pp = nfa_hci_cb.cfg.dyn_pipes ; xx < NFA_HCI_MAX_PIPE_CB; xx++, pp++) in nfa_hciu_alloc_pipe()
466 if (pp->pipe_id == 0) in nfa_hciu_alloc_pipe()
469 pp->pipe_id = pipe_id; in nfa_hciu_alloc_pipe()
472 return (pp); in nfa_hciu_alloc_pipe()
607 tNFA_HCI_DYN_PIPE *pp; in nfa_hciu_find_active_pipe_by_owner() local
613 for (xx = 0, pp = nfa_hci_cb.cfg.dyn_pipes; xx < NFA_HCI_MAX_PIPE_CB; xx++, pp++) in nfa_hciu_find_active_pipe_by_owner()
615 if ( (pp->pipe_id != 0) in nfa_hciu_find_active_pipe_by_owner()
616 &&(pp->pipe_id >= NFA_HCI_FIRST_DYNAMIC_PIPE) in nfa_hciu_find_active_pipe_by_owner()
617 &&(pp->pipe_id <= NFA_HCI_LAST_DYNAMIC_PIPE) in nfa_hciu_find_active_pipe_by_owner()
618 &&(nfa_hciu_is_active_host (pp->dest_host)) ) in nfa_hciu_find_active_pipe_by_owner()
620 if ( ((pg = nfa_hciu_find_gate_by_gid (pp->local_gate)) != NULL) in nfa_hciu_find_active_pipe_by_owner()
622 return (pp); in nfa_hciu_find_active_pipe_by_owner()
643 tNFA_HCI_DYN_PIPE *pp; in nfa_hciu_check_pipe_between_gates() local
649 for (xx = 0, pp = nfa_hci_cb.cfg.dyn_pipes; xx < NFA_HCI_MAX_PIPE_CB; xx++, pp++) in nfa_hciu_check_pipe_between_gates()
651 if ( (pp->pipe_id != 0) in nfa_hciu_check_pipe_between_gates()
652 &&(pp->pipe_id >= NFA_HCI_FIRST_DYNAMIC_PIPE) in nfa_hciu_check_pipe_between_gates()
653 &&(pp->pipe_id <= NFA_HCI_LAST_DYNAMIC_PIPE) in nfa_hciu_check_pipe_between_gates()
654 &&(pp->local_gate == local_gate) in nfa_hciu_check_pipe_between_gates()
655 &&(pp->dest_host == dest_host) in nfa_hciu_check_pipe_between_gates()
656 &&(pp->dest_gate == dest_gate) ) in nfa_hciu_check_pipe_between_gates()
678 tNFA_HCI_DYN_PIPE *pp; in nfa_hciu_find_pipe_by_owner() local
684 for (xx = 0, pp = nfa_hci_cb.cfg.dyn_pipes; xx < NFA_HCI_MAX_PIPE_CB; xx++, pp++) in nfa_hciu_find_pipe_by_owner()
686 if (pp->pipe_id != 0) in nfa_hciu_find_pipe_by_owner()
688 if ( ((pg = nfa_hciu_find_gate_by_gid (pp->local_gate)) != NULL) in nfa_hciu_find_pipe_by_owner()
690 return (pp); in nfa_hciu_find_pipe_by_owner()
710 tNFA_HCI_DYN_PIPE *pp; in nfa_hciu_find_pipe_on_gate() local
716 for (xx = 0, pp = nfa_hci_cb.cfg.dyn_pipes; xx < NFA_HCI_MAX_PIPE_CB; xx++, pp++) in nfa_hciu_find_pipe_on_gate()
718 if (pp->pipe_id != 0) in nfa_hciu_find_pipe_on_gate()
720 if ( ((pg = nfa_hciu_find_gate_by_gid (pp->local_gate)) != NULL) in nfa_hciu_find_pipe_on_gate()
722 return (pp); in nfa_hciu_find_pipe_on_gate()
811 tNFA_HCI_DYN_PIPE *pp; in nfa_hciu_find_active_pipe_on_gate() local
817 for (xx = 0, pp = nfa_hci_cb.cfg.dyn_pipes; xx < NFA_HCI_MAX_PIPE_CB; xx++, pp++) in nfa_hciu_find_active_pipe_on_gate()
819 if ( (pp->pipe_id != 0) in nfa_hciu_find_active_pipe_on_gate()
820 &&(pp->pipe_id >= NFA_HCI_FIRST_DYNAMIC_PIPE) in nfa_hciu_find_active_pipe_on_gate()
821 &&(pp->pipe_id <= NFA_HCI_LAST_DYNAMIC_PIPE) in nfa_hciu_find_active_pipe_on_gate()
822 &&(nfa_hciu_is_active_host (pp->dest_host)) ) in nfa_hciu_find_active_pipe_on_gate()
824 if ( ((pg = nfa_hciu_find_gate_by_gid (pp->local_gate)) != NULL) in nfa_hciu_find_active_pipe_on_gate()
826 return (pp); in nfa_hciu_find_active_pipe_on_gate()
899 tNFA_HCI_DYN_PIPE *pp; in nfa_hciu_remove_all_pipes_from_host() local
906 for (xx = 0, pp = nfa_hci_cb.cfg.dyn_pipes; xx < NFA_HCI_MAX_PIPE_CB; xx++, pp++) in nfa_hciu_remove_all_pipes_from_host()
908 if ( (pp->pipe_id == 0) in nfa_hciu_remove_all_pipes_from_host()
911 &&((pp->dest_host != host) || (pp->pipe_id > NFA_HCI_LAST_DYNAMIC_PIPE))) ) in nfa_hciu_remove_all_pipes_from_host()
914 if ((pg = nfa_hciu_find_gate_by_gid (pp->local_gate)) != NULL) in nfa_hciu_remove_all_pipes_from_host()
917 evt_data.deleted.pipe = pp->pipe_id; in nfa_hciu_remove_all_pipes_from_host()
921 nfa_hciu_release_pipe (pp->pipe_id); in nfa_hciu_remove_all_pipes_from_host()