Home
last modified time | relevance | path

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

/kernel/linux/linux-5.10/net/phonet/
H A Dsocket.c610 } pnres; variable
623 sk = rcu_dereference(pnres.sk[res]); in pn_find_sock_by_res()
644 if (pnres.sk[res] == NULL) { in pn_sock_bind_res()
646 rcu_assign_pointer(pnres.sk[res], sk); in pn_sock_bind_res()
661 if (pnres.sk[res] == sk) { in pn_sock_unbind_res()
662 RCU_INIT_POINTER(pnres.sk[res], NULL); in pn_sock_unbind_res()
680 if (pnres.sk[res] == sk) { in pn_sock_unbind_all_res()
681 RCU_INIT_POINTER(pnres.sk[res], NULL); in pn_sock_unbind_all_res()
704 if (pnres.sk[i] == NULL) in pn_res_get_idx()
707 return pnres in pn_res_get_idx()
[all...]
/kernel/linux/linux-6.6/net/phonet/
H A 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 in pn_res_get_idx()
[all...]

Completed in 3 milliseconds