Lines Matching refs:pnres
606 } pnres; variable
619 sk = rcu_dereference(pnres.sk[res]); in pn_find_sock_by_res()
640 if (pnres.sk[res] == NULL) { in pn_sock_bind_res()
642 rcu_assign_pointer(pnres.sk[res], sk); in pn_sock_bind_res()
657 if (pnres.sk[res] == sk) { in pn_sock_unbind_res()
658 RCU_INIT_POINTER(pnres.sk[res], NULL); in pn_sock_unbind_res()
676 if (pnres.sk[res] == sk) { in pn_sock_unbind_all_res()
677 RCU_INIT_POINTER(pnres.sk[res], NULL); in pn_sock_unbind_all_res()
700 if (pnres.sk[i] == NULL) in pn_res_get_idx()
703 return pnres.sk + i; in pn_res_get_idx()
716 for (i = (sk - pnres.sk) + 1; i < 256; i++) in pn_res_get_next()
717 if (pnres.sk[i]) in pn_res_get_next()
718 return pnres.sk + i; in pn_res_get_next()
757 (int) (psk - pnres.sk), in pn_res_seq_show()