Lines Matching defs:sk
82 struct sock *sk = sock->sk; in ieee802154_sock_release() local
94 struct sock *sk = sock->sk; in ieee802154_sock_sendmsg() local
102 struct sock *sk = sock->sk; in ieee802154_sock_bind() local
113 struct sock *sk = sock->sk; in ieee802154_sock_connect() local
124 static int ieee802154_dev_ioctl(struct sock *sk, struct ifreq __user *arg, in ieee802154_dev_ioctl()
155 struct sock *sk = sock->sk; in ieee802154_sock_ioctl() local
173 static int raw_hash(struct sock *sk) in raw_hash()
183 static void raw_unhash(struct sock *sk) in raw_unhash()
191 static void raw_close(struct sock *sk, long timeout) in raw_close()
196 static int raw_bind(struct sock *sk, struct sockaddr *_uaddr, int len) in raw_bind()
230 static int raw_connect(struct sock *sk, struct sockaddr *uaddr, in raw_connect()
236 static int raw_disconnect(struct sock *sk, int flags) in raw_disconnect()
241 static int raw_sendmsg(struct sock *sk, struct msghdr *msg, size_t size) in raw_sendmsg()
315 static int raw_recvmsg(struct sock *sk, struct msghdr *msg, size_t len, in raw_recvmsg()
348 static int raw_rcv_skb(struct sock *sk, struct sk_buff *skb) in raw_rcv_skb()
364 struct sock *sk; in ieee802154_raw_deliver() local
382 static int raw_getsockopt(struct sock *sk, int level, int optname, in raw_getsockopt()
388 static int raw_setsockopt(struct sock *sk, int level, int optname, in raw_setsockopt()
437 struct sock sk; member
452 static inline struct dgram_sock *dgram_sk(const struct sock *sk) in dgram_sk()
457 static int dgram_hash(struct sock *sk) in dgram_hash()
467 static void dgram_unhash(struct sock *sk) in dgram_unhash()
475 static int dgram_init(struct sock *sk) in dgram_init()
484 static void dgram_close(struct sock *sk, long timeout) in dgram_close()
489 static int dgram_bind(struct sock *sk, struct sockaddr *uaddr, int len) in dgram_bind()
534 static int dgram_ioctl(struct sock *sk, int cmd, unsigned long arg) in dgram_ioctl()
568 static int dgram_connect(struct sock *sk, struct sockaddr *uaddr, in dgram_connect()
597 static int dgram_disconnect(struct sock *sk, int flags) in dgram_disconnect()
608 static int dgram_sendmsg(struct sock *sk, struct msghdr *msg, size_t size) in dgram_sendmsg()
707 static int dgram_recvmsg(struct sock *sk, struct msghdr *msg, size_t len, in dgram_recvmsg()
762 static int dgram_rcv_skb(struct sock *sk, struct sk_buff *skb) in dgram_rcv_skb()
797 struct sock *sk, *prev = NULL; in ieee802154_dgram_deliver() local
836 static int dgram_getsockopt(struct sock *sk, int level, int optname, in dgram_getsockopt()
883 static int dgram_setsockopt(struct sock *sk, int level, int optname, in dgram_setsockopt()
996 static void ieee802154_sock_destruct(struct sock *sk) in ieee802154_sock_destruct()
1007 struct sock *sk; in ieee802154_create() local