Home
last modified time | relevance | path

Searched refs:SOCK_ZAPPED (Results 1 – 25 of 26) sorted by relevance

12

/linux-6.1.9/net/llc/ !
Daf_llc.c214 if (!sock_flag(sk, SOCK_ZAPPED)) { in llc_ui_release()
282 if (!sock_flag(sk, SOCK_ZAPPED)) in llc_ui_autobind()
317 sock_reset_flag(sk, SOCK_ZAPPED); in llc_ui_autobind()
348 if (unlikely(!sock_flag(sk, SOCK_ZAPPED) || addrlen != sizeof(*addr))) in llc_ui_bind()
422 sock_reset_flag(sk, SOCK_ZAPPED); in llc_ui_bind()
498 if (sock_flag(sk, SOCK_ZAPPED)) { in llc_ui_connect()
563 if (sock_flag(sk, SOCK_ZAPPED)) in llc_ui_listen()
726 sock_reset_flag(newsk, SOCK_ZAPPED); in llc_ui_accept()
950 if (sock_flag(sk, SOCK_ZAPPED)) { in llc_ui_sendmsg()
1025 if (sock_flag(sk, SOCK_ZAPPED)) in llc_ui_getname()
/linux-6.1.9/net/bluetooth/rfcomm/ !
Dsock.c83 sock_set_flag(sk, SOCK_ZAPPED); in rfcomm_sk_state_change()
96 if (parent && sock_flag(sk, SOCK_ZAPPED)) { in rfcomm_sk_state_change()
186 sock_set_flag(parent, SOCK_ZAPPED); in rfcomm_sock_cleanup_listen()
194 if (!sock_flag(sk, SOCK_ZAPPED) || sk->sk_socket) in rfcomm_sock_kill()
224 sock_set_flag(sk, SOCK_ZAPPED); in __rfcomm_sock_close()
301 sock_reset_flag(sk, SOCK_ZAPPED); in rfcomm_sock_alloc()
419 if (!err && !sock_flag(sk, SOCK_ZAPPED)) in rfcomm_sock_connect()
/linux-6.1.9/net/l2tp/ !
Dl2tp_ip.c264 if (!sock_flag(sk, SOCK_ZAPPED)) in l2tp_ip_bind()
299 sock_reset_flag(sk, SOCK_ZAPPED); in l2tp_ip_bind()
321 if (sock_flag(sk, SOCK_ZAPPED)) { in l2tp_ip_connect()
345 if (sock_flag(sk, SOCK_ZAPPED)) in l2tp_ip_disconnect()
Dl2tp_ip6.c293 if (!sock_flag(sk, SOCK_ZAPPED)) in l2tp_ip6_bind()
352 sock_reset_flag(sk, SOCK_ZAPPED); in l2tp_ip6_bind()
392 if (sock_flag(sk, SOCK_ZAPPED)) { in l2tp_ip6_connect()
416 if (sock_flag(sk, SOCK_ZAPPED)) in l2tp_ip6_disconnect()
/linux-6.1.9/net/qrtr/ !
Daf_qrtr.c792 sock_reset_flag(sk, SOCK_ZAPPED); in __qrtr_bind()
807 if (!sock_flag(sk, SOCK_ZAPPED)) in qrtr_autobind()
832 rc = __qrtr_bind(sock, addr, sock_flag(sk, SOCK_ZAPPED)); in qrtr_bind()
1033 if (sock_flag(sk, SOCK_ZAPPED)) { in qrtr_recvmsg()
1215 if (!sock_flag(sk, SOCK_ZAPPED)) in qrtr_release()
1265 sock_set_flag(sk, SOCK_ZAPPED); in qrtr_create()
/linux-6.1.9/net/appletalk/ !
Dddp.c1048 sock_set_flag(sk, SOCK_ZAPPED); in atalk_create()
1132 sock_reset_flag(sk, SOCK_ZAPPED); in atalk_autobind()
1145 if (!sock_flag(sk, SOCK_ZAPPED) || in atalk_bind()
1185 sock_reset_flag(sk, SOCK_ZAPPED); in atalk_bind()
1224 if (sock_flag(sk, SOCK_ZAPPED)) in atalk_connect()
1258 if (sock_flag(sk, SOCK_ZAPPED)) in atalk_getname()
1593 if (sock_flag(sk, SOCK_ZAPPED)) in atalk_sendmsg()
/linux-6.1.9/net/netrom/ !
Daf_netrom.c569 if (!sock_flag(sk, SOCK_ZAPPED)) { in nr_bind()
623 sock_reset_flag(sk, SOCK_ZAPPED); in nr_bind()
669 if (sock_flag(sk, SOCK_ZAPPED)) { /* Must bind first - autobinding in this may or may not work */ in nr_connect()
670 sock_reset_flag(sk, SOCK_ZAPPED); in nr_connect()
1047 if (sock_flag(sk, SOCK_ZAPPED)) { in nr_sendmsg()
/linux-6.1.9/net/bluetooth/ !
Dsco.c176 sock_set_flag(sk, SOCK_ZAPPED); in sco_chan_del()
387 sock_set_flag(parent, SOCK_ZAPPED); in sco_sock_cleanup_listen()
395 if (!sock_flag(sk, SOCK_ZAPPED) || sk->sk_socket) in sco_sock_kill()
435 sock_set_flag(sk, SOCK_ZAPPED); in __sco_sock_close()
493 sock_reset_flag(sk, SOCK_ZAPPED); in sco_sock_alloc()
Diso.c169 sock_set_flag(sk, SOCK_ZAPPED); in iso_chan_del()
562 sock_set_flag(parent, SOCK_ZAPPED); in iso_sock_cleanup_listen()
570 if (!sock_flag(sk, SOCK_ZAPPED) || sk->sk_socket || in iso_sock_kill()
640 sock_set_flag(sk, SOCK_ZAPPED); in __iso_sock_close()
706 sock_reset_flag(sk, SOCK_ZAPPED); in iso_sock_alloc()
Dl2cap_sock.c207 zapped = sock_flag(sk, SOCK_ZAPPED); in l2cap_sock_connect()
1248 if (!sock_flag(sk, SOCK_ZAPPED) || sk->sk_socket) in l2cap_sock_kill()
1597 sock_set_flag(sk, SOCK_ZAPPED); in l2cap_sock_teardown_cb()
1861 sock_reset_flag(sk, SOCK_ZAPPED); in l2cap_sock_alloc()
Dhci_sock.c2117 sock_reset_flag(sk, SOCK_ZAPPED); in hci_sock_create()
/linux-6.1.9/net/rose/ !
Daf_rose.c669 if (!sock_flag(sk, SOCK_ZAPPED)) in rose_bind()
718 sock_reset_flag(sk, SOCK_ZAPPED); in rose_bind()
784 if (sock_flag(sk, SOCK_ZAPPED)) { /* Must bind first - autobinding in this may or may not work */ in rose_connect()
787 sock_reset_flag(sk, SOCK_ZAPPED); in rose_connect()
1078 if (sock_flag(sk, SOCK_ZAPPED)) in rose_sendmsg()
/linux-6.1.9/net/bluetooth/cmtp/ !
Dsock.c220 sock_reset_flag(sk, SOCK_ZAPPED); in cmtp_sock_create()
/linux-6.1.9/net/bluetooth/bnep/ !
Dsock.c218 sock_reset_flag(sk, SOCK_ZAPPED); in bnep_sock_create()
/linux-6.1.9/net/bluetooth/hidp/ !
Dsock.c269 sock_reset_flag(sk, SOCK_ZAPPED); in hidp_sock_create()
/linux-6.1.9/net/x25/ !
Daf_x25.c693 if (sock_flag(sk, SOCK_ZAPPED)) { in x25_bind()
696 sock_reset_flag(sk, SOCK_ZAPPED); in x25_bind()
794 if (sock_flag(sk, SOCK_ZAPPED)) /* Must bind first - autobinding does not work */ in x25_connect()
1118 if (sock_flag(sk, SOCK_ZAPPED)) in x25_sendmsg()
/linux-6.1.9/drivers/isdn/mISDN/ !
Dsocket.c608 sock_reset_flag(sk, SOCK_ZAPPED); in data_sock_create()
765 sock_reset_flag(sk, SOCK_ZAPPED); in base_sock_create()
/linux-6.1.9/net/ax25/ !
Daf_ax25.c1122 if (!sock_flag(sk, SOCK_ZAPPED)) { in ax25_bind()
1155 sock_reset_flag(sk, SOCK_ZAPPED); in ax25_bind()
1267 if (sock_flag(sk, SOCK_ZAPPED)) { in ax25_connect()
1509 if (sock_flag(sk, SOCK_ZAPPED)) { in ax25_sendmsg()
Dax25_route.c439 sock_reset_flag(ax25->sk, SOCK_ZAPPED); in ax25_rt_autobind()
/linux-6.1.9/net/iucv/ !
Daf_iucv.c323 if (!sock_flag(sk, SOCK_ZAPPED) || sk->sk_socket) in iucv_sock_kill()
436 sock_set_flag(sk, SOCK_ZAPPED); in iucv_sock_close()
484 sock_reset_flag(sk, SOCK_ZAPPED); in iucv_sock_alloc()
2137 if (sock_flag(sk, SOCK_ZAPPED)) in afiucv_hs_callback_txnotify()
/linux-6.1.9/net/ieee802154/ !
Dsocket.c1045 sock_set_flag(sk, SOCK_ZAPPED); in ieee802154_create()
/linux-6.1.9/net/sctp/ !
Dipv6.c779 sock_reset_flag(sk, SOCK_ZAPPED); in sctp_v6_create_accept_sk()
Dprotocol.c588 sock_reset_flag(newsk, SOCK_ZAPPED); in sctp_v4_create_accept_sk()
/linux-6.1.9/include/net/ !
Dsock.h933 SOCK_ZAPPED, enumerator
/linux-6.1.9/net/sunrpc/ !
Dxprtsock.c1451 sock_flag(sk, SOCK_ZAPPED), in xs_tcp_state_change()

12