Home
last modified time | relevance | path

Searched defs:sock (Results 1 – 25 of 39) sorted by relevance

12

/linux-4.19.296/drivers/misc/
Dtifm_core.c38 static int tifm_dev_match(struct tifm_dev *sock, struct tifm_device_id *id) in tifm_dev_match()
47 struct tifm_dev *sock = container_of(dev, struct tifm_dev, dev); in tifm_bus_match() local
64 struct tifm_dev *sock = container_of(dev, struct tifm_dev, dev); in tifm_uevent() local
74 struct tifm_dev *sock = container_of(dev, struct tifm_dev, dev); in tifm_device_probe() local
89 static void tifm_dummy_event(struct tifm_dev *sock) in tifm_dummy_event()
96 struct tifm_dev *sock = container_of(dev, struct tifm_dev, dev); in tifm_device_remove() local
115 struct tifm_dev *sock = container_of(dev, struct tifm_dev, dev); in tifm_device_suspend() local
126 struct tifm_dev *sock = container_of(dev, struct tifm_dev, dev); in tifm_device_resume() local
145 struct tifm_dev *sock = container_of(dev, struct tifm_dev, dev); in type_show() local
248 struct tifm_dev *sock = container_of(dev, struct tifm_dev, dev); in tifm_free_device() local
[all …]
Dtifm_7xx1.c26 struct tifm_dev *sock) in tifm_7xx1_dummy_eject()
30 static void tifm_7xx1_eject(struct tifm_adapter *fm, struct tifm_dev *sock) in tifm_7xx1_eject()
43 struct tifm_dev *sock; in tifm_7xx1_isr() local
143 struct tifm_dev *sock; in tifm_7xx1_switch_media() local
312 struct tifm_dev *sock) in tifm_7xx1_dummy_has_ms_pif()
317 static int tifm_7xx1_has_ms_pif(struct tifm_adapter *fm, struct tifm_dev *sock) in tifm_7xx1_has_ms_pif()
/linux-4.19.296/include/net/
Dsock.h328 struct sock { struct
333 struct sock_common __sk_common; argument
368 socket_lock_t sk_lock; argument
375 * the per-socket spinlock held and requires low latency argument
400 struct socket_wq __rcu *sk_wq; argument
404 struct xfrm_policy __rcu *sk_policy[2];
406 struct dst_entry __rcu *sk_rx_dst;
407 struct dst_entry __rcu *sk_dst_cache;
408 atomic_t sk_omem_alloc;
409 int sk_sndbuf;
[all …]
Dscm.h47 static __inline__ void unix_get_peersec_dgram(struct socket *sock, struct scm_cookie *scm) in unix_get_peersec_dgram()
52 static __inline__ void unix_get_peersec_dgram(struct socket *sock, struct scm_cookie *scm) in unix_get_peersec_dgram()
78 static __inline__ int scm_send(struct socket *sock, struct msghdr *msg, in scm_send()
93 static inline void scm_passec(struct socket *sock, struct msghdr *msg, struct scm_cookie *scm) in scm_passec()
109 static inline bool scm_has_secdata(struct socket *sock) in scm_has_secdata()
114 static inline void scm_passec(struct socket *sock, struct msghdr *msg, struct scm_cookie *scm) in scm_passec()
117 static inline bool scm_has_secdata(struct socket *sock) in scm_has_secdata()
123 static __inline__ void scm_recv(struct socket *sock, struct msghdr *msg, in scm_recv()
Dudp_tunnel.h166 static inline void udp_tunnel_encap_enable(struct socket *sock) in udp_tunnel_encap_enable()
Dipx.h23 __be16 sock; member
/linux-4.19.296/drivers/isdn/mISDN/
Dsocket.c115 mISDN_sock_recvmsg(struct socket *sock, struct msghdr *msg, size_t len, in mISDN_sock_recvmsg()
176 mISDN_sock_sendmsg(struct socket *sock, struct msghdr *msg, size_t len) in mISDN_sock_sendmsg()
246 data_sock_release(struct socket *sock) in data_sock_release()
360 data_sock_ioctl(struct socket *sock, unsigned int cmd, unsigned long arg) in data_sock_ioctl()
413 static int data_sock_setsockopt(struct socket *sock, int level, int optname, in data_sock_setsockopt()
445 static int data_sock_getsockopt(struct socket *sock, int level, int optname, in data_sock_getsockopt()
475 data_sock_bind(struct socket *sock, struct sockaddr *addr, int addr_len) in data_sock_bind()
562 data_sock_getname(struct socket *sock, struct sockaddr *addr, in data_sock_getname()
603 data_sock_create(struct net *net, struct socket *sock, int protocol, int kern) in data_sock_create()
628 base_sock_release(struct socket *sock) in base_sock_release()
[all …]
/linux-4.19.296/drivers/memstick/host/
Dtifm_ms.c89 struct tifm_dev *sock = host->dev; in tifm_ms_read_data() local
129 struct tifm_dev *sock = host->dev; in tifm_ms_write_data() local
184 struct tifm_dev *sock = host->dev; in tifm_ms_transfer_data() local
256 struct tifm_dev *sock = host->dev; in tifm_ms_issue_cmd() local
341 struct tifm_dev *sock = host->dev; in tifm_ms_complete_cmd() local
386 static void tifm_ms_data_event(struct tifm_dev *sock) in tifm_ms_data_event()
422 static void tifm_ms_card_event(struct tifm_dev *sock) in tifm_ms_card_event()
464 struct tifm_dev *sock = host->dev; in tifm_ms_req_tasklet() local
504 struct tifm_dev *sock = host->dev; in tifm_ms_set_param() local
556 static int tifm_ms_probe(struct tifm_dev *sock) in tifm_ms_probe()
[all …]
/linux-4.19.296/crypto/
Dalgif_skcipher.c41 static int skcipher_sendmsg(struct socket *sock, struct msghdr *msg, in skcipher_sendmsg()
54 static int _skcipher_recvmsg(struct socket *sock, struct msghdr *msg, in _skcipher_recvmsg()
153 static int skcipher_recvmsg(struct socket *sock, struct msghdr *msg, in skcipher_recvmsg()
208 static int skcipher_check_key(struct socket *sock) in skcipher_check_key()
243 static int skcipher_sendmsg_nokey(struct socket *sock, struct msghdr *msg, in skcipher_sendmsg_nokey()
255 static ssize_t skcipher_sendpage_nokey(struct socket *sock, struct page *page, in skcipher_sendpage_nokey()
267 static int skcipher_recvmsg_nokey(struct socket *sock, struct msghdr *msg, in skcipher_recvmsg_nokey()
Dalgif_hash.c68 static int hash_sendmsg(struct socket *sock, struct msghdr *msg, in hash_sendmsg()
136 static ssize_t hash_sendpage(struct socket *sock, struct page *page, in hash_sendpage()
188 static int hash_recvmsg(struct socket *sock, struct msghdr *msg, size_t len, in hash_recvmsg()
235 static int hash_accept(struct socket *sock, struct socket *newsock, int flags, in hash_accept()
299 static int hash_check_key(struct socket *sock) in hash_check_key()
334 static int hash_sendmsg_nokey(struct socket *sock, struct msghdr *msg, in hash_sendmsg_nokey()
346 static ssize_t hash_sendpage_nokey(struct socket *sock, struct page *page, in hash_sendpage_nokey()
358 static int hash_recvmsg_nokey(struct socket *sock, struct msghdr *msg, in hash_recvmsg_nokey()
370 static int hash_accept_nokey(struct socket *sock, struct socket *newsock, in hash_accept_nokey()
Dalgif_aead.c65 static int aead_sendmsg(struct socket *sock, struct msghdr *msg, size_t size) in aead_sendmsg()
92 static int _aead_recvmsg(struct socket *sock, struct msghdr *msg, in _aead_recvmsg()
327 static int aead_recvmsg(struct socket *sock, struct msghdr *msg, in aead_recvmsg()
382 static int aead_check_key(struct socket *sock) in aead_check_key()
417 static int aead_sendmsg_nokey(struct socket *sock, struct msghdr *msg, in aead_sendmsg_nokey()
429 static ssize_t aead_sendpage_nokey(struct socket *sock, struct page *page, in aead_sendpage_nokey()
441 static int aead_recvmsg_nokey(struct socket *sock, struct msghdr *msg, in aead_recvmsg_nokey()
Daf_alg.c123 int af_alg_release(struct socket *sock) in af_alg_release()
149 static int alg_bind(struct socket *sock, struct sockaddr *uaddr, int addr_len) in alg_bind()
233 static int alg_setsockopt(struct socket *sock, int level, int optname, in alg_setsockopt()
333 static int alg_accept(struct socket *sock, struct socket *newsock, int flags, in alg_accept()
368 static int alg_create(struct net *net, struct socket *sock, int protocol, in alg_create()
830 int af_alg_sendmsg(struct socket *sock, struct msghdr *msg, size_t size, in af_alg_sendmsg()
976 ssize_t af_alg_sendpage(struct socket *sock, struct page *page, in af_alg_sendpage()
1070 __poll_t af_alg_poll(struct file *file, struct socket *sock, in af_alg_poll()
Dalgif_rng.c58 static int rng_recvmsg(struct socket *sock, struct msghdr *msg, size_t len, in rng_recvmsg()
/linux-4.19.296/drivers/xen/
Dpvcalls-front.c68 struct socket *sock; member
108 static inline struct sock_mapping *pvcalls_enter_sock(struct socket *sock) in pvcalls_enter_sock()
125 static inline void pvcalls_exit_sock(struct socket *sock) in pvcalls_exit_sock()
269 int pvcalls_front_socket(struct socket *sock) in pvcalls_front_socket()
421 int pvcalls_front_connect(struct socket *sock, struct sockaddr *addr, in pvcalls_front_connect()
540 int pvcalls_front_sendmsg(struct socket *sock, struct msghdr *msg, in pvcalls_front_sendmsg()
633 int pvcalls_front_recvmsg(struct socket *sock, struct msghdr *msg, size_t len, in pvcalls_front_recvmsg()
669 int pvcalls_front_bind(struct socket *sock, struct sockaddr *addr, int addr_len) in pvcalls_front_bind()
722 int pvcalls_front_listen(struct socket *sock, int backlog) in pvcalls_front_listen()
771 int pvcalls_front_accept(struct socket *sock, struct socket *newsock, int flags) in pvcalls_front_accept()
[all …]
Dpvcalls-back.c66 struct socket *sock; member
86 struct socket *sock; member
296 static void pvcalls_sk_state_change(struct sock *sock) in pvcalls_sk_state_change()
307 static void pvcalls_sk_data_ready(struct sock *sock) in pvcalls_sk_data_ready()
326 struct socket *sock) in pvcalls_new_active_socket()
402 struct socket *sock; in pvcalls_back_connect() local
529 struct socket *sock; in __pvcalls_back_accept() local
592 static void pvcalls_pass_sk_data_ready(struct sock *sock) in pvcalls_pass_sk_data_ready()
/linux-4.19.296/include/linux/
Dnetfilter.h127 struct sock *sk, in nf_hook_state_init()
194 struct sock *sk, struct sk_buff *skb, in nf_hook()
264 NF_HOOK_COND(uint8_t pf, unsigned int hook, struct net *net, struct sock *sk, in NF_HOOK_COND()
278 NF_HOOK(uint8_t pf, unsigned int hook, struct net *net, struct sock *sk, struct sk_buff *skb, in NF_HOOK()
289 NF_HOOK_LIST(uint8_t pf, unsigned int hook, struct net *net, struct sock *sk, in NF_HOOK_LIST()
371 NF_HOOK_COND(uint8_t pf, unsigned int hook, struct net *net, struct sock *sk, in NF_HOOK_COND()
380 NF_HOOK(uint8_t pf, unsigned int hook, struct net *net, struct sock *sk, in NF_HOOK()
388 NF_HOOK_LIST(uint8_t pf, unsigned int hook, struct net *net, struct sock *sk, in NF_HOOK_LIST()
396 struct sock *sk, struct sk_buff *skb, in nf_hook()
Dmroute.h25 static inline int ip_mroute_setsockopt(struct sock *sock, int optname, in ip_mroute_setsockopt()
31 static inline int ip_mroute_getsockopt(struct sock *sock, int optname, in ip_mroute_getsockopt()
Dmroute6.h37 int ip6_mroute_setsockopt(struct sock *sock, in ip6_mroute_setsockopt()
44 int ip6_mroute_getsockopt(struct sock *sock, in ip6_mroute_getsockopt()
Dsecurity.h1251 static inline int security_unix_stream_connect(struct sock *sock, in security_unix_stream_connect()
1258 static inline int security_unix_may_send(struct socket *sock, in security_unix_may_send()
1270 static inline int security_socket_post_create(struct socket *sock, in security_socket_post_create()
1284 static inline int security_socket_bind(struct socket *sock, in security_socket_bind()
1291 static inline int security_socket_connect(struct socket *sock, in security_socket_connect()
1298 static inline int security_socket_listen(struct socket *sock, int backlog) in security_socket_listen()
1303 static inline int security_socket_accept(struct socket *sock, in security_socket_accept()
1309 static inline int security_socket_sendmsg(struct socket *sock, in security_socket_sendmsg()
1315 static inline int security_socket_recvmsg(struct socket *sock, in security_socket_recvmsg()
1322 static inline int security_socket_getsockname(struct socket *sock) in security_socket_getsockname()
[all …]
Dif_tap.h64 struct socket sock; member
/linux-4.19.296/fs/dlm/
Dlowcomms.c104 struct socket *sock; /* NULL if not connected */ member
529 static void save_listen_callbacks(struct socket *sock) in save_listen_callbacks()
539 static void restore_callbacks(struct socket *sock) in restore_callbacks()
553 static void add_sock(struct socket *sock, struct connection *con) in add_sock()
1039 struct socket *sock; in sctp_connect_to_sock() local
1136 struct socket *sock = NULL; in tcp_connect_to_sock() local
1227 struct socket *sock = NULL; in tcp_create_listen_sock() local
1311 struct socket *sock = NULL; in sctp_listen_for_all() local
1371 struct socket *sock = NULL; in tcp_listen_for_all() local
/linux-4.19.296/fs/ocfs2/cluster/
Dtcp.c915 static int o2net_recv_tcp_msg(struct socket *sock, void *data, size_t len) in o2net_recv_tcp_msg()
923 static int o2net_send_tcp_msg(struct socket *sock, struct kvec *vec, in o2net_send_tcp_msg()
1158 static int o2net_send_status_magic(struct socket *sock, struct o2net_msg *hdr, in o2net_send_status_magic()
1458 static int o2net_set_nodelay(struct socket *sock) in o2net_set_nodelay()
1466 static int o2net_set_usertimeout(struct socket *sock) in o2net_set_usertimeout()
1583 struct socket *sock = NULL; in o2net_start_connect() local
1818 static int o2net_accept_one(struct socket *sock, int *more) in o2net_accept_one()
1963 struct socket *sock = o2net_listen_sock; in o2net_accept_many() local
2025 struct socket *sock = NULL; in o2net_open_listening_sock() local
2107 struct socket *sock = o2net_listen_sock; in o2net_stop_listening() local
Dtcp.h69 static inline int o2net_link_down(int err, struct socket *sock) in o2net_link_down()
/linux-4.19.296/fs/afs/
Drxrpc.c295 static void afs_notify_end_request_tx(struct sock *sock, in afs_notify_end_request_tx()
809 static void afs_notify_end_reply_tx(struct sock *sock, in afs_notify_end_reply_tx()
/linux-4.19.296/include/linux/sunrpc/
Dxprtsock.h27 struct socket * sock; member

12