| /Linux-v5.15/net/ax25/ |
| D | ax25_std_timer.c | 41 if (!sk || sock_flag(sk, SOCK_DESTROY) || in ax25_std_heartbeat_expiry() 43 sock_flag(sk, SOCK_DEAD))) { in ax25_std_heartbeat_expiry() 112 if (!sock_flag(ax25->sk, SOCK_DEAD)) { in ax25_std_idletimer_expiry() 146 if (!sock_flag(ax25->sk, SOCK_DESTROY)) in ax25_std_t1timer_expiry()
|
| D | ax25_ds_timer.c | 104 if (!sk || sock_flag(sk, SOCK_DESTROY) || in ax25_ds_heartbeat_expiry() 106 sock_flag(sk, SOCK_DEAD))) { in ax25_ds_heartbeat_expiry() 172 if (!sock_flag(ax25->sk, SOCK_DEAD)) { in ax25_ds_idletimer_expiry() 214 if (!sock_flag(ax25->sk, SOCK_DESTROY)) in ax25_ds_t1_timeout()
|
| D | ax25_subr.c | 264 if (!ax25->sk || !sock_flag(ax25->sk, SOCK_DESTROY)) in ax25_disconnect() 281 if (!sock_flag(ax25->sk, SOCK_DEAD)) { in ax25_disconnect()
|
| /Linux-v5.15/net/decnet/ |
| D | dn_nsp_in.c | 121 if (wakeup && !sock_flag(sk, SOCK_DEAD)) in dn_ack() 371 if (!sock_flag(sk, SOCK_DEAD)) in dn_nsp_conn_conf() 433 if (!sock_flag(sk, SOCK_DEAD)) { in dn_nsp_disc_init() 491 if (!sock_flag(sk, SOCK_DEAD)) { in dn_nsp_disc_conf() 563 if (wake_up && !sock_flag(sk, SOCK_DEAD)) in dn_nsp_linkservice() 598 if (!sock_flag(sk, SOCK_DEAD)) in dn_queue_skb() 675 if (!sock_flag(sk, SOCK_DEAD)) in dn_returned_conn_init() 860 if ((scp->state == DN_CC) && !sock_flag(sk, SOCK_DEAD)) { in dn_nsp_backlog_rcv()
|
| /Linux-v5.15/net/rose/ |
| D | rose_timer.c | 129 if (sock_flag(sk, SOCK_DESTROY) || in rose_heartbeat_expiry() 130 (sk->sk_state == TCP_LISTEN && sock_flag(sk, SOCK_DEAD))) { in rose_heartbeat_expiry() 203 if (!sock_flag(sk, SOCK_DEAD)) { in rose_idletimer_expiry()
|
| /Linux-v5.15/net/core/ |
| D | sock.c | 327 BUG_ON(!sock_flag(sk, SOCK_MEMALLOC)); in __sk_backlog_rcv() 486 if (!sock_flag(sk, SOCK_DEAD)) in __sock_queue_rcv_skb() 1210 if (sock_flag(sk, SOCK_FILTER_LOCKED) && !valbool) in sock_setsockopt() 1444 v.val = sock_flag(sk, SOCK_DBG); in sock_getsockopt() 1448 v.val = sock_flag(sk, SOCK_LOCALROUTE); in sock_getsockopt() 1452 v.val = sock_flag(sk, SOCK_BROADCAST); in sock_getsockopt() 1472 v.val = sock_flag(sk, SOCK_KEEPOPEN); in sock_getsockopt() 1494 v.val = sock_flag(sk, SOCK_URGINLINE); in sock_getsockopt() 1507 v.ling.l_onoff = sock_flag(sk, SOCK_LINGER); in sock_getsockopt() 1515 v.val = sock_flag(sk, SOCK_RCVTSTAMP) && in sock_getsockopt() [all …]
|
| /Linux-v5.15/net/netrom/ |
| D | nr_timer.c | 122 if (sock_flag(sk, SOCK_DESTROY) || in nr_heartbeat_expiry() 123 (sk->sk_state == TCP_LISTEN && sock_flag(sk, SOCK_DEAD))) { in nr_heartbeat_expiry() 197 if (!sock_flag(sk, SOCK_DEAD)) { in nr_idletimer_expiry()
|
| /Linux-v5.15/net/x25/ |
| D | x25_timer.c | 106 if (sock_flag(sk, SOCK_DESTROY) || in x25_heartbeat_expiry() 108 sock_flag(sk, SOCK_DEAD))) { in x25_heartbeat_expiry()
|
| D | x25_in.c | 76 if (!sock_flag(sk, SOCK_DEAD)) in x25_queue_rx_frame() 136 if (!sock_flag(sk, SOCK_DEAD)) in x25_state1_machine() 314 if (sock_flag(sk, SOCK_URGINLINE)) in x25_state3_machine()
|
| /Linux-v5.15/net/ipv4/ |
| D | tcp_timer.c | 253 if (sock_flag(sk, SOCK_DEAD)) { in tcp_write_timeout() 384 if (sock_flag(sk, SOCK_DEAD)) { in tcp_probe_timer() 477 if (!tp->snd_wnd && !sock_flag(sk, SOCK_DEAD) && in tcp_retransmit_timer() 665 if (val && !sock_flag(sk, SOCK_KEEPOPEN)) in tcp_set_keepalive() 694 if (sk->sk_state == TCP_FIN_WAIT2 && sock_flag(sk, SOCK_DEAD)) { in tcp_keepalive_timer() 707 if (!sock_flag(sk, SOCK_KEEPOPEN) || in tcp_keepalive_timer()
|
| D | tcp.c | 557 !sock_flag(sk, SOCK_URGINLINE) && in tcp_poll() 805 if (sock_flag(sk, SOCK_DONE)) in tcp_splice_read() 1214 if (flags & MSG_ZEROCOPY && size && sock_flag(sk, SOCK_ZEROCOPY)) { in tcp_sendmsg_locked() 1475 if (sock_flag(sk, SOCK_URGINLINE) || !tp->urg_data || in tcp_recv_urg() 1479 if (sk->sk_state == TCP_CLOSE && !sock_flag(sk, SOCK_DONE)) in tcp_recv_urg() 2089 if (!inq && sock_flag(sk, SOCK_DONE)) in tcp_zerocopy_receive() 2189 if (!zc->recv_skip_hint && sock_flag(sk, SOCK_DONE)) in tcp_zerocopy_receive() 2201 int new_tstamp = sock_flag(sk, SOCK_TSTAMP_NEW); in tcp_recv_timestamp() 2205 if (sock_flag(sk, SOCK_RCVTSTAMP)) { in tcp_recv_timestamp() 2206 if (sock_flag(sk, SOCK_RCVTSTAMPNS)) { in tcp_recv_timestamp() [all …]
|
| D | datagram.c | 59 if ((rt->rt_flags & RTCF_BROADCAST) && !sock_flag(sk, SOCK_BROADCAST)) { in __ip4_datagram_connect()
|
| /Linux-v5.15/net/smc/ |
| D | smc_rx.c | 68 if (sock_flag(sk, SOCK_URGINLINE)) { in smc_rx_update_consumer() 226 if (sock_flag(sk, SOCK_URGINLINE) || in smc_rx_recv_urg() 348 if (!sock_flag(sk, SOCK_DONE)) { in smc_rx_recvmsg() 389 sock_flag(&smc->sk, SOCK_URGINLINE) && in smc_rx_recvmsg()
|
| D | smc_close.c | 200 0 : sock_flag(sk, SOCK_LINGER) ? in smc_close_active() 381 if (sock_flag(sk, SOCK_DEAD) && in smc_close_passive_work() 418 (sock_flag(sk, SOCK_DEAD) || !sk->sk_socket)) { in smc_close_passive_work() 439 0 : sock_flag(sk, SOCK_LINGER) ? in smc_close_shutdown_write()
|
| /Linux-v5.15/net/llc/ |
| D | af_llc.c | 214 if (!sock_flag(sk, SOCK_ZAPPED)) { in llc_ui_release() 281 if (!sock_flag(sk, SOCK_ZAPPED)) in llc_ui_autobind() 339 if (unlikely(!sock_flag(sk, SOCK_ZAPPED) || addrlen != sizeof(*addr))) in llc_ui_bind() 480 if (sock_flag(sk, SOCK_ZAPPED)) { in llc_ui_connect() 545 if (sock_flag(sk, SOCK_ZAPPED)) in llc_ui_listen() 804 if (sock_flag(sk, SOCK_DONE)) in llc_ui_recvmsg() 815 if (!sock_flag(sk, SOCK_DONE)) { in llc_ui_recvmsg() 932 if (sock_flag(sk, SOCK_ZAPPED)) { in llc_ui_sendmsg() 1007 if (sock_flag(sk, SOCK_ZAPPED)) in llc_ui_getname()
|
| /Linux-v5.15/net/can/ |
| D | isotp.c | 170 if (!sock_flag(sk, SOCK_DEAD)) in isotp_rx_timer_handler() 341 if (!sock_flag(sk, SOCK_DEAD)) in isotp_rcv_fc() 394 if (!sock_flag(sk, SOCK_DEAD)) in isotp_rcv_fc() 422 if (!sock_flag(sk, SOCK_DEAD)) in isotp_rcv_sf() 537 if (!sock_flag(sk, SOCK_DEAD)) in isotp_rcv_cf() 561 if (!sock_flag(sk, SOCK_DEAD)) in isotp_rcv_cf() 760 if (!sock_flag(sk, SOCK_DEAD)) in isotp_tx_timer_handler() 1181 if (!sock_flag(sk, SOCK_DEAD)) in isotp_bind() 1380 if (!sock_flag(sk, SOCK_DEAD)) in isotp_notify() 1386 if (!sock_flag(sk, SOCK_DEAD)) in isotp_notify()
|
| /Linux-v5.15/net/caif/ |
| D | caif_socket.c | 153 queued = !sock_flag(sk, SOCK_DEAD); in caif_queue_rcv_skb() 320 sock_flag(sk, SOCK_DEAD) || in caif_stream_data_wait() 331 if (sock_flag(sk, SOCK_DEAD)) in caif_stream_data_wait() 377 if (sock_flag(sk, SOCK_DEAD)) { in caif_stream_recvmsg() 400 if (sock_flag(sk, SOCK_DEAD)) in caif_stream_recvmsg() 555 sock_flag(sk, SOCK_DEAD) || in caif_seqpkt_sendmsg() 1018 if (!sock_flag(sk, SOCK_DEAD)) { in caif_sock_destructor()
|
| /Linux-v5.15/net/l2tp/ |
| D | l2tp_ip.c | 262 if (!sock_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() 408 if (sock_flag(sk, SOCK_DEAD)) in l2tp_ip_sendmsg()
|
| /Linux-v5.15/net/rds/ |
| D | recv.c | 376 if (!sock_flag(sk, SOCK_DEAD)) { in rds_recv_incoming() 382 if (sock_flag(sk, SOCK_RCVTSTAMP)) in rds_recv_incoming() 553 sock_flag(rds_rs_to_sk(rs), SOCK_RCVTSTAMP)) { in rds_cmsg_recv() 557 if (!sock_flag(rds_rs_to_sk(rs), SOCK_TSTAMP_NEW)) { in rds_cmsg_recv() 608 if (!sock_flag(rds_rs_to_sk(rs), SOCK_ZEROCOPY) || in rds_recvmsg_zcookie()
|
| /Linux-v5.15/net/unix/ |
| D | af_unix.c | 449 if (unix_recvq_full(other) && !sock_flag(other, SOCK_DEAD)) in unix_dgram_peer_wake_me() 493 if (!sock_flag(other, SOCK_DEAD) && unix_peer(other) == sk) { in unix_dgram_disconnected() 516 if (!sock_flag(sk, SOCK_DEAD)) { in unix_sock_destructor() 1245 if (sock_flag(other, SOCK_DEAD)) { in unix_dgram_connect() 1307 sched = !sock_flag(other, SOCK_DEAD) && in unix_wait_for_peer() 1376 if (sock_flag(other, SOCK_DEAD)) { in unix_stream_connect() 1855 if (unlikely(sock_flag(other, SOCK_DEAD))) { in unix_dgram_sendmsg() 1935 if (sock_flag(other, SOCK_RCVTSTAMP)) in unix_dgram_sendmsg() 1986 if (sock_flag(other, SOCK_DEAD) || in queue_oob() 2089 if (sock_flag(other, SOCK_DEAD) || in unix_stream_sendmsg() [all …]
|
| /Linux-v5.15/include/net/ |
| D | sock.h | 82 #define SOCK_DEBUG(sk, msg...) do { if ((sk) && sock_flag((sk), SOCK_DBG)) \ 905 static inline bool sock_flag(const struct sock *sk, enum sock_flags flag) in sock_flag() function 1012 if (skb_pfmemalloc(skb) && !sock_flag(sk, SOCK_MEMALLOC)) in sk_add_backlog() 2349 !sock_flag(sk, SOCK_FASYNC)) in sk_set_bit() 2358 !sock_flag(sk, SOCK_FASYNC)) in sk_clear_bit() 2366 if (sock_flag(sk, SOCK_FASYNC)) { in sk_wake_async() 2486 SOCK_SKB_CB(skb)->dropcount = sock_flag(sk, SOCK_RXQ_OVFL) ? in sock_skb_set_dropcount() 2542 if (sock_flag(sk, SOCK_RCVTSTAMP) || in sock_recv_timestamp() 2551 if (sock_flag(sk, SOCK_WIFI_STATUS) && skb->wifi_acked_valid) in sock_recv_timestamp() 2569 else if (unlikely(sock_flag(sk, SOCK_TIMESTAMP))) in sock_recv_ts_and_drops() [all …]
|
| /Linux-v5.15/net/phonet/ |
| D | pep.c | 350 if (!sock_flag(sk, SOCK_DEAD)) in pipe_do_rcv() 454 if (!sock_flag(sk, SOCK_DEAD)) in pipe_do_rcv() 578 if (!sock_flag(sk, SOCK_DEAD)) in pipe_handler_do_rcv() 585 if (!sock_flag(sk, SOCK_DEAD)) in pipe_handler_do_rcv() 686 if (!sock_flag(sk, SOCK_DEAD)) in pep_do_rcv() 932 if (sock_flag(sk, SOCK_URGINLINE) && in pep_ioctl() 1250 if ((flags & MSG_OOB) || sock_flag(sk, SOCK_URGINLINE)) { in pep_recvmsg()
|
| /Linux-v5.15/net/vmw_vsock/ |
| D | virtio_transport_common.c | 886 sock_flag(sk, SOCK_DONE), &wait)) in virtio_transport_wait_close() 925 if (!sock_flag(sk, SOCK_DONE)) { in virtio_transport_close_timeout() 955 if (sock_flag(sk, SOCK_LINGER) && !(current->flags & PF_EXITING)) in virtio_transport_close() 958 if (sock_flag(sk, SOCK_DONE)) { in virtio_transport_close() 1102 !sock_flag(sk, SOCK_DONE)) { in virtio_transport_recv_connected() 1292 if (sock_flag(sk, SOCK_DONE)) { in virtio_transport_recv_pkt()
|
| /Linux-v5.15/net/mptcp/ |
| D | sockopt.c | 718 if (sock_flag(sk, SOCK_KEEPOPEN)) in sync_socket_options() 736 if (sock_flag(sk, SOCK_LINGER)) { in sync_socket_options() 748 sock_valbool_flag(ssk, SOCK_DBG, sock_flag(sk, SOCK_DBG)); in sync_socket_options()
|
| /Linux-v5.15/net/qrtr/ |
| D | qrtr.c | 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() 1209 if (!sock_flag(sk, SOCK_DEAD)) in qrtr_release() 1216 if (!sock_flag(sk, SOCK_ZAPPED)) in qrtr_release()
|