/linux-6.6.21/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 | 271 if (ax25->sk && !sock_flag(ax25->sk, SOCK_DESTROY)) in ax25_disconnect() 289 if (!sock_flag(ax25->sk, SOCK_DEAD)) { in ax25_disconnect()
|
/linux-6.6.21/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() 206 if (!sock_flag(sk, SOCK_DEAD)) { in rose_idletimer_expiry()
|
/linux-6.6.21/net/core/ |
D | sock.c | 335 BUG_ON(!sock_flag(sk, SOCK_MEMALLOC)); in __sk_backlog_rcv() 512 if (!sock_flag(sk, SOCK_DEAD)) in __sock_queue_rcv_skb() 1358 if (sock_flag(sk, SOCK_FILTER_LOCKED) && !valbool) in sk_setsockopt() 1633 v.val = sock_flag(sk, SOCK_DBG); in sk_getsockopt() 1637 v.val = sock_flag(sk, SOCK_LOCALROUTE); in sk_getsockopt() 1641 v.val = sock_flag(sk, SOCK_BROADCAST); in sk_getsockopt() 1661 v.val = sock_flag(sk, SOCK_KEEPOPEN); in sk_getsockopt() 1683 v.val = sock_flag(sk, SOCK_URGINLINE); in sk_getsockopt() 1696 v.ling.l_onoff = sock_flag(sk, SOCK_LINGER); in sk_getsockopt() 1704 v.val = sock_flag(sk, SOCK_RCVTSTAMP) && in sk_getsockopt() [all …]
|
/linux-6.6.21/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() 198 if (!sock_flag(sk, SOCK_DEAD)) { in nr_idletimer_expiry()
|
/linux-6.6.21/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-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() 350 if (unlikely(!sock_flag(sk, SOCK_ZAPPED) || addrlen != sizeof(*addr))) 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() 826 if (sock_flag(sk, SOCK_DONE)) in llc_ui_recvmsg() 837 if (!sock_flag(sk, SOCK_DONE)) { in llc_ui_recvmsg() 955 if (sock_flag(sk, SOCK_ZAPPED)) { in llc_ui_sendmsg() 975 if (sock_flag(sk, SOCK_ZAPPED) || in llc_ui_sendmsg() 1037 if (sock_flag(sk, SOCK_ZAPPED)) in llc_ui_getname()
|
/linux-6.6.21/net/ipv4/ |
D | tcp_timer.c | 262 if (sock_flag(sk, SOCK_DEAD)) { in tcp_write_timeout() 400 if (sock_flag(sk, SOCK_DEAD)) { in tcp_probe_timer() 514 if (!tp->snd_wnd && !sock_flag(sk, SOCK_DEAD) && in tcp_retransmit_timer() 708 if (val && !sock_flag(sk, SOCK_KEEPOPEN)) in tcp_set_keepalive() 737 if (sk->sk_state == TCP_FIN_WAIT2 && sock_flag(sk, SOCK_DEAD)) { in tcp_keepalive_timer() 750 if (!sock_flag(sk, SOCK_KEEPOPEN) || in tcp_keepalive_timer()
|
D | tcp.c | 559 !sock_flag(sk, SOCK_URGINLINE)) in tcp_poll() 809 if (sock_flag(sk, SOCK_DONE)) in tcp_splice_read() 1057 } else if (sock_flag(sk, SOCK_ZEROCOPY)) { in tcp_sendmsg_locked() 1374 if (sock_flag(sk, SOCK_URGINLINE) || !tp->urg_data || in tcp_recv_urg() 1378 if (sk->sk_state == TCP_CLOSE && !sock_flag(sk, SOCK_DONE)) in tcp_recv_urg() 2115 if (!inq && sock_flag(sk, SOCK_DONE)) in tcp_zerocopy_receive() 2216 if (!zc->recv_skip_hint && sock_flag(sk, SOCK_DONE)) in tcp_zerocopy_receive() 2228 int new_tstamp = sock_flag(sk, SOCK_TSTAMP_NEW); in tcp_recv_timestamp() 2232 if (sock_flag(sk, SOCK_RCVTSTAMP)) { in tcp_recv_timestamp() 2233 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-6.6.21/net/smc/ |
D | smc_close.c | 205 0 : sock_flag(sk, SOCK_LINGER) ? in smc_close_active() 398 if (sock_flag(sk, SOCK_DEAD) && in smc_close_passive_work() 435 (sock_flag(sk, SOCK_DEAD) || !sk->sk_socket)) { in smc_close_passive_work() 456 0 : sock_flag(sk, SOCK_LINGER) ? in smc_close_shutdown_write()
|
D | smc_rx.c | 73 if (sock_flag(sk, SOCK_URGINLINE)) { in smc_rx_update_consumer() 289 if (sock_flag(sk, SOCK_URGINLINE) || in smc_rx_recv_urg() 411 if (!sock_flag(sk, SOCK_DONE)) { in smc_rx_recvmsg() 452 sock_flag(&smc->sk, SOCK_URGINLINE) && in smc_rx_recvmsg()
|
/linux-6.6.21/net/caif/ |
D | caif_socket.c | 148 queued = !sock_flag(sk, SOCK_DEAD); in caif_queue_rcv_skb() 315 sock_flag(sk, SOCK_DEAD) || in caif_stream_data_wait() 326 if (sock_flag(sk, SOCK_DEAD)) in caif_stream_data_wait() 372 if (sock_flag(sk, SOCK_DEAD)) { in caif_stream_recvmsg() 395 if (sock_flag(sk, SOCK_DEAD)) in caif_stream_recvmsg() 546 sock_flag(sk, SOCK_DEAD) || in caif_seqpkt_sendmsg() 1007 if (!sock_flag(sk, SOCK_DEAD)) { in caif_sock_destructor()
|
/linux-6.6.21/net/l2tp/ |
D | l2tp_ip.c | 264 if (!sock_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() 410 if (sock_flag(sk, SOCK_DEAD)) in l2tp_ip_sendmsg()
|
/linux-6.6.21/net/rds/ |
D | recv.c | 377 if (!sock_flag(sk, SOCK_DEAD)) { in rds_recv_incoming() 383 if (sock_flag(sk, SOCK_RCVTSTAMP)) in rds_recv_incoming() 554 sock_flag(rds_rs_to_sk(rs), SOCK_RCVTSTAMP)) { in rds_cmsg_recv() 558 if (!sock_flag(rds_rs_to_sk(rs), SOCK_TSTAMP_NEW)) { in rds_cmsg_recv() 609 if (!sock_flag(rds_rs_to_sk(rs), SOCK_ZEROCOPY) || in rds_recvmsg_zcookie()
|
/linux-6.6.21/net/can/ |
D | isotp.c | 202 if (!sock_flag(sk, SOCK_DEAD)) in isotp_rx_timer_handler() 376 if (!sock_flag(sk, SOCK_DEAD)) in isotp_rcv_fc() 430 if (!sock_flag(sk, SOCK_DEAD)) in isotp_rcv_fc() 458 if (!sock_flag(sk, SOCK_DEAD)) in isotp_rcv_sf() 583 if (!sock_flag(sk, SOCK_DEAD)) in isotp_rcv_cf() 607 if (!sock_flag(sk, SOCK_DEAD)) in isotp_rcv_cf() 909 if (!sock_flag(sk, SOCK_DEAD)) in isotp_tx_timer_handler() 1346 if (!sock_flag(sk, SOCK_DEAD)) in isotp_bind() 1568 if (!sock_flag(sk, SOCK_DEAD)) in isotp_notify() 1574 if (!sock_flag(sk, SOCK_DEAD)) in isotp_notify()
|
/linux-6.6.21/include/net/ |
D | route.h | 40 #define RT_CONN_FLAGS(sk) (RT_TOS(inet_sk(sk)->tos) | sock_flag(sk, SOCK_LOCALROUTE)) 41 #define RT_CONN_FLAGS_TOS(sk,tos) (RT_TOS(tos) | sock_flag(sk, SOCK_LOCALROUTE)) 45 if (sock_flag(sk, SOCK_LOCALROUTE)) in ip_sock_rt_scope()
|
D | sock.h | 82 #define SOCK_DEBUG(sk, msg...) do { if ((sk) && sock_flag((sk), SOCK_DBG)) \ 990 static inline bool sock_flag(const struct sock *sk, enum sock_flags flag) in sock_flag() function 1103 if (skb_pfmemalloc(skb) && !sock_flag(sk, SOCK_MEMALLOC)) in sk_add_backlog() 2533 !sock_flag(sk, SOCK_FASYNC)) in sk_set_bit() 2542 !sock_flag(sk, SOCK_FASYNC)) in sk_clear_bit() 2550 if (sock_flag(sk, SOCK_FASYNC)) { in sk_wake_async() 2669 SOCK_SKB_CB(skb)->dropcount = sock_flag(sk, SOCK_RXQ_OVFL) ? in sock_skb_set_dropcount() 2725 if (sock_flag(sk, SOCK_RCVTSTAMP) || in sock_recv_timestamp() 2734 if (sock_flag(sk, SOCK_WIFI_STATUS) && skb_wifi_acked_valid(skb)) in sock_recv_timestamp() 2754 else if (unlikely(sock_flag(sk, SOCK_TIMESTAMP))) in sock_recv_cmsgs() [all …]
|
/linux-6.6.21/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() 928 if (sock_flag(sk, SOCK_URGINLINE)) { in pep_first_packet_length() 1276 if ((flags & MSG_OOB) || sock_flag(sk, SOCK_URGINLINE)) { in pep_recvmsg()
|
/linux-6.6.21/net/unix/ |
D | af_unix.c | 525 if (unix_recvq_full_lockless(other) && !sock_flag(other, SOCK_DEAD)) in unix_dgram_peer_wake_me() 569 if (!sock_flag(other, SOCK_DEAD) && unix_peer(other) == sk) { in unix_dgram_disconnected() 586 if (!sock_flag(sk, SOCK_DEAD)) { in unix_sock_destructor() 1398 if (sock_flag(other, SOCK_DEAD)) { in unix_dgram_connect() 1460 sched = !sock_flag(other, SOCK_DEAD) && in unix_wait_for_peer() 1531 if (sock_flag(other, SOCK_DEAD)) { in unix_stream_connect() 1996 if (unlikely(sock_flag(other, SOCK_DEAD))) { in unix_dgram_sendmsg() 2083 if (sock_flag(other, SOCK_RCVTSTAMP)) in unix_dgram_sendmsg() 2140 if (sock_flag(other, SOCK_DEAD) || in queue_oob() 2260 if (sock_flag(other, SOCK_DEAD) || in unix_stream_sendmsg() [all …]
|
/linux-6.6.21/net/vmw_vsock/ |
D | virtio_transport_common.c | 998 sock_flag(sk, SOCK_DONE), &wait)) in virtio_transport_wait_close() 1037 if (!sock_flag(sk, SOCK_DONE)) { in virtio_transport_close_timeout() 1067 if (sock_flag(sk, SOCK_LINGER) && !(current->flags & PF_EXITING)) in virtio_transport_close() 1070 if (sock_flag(sk, SOCK_DONE)) { in virtio_transport_close() 1217 if (vsock_stream_has_data(vsk) <= 0 && !sock_flag(sk, SOCK_DONE)) { in virtio_transport_recv_connected() 1423 if (sock_flag(sk, SOCK_DONE)) { in virtio_transport_recv_pkt()
|
/linux-6.6.21/net/qrtr/ |
D | af_qrtr.c | 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() 1217 if (!sock_flag(sk, SOCK_DEAD)) in qrtr_release() 1224 if (!sock_flag(sk, SOCK_ZAPPED)) in qrtr_release()
|
/linux-6.6.21/net/bluetooth/rfcomm/ |
D | sock.c | 96 if (parent && sock_flag(sk, SOCK_ZAPPED)) { in rfcomm_sk_state_change() 194 if (!sock_flag(sk, SOCK_ZAPPED) || sk->sk_socket) in rfcomm_sock_kill() 412 if (!err && !sock_flag(sk, SOCK_ZAPPED)) in rfcomm_sock_connect() 908 if (sock_flag(sk, SOCK_LINGER) && sk->sk_lingertime && in rfcomm_sock_shutdown()
|