Home
last modified time | relevance | path

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

/linux-6.6.21/net/llc/
Daf_llc.c214 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/
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.c288 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/
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()
412 if (!err && !sock_flag(sk, SOCK_ZAPPED)) in rfcomm_sock_connect()
/linux-6.6.21/net/qrtr/
Daf_qrtr.c801 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/
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.6.21/net/netrom/
Daf_netrom.c574 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/
Dsock.c220 sock_reset_flag(sk, SOCK_ZAPPED); in cmtp_sock_create()
/linux-6.6.21/net/rose/
Daf_rose.c706 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/
Dsco.c178 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()
Diso.c194 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()
Dl2cap_sock.c193 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()
Daf_bluetooth.c155 sock_reset_flag(sk, SOCK_ZAPPED); in bt_sock_alloc()
/linux-6.6.21/net/x25/
Daf_x25.c699 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/
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.6.21/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.6.21/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.6.21/net/ieee802154/
Dsocket.c1042 sock_set_flag(sk, SOCK_ZAPPED); in ieee802154_create()
/linux-6.6.21/net/sctp/
Dipv6.c787 sock_reset_flag(sk, SOCK_ZAPPED); in sctp_v6_create_accept_sk()
Dprotocol.c595 sock_reset_flag(newsk, SOCK_ZAPPED); in sctp_v4_create_accept_sk()
/linux-6.6.21/include/net/
Dsock.h939 SOCK_ZAPPED, enumerator
/linux-6.6.21/net/core/
Dsock.c3432 sock_set_flag(sk, SOCK_ZAPPED); in sock_init_data_uid()
/linux-6.6.21/net/sunrpc/
Dxprtsock.c1517 sock_flag(sk, SOCK_ZAPPED), in xs_tcp_state_change()