Home
last modified time | relevance | path

Searched refs:pnres (Results 1 – 1 of 1) sorted by relevance

/Linux-v6.6/net/phonet/
Dsocket.c607 } pnres; variable
620 sk = rcu_dereference(pnres.sk[res]); in pn_find_sock_by_res()
641 if (pnres.sk[res] == NULL) { in pn_sock_bind_res()
643 rcu_assign_pointer(pnres.sk[res], sk); in pn_sock_bind_res()
658 if (pnres.sk[res] == sk) { in pn_sock_unbind_res()
659 RCU_INIT_POINTER(pnres.sk[res], NULL); in pn_sock_unbind_res()
677 if (pnres.sk[res] == sk) { in pn_sock_unbind_all_res()
678 RCU_INIT_POINTER(pnres.sk[res], NULL); in pn_sock_unbind_all_res()
701 if (pnres.sk[i] == NULL) in pn_res_get_idx()
704 return pnres.sk + i; in pn_res_get_idx()
[all …]