Lines Matching defs:sock
341 struct sock { struct
346 struct sock_common __sk_common; argument
386 socket_lock_t sk_lock; argument
393 * the per-socket spinlock held and requires low latency argument
420 struct socket_wq __rcu *sk_wq; argument
426 struct xfrm_policy __rcu *sk_policy[2];
429 struct dst_entry __rcu *sk_dst_cache;
430 atomic_t sk_omem_alloc;
431 int sk_sndbuf;
434 int sk_wmem_queued;
435 refcount_t sk_wmem_alloc;
436 unsigned long sk_tsq_flags;
437 union {
461 * changes are protected by socket lock. argument
464 sk_kern_sock : 1, argument
465 sk_no_check_tx : 1,
466 sk_no_check_rx : 1,
467 sk_userlocks : 4;
468 u8 sk_pacing_shift;
469 u16 sk_type;
470 u16 sk_protocol;
471 u16 sk_gso_max_segs;
472 unsigned long sk_lingertime;
473 struct proto *sk_prot_creator;
474 rwlock_t sk_callback_lock;
475 int sk_err,
476 sk_err_soft;
477 u32 sk_ack_backlog;
478 u32 sk_max_ack_backlog;
479 kuid_t sk_uid;
480 u8 sk_txrehash;
482 u8 sk_prefer_busy_poll;
506 struct socket *sk_socket; argument
511 struct sock_cgroup_data sk_cgrp_data; argument
513 void (*sk_state_change)(struct sock *sk); argument
514 void (*sk_data_ready)(struct sock *sk); argument
515 void (*sk_write_space)(struct sock *sk); argument
516 void (*sk_error_report)(struct sock *sk); argument
517 int (*sk_backlog_rcv)(struct sock *sk, argument
520 struct sk_buff* (*sk_validate_xmit_skb)(struct sock *sk, argument
524 void (*sk_destruct)(struct sock *sk); argument
525 struct sock_reuseport __rcu *sk_reuseport_cb; argument
542 * not be suitable for copying when cloning the socket. For instance, argument
2057 static inline void sk_set_socket(struct sock *sk, struct socket *sock) in sk_set_socket()
2365 static inline void sock_poll_wait(struct file *filp, struct socket *sock, in sock_poll_wait()