Home
last modified time | relevance | path

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

12

/kernel/linux/linux-5.10/net/llc/
Daf_llc.c214 if (!sock_flag(sk, SOCK_ZAPPED)) { in llc_ui_release()
283 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()
421 sock_reset_flag(sk, SOCK_ZAPPED); in llc_ui_bind()
497 if (sock_flag(sk, SOCK_ZAPPED)) { in llc_ui_connect()
562 if (sock_flag(sk, SOCK_ZAPPED)) in llc_ui_listen()
725 sock_reset_flag(newsk, SOCK_ZAPPED); in llc_ui_accept()
949 if (sock_flag(sk, SOCK_ZAPPED)) { in llc_ui_sendmsg()
1024 if (sock_flag(sk, SOCK_ZAPPED)) in llc_ui_getname()
/kernel/linux/linux-5.10/net/l2tp/
Dl2tp_ip.c262 if (!sock_flag(sk, SOCK_ZAPPED)) in l2tp_ip_bind()
297 sock_reset_flag(sk, SOCK_ZAPPED); in l2tp_ip_bind()
319 if (sock_flag(sk, SOCK_ZAPPED)) { in l2tp_ip_connect()
343 if (sock_flag(sk, SOCK_ZAPPED)) in l2tp_ip_disconnect()
Dl2tp_ip6.c291 if (!sock_flag(sk, SOCK_ZAPPED)) in l2tp_ip6_bind()
350 sock_reset_flag(sk, SOCK_ZAPPED); in l2tp_ip6_bind()
390 if (sock_flag(sk, SOCK_ZAPPED)) { in l2tp_ip6_connect()
414 if (sock_flag(sk, SOCK_ZAPPED)) in l2tp_ip6_disconnect()
/kernel/linux/linux-5.10/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()
/kernel/linux/linux-5.10/net/qrtr/
Dqrtr.c765 sock_reset_flag(sk, SOCK_ZAPPED); in __qrtr_bind()
780 if (!sock_flag(sk, SOCK_ZAPPED)) in qrtr_autobind()
805 rc = __qrtr_bind(sock, addr, sock_flag(sk, SOCK_ZAPPED)); in qrtr_bind()
1006 if (sock_flag(sk, SOCK_ZAPPED)) { in qrtr_recvmsg()
1189 if (!sock_flag(sk, SOCK_ZAPPED)) in qrtr_release()
1239 sock_set_flag(sk, SOCK_ZAPPED); in qrtr_create()
/kernel/linux/linux-5.10/net/decnet/
Daf_decnet.c765 if (sock_flag(sk, SOCK_ZAPPED)) { in dn_bind()
767 sock_reset_flag(sk, SOCK_ZAPPED); in dn_bind()
771 sock_set_flag(sk, SOCK_ZAPPED); in dn_bind()
785 sock_reset_flag(sk, SOCK_ZAPPED); in dn_auto_bind()
810 sock_set_flag(sk, SOCK_ZAPPED); in dn_auto_bind()
934 if (sock_flag(sk, SOCK_ZAPPED)) { in __dn_connect()
1157 sock_reset_flag(newsk, SOCK_ZAPPED); in dn_accept()
1270 if (sock_flag(sk, SOCK_ZAPPED)) in dn_listen()
1686 if (sock_flag(sk, SOCK_ZAPPED)) { in dn_recvmsg()
/kernel/linux/linux-5.10/net/bluetooth/
Dsco.c176 sock_set_flag(sk, SOCK_ZAPPED); in sco_chan_del()
386 sock_set_flag(parent, SOCK_ZAPPED); in sco_sock_cleanup_listen()
394 if (!sock_flag(sk, SOCK_ZAPPED) || sk->sk_socket) in sco_sock_kill()
434 sock_set_flag(sk, SOCK_ZAPPED); in __sco_sock_close()
491 sock_reset_flag(sk, SOCK_ZAPPED); in sco_sock_alloc()
Dl2cap_sock.c206 zapped = sock_flag(sk, SOCK_ZAPPED); in l2cap_sock_connect()
1247 if (!sock_flag(sk, SOCK_ZAPPED) || sk->sk_socket) in l2cap_sock_kill()
1596 sock_set_flag(sk, SOCK_ZAPPED); in l2cap_sock_teardown_cb()
1860 sock_reset_flag(sk, SOCK_ZAPPED); in l2cap_sock_alloc()
Dhci_sock.c2069 sock_reset_flag(sk, SOCK_ZAPPED); in hci_sock_create()
/kernel/linux/linux-5.10/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()
1592 if (sock_flag(sk, SOCK_ZAPPED)) in atalk_sendmsg()
/kernel/linux/linux-5.10/net/netrom/
Daf_netrom.c574 if (!sock_flag(sk, SOCK_ZAPPED)) { in nr_bind()
628 sock_reset_flag(sk, SOCK_ZAPPED); in nr_bind()
674 if (sock_flag(sk, SOCK_ZAPPED)) { /* Must bind first - autobinding in this may or may not work */ in nr_connect()
675 sock_reset_flag(sk, SOCK_ZAPPED); in nr_connect()
1052 if (sock_flag(sk, SOCK_ZAPPED)) { in nr_sendmsg()
/kernel/linux/linux-5.10/net/rose/
Daf_rose.c668 if (!sock_flag(sk, SOCK_ZAPPED)) in rose_bind()
716 sock_reset_flag(sk, SOCK_ZAPPED); in rose_bind()
782 if (sock_flag(sk, SOCK_ZAPPED)) { /* Must bind first - autobinding in this may or may not work */ in rose_connect()
785 sock_reset_flag(sk, SOCK_ZAPPED); in rose_connect()
1071 if (sock_flag(sk, SOCK_ZAPPED)) in rose_sendmsg()
/kernel/linux/linux-5.10/net/bluetooth/bnep/
Dsock.c217 sock_reset_flag(sk, SOCK_ZAPPED); in bnep_sock_create()
/kernel/linux/linux-5.10/net/bluetooth/cmtp/
Dsock.c220 sock_reset_flag(sk, SOCK_ZAPPED); in cmtp_sock_create()
/kernel/linux/linux-5.10/net/bluetooth/hidp/
Dsock.c268 sock_reset_flag(sk, SOCK_ZAPPED); in hidp_sock_create()
/kernel/linux/linux-5.10/net/x25/
Daf_x25.c703 if (sock_flag(sk, SOCK_ZAPPED)) { in x25_bind()
706 sock_reset_flag(sk, SOCK_ZAPPED); in x25_bind()
799 if (sock_flag(sk, SOCK_ZAPPED)) /* Must bind first - autobinding does not work */ in x25_connect()
1123 if (sock_flag(sk, SOCK_ZAPPED)) in x25_sendmsg()
/kernel/linux/linux-5.10/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()
/kernel/linux/linux-5.10/net/ax25/
Daf_ax25.c1113 if (!sock_flag(sk, SOCK_ZAPPED)) { in ax25_bind()
1146 sock_reset_flag(sk, SOCK_ZAPPED); in ax25_bind()
1258 if (sock_flag(sk, SOCK_ZAPPED)) { in ax25_connect()
1500 if (sock_flag(sk, SOCK_ZAPPED)) { in ax25_sendmsg()
Dax25_route.c440 sock_reset_flag(ax25->sk, SOCK_ZAPPED); in ax25_rt_autobind()
/kernel/linux/linux-5.10/net/iucv/
Daf_iucv.c347 if (!sock_flag(sk, SOCK_ZAPPED) || sk->sk_socket) in iucv_sock_kill()
460 sock_set_flag(sk, SOCK_ZAPPED); in iucv_sock_close()
507 sock_reset_flag(sk, SOCK_ZAPPED); in iucv_sock_alloc()
2153 if (!iucv || sock_flag(sk, SOCK_ZAPPED)) in afiucv_hs_callback_txnotify()
/kernel/linux/linux-5.10/net/ieee802154/
Dsocket.c1046 sock_set_flag(sk, SOCK_ZAPPED); in ieee802154_create()
/kernel/linux/linux-5.10/net/sctp/
Dipv6.c731 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()
/kernel/linux/linux-5.10/include/net/
Dsock.h877 SOCK_ZAPPED, enumerator
/kernel/linux/linux-5.10/net/sunrpc/
Dxprtsock.c1438 sock_flag(sk, SOCK_ZAPPED), in xs_tcp_state_change()

12