/linux-6.6.21/net/llc/ |
D | af_llc.c | 214 if (!sock_flag(sk, SOCK_ZAPPED)) { in llc_ui_release() 284 if (!sock_flag(sk, SOCK_ZAPPED)) in llc_ui_autobind() 319 sock_reset_flag(sk, SOCK_ZAPPED); in llc_ui_autobind() 350 if (unlikely(!sock_flag(sk, SOCK_ZAPPED) || addrlen != sizeof(*addr))) in llc_ui_bind() 424 sock_reset_flag(sk, SOCK_ZAPPED); in llc_ui_bind() 500 if (sock_flag(sk, SOCK_ZAPPED)) { in llc_ui_connect() 565 if (sock_flag(sk, SOCK_ZAPPED)) in llc_ui_listen() 730 sock_reset_flag(newsk, SOCK_ZAPPED); in llc_ui_accept() 955 if (sock_flag(sk, SOCK_ZAPPED)) { in llc_ui_sendmsg() 975 if (sock_flag(sk, SOCK_ZAPPED) || in llc_ui_sendmsg() [all …]
|
/linux-6.6.21/net/l2tp/ |
D | l2tp_ip.c | 264 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()
|
D | l2tp_ip6.c | 288 if (!sock_flag(sk, SOCK_ZAPPED)) in l2tp_ip6_bind() 347 sock_reset_flag(sk, SOCK_ZAPPED); in l2tp_ip6_bind() 387 if (sock_flag(sk, SOCK_ZAPPED)) { in l2tp_ip6_connect() 411 if (sock_flag(sk, SOCK_ZAPPED)) in l2tp_ip6_disconnect()
|
/linux-6.6.21/net/bluetooth/rfcomm/ |
D | sock.c | 83 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() 412 if (!err && !sock_flag(sk, SOCK_ZAPPED)) in rfcomm_sock_connect()
|
/linux-6.6.21/net/qrtr/ |
D | af_qrtr.c | 801 sock_reset_flag(sk, SOCK_ZAPPED); in __qrtr_bind() 816 if (!sock_flag(sk, SOCK_ZAPPED)) in qrtr_autobind() 841 rc = __qrtr_bind(sock, addr, sock_flag(sk, SOCK_ZAPPED)); in qrtr_bind() 1042 if (sock_flag(sk, SOCK_ZAPPED)) { in qrtr_recvmsg() 1224 if (!sock_flag(sk, SOCK_ZAPPED)) in qrtr_release() 1273 sock_set_flag(sk, SOCK_ZAPPED); in qrtr_create()
|
/linux-6.6.21/net/appletalk/ |
D | ddp.c | 1048 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.6.21/net/netrom/ |
D | af_netrom.c | 574 if (!sock_flag(sk, SOCK_ZAPPED)) { in nr_bind() 628 sock_reset_flag(sk, SOCK_ZAPPED); in nr_bind() 679 if (sock_flag(sk, SOCK_ZAPPED)) { /* Must bind first - autobinding in this may or may not work */ in nr_connect() 680 sock_reset_flag(sk, SOCK_ZAPPED); in nr_connect() 1057 if (sock_flag(sk, SOCK_ZAPPED)) { in nr_sendmsg()
|
/linux-6.6.21/net/bluetooth/cmtp/ |
D | sock.c | 220 sock_reset_flag(sk, SOCK_ZAPPED); in cmtp_sock_create()
|
/linux-6.6.21/net/rose/ |
D | af_rose.c | 706 if (!sock_flag(sk, SOCK_ZAPPED)) in rose_bind() 755 sock_reset_flag(sk, SOCK_ZAPPED); in rose_bind() 821 if (sock_flag(sk, SOCK_ZAPPED)) { /* Must bind first - autobinding in this may or may not work */ in rose_connect() 824 sock_reset_flag(sk, SOCK_ZAPPED); in rose_connect() 1115 if (sock_flag(sk, SOCK_ZAPPED)) in rose_sendmsg()
|
/linux-6.6.21/net/bluetooth/ |
D | sco.c | 178 sock_set_flag(sk, SOCK_ZAPPED); in sco_chan_del() 410 sock_set_flag(parent, SOCK_ZAPPED); in sco_sock_cleanup_listen() 418 if (!sock_flag(sk, SOCK_ZAPPED) || sk->sk_socket) in sco_sock_kill() 458 sock_set_flag(sk, SOCK_ZAPPED); in __sco_sock_close()
|
D | iso.c | 194 sock_set_flag(sk, SOCK_ZAPPED); in iso_chan_del() 652 sock_set_flag(parent, SOCK_ZAPPED); in iso_sock_cleanup_listen() 660 if (!sock_flag(sk, SOCK_ZAPPED) || sk->sk_socket || in iso_sock_kill() 713 sock_set_flag(sk, SOCK_ZAPPED); in __iso_sock_close()
|
D | l2cap_sock.c | 193 zapped = sock_flag(sk, SOCK_ZAPPED); in l2cap_sock_connect() 1230 if (!sock_flag(sk, SOCK_ZAPPED) || sk->sk_socket) in l2cap_sock_kill() 1580 sock_set_flag(sk, SOCK_ZAPPED); in l2cap_sock_teardown_cb()
|
D | af_bluetooth.c | 155 sock_reset_flag(sk, SOCK_ZAPPED); in bt_sock_alloc()
|
/linux-6.6.21/net/x25/ |
D | af_x25.c | 699 if (sock_flag(sk, SOCK_ZAPPED)) { in x25_bind() 702 sock_reset_flag(sk, SOCK_ZAPPED); in x25_bind() 800 if (sock_flag(sk, SOCK_ZAPPED)) /* Must bind first - autobinding does not work */ in x25_connect() 1124 if (sock_flag(sk, SOCK_ZAPPED)) in x25_sendmsg()
|
/linux-6.6.21/drivers/isdn/mISDN/ |
D | socket.c | 608 sock_reset_flag(sk, SOCK_ZAPPED); in data_sock_create() 765 sock_reset_flag(sk, SOCK_ZAPPED); in base_sock_create()
|
/linux-6.6.21/net/ax25/ |
D | af_ax25.c | 1122 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()
|
D | ax25_route.c | 439 sock_reset_flag(ax25->sk, SOCK_ZAPPED); in ax25_rt_autobind()
|
/linux-6.6.21/net/iucv/ |
D | af_iucv.c | 323 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.6.21/net/ieee802154/ |
D | socket.c | 1042 sock_set_flag(sk, SOCK_ZAPPED); in ieee802154_create()
|
/linux-6.6.21/net/sctp/ |
D | ipv6.c | 787 sock_reset_flag(sk, SOCK_ZAPPED); in sctp_v6_create_accept_sk()
|
D | protocol.c | 595 sock_reset_flag(newsk, SOCK_ZAPPED); in sctp_v4_create_accept_sk()
|
/linux-6.6.21/include/net/ |
D | sock.h | 939 SOCK_ZAPPED, enumerator
|
/linux-6.6.21/net/core/ |
D | sock.c | 3432 sock_set_flag(sk, SOCK_ZAPPED); in sock_init_data_uid()
|
/linux-6.6.21/net/sunrpc/ |
D | xprtsock.c | 1517 sock_flag(sk, SOCK_ZAPPED), in xs_tcp_state_change()
|