Searched refs:sock (Results 176 - 200 of 1083) sorted by relevance

1234567891011>>

/linux-master/drivers/isdn/mISDN/
H A Dsocket.c46 mISDN_sock_link(struct mISDN_sock_list *l, struct sock *sk)
53 static void mISDN_sock_unlink(struct mISDN_sock_list *l, struct sock *sk)
95 mISDN_sock_cmsg(struct sock *sk, struct msghdr *msg, struct sk_buff *skb)
106 mISDN_sock_recvmsg(struct socket *sock, struct msghdr *msg, size_t len, argument
110 struct sock *sk = sock->sk;
167 mISDN_sock_sendmsg(struct socket *sock, struct msghdr *msg, size_t len) argument
169 struct sock *sk = sock->sk;
236 data_sock_release(struct socket *sock) argument
350 data_sock_ioctl(struct socket *sock, unsigned int cmd, unsigned long arg) argument
403 data_sock_setsockopt(struct socket *sock, int level, int optname, sockptr_t optval, unsigned int optlen) argument
435 data_sock_getsockopt(struct socket *sock, int level, int optname, char __user *optval, int __user *optlen) argument
465 data_sock_bind(struct socket *sock, struct sockaddr *addr, int addr_len) argument
552 data_sock_getname(struct socket *sock, struct sockaddr *addr, int peer) argument
593 data_sock_create(struct net *net, struct socket *sock, int protocol, int kern) argument
618 base_sock_release(struct socket *sock) argument
634 base_sock_ioctl(struct socket *sock, unsigned int cmd, unsigned long arg) argument
699 base_sock_bind(struct socket *sock, struct sockaddr *addr, int addr_len) argument
749 base_sock_create(struct net *net, struct socket *sock, int protocol, int kern) argument
774 mISDN_sock_create(struct net *net, struct socket *sock, int proto, int kern) argument
[all...]
/linux-master/drivers/net/wireguard/
H A Dsocket.c31 struct sock *sock; local
39 sock = rcu_dereference_bh(wg->sock4);
41 if (unlikely(!sock)) {
46 fl.fl4_sport = inet_sk(sock)->inet_sport;
52 security_sk_classify_flow(sock, flowi4_to_flowi_common(&fl));
53 if (unlikely(!inet_confirm_addr(sock_net(sock), NULL, 0,
61 rt = ip_route_output_flow(sock_net(sock), &fl, sock);
72 rt = ip_route_output_flow(sock_net(sock),
111 struct sock *sock; local
334 sock_free(struct sock *sock) argument
342 set_sock_opts(struct socket *sock) argument
[all...]
/linux-master/drivers/soc/qcom/
H A Dqmi_interface.c13 #include <net/sock.h>
15 #include <trace/events/sock.h>
186 if (qmi->sock) {
187 ret = kernel_sendmsg(qmi->sock, &msg, &iv, 1, sizeof(pkt));
251 if (qmi->sock) {
252 ret = kernel_sendmsg(qmi->sock, &msg, &iv, 1, sizeof(pkt));
444 struct socket *sock; local
446 sock = qmi_sock_create(qmi, &sq);
447 if (IS_ERR(sock))
451 sock_release(qmi->sock);
588 struct socket *sock; local
689 struct socket *sock = qmi->sock; local
[all...]
/linux-master/net/mptcp/
H A Dsockopt.c11 #include <net/sock.h>
20 static struct sock *__mptcp_tcp_fallback(struct mptcp_sock *msk)
30 static u32 sockopt_seq_reset(const struct sock *sk)
55 msk->setsockopt_seq = sockopt_seq_reset((struct sock *)msk) + seq;
73 struct sock *sk = (struct sock *)msk;
79 struct sock *ssk = mptcp_subflow_tcp_sock(subflow);
126 struct sock *sk = (struct sock *)msk;
140 struct sock *s
[all...]
/linux-master/net/unix/
H A Daf_unix.c103 #include <net/sock.h>
130 static unsigned int unix_unbound_hash(struct sock *sk)
214 static inline int unix_our_peer(struct sock *sk, struct sock *osk)
219 static inline int unix_may_send(struct sock *sk, struct sock *osk)
224 static inline int unix_recvq_full(const struct sock *sk)
229 static inline int unix_recvq_full_lockless(const struct sock *sk)
235 struct sock *unix_peer_get(struct sock *
724 unix_listen(struct socket *sock, int backlog) argument
802 unix_show_fdinfo(struct seq_file *m, struct socket *sock) argument
952 unix_create1(struct net *net, struct socket *sock, int kern, int type) argument
1003 unix_create(struct net *net, struct socket *sock, int protocol, int kern) argument
1041 unix_release(struct socket *sock) argument
1304 unix_bind(struct socket *sock, struct sockaddr *uaddr, int addr_len) argument
1349 unix_dgram_connect(struct socket *sock, struct sockaddr *addr, int alen, int flags) argument
1463 unix_stream_connect(struct socket *sock, struct sockaddr *uaddr, int addr_len, int flags) argument
1691 unix_accept(struct socket *sock, struct socket *newsock, int flags, bool kern) argument
1737 unix_getname(struct socket *sock, struct sockaddr *uaddr, int peer) argument
1900 unix_passcred_enabled(const struct socket *sock, const struct sock *other) argument
1915 maybe_add_creds(struct sk_buff *skb, const struct socket *sock, const struct sock *other) argument
1957 unix_dgram_sendmsg(struct socket *sock, struct msghdr *msg, size_t len) argument
2183 queue_oob(struct socket *sock, struct msghdr *msg, struct sock *other, struct scm_cookie *scm, bool fds_sent) argument
2235 unix_stream_sendmsg(struct socket *sock, struct msghdr *msg, size_t len) argument
2368 unix_seqpacket_sendmsg(struct socket *sock, struct msghdr *msg, size_t len) argument
2387 unix_seqpacket_recvmsg(struct socket *sock, struct msghdr *msg, size_t size, int flags) argument
2412 struct socket *sock = sk->sk_socket; local
2520 unix_dgram_recvmsg(struct socket *sock, struct msghdr *msg, size_t size, int flags) argument
2609 struct socket *sock = state->socket; local
2693 struct socket *sock = state->socket; local
2932 unix_stream_recvmsg(struct socket *sock, struct msghdr *msg, size_t size, int flags) argument
2962 unix_stream_splice_read(struct socket *sock, loff_t *ppos, struct pipe_inode_info *pipe, size_t size, unsigned int flags) argument
2984 unix_shutdown(struct socket *sock, int mode) argument
3099 unix_ioctl(struct socket *sock, unsigned int cmd, unsigned long arg) argument
3141 unix_compat_ioctl(struct socket *sock, unsigned int cmd, unsigned long arg) argument
3147 unix_poll(struct file *file, struct socket *sock, poll_table *wait) argument
3190 unix_dgram_poll(struct file *file, struct socket *sock, poll_table *wait) argument
[all...]
/linux-master/net/handshake/
H A Dalert.c17 #include <net/sock.h>
28 * @sock: open kTLS socket to send on
34 int tls_alert_send(struct socket *sock, u8 level, u8 description) argument
44 trace_tls_alert_send(sock->sk, level, description);
63 ret = sock_sendmsg(sock, &msg);
74 u8 tls_get_record_type(const struct sock *sk, const struct cmsghdr *cmsg)
97 void tls_alert_recv(const struct sock *sk, const struct msghdr *msg,
/linux-master/security/apparmor/include/
H A Dnet.h14 #include <net/sock.h>
55 static inline struct aa_sk_ctx *aa_sock(const struct sock *sk)
106 struct sock *sk)
111 int aa_sk_perm(const char *op, u32 request, struct sock *sk);
115 struct socket *sock);
118 u32 secid, const struct sock *sk);
/linux-master/net/ieee802154/
H A Dsocket.c23 #include <net/sock.h>
80 static int ieee802154_sock_release(struct socket *sock) argument
82 struct sock *sk = sock->sk;
85 sock->sk = NULL;
91 static int ieee802154_sock_sendmsg(struct socket *sock, struct msghdr *msg, argument
94 struct sock *sk = sock->sk;
99 static int ieee802154_sock_bind(struct socket *sock, struct sockaddr *uaddr, argument
102 struct sock *s
110 ieee802154_sock_connect(struct socket *sock, struct sockaddr *uaddr, int addr_len, int flags) argument
152 ieee802154_sock_ioctl(struct socket *sock, unsigned int cmd, unsigned long arg) argument
1001 ieee802154_create(struct net *net, struct socket *sock, int protocol, int kern) argument
[all...]
/linux-master/net/netrom/
H A Daf_netrom.c29 #include <net/sock.h>
91 static void nr_remove_socket(struct sock *sk)
103 struct sock *s;
134 static void nr_insert_socket(struct sock *sk)
145 static struct sock *nr_find_listener(ax25_address *addr)
147 struct sock *s;
165 static struct sock *nr_find_socket(unsigned char index, unsigned char id)
167 struct sock *s;
187 static struct sock *nr_find_peer(unsigned char index, unsigned char id,
190 struct sock *
296 nr_setsockopt(struct socket *sock, int level, int optname, sockptr_t optval, unsigned int optlen) argument
348 nr_getsockopt(struct socket *sock, int level, int optname, char __user *optval, int __user *optlen) argument
398 nr_listen(struct socket *sock, int backlog) argument
426 nr_create(struct net *net, struct socket *sock, int protocol, int kern) argument
518 nr_release(struct socket *sock) argument
564 nr_bind(struct socket *sock, struct sockaddr *uaddr, int addr_len) argument
635 nr_connect(struct socket *sock, struct sockaddr *uaddr, int addr_len, int flags) argument
775 nr_accept(struct socket *sock, struct socket *newsock, int flags, bool kern) argument
838 nr_getname(struct socket *sock, struct sockaddr *uaddr, int peer) argument
1042 nr_sendmsg(struct socket *sock, struct msghdr *msg, size_t len) argument
1151 nr_recvmsg(struct socket *sock, struct msghdr *msg, size_t size, int flags) argument
1208 nr_ioctl(struct socket *sock, unsigned int cmd, unsigned long arg) argument
[all...]
/linux-master/net/bluetooth/
H A Dl2cap_sock.c46 static void l2cap_sock_init(struct sock *sk, struct sock *parent);
47 static struct sock *l2cap_sock_alloc(struct net *net, struct socket *sock,
49 static void l2cap_sock_cleanup_listen(struct sock *parent);
51 bool l2cap_is_socket(struct socket *sock) argument
53 return sock && sock->ops == &l2cap_sock_ops;
83 static int l2cap_sock_bind(struct socket *sock, struct sockaddr *addr, int alen) argument
85 struct sock *s
181 l2cap_sock_connect(struct socket *sock, struct sockaddr *addr, int alen, int flags) argument
272 l2cap_sock_listen(struct socket *sock, int backlog) argument
329 l2cap_sock_accept(struct socket *sock, struct socket *newsock, int flags, bool kern) argument
385 l2cap_sock_getname(struct socket *sock, struct sockaddr *addr, int peer) argument
435 l2cap_sock_getsockopt_old(struct socket *sock, int optname, char __user *optval, int __user *optlen) argument
555 l2cap_sock_getsockopt(struct socket *sock, int level, int optname, char __user *optval, int __user *optlen) argument
725 l2cap_sock_setsockopt_old(struct socket *sock, int optname, sockptr_t optval, unsigned int optlen) argument
878 l2cap_sock_setsockopt(struct socket *sock, int level, int optname, sockptr_t optval, unsigned int optlen) argument
1102 l2cap_sock_sendmsg(struct socket *sock, struct msghdr *msg, size_t len) argument
1134 l2cap_sock_recvmsg(struct socket *sock, struct msghdr *msg, size_t len, int flags) argument
1261 l2cap_sock_shutdown(struct socket *sock, int how) argument
1363 l2cap_sock_release(struct socket *sock) argument
1810 l2cap_sock_alloc(struct net *net, struct socket *sock, int proto, gfp_t prio, int kern) argument
1836 l2cap_sock_create(struct net *net, struct socket *sock, int protocol, int kern) argument
[all...]
/linux-master/net/rds/
H A Dtcp.c103 void rds_tcp_restore_callbacks(struct socket *sock, argument
106 rdsdebug("restoring sock %p callbacks from tc %p\n", sock, tc);
107 write_lock_bh(&sock->sk->sk_callback_lock);
121 sock->sk->sk_write_space = tc->t_orig_write_space;
122 sock->sk->sk_data_ready = tc->t_orig_data_ready;
123 sock->sk->sk_state_change = tc->t_orig_state_change;
124 sock->sk->sk_user_data = NULL;
126 write_unlock_bh(&sock->sk->sk_callback_lock);
130 * rds_tcp_reset_callbacks() switches the to the new sock an
138 rds_tcp_reset_callbacks(struct socket *sock, struct rds_conn_path *cp) argument
193 rds_tcp_set_callbacks(struct socket *sock, struct rds_conn_path *cp) argument
277 rds6_tcp_tc_info(struct socket *sock, unsigned int len, struct rds_info_iterator *iter, struct rds_info_lengths *lens) argument
490 rds_tcp_tune(struct socket *sock) argument
[all...]
/linux-master/net/ipv4/
H A Dbpf_tcp_ca.c29 type_id = btf_find_by_name_kind(btf, "sock", BTF_KIND_STRUCT);
91 case offsetof(struct sock, sk_pacing_rate):
92 end = offsetofend(struct sock, sk_pacing_rate);
94 case offsetof(struct sock, sk_pacing_status):
95 end = offsetofend(struct sock, sk_pacing_status);
137 __tcp_send_ack((struct sock *)tp, rcv_nxt);
280 static u32 bpf_tcp_ca_ssthresh(struct sock *sk)
285 static void bpf_tcp_ca_cong_avoid(struct sock *sk, u32 ack, u32 acked)
289 static void bpf_tcp_ca_set_state(struct sock *sk, u8 new_state)
293 static void bpf_tcp_ca_cwnd_event(struct sock *s
[all...]
H A Daf_inet.c14 * Changes (see also sock.c)
23 * Alan Cox : Keep correct socket pointer on sock
109 #include <net/sock.h>
124 #include <trace/events/sock.h>
134 void inet_sock_destruct(struct sock *sk)
174 static int inet_autobind(struct sock *sk)
191 int __inet_listen_sk(struct sock *sk, int backlog)
230 int inet_listen(struct socket *sock, int backlog) argument
232 struct sock *sk = sock
252 inet_create(struct net *net, struct socket *sock, int protocol, int kern) argument
413 inet_release(struct socket *sock) argument
467 inet_bind(struct socket *sock, struct sockaddr *uaddr, int addr_len) argument
570 inet_dgram_connect(struct socket *sock, struct sockaddr *uaddr, int addr_len, int flags) argument
626 __inet_stream_connect(struct socket *sock, struct sockaddr *uaddr, int addr_len, int flags, int is_sendmsg) argument
744 inet_stream_connect(struct socket *sock, struct sockaddr *uaddr, int addr_len, int flags) argument
756 __inet_accept(struct socket *sock, struct socket *newsock, struct sock *newsk) argument
774 inet_accept(struct socket *sock, struct socket *newsock, int flags, bool kern) argument
795 inet_getname(struct socket *sock, struct sockaddr *uaddr, int peer) argument
844 inet_sendmsg(struct socket *sock, struct msghdr *msg, size_t size) argument
856 inet_splice_eof(struct socket *sock) argument
873 inet_recvmsg(struct socket *sock, struct msghdr *msg, size_t size, int flags) argument
891 inet_shutdown(struct socket *sock, int how) argument
957 inet_ioctl(struct socket *sock, unsigned int cmd, unsigned long arg) argument
1035 inet_compat_ioctl(struct socket *sock, unsigned int cmd, unsigned long arg) argument
1688 struct socket *sock; local
[all...]
H A Dtcp_dctcp.h4 static inline void dctcp_ece_ack_cwr(struct sock *sk, u32 ce_state)
19 static inline void dctcp_ece_ack_update(struct sock *sk, enum tcp_ca_event evt,
/linux-master/net/atm/
H A Dcommon.c23 #include <net/sock.h> /* struct sock */
43 static void __vcc_insert_socket(struct sock *sk)
51 void vcc_insert_socket(struct sock *sk)
59 static void vcc_remove_socket(struct sock *sk)
68 struct sock *sk = sk_atm(vcc);
78 static void vcc_sock_destruct(struct sock *sk)
89 static void vcc_def_wakeup(struct sock *sk)
100 static inline int vcc_writable(struct sock *sk)
108 static void vcc_write_space(struct sock *s
140 vcc_create(struct net *net, struct socket *sock, int protocol, int family, int kern) argument
199 vcc_release(struct socket *sock) argument
462 vcc_connect(struct socket *sock, int itf, short vpi, int vci) argument
522 vcc_recvmsg(struct socket *sock, struct msghdr *msg, size_t size, int flags) argument
568 vcc_sendmsg(struct socket *sock, struct msghdr *m, size_t size) argument
651 vcc_poll(struct file *file, struct socket *sock, poll_table *wait) argument
747 vcc_setsockopt(struct socket *sock, int level, int optname, sockptr_t optval, unsigned int optlen) argument
789 vcc_getsockopt(struct socket *sock, int level, int optname, char __user *optval, int __user *optlen) argument
[all...]
/linux-master/net/rxrpc/
H A Daf_rxrpc.c20 #include <net/sock.h>
46 static void rxrpc_sock_destructor(struct sock *);
51 static inline int rxrpc_writable(struct sock *sk)
59 static void rxrpc_write_space(struct sock *sk)
130 static int rxrpc_bind(struct socket *sock, struct sockaddr *saddr, int len) argument
134 struct rxrpc_sock *rx = rxrpc_sk(sock->sk);
210 static int rxrpc_listen(struct socket *sock, int backlog) argument
212 struct sock *sk = sock->sk;
263 * @sock
270 rxrpc_kernel_lookup_peer(struct socket *sock, struct sockaddr_rxrpc *srx, gfp_t gfp) argument
328 rxrpc_kernel_begin_call(struct socket *sock, struct rxrpc_peer *peer, struct key *key, unsigned long user_call_ID, s64 tx_total_len, u32 hard_timeout, gfp_t gfp, rxrpc_notify_rx_t notify_rx, u16 service_id, bool upgrade, enum rxrpc_interruptibility interruptibility, unsigned int debug_id) argument
401 rxrpc_kernel_shutdown_call(struct socket *sock, struct rxrpc_call *call) argument
427 rxrpc_kernel_put_call(struct socket *sock, struct rxrpc_call *call) argument
441 rxrpc_kernel_check_life(const struct socket *sock, const struct rxrpc_call *call) argument
460 rxrpc_kernel_get_epoch(struct socket *sock, struct rxrpc_call *call) argument
474 rxrpc_kernel_new_call_notification( struct socket *sock, rxrpc_notify_new_call_t notify_new_call, rxrpc_discard_new_call_t discard_new_call) argument
495 rxrpc_kernel_set_max_life(struct socket *sock, struct rxrpc_call *call, unsigned long hard_timeout) argument
516 rxrpc_connect(struct socket *sock, struct sockaddr *addr, int addr_len, int flags) argument
567 rxrpc_sendmsg(struct socket *sock, struct msghdr *m, size_t len) argument
658 rxrpc_setsockopt(struct socket *sock, int level, int optname, sockptr_t optval, unsigned int optlen) argument
757 rxrpc_getsockopt(struct socket *sock, int level, int optname, char __user *optval, int __user *_optlen) argument
785 rxrpc_poll(struct file *file, struct socket *sock, poll_table *wait) argument
812 rxrpc_create(struct net *net, struct socket *sock, int protocol, int kern) argument
865 rxrpc_shutdown(struct socket *sock, int flags) argument
968 rxrpc_release(struct socket *sock) argument
[all...]
/linux-master/net/netlink/
H A Daf_netlink.c69 #include <net/sock.h>
85 static inline int netlink_is_kernel(struct sock *sk)
133 static int netlink_dump(struct sock *sk, bool lock_taken);
265 struct sock *sk = skb->sk;
289 struct sock *sk = skb->sk;
343 static void netlink_deliver_tap_kernel(struct sock *dst, struct sock *src,
350 static void netlink_overrun(struct sock *sk)
362 static void netlink_rcv_wake(struct sock *sk)
385 static void netlink_skb_set_owner_r(struct sk_buff *skb, struct sock *s
638 __netlink_create(struct net *net, struct socket *sock, struct mutex *dump_cb_mutex, int protocol, int kern) argument
666 netlink_create(struct net *net, struct socket *sock, int protocol, int kern) argument
747 netlink_release(struct socket *sock) argument
831 netlink_autobind(struct socket *sock) argument
935 netlink_allowed(const struct socket *sock, unsigned int flag) argument
1000 netlink_bind(struct socket *sock, struct sockaddr *addr, int addr_len) argument
1088 netlink_connect(struct socket *sock, struct sockaddr *addr, int alen, int flags) argument
1135 netlink_getname(struct socket *sock, struct sockaddr *addr, int peer) argument
1159 netlink_ioctl(struct socket *sock, unsigned int cmd, unsigned long arg) argument
1169 struct sock *sock; local
1190 struct sock *sock; local
1653 netlink_setsockopt(struct socket *sock, int level, int optname, sockptr_t optval, unsigned int optlen) argument
1729 netlink_getsockopt(struct socket *sock, int level, int optname, char __user *optval, int __user *optlen) argument
1823 netlink_sendmsg(struct socket *sock, struct msghdr *msg, size_t len) argument
1912 netlink_recvmsg(struct socket *sock, struct msghdr *msg, size_t len, int flags) argument
2015 struct socket *sock; local
[all...]
/linux-master/drivers/pcmcia/
H A Dbcm63xx_pcmcia.c52 static int bcm63xx_pcmcia_sock_init(struct pcmcia_socket *sock) argument
63 static int bcm63xx_pcmcia_suspend(struct pcmcia_socket *sock) argument
75 static int bcm63xx_pcmcia_set_socket(struct pcmcia_socket *sock, argument
82 skt = sock->driver_data;
249 static int bcm63xx_pcmcia_get_status(struct pcmcia_socket *sock, argument
254 skt = sock->driver_data;
290 static int bcm63xx_pcmcia_set_io_map(struct pcmcia_socket *sock, argument
298 static int bcm63xx_pcmcia_set_mem_map(struct pcmcia_socket *sock, argument
304 skt = sock->driver_data;
329 struct pcmcia_socket *sock; local
[all...]
/linux-master/tools/testing/selftests/net/
H A Dtimestamping.c134 static void sendpacket(int sock, struct sockaddr *addr, socklen_t addr_len, int ptpv2) argument
141 res = sendto(sock, sync_p, sync_len, 0, addr, addr_len);
153 int sock, int recvmsg_flags,
260 if (ioctl(sock, SIOCGSTAMP, &tv))
268 if (ioctl(sock, SIOCGSTAMPNS, &ts))
277 static void recvpacket(int sock, int recvmsg_flags, argument
300 res = recvmsg(sock, &msg, recvmsg_flags|MSG_DONTWAIT);
308 sock, recvmsg_flags,
324 int sock; local
383 sock
151 printpacket(struct msghdr *msg, int res, char *data, int sock, int recvmsg_flags, int siocgstamp, int siocgstampns, int ptpv2) argument
[all...]
/linux-master/net/core/
H A Dsock_reuseport.c21 static int reuseport_resurrect(struct sock *sk, struct sock_reuseport *old_reuse,
24 void reuseport_has_conns_set(struct sock *sk)
52 static void reuseport_get_incoming_cpu(struct sock *sk, struct sock_reuseport *reuse)
58 static void reuseport_put_incoming_cpu(struct sock *sk, struct sock_reuseport *reuse)
64 void reuseport_update_incoming_cpu(struct sock *sk, int val)
104 static int reuseport_sock_index(struct sock *sk,
124 static void __reuseport_add_sock(struct sock *sk,
134 static bool __reuseport_detach_sock(struct sock *sk,
149 static void __reuseport_add_closed_sock(struct sock *sk,
158 static bool __reuseport_detach_closed_sock(struct sock *s
[all...]
/linux-master/net/mctp/
H A Daf_mctp.c18 #include <net/sock.h>
27 static int mctp_release(struct socket *sock) argument
29 struct sock *sk = sock->sk;
32 sock->sk = NULL;
52 static int mctp_bind(struct socket *sock, struct sockaddr *addr, int addrlen) argument
54 struct sock *sk = sock->sk;
93 static int mctp_sendmsg(struct socket *sock, struct msghdr *msg, size_t len) argument
97 struct sock *s
205 mctp_recvmsg(struct socket *sock, struct msghdr *msg, size_t len, int flags) argument
308 mctp_setsockopt(struct socket *sock, int level, int optname, sockptr_t optval, unsigned int optlen) argument
329 mctp_getsockopt(struct socket *sock, int level, int optname, char __user *optval, int __user *optlen) argument
511 mctp_ioctl(struct socket *sock, unsigned int cmd, unsigned long arg) argument
531 mctp_compat_ioctl(struct socket *sock, unsigned int cmd, unsigned long arg) argument
681 mctp_pf_create(struct net *net, struct socket *sock, int protocol, int kern) argument
[all...]
/linux-master/net/llc/
H A Dllc_c_ac.c24 #include <net/sock.h>
32 static int llc_conn_ac_inc_vs_by_1(struct sock *sk, struct sk_buff *skb);
33 static void llc_process_tmr_ev(struct sock *sk, struct sk_buff *skb);
34 static int llc_conn_ac_data_confirm(struct sock *sk, struct sk_buff *ev);
36 static int llc_conn_ac_inc_npta_value(struct sock *sk, struct sk_buff *skb);
38 static int llc_conn_ac_send_rr_rsp_f_set_ackpf(struct sock *sk,
41 static int llc_conn_ac_set_p_flag_1(struct sock *sk, struct sk_buff *skb);
45 int llc_conn_ac_clear_remote_busy(struct sock *sk, struct sk_buff *skb)
61 int llc_conn_ac_conn_ind(struct sock *sk, struct sk_buff *skb)
69 int llc_conn_ac_conn_confirm(struct sock *s
[all...]
/linux-master/drivers/scsi/
H A Discsi_tcp.c39 #include <trace/events/sock.h>
116 static inline int iscsi_sw_sk_state_check(struct sock *sk)
134 struct sock *sk = tcp_sw_conn->sock->sk;
161 struct sock *sk = tcp_sw_conn->sock->sk;
168 static void iscsi_sw_tcp_data_ready(struct sock *sk)
192 static void iscsi_sw_tcp_state_change(struct sock *sk)
197 void (*old_state_change)(struct sock *);
221 static void iscsi_sw_tcp_write_space(struct sock *s
636 struct socket *sock = tcp_sw_conn->sock; local
689 struct socket *sock = tcp_sw_conn->sock; local
716 struct socket *sock; local
798 struct socket *sock; local
857 struct socket *sock; local
[all...]
/linux-master/net/dccp/ccids/lib/
H A Dloss_interval.h65 u32 (*first_li)(struct sock *), struct sock *);
/linux-master/include/linux/
H A Dtifm.h93 void (*card_event)(struct tifm_dev *sock);
94 void (*data_event)(struct tifm_dev *sock);
123 struct tifm_dev *sock);
125 struct tifm_dev *sock);
142 void tifm_eject(struct tifm_dev *sock);
143 int tifm_has_ms_pif(struct tifm_dev *sock);
144 int tifm_map_sg(struct tifm_dev *sock, struct scatterlist *sg, int nents,
146 void tifm_unmap_sg(struct tifm_dev *sock, struct scatterlist *sg, int nents,

Completed in 373 milliseconds

1234567891011>>