Searched refs:so_usecount (Results 1 - 16 of 16) sorted by relevance
/darwin-on-arm/xnu/bsd/netinet/ |
H A D | ip_divert.c | 468 so, so->so_pcb, &(((struct inpcb *)so->so_pcb)->inpcb_mtx), so->so_usecount); 480 so, so->so_pcb, &(((struct inpcb *)so->so_pcb)->inpcb_mtx), so->so_usecount); 663 so->so_usecount, lr_saved); 673 if (so->so_usecount < 0) { 675 so, so->so_pcb, lr_saved, so->so_usecount, 681 so->so_usecount++; 704 so->so_usecount, lr_saved); 707 so->so_usecount--; 709 if (so->so_usecount < 0) { 711 so, so->so_usecount, solockhistory_n [all...] |
H A D | tcp_timer.c | 328 * if we were to test so_usecount against 0, but this isn't possible 333 if (so->so_usecount > 1 || !lck_mtx_try_lock_spin(&inp->inpcb_mtx)) 337 if (so->so_usecount > 1) { 351 if (so->so_usecount == 1 && 367 so->so_usecount--; 385 if (so->so_usecount == 0) {
|
H A D | raw_ip.c | 941 if (so->so_usecount <= 0) { 943 so, so->so_usecount, solockhistory_nr(so)); 946 so->so_usecount--; 947 if (so->so_usecount == 0 && (inp->inp_wantcnt == WNT_STOPUSING)) {
|
H A D | tcp_subr.c | 2398 if (so->so_usecount < 0) { 2400 so, so->so_pcb, lr_saved, so->so_usecount, solockhistory_nr(so)); 2404 so->so_usecount++; 2423 so->so_usecount, lr_saved); 2426 so->so_usecount--; 2428 if (so->so_usecount < 0) { 2430 so, so->so_usecount, solockhistory_nr(so)); 2435 so, so->so_usecount, lr_saved, solockhistory_nr(so)); 2455 if (so->so_usecount < 0) 2457 so, so->so_usecount, solockhistory_n [all...] |
H A D | in_pcb.c | 375 if (so->so_usecount == 0) { 1039 if (so && so->so_usecount != 0) 1040 panic("%s: so %p so_usecount %d so_lockhistory %s\n", 1041 __func__, so, so->so_usecount, 1771 if (pcb->inp_socket->so_usecount < 0) 1827 if (pcb->inp_socket->so_usecount < 0)
|
H A D | tcp_input.c | 4718 so->so_usecount++; 4719 if ((so->so_usecount == 2) && 4749 if (so->so_usecount != 2 || !(so->so_state & SS_INCOMP)) { 4773 so->so_usecount--; 4786 so->so_usecount--; 4788 if (so->so_usecount != 1 || 4798 so->so_usecount--;
|
H A D | udp_usrreq.c | 1847 so->so_usecount++; 1865 so->so_usecount--; 1925 if (so->so_usecount == 0) {
|
H A D | tcp_usrreq.c | 805 so->so_usecount--;
|
/darwin-on-arm/xnu/bsd/kern/ |
H A D | uipc_usrreq.c | 1107 so2->so_usecount--; 1149 so2->so_usecount--; 1240 so2->so_usecount--; 1279 so2->so_usecount++; 1294 so2->so_usecount--; 1312 so->so_usecount++; 1328 so2->so_usecount--; 1420 so2->so_usecount--; 1436 so->so_usecount--; 2316 so, lr_saved, so->so_usecount); [all...] |
H A D | kern_control.c | 1025 if (so->so_usecount < 0) { 1027 so, so->so_pcb, lr_saved, so->so_usecount, solockhistory_nr(so)); 1032 so->so_usecount++; 1053 so->so_usecount, lr_saved); 1056 so->so_usecount--; 1058 if (so->so_usecount < 0) { 1060 so, so->so_usecount, solockhistory_nr(so)); 1065 so, so->so_usecount, (void *)lr_saved, solockhistory_nr(so)); 1075 if (so->so_usecount == 0) 1087 if (so->so_usecount < [all...] |
H A D | uipc_socket2.c | 324 so->so_usecount = 1; 478 if (so->so_usecount < 1) 479 panic("sbwait: so=%p refcount=%d\n", so, so->so_usecount); 487 if (so->so_usecount < 1) 488 panic("sbwait: so=%p refcount=%d\n", so, so->so_usecount); 528 if (so->so_usecount < 1) 530 so->so_usecount); 535 if (so->so_usecount < 1) 537 so->so_usecount); 1812 if (so->so_usecount < [all...] |
H A D | uipc_socket.c | 599 so->so_usecount++; 609 so->so_usecount--; 678 VERIFY(so->so_usecount > 1); 922 if (so->so_usecount == 0) { 1035 if (so->so_usecount == 0) 1051 if (so->so_usecount <= 0) 1064 so->so_usecount--; 1085 so->so_usecount--; 1086 if (so->so_usecount < 2) 1088 "usecount=%d\n", so, so->so_usecount); [all...] |
H A D | kpi_socket.c | 971 sock->so_usecount++; /* add extra reference for holding the socket */ 990 if ((sock->so_retaincnt == 0) && (sock->so_usecount == 2)) { 995 sock->so_usecount--;
|
H A D | uipc_syscalls.c | 404 if (head->so_usecount < 1) 406 head->so_usecount); 409 if (head->so_usecount < 1) 411 head->so_usecount);
|
/darwin-on-arm/xnu/bsd/sys/ |
H A D | socketvar.h | 257 int so_usecount; /* refcounting of socket use */; member in struct:socket
|
/darwin-on-arm/xnu/bsd/netinet6/ |
H A D | in6_pcb.c | 168 if (so->so_usecount == 0) {
|
Completed in 75 milliseconds