Home
last modified time | relevance | path

Searched refs:sock (Results 1 – 25 of 944) sorted by relevance

12345678910>>...38

/linux/drivers/pcmcia/
A Ddb1xxx_ss.c189 free_irq(sock->insert_irq, sock); in db1x_pcmcia_setup_irqs()
214 free_irq(sock->stschg_irq, sock); in db1x_pcmcia_setup_irqs()
222 free_irq(sock->stschg_irq, sock); in db1x_pcmcia_free_irqs()
224 free_irq(sock->insert_irq, sock); in db1x_pcmcia_free_irqs()
226 free_irq(sock->eject_irq, sock); in db1x_pcmcia_free_irqs()
431 if (!sock) in db1x_pcmcia_socket_probe()
539 sock->socket.pci_irq = sock->card_irq; in db1x_pcmcia_socket_probe()
542 sock->socket.io_offset = (unsigned long)sock->virt_io; in db1x_pcmcia_socket_probe()
565 "%d %d %d\n", sock->nr, sock->phys_io, sock->virt_io, in db1x_pcmcia_socket_probe()
566 sock->phys_attr, sock->phys_mem, sock->card_irq, in db1x_pcmcia_socket_probe()
[all …]
A Dxxs1500_ss.c110 sock->old_flags = state->flags; in xxs1500_pcmcia_configure()
181 map->start = (u32)sock->virt_io; in au1x00_pcmcia_set_io_map()
216 if (!sock) in xxs1500_pcmcia_probe()
227 sock->phys_attr = r->start; in xxs1500_pcmcia_probe()
235 sock->phys_mem = r->start; in xxs1500_pcmcia_probe()
243 sock->phys_io = r->start; in xxs1500_pcmcia_probe()
254 sock->virt_io = (void *)(ioremap(sock->phys_io, IO_MAP_SIZE) - in xxs1500_pcmcia_probe()
257 if (!sock->virt_io) { in xxs1500_pcmcia_probe()
268 sock->socket.io_offset = (unsigned long)sock->virt_io; in xxs1500_pcmcia_probe()
300 kfree(sock); in xxs1500_pcmcia_probe()
[all …]
A Dsa11xx_base.h69 #define MECR_SET(mecr, sock, shift, mask, bs) \ argument
74 #define MECR_GET(mecr, sock, shift, mask) \ argument
78 #define MECR_BSIO_SET(mecr, sock, bs) \ argument
81 #define MECR_BSIO_GET(mecr, sock) \ argument
84 #define MECR_BSA_SET(mecr, sock, bs) \ argument
87 #define MECR_BSA_GET(mecr, sock) \ argument
88 MECR_GET((mecr), (sock), MECR_BSA_SHIFT, MECR_BS_MASK)
90 #define MECR_BSM_SET(mecr, sock, bs) \ argument
93 #define MECR_BSM_GET(mecr, sock) \ argument
96 #define MECR_FAST_SET(mecr, sock, fast) \ argument
[all …]
/linux/include/net/
A Dllc_c_ac.h23 struct sock;
100 int llc_conn_ac_conn_ind(struct sock *sk, struct sk_buff *skb);
102 int llc_conn_ac_data_ind(struct sock *sk, struct sk_buff *skb);
104 int llc_conn_ac_rst_ind(struct sock *sk, struct sk_buff *skb);
106 int llc_conn_ac_clear_remote_busy_if_f_eq_1(struct sock *sk,
142 int llc_conn_ac_start_ack_tmr_if_not_running(struct sock *sk,
168 int llc_conn_ac_rst_vs(struct sock *sk, struct sk_buff *skb);
169 int llc_conn_ac_upd_vs(struct sock *sk, struct sk_buff *skb);
170 int llc_conn_disc(struct sock *sk, struct sk_buff *skb);
171 int llc_conn_reset(struct sock *sk, struct sk_buff *skb);
[all …]
A Dllc_c_ev.h131 int llc_conn_ev_conn_req(struct sock *sk, struct sk_buff *skb);
132 int llc_conn_ev_data_req(struct sock *sk, struct sk_buff *skb);
134 int llc_conn_ev_rst_req(struct sock *sk, struct sk_buff *skb);
141 int llc_conn_ev_rx_i_cmd_pbit_set_x_inval_ns(struct sock *sk,
144 int llc_conn_ev_rx_i_rsp_fbit_set_x_unexpd_ns(struct sock *sk,
146 int llc_conn_ev_rx_i_rsp_fbit_set_x_inval_ns(struct sock *sk,
164 int llc_conn_ev_rx_i_cmd_pbit_set_0_unexpd_ns(struct sock *sk,
166 int llc_conn_ev_rx_i_cmd_pbit_set_1_unexpd_ns(struct sock *sk,
170 int llc_conn_ev_rx_i_rsp_fbit_set_0_unexpd_ns(struct sock *sk,
172 int llc_conn_ev_rx_i_rsp_fbit_set_1_unexpd_ns(struct sock *sk,
[all …]
A Dsock.h98 struct sock;
342 struct sock { struct
550 struct sock *sock; argument
729 static inline struct sock *sk_next(const struct sock *sk) in sk_next()
734 static inline struct sock *sk_nulls_next(const struct sock *sk) in sk_nulls_next()
1227 struct sock * (*accept)(struct sock *sk,
1732 struct sock *sk = (struct sock *)csk; in sock_allow_reclassification()
1742 struct sock *sk_clone_lock(const struct sock *sk, const gfp_t priority);
1852 void sock_init_data_uid(struct socket *sock, struct sock *sk, kuid_t uid);
1857 void sock_init_data(struct socket *sock, struct sock *sk);
[all …]
A Dinet_connection_sock.h38 int (*rebuild_header)(struct sock *sk);
41 struct sock *(*syn_recv_sock)(const struct sock *sk, struct sk_buff *skb,
53 void (*mtu_reduced)(struct sock *sk);
157 struct sock *inet_csk_clone_lock(const struct sock *sk,
253 struct sock *inet_csk_accept(struct sock *sk, struct proto_accept_arg *arg);
260 struct sock *newsk,
263 struct sock *inet_csk_reqsk_queue_add(struct sock *sk,
265 struct sock *child);
268 struct sock *inet_csk_complete_hashdance(struct sock *sk, struct sock *child,
317 int inet_csk_listen_start(struct sock *sk);
[all …]
A Dtcp.h348 int tcp_twsk_unique(struct sock *sk, struct sock *sktw, void *twp);
391 struct sock *tcp_check_req(struct sock *sk, struct sk_buff *skb,
394 enum skb_drop_reason tcp_child_process(struct sock *parent, struct sock *child,
457 struct sock *tcp_create_openreq_child(const struct sock *sk,
461 struct sock *tcp_v4_syn_recv_sock(const struct sock *sk, struct sk_buff *skb,
486 struct sock *tcp_get_cookie_sock(struct sock *sk, struct sk_buff *skb,
490 struct sock *cookie_v4_check(struct sock *sk, struct sk_buff *skb);
635 struct sock *cookie_v6_check(struct sock *sk, struct sk_buff *skb);
1916 struct sock *tcp_try_fastopen(struct sock *sk, struct sk_buff *skb,
2597 void tcp_bpf_clone(const struct sock *sk, struct sock *newsk);
[all …]
A Dinet_common.h21 struct sock;
25 int inet_release(struct socket *sock);
32 int inet_accept(struct socket *sock, struct socket *newsock,
35 struct sock *newsk);
36 int inet_send_prepare(struct sock *sk);
38 void inet_splice_eof(struct socket *sock);
41 int inet_shutdown(struct socket *sock, int how);
42 int inet_listen(struct socket *sock, int backlog);
43 int __inet_listen_sk(struct sock *sk, int backlog);
44 void inet_sock_destruct(struct sock *sk);
[all …]
A Dnetrom.h68 struct sock sock; member
191 void nr_destroy_socket(struct sock *);
208 void nr_kick(struct sock *);
226 void nr_clear_queues(struct sock *);
256 void nr_init_timers(struct sock *sk);
258 void nr_start_t1timer(struct sock *);
259 void nr_start_t2timer(struct sock *);
260 void nr_start_t4timer(struct sock *);
263 void nr_stop_t1timer(struct sock *);
264 void nr_stop_t2timer(struct sock *);
[all …]
A Dtcp_ao.h182 const struct sock *sk, const struct sk_buff *skb,
188 int tcp_ao_copy_all_matching(const struct sock *sk, struct sock *newsk,
193 void tcp_ao_destroy_sock(struct sock *sk, bool twsk);
220 struct tcp_ao_key *tcp_v4_ao_lookup(const struct sock *sk, struct sock *addr_sk,
226 const struct sock *sk,
243 const struct sock *sk, __be32 sisn,
248 struct sock *addr_sk, int sndid, int rcvid);
259 void tcp_ao_established(struct sock *sk);
261 void tcp_ao_connect_init(struct sock *sk);
330 static inline int tcp_ao_get_repair(struct sock *sk, in tcp_ao_get_repair()
[all …]
A Dsock_reuseport.h29 struct sock *socks[] __counted_by(max_socks);
32 extern int reuseport_alloc(struct sock *sk, bool bind_inany);
33 extern int reuseport_add_sock(struct sock *sk, struct sock *sk2,
35 extern void reuseport_detach_sock(struct sock *sk);
36 void reuseport_stop_listen_sock(struct sock *sk);
37 extern struct sock *reuseport_select_sock(struct sock *sk,
41 struct sock *reuseport_migrate_sock(struct sock *sk,
42 struct sock *migrating_sk,
45 extern int reuseport_detach_prog(struct sock *sk);
47 static inline bool reuseport_has_conns(struct sock *sk) in reuseport_has_conns()
[all …]
/linux/drivers/memstick/host/
A Dtifm_ms.c85 struct tifm_dev *sock = host->dev; in tifm_ms_read_data() local
125 struct tifm_dev *sock = host->dev; in tifm_ms_write_data() local
387 spin_lock(&sock->lock); in tifm_ms_data_event()
391 dev_dbg(&sock->dev, in tifm_ms_data_event()
412 spin_unlock(&sock->lock); in tifm_ms_data_event()
423 spin_lock(&sock->lock); in tifm_ms_card_event()
451 spin_unlock(&sock->lock); in tifm_ms_card_event()
560 dev_name(&sock->dev)); in tifm_ms_probe()
569 tifm_set_drvdata(sock, msh); in tifm_ms_probe()
570 host->dev = sock; in tifm_ms_probe()
[all …]
/linux/drivers/mmc/host/
A Dtifm_sd.c429 | readl(sock->addr in tifm_sd_check_status()
431 sock->addr in tifm_sd_check_status()
442 sock->addr in tifm_sd_check_status()
449 & readl(sock->addr in tifm_sd_check_status()
477 spin_lock(&sock->lock); in tifm_sd_data_event()
495 spin_unlock(&sock->lock); in tifm_sd_data_event()
506 spin_lock(&sock->lock); in tifm_sd_card_event()
554 sock); in tifm_sd_card_event()
582 spin_unlock(&sock->lock); in tifm_sd_card_event()
946 dev_name(&sock->dev)); in tifm_sd_probe()
[all …]
/linux/tools/testing/selftests/bpf/progs/
A Dtcp_ca_kfunc.c7 extern void bbr_init(struct sock *sk) __ksym;
9 extern u32 bbr_sndbuf_expand(struct sock *sk) __ksym;
10 extern u32 bbr_undo_cwnd(struct sock *sk) __ksym;
12 extern u32 bbr_ssthresh(struct sock *sk) __ksym;
16 extern void dctcp_init(struct sock *sk) __ksym;
19 extern u32 dctcp_ssthresh(struct sock *sk) __ksym;
31 void BPF_PROG(init, struct sock *sk) in BPF_PROG()
57 u32 BPF_PROG(sndbuf_expand, struct sock *sk) in BPF_PROG()
63 u32 BPF_PROG(undo_cwnd, struct sock *sk) in BPF_PROG()
78 u32 BPF_PROG(ssthresh, struct sock *sk) in BPF_PROG()
[all …]
/linux/drivers/misc/
A Dtifm_core.c36 if (sock->type == id->type) in tifm_dev_match()
77 rc = drv->probe(sock); in tifm_device_probe()
99 drv->remove(sock); in tifm_device_remove()
100 sock->dev.driver = NULL; in tifm_device_remove()
243 kfree(sock); in tifm_free_device()
253 return sock; in tifm_alloc_device()
256 if (sock) { in tifm_alloc_device()
258 sock->type = type; in tifm_alloc_device()
259 sock->socket_id = id; in tifm_alloc_device()
274 return sock; in tifm_alloc_device()
[all …]
/linux/net/handshake/
A Dhandshake-test.c153 &sock, 1); in handshake_req_submit_test1()
194 &sock, 1); in handshake_req_submit_test3()
196 sock->file = NULL; in handshake_req_submit_test3()
220 &sock, 1); in handshake_req_submit_test4()
225 sock->file = filp; in handshake_req_submit_test4()
255 &sock, 1); in handshake_req_submit_test5()
293 &sock, 1); in handshake_req_submit_test6()
325 &sock, 1); in handshake_req_cancel_test1()
361 &sock, 1); in handshake_req_cancel_test2()
403 &sock, 1); in handshake_req_cancel_test3()
[all …]
/linux/net/dccp/
A Ddccp.h218 void dccp_send_ack(struct sock *sk);
229 bool dccp_qpolicy_full(struct sock *sk);
238 void dccp_write_xmit(struct sock *sk);
239 void dccp_write_space(struct sock *sk);
253 void dccp_done(struct sock *sk);
260 struct sock *dccp_create_openreq_child(const struct sock *sk,
266 struct sock *dccp_v4_request_recv_sock(const struct sock *sk, struct sk_buff *skb,
271 struct sock *dccp_check_req(struct sock *sk, struct sk_buff *skb,
274 int dccp_child_process(struct sock *parent, struct sock *child,
283 void dccp_destroy_sock(struct sock *sk);
[all …]
/linux/drivers/platform/x86/amd/
A Dhsmp.c103 if (!sock->root) in amd_hsmp_pci_rdwr()
274 sock = &plat_dev.sock[msg->sock_ind]; in hsmp_send_message()
506 if (!sock->mbinfo.msg_id_off || !sock->mbinfo.msg_resp_off || in hsmp_read_acpi_dsd()
526 if (!sock->mbinfo.base_addr || !sock->mbinfo.size) in hsmp_read_acpi_crs()
530 sock->virt_base_addr = devm_ioremap_uc(sock->dev, sock->mbinfo.base_addr, in hsmp_read_acpi_crs()
543 struct hsmp_socket *sock = &plat_dev.sock[sock_ind]; in hsmp_parse_acpi_table() local
547 sock->dev = dev; in hsmp_parse_acpi_table()
569 if (!sock) in hsmp_metric_tbl_read()
591 struct hsmp_socket *sock = &plat_dev.sock[sock_ind]; in hsmp_get_tbl_dram_base() local
613 sock->metric_tbl_addr = devm_ioremap(sock->dev, dram_addr, in hsmp_get_tbl_dram_base()
[all …]
/linux/include/linux/
A Dnet.h125 struct sock *sk;
165 int (*release) (struct socket *sock);
166 int (*bind) (struct socket *sock,
169 int (*connect) (struct socket *sock,
174 int (*accept) (struct socket *sock,
177 int (*getname) (struct socket *sock,
214 void (*splice_eof)(struct socket *sock);
216 int (*peek_len)(struct socket *sock);
260 void sock_release(struct socket *sock);
266 #define sockfd_put(sock) fput(sock->file) argument
[all …]
/linux/net/
A Dsocket.c1421 return READ_ONCE(sock->ops)->mmap(file, sock, vma); in sock_mmap()
1444 struct sock *sk = sock->sk; in sock_fasync()
1843 err = READ_ONCE(sock->ops)->bind(sock, in __sys_bind_socket()
1893 err = READ_ONCE(sock->ops)->listen(sock, backlog); in __sys_listen_socket()
1926 if (!sock) in do_accept()
2114 if (!sock) in __sys_getsockname()
2195 if (!sock) in __sys_sendto()
2448 err = READ_ONCE(sock->ops)->shutdown(sock, how); in __sys_shutdown_sock()
3438 struct sock *sk = sock->sk; in compat_sock_ioctl_trans()
3604 struct sock *sk = sock->sk; in kernel_accept()
[all …]
/linux/net/rds/
A Dtcp_listen.c121 sock->sk->sk_type, sock->sk->sk_protocol, in rds_tcp_accept_one()
126 ret = sock->ops->accept(sock, new_sock, &arg); in rds_tcp_accept_one()
293 sock->sk->sk_user_data = sock->sk->sk_data_ready; in rds_tcp_listen_init()
320 ret = sock->ops->listen(sock, 64); in rds_tcp_listen_init()
324 return sock; in rds_tcp_listen_init()
326 if (sock) in rds_tcp_listen_init()
327 sock_release(sock); in rds_tcp_listen_init()
333 struct sock *sk; in rds_tcp_listen_stop()
335 if (!sock) in rds_tcp_listen_stop()
338 sk = sock->sk; in rds_tcp_listen_stop()
[all …]
/linux/net/tls/
A Dtls.h127 struct sock *sk;
143 void tls_err_abort(struct sock *sk, int err);
148 int tls_set_sw_offload(struct sock *sk, int tx);
153 void tls_sw_splice_eof(struct socket *sock);
157 void tls_sw_free_resources_rx(struct sock *sk);
162 bool tls_sw_sock_is_readable(struct sock *sk);
170 void tls_device_splice_eof(struct socket *sock);
171 int tls_tx_records(struct sock *sk, int flags);
180 int tls_sw_fallback_init(struct sock *sk,
229 int tls_set_device_offload(struct sock *sk);
[all …]
/linux/net/llc/
A Dllc_c_ev.c75 static u16 llc_util_nr_inside_tx_window(struct sock *sk, u8 nr) in llc_util_nr_inside_tx_window()
99 int llc_conn_ev_conn_req(struct sock *sk, struct sk_buff *skb) in llc_conn_ev_conn_req()
107 int llc_conn_ev_data_req(struct sock *sk, struct sk_buff *skb) in llc_conn_ev_data_req()
115 int llc_conn_ev_disc_req(struct sock *sk, struct sk_buff *skb) in llc_conn_ev_disc_req()
123 int llc_conn_ev_rst_req(struct sock *sk, struct sk_buff *skb) in llc_conn_ev_rst_req()
196 int llc_conn_ev_rx_i_cmd_pbit_set_0_unexpd_ns(struct sock *sk, in llc_conn_ev_rx_i_cmd_pbit_set_0_unexpd_ns()
208 int llc_conn_ev_rx_i_cmd_pbit_set_1_unexpd_ns(struct sock *sk, in llc_conn_ev_rx_i_cmd_pbit_set_1_unexpd_ns()
220 int llc_conn_ev_rx_i_cmd_pbit_set_x_inval_ns(struct sock *sk, in llc_conn_ev_rx_i_cmd_pbit_set_x_inval_ns()
263 int llc_conn_ev_rx_i_rsp_fbit_set_0_unexpd_ns(struct sock *sk, in llc_conn_ev_rx_i_rsp_fbit_set_0_unexpd_ns()
298 int llc_conn_ev_rx_i_rsp_fbit_set_x_inval_ns(struct sock *sk, in llc_conn_ev_rx_i_rsp_fbit_set_x_inval_ns()
[all …]
/linux/net/bluetooth/rfcomm/
A Dsock.c330 struct sock *sk = sock->sk; in rfcomm_sock_bind()
377 struct sock *sk = sock->sk; in rfcomm_sock_connect()
424 struct sock *sk = sock->sk; in rfcomm_sock_listen()
535 struct sock *sk = sock->sk; in rfcomm_sock_getname()
557 struct sock *sk = sock->sk; in rfcomm_sock_sendmsg()
597 struct sock *sk = sock->sk; in rfcomm_sock_recvmsg()
622 struct sock *sk = sock->sk; in rfcomm_sock_setsockopt_old()
664 struct sock *sk = sock->sk; in rfcomm_sock_setsockopt()
728 struct sock *sk = sock->sk; in rfcomm_sock_getsockopt_old()
803 struct sock *sk = sock->sk; in rfcomm_sock_getsockopt()
[all …]

Completed in 90 milliseconds

12345678910>>...38