Home
last modified time | relevance | path

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

12345678910>>...36

/linux-6.3-rc2/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-6.3-rc2/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,
165 int llc_conn_ev_rx_i_cmd_pbit_set_0_unexpd_ns(struct sock *sk,
167 int llc_conn_ev_rx_i_cmd_pbit_set_1_unexpd_ns(struct sock *sk,
171 int llc_conn_ev_rx_i_rsp_fbit_set_0_unexpd_ns(struct sock *sk,
173 int llc_conn_ev_rx_i_rsp_fbit_set_1_unexpd_ns(struct sock *sk,
[all …]
A Dsock.h111 struct sock;
356 struct sock { struct
723 static inline struct sock *sk_next(const struct sock *sk) in sk_next()
728 static inline struct sock *sk_nulls_next(const struct sock *sk) in sk_nulls_next()
1245 struct sock * (*accept)(struct sock *sk, int flags, int *err,
1812 struct sock *sk = (struct sock *)csk; in sock_allow_reclassification()
1822 struct sock *sk_clone_lock(const struct sock *sk, const gfp_t priority);
1932 void sock_init_data_uid(struct socket *sock, struct sock *sk, kuid_t uid);
1937 void sock_init_data(struct socket *sock, struct sock *sk);
2052 static inline void sk_set_socket(struct sock *sk, struct socket *sock) in sk_set_socket() argument
[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,
54 void (*mtu_reduced)(struct sock *sk);
158 struct sock *inet_csk_clone_lock(const struct sock *sk,
252 struct sock *inet_csk_accept(struct sock *sk, int flags, int *err, bool kern);
259 struct sock *newsk,
262 struct sock *inet_csk_reqsk_queue_add(struct sock *sk,
264 struct sock *child);
267 struct sock *inet_csk_complete_hashdance(struct sock *sk, struct sock *child,
316 int inet_csk_listen_start(struct sock *sk);
[all …]
A Dtcp.h349 int tcp_twsk_unique(struct sock *sk, struct sock *sktw, void *twp);
390 struct sock *tcp_check_req(struct sock *sk, struct sk_buff *skb,
393 int 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,
491 struct sock *cookie_v4_check(struct sock *sk, struct sk_buff *skb);
586 struct sock *cookie_v6_check(struct sock *sk, struct sk_buff *skb);
1763 struct sock *tcp_try_fastopen(struct sock *sk, struct sk_buff *skb,
2323 void tcp_bpf_clone(const struct sock *sk, struct sock *newsk);
[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 Dsock_reuseport.h29 struct sock *socks[]; /* array of sock pointers */
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 …]
A Dinet_common.h21 struct sock;
25 int inet_release(struct socket *sock);
26 int inet_stream_connect(struct socket *sock, struct sockaddr *uaddr,
30 int inet_dgram_connect(struct socket *sock, struct sockaddr *uaddr,
34 int inet_send_prepare(struct sock *sk);
40 int inet_shutdown(struct socket *sock, int how);
41 int inet_listen(struct socket *sock, int backlog);
42 void inet_sock_destruct(struct sock *sk);
54 int inet_getname(struct socket *sock, struct sockaddr *uaddr,
57 int inet_ctl_sock_create(struct sock **sk, unsigned short family,
[all …]
A Dx25.h151 struct sock sk;
259 void x25_kick(struct sock *);
281 void x25_clear_queues(struct sock *);
283 void x25_requeue_frames(struct sock *);
291 void x25_init_timers(struct sock *sk);
293 void x25_start_t2timer(struct sock *);
294 void x25_start_t21timer(struct sock *);
295 void x25_start_t22timer(struct sock *);
296 void x25_start_t23timer(struct sock *);
298 void x25_stop_timer(struct sock *);
[all …]
/linux-6.3-rc2/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-6.3-rc2/drivers/mmc/host/
A Dtifm_sd.c428 | readl(sock->addr in tifm_sd_check_status()
430 sock->addr in tifm_sd_check_status()
441 sock->addr in tifm_sd_check_status()
448 & readl(sock->addr in tifm_sd_check_status()
476 spin_lock(&sock->lock); in tifm_sd_data_event()
494 spin_unlock(&sock->lock); in tifm_sd_data_event()
505 spin_lock(&sock->lock); in tifm_sd_card_event()
553 sock); in tifm_sd_card_event()
581 spin_unlock(&sock->lock); in tifm_sd_card_event()
945 dev_name(&sock->dev)); in tifm_sd_probe()
[all …]
/linux-6.3-rc2/include/linux/
A Dnet.h124 struct sock *sk;
163 int (*release) (struct socket *sock);
164 int (*bind) (struct socket *sock,
167 int (*connect) (struct socket *sock,
172 int (*accept) (struct socket *sock,
174 int (*getname) (struct socket *sock,
213 int (*set_peek_off)(struct sock *sk, int val);
214 int (*peek_len)(struct socket *sock);
260 void sock_release(struct socket *sock);
266 #define sockfd_put(sock) fput(sock->file) argument
[all …]
/linux-6.3-rc2/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-6.3-rc2/net/
A Dsocket.c141 sock->ops->show_fdinfo(m, sock); in sock_show_fdinfo()
653 sock->ops->release(sock); in __sock_release()
1199 err = sock->ops->ioctl(sock, cmd, arg); in sock_do_ioctl()
1296 err = sock->ops->gettstamp(sock, argp, in sock_ioctl()
1413 struct sock *sk = sock->sk; in sock_fasync()
1801 err = sock->ops->bind(sock, in __sys_bind()
1881 err = sock->ops->accept(sock, newsock, sock->file->f_flags | file_flags, in do_accept()
2343 err = sock->ops->shutdown(sock, how); in __sys_shutdown_sock()
3332 struct sock *sk = sock->sk; in compat_sock_ioctl_trans()
3490 struct sock *sk = sock->sk; in kernel_accept()
[all …]
/linux-6.3-rc2/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 …]
A Dccid.h58 void (*ccid_hc_rx_exit)(struct sock *sk);
59 void (*ccid_hc_tx_exit)(struct sock *sk);
60 void (*ccid_hc_rx_packet_recv)(struct sock *sk,
64 int (*ccid_hc_rx_insert_options)(struct sock *sk,
66 void (*ccid_hc_tx_packet_recv)(struct sock *sk,
70 int (*ccid_hc_tx_send_packet)(struct sock *sk,
72 void (*ccid_hc_tx_packet_sent)(struct sock *sk,
74 void (*ccid_hc_rx_get_info)(struct sock *sk,
76 void (*ccid_hc_tx_get_info)(struct sock *sk,
78 int (*ccid_hc_rx_getsockopt)(struct sock *sk,
[all …]
/linux-6.3-rc2/net/rds/
A Dtcp_listen.c117 sock->sk->sk_type, sock->sk->sk_protocol, in rds_tcp_accept_one()
122 ret = sock->ops->accept(sock, new_sock, O_NONBLOCK, true); in rds_tcp_accept_one()
289 sock->sk->sk_user_data = sock->sk->sk_data_ready; in rds_tcp_listen_init()
309 ret = sock->ops->bind(sock, (struct sockaddr *)&ss, addr_len); in rds_tcp_listen_init()
316 ret = sock->ops->listen(sock, 64); in rds_tcp_listen_init()
320 return sock; in rds_tcp_listen_init()
322 if (sock) in rds_tcp_listen_init()
329 struct sock *sk; in rds_tcp_listen_stop()
331 if (!sock) in rds_tcp_listen_stop()
334 sk = sock->sk; in rds_tcp_listen_stop()
[all …]
A Dtcp_connect.c148 ret = sock->ops->bind(sock, addr, addrlen); in rds_tcp_conn_path_connect()
176 ret = sock->ops->connect(sock, addr, addrlen, O_NONBLOCK); in rds_tcp_conn_path_connect()
182 rds_tcp_keepalive(sock); in rds_tcp_conn_path_connect()
183 sock = NULL; in rds_tcp_conn_path_connect()
190 if (sock) in rds_tcp_conn_path_connect()
191 sock_release(sock); in rds_tcp_conn_path_connect()
212 if (sock) { in rds_tcp_conn_path_shutdown()
215 sock->ops->shutdown(sock, RCV_SHUTDOWN | SEND_SHUTDOWN); in rds_tcp_conn_path_shutdown()
216 lock_sock(sock->sk); in rds_tcp_conn_path_shutdown()
219 release_sock(sock->sk); in rds_tcp_conn_path_shutdown()
[all …]
/linux-6.3-rc2/net/tls/
A Dtls.h73 struct sock *sk;
84 struct tls_context *tls_ctx_create(struct sock *sk);
93 void tls_err_abort(struct sock *sk, int err);
105 void tls_sw_release_resources_tx(struct sock *sk);
107 void tls_sw_free_resources_rx(struct sock *sk);
108 void tls_sw_release_resources_rx(struct sock *sk);
112 bool tls_sw_sock_is_readable(struct sock *sk);
120 int tls_tx_records(struct sock *sk, int flags);
129 int tls_sw_fallback_init(struct sock *sk,
174 void tls_device_free_resources_tx(struct sock *sk);
[all …]
/linux-6.3-rc2/net/ipv4/
A Dudp_tunnel_core.c14 struct socket *sock = NULL; in udp_sock_create4() local
47 *sockp = sock; in udp_sock_create4()
51 if (sock) { in udp_sock_create4()
53 sock_release(sock); in udp_sock_create4()
63 struct sock *sk = sock->sk; in setup_udp_tunnel_sock()
81 udp_tunnel_encap_enable(sock); in setup_udp_tunnel_sock()
88 struct sock *sk = sock->sk; in udp_tunnel_push_rx_port()
102 struct sock *sk = sock->sk; in udp_tunnel_drop_rx_port()
116 struct sock *sk = sock->sk; in udp_tunnel_notify_add_rx_port()
136 struct sock *sk = sock->sk; in udp_tunnel_notify_del_rx_port()
[all …]
/linux-6.3-rc2/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-6.3-rc2/net/bluetooth/rfcomm/
A Dsock.c337 struct sock *sk = sock->sk; in rfcomm_sock_bind()
384 struct sock *sk = sock->sk; in rfcomm_sock_connect()
431 struct sock *sk = sock->sk; in rfcomm_sock_listen()
542 struct sock *sk = sock->sk; in rfcomm_sock_getname()
564 struct sock *sk = sock->sk; in rfcomm_sock_sendmsg()
604 struct sock *sk = sock->sk; in rfcomm_sock_recvmsg()
629 struct sock *sk = sock->sk; in rfcomm_sock_setsockopt_old()
671 struct sock *sk = sock->sk; in rfcomm_sock_setsockopt()
739 struct sock *sk = sock->sk; in rfcomm_sock_getsockopt_old()
814 struct sock *sk = sock->sk; in rfcomm_sock_getsockopt()
[all …]

Completed in 84 milliseconds

12345678910>>...36