Home
last modified time | relevance | path

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

12345678910>>...47

/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 …]
A Di82365.c247 i365_set(sock, reg, d); in i365_bset()
254 i365_set(sock, reg, d); in i365_bclr()
264 i365_set(sock, reg, d); in i365_bflip()
529 set_bridge_state(sock); in isa_scan()
796 sock = (i & 1) << 1; in isa_probe()
807 sock = (i & 3); in isa_probe()
1126 unsigned short sock;
1131 sock = s->number;
1133 ISA_LOCK(sock, flags);
1136 i365_get(sock,i), i365_get(sock,i+1),
[all …]
/linux/include/net/
A Dllc_c_ac.h93 int llc_conn_ac_conn_ind(struct sock *sk, struct sk_buff *skb);
95 int llc_conn_ac_data_ind(struct sock *sk, struct sk_buff *skb);
96 int llc_conn_ac_disc_ind(struct sock *sk, struct sk_buff *skb);
97 int llc_conn_ac_rst_ind(struct sock *sk, struct sk_buff *skb);
99 int llc_conn_ac_clear_remote_busy_if_f_eq_1(struct sock *sk,
135 int llc_conn_ac_start_ack_tmr_if_not_running(struct sock *sk,
161 int llc_conn_ac_rst_vs(struct sock *sk, struct sk_buff *skb);
162 int llc_conn_ac_upd_vs(struct sock *sk, struct sk_buff *skb);
163 int llc_conn_disc(struct sock *sk, struct sk_buff *skb);
164 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;
354 struct sock { struct
651 static inline struct sock *sk_next(const struct sock *sk) in sk_next()
656 static inline struct sock *sk_nulls_next(const struct sock *sk) in sk_nulls_next()
884 static inline void sock_copy_flags(struct sock *nsk, struct sock *osk) in sock_copy_flags()
1159 struct sock * (*accept)(struct sock *sk, int flags, int *err,
1745 struct sock *sk = (struct sock *)csk; in sock_allow_reclassification()
1754 struct sock *sk_clone_lock(const struct sock *sk, const gfp_t priority);
1847 void sock_init_data(struct socket *sock, struct sock *sk);
1962 static inline void sk_set_socket(struct sock *sk, struct socket *sock) in sk_set_socket() argument
[all …]
A Dtcp.h345 int tcp_twsk_unique(struct sock *sk, struct sock *sktw, void *twp);
385 struct sock *tcp_check_req(struct sock *sk, struct sk_buff *skb,
388 int tcp_child_process(struct sock *parent, struct sock *child,
447 struct sock *tcp_create_openreq_child(const struct sock *sk,
451 struct sock *tcp_v4_syn_recv_sock(const struct sock *sk, struct sk_buff *skb,
476 struct sock *tcp_get_cookie_sock(struct sock *sk, struct sk_buff *skb,
481 struct sock *cookie_v4_check(struct sock *sk, struct sk_buff *skb);
575 struct sock *cookie_v6_check(struct sock *sk, struct sk_buff *skb);
1709 struct sock *tcp_try_fastopen(struct sock *sk, struct sk_buff *skb,
2242 void tcp_bpf_clone(const struct sock *sk, struct sock *newsk);
[all …]
A Dinet_connection_sock.h37 int (*rebuild_header)(struct sock *sk);
40 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,
251 struct sock *inet_csk_accept(struct sock *sk, int flags, int *err, bool kern);
258 struct sock *newsk,
261 struct sock *inet_csk_reqsk_queue_add(struct sock *sk,
263 struct sock *child);
266 struct sock *inet_csk_complete_hashdance(struct sock *sk, struct sock *child,
308 void inet_csk_listen_stop(struct sock *sk);
[all …]
A Dnetrom.h67 struct sock sock; member
190 void nr_destroy_socket(struct sock *);
207 void nr_kick(struct sock *);
225 void nr_clear_queues(struct sock *);
255 void nr_init_timers(struct sock *sk);
257 void nr_start_t1timer(struct sock *);
258 void nr_start_t2timer(struct sock *);
259 void nr_start_t4timer(struct sock *);
262 void nr_stop_t1timer(struct sock *);
263 void nr_stop_t2timer(struct sock *);
[all …]
A Dtls.h127 struct sock *sk;
152 void (*saved_data_ready)(struct sock *sk);
182 void (*sk_destruct)(struct sock *sk);
250 void (*sk_write_space)(struct sock *sk);
274 struct sock *sk;
276 void (*sk_destruct)(struct sock *sk);
300 struct sock *sk, u32 seq, u8 *rcd_sn,
364 void tls_err_abort(struct sock *sk, int err);
382 bool tls_sw_sock_is_readable(struct sock *sk);
708 int tls_sw_fallback_init(struct sock *sk,
[all …]
A Dinet_common.h15 struct sock;
19 int inet_release(struct socket *sock);
20 int inet_stream_connect(struct socket *sock, struct sockaddr *uaddr,
24 int inet_dgram_connect(struct socket *sock, struct sockaddr *uaddr,
28 int inet_send_prepare(struct sock *sk);
34 int inet_shutdown(struct socket *sock, int how);
35 int inet_listen(struct socket *sock, int backlog);
36 void inet_sock_destruct(struct sock *sk);
48 int inet_getname(struct socket *sock, struct sockaddr *uaddr,
51 int inet_ctl_sock_create(struct sock **sk, unsigned short family,
[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.c433 | readl(sock->addr in tifm_sd_check_status()
435 sock->addr in tifm_sd_check_status()
446 sock->addr in tifm_sd_check_status()
453 & readl(sock->addr in tifm_sd_check_status()
481 spin_lock(&sock->lock); in tifm_sd_data_event()
499 spin_unlock(&sock->lock); in tifm_sd_data_event()
511 spin_lock(&sock->lock); in tifm_sd_card_event()
559 sock); in tifm_sd_card_event()
589 spin_unlock(&sock->lock); in tifm_sd_card_event()
953 dev_name(&sock->dev)); in tifm_sd_probe()
[all …]
/linux/net/
A Dsocket.c139 sock->ops->show_fdinfo(m, sock); in sock_show_fdinfo()
649 sock->ops->release(sock); in __sock_release()
1118 err = sock->ops->ioctl(sock, cmd, arg); in sock_do_ioctl()
1215 err = sock->ops->gettstamp(sock, argp, in sock_ioctl()
1332 struct sock *sk = sock->sk; in sock_fasync()
1693 err = sock->ops->bind(sock, in __sys_bind()
1773 err = sock->ops->accept(sock, newsock, sock->file->f_flags | file_flags, in do_accept()
2126 const struct sock *sk = sock->sk; in sock_use_custom_sol_socket()
2248 err = sock->ops->shutdown(sock, how); in __sys_shutdown_sock()
3255 struct sock *sk = sock->sk; in compat_sock_ioctl_trans()
[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/include/linux/
A Dnet.h122 struct sock *sk;
140 int (*release) (struct socket *sock);
141 int (*bind) (struct socket *sock,
144 int (*connect) (struct socket *sock,
149 int (*accept) (struct socket *sock,
151 int (*getname) (struct socket *sock,
190 int (*set_peek_off)(struct sock *sk, int val);
191 int (*peek_len)(struct socket *sock);
235 void sock_release(struct socket *sock);
241 #define sockfd_put(sock) fput(sock->file) argument
[all …]
/linux/net/dccp/
A Ddccp.h223 void dccp_send_ack(struct sock *sk);
234 bool dccp_qpolicy_full(struct sock *sk);
243 void dccp_write_xmit(struct sock *sk);
244 void dccp_write_space(struct sock *sk);
258 void dccp_done(struct sock *sk);
265 struct sock *dccp_create_openreq_child(const struct sock *sk,
271 struct sock *dccp_v4_request_recv_sock(const struct sock *sk, struct sk_buff *skb,
276 struct sock *dccp_check_req(struct sock *sk, struct sk_buff *skb,
279 int dccp_child_process(struct sock *parent, struct sock *child,
287 void dccp_destroy_sock(struct sock *sk);
[all …]
/linux/net/rds/
A Dtcp_listen.c116 sock->sk->sk_type, sock->sk->sk_protocol, in rds_tcp_accept_one()
121 ret = sock->ops->accept(sock, new_sock, O_NONBLOCK, true); in rds_tcp_accept_one()
284 sock->sk->sk_user_data = sock->sk->sk_data_ready; in rds_tcp_listen_init()
304 ret = sock->ops->bind(sock, (struct sockaddr *)&ss, addr_len); in rds_tcp_listen_init()
311 ret = sock->ops->listen(sock, 64); in rds_tcp_listen_init()
315 return sock; in rds_tcp_listen_init()
317 if (sock) in rds_tcp_listen_init()
324 struct sock *sk; in rds_tcp_listen_stop()
326 if (!sock) in rds_tcp_listen_stop()
329 sk = sock->sk; in rds_tcp_listen_stop()
[all …]
A Dtcp_connect.c127 rds_tcp_tune(sock); in rds_tcp_conn_path_connect()
145 ret = sock->ops->bind(sock, addr, addrlen); in rds_tcp_conn_path_connect()
173 ret = sock->ops->connect(sock, addr, addrlen, O_NONBLOCK); in rds_tcp_conn_path_connect()
180 sock = NULL; in rds_tcp_conn_path_connect()
187 if (sock) in rds_tcp_conn_path_connect()
188 sock_release(sock); in rds_tcp_conn_path_connect()
209 if (sock) { in rds_tcp_conn_path_shutdown()
212 sock->ops->shutdown(sock, RCV_SHUTDOWN | SEND_SHUTDOWN); in rds_tcp_conn_path_shutdown()
213 lock_sock(sock->sk); in rds_tcp_conn_path_shutdown()
216 release_sock(sock->sk); in rds_tcp_conn_path_shutdown()
[all …]
/linux/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()
426 struct sock *sk = sock->sk; in rfcomm_sock_listen()
537 struct sock *sk = sock->sk; in rfcomm_sock_getname()
559 struct sock *sk = sock->sk; in rfcomm_sock_sendmsg()
599 struct sock *sk = sock->sk; in rfcomm_sock_recvmsg()
624 struct sock *sk = sock->sk; in rfcomm_sock_setsockopt_old()
666 struct sock *sk = sock->sk; in rfcomm_sock_setsockopt()
734 struct sock *sk = sock->sk; in rfcomm_sock_getsockopt_old()
809 struct sock *sk = sock->sk; in rfcomm_sock_getsockopt()
[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/phonet/
A Dsocket.c30 struct sock *sk = sock->sk; in pn_socket_release()
33 sock->sk = NULL; in pn_socket_release()
68 struct sock *sknode; in pn_find_sock_by_sa()
158 struct sock *sk = sock->sk; in pn_socket_bind()
220 struct sock *sk = sock->sk; in pn_socket_connect()
297 struct sock *sk = sock->sk; in pn_socket_accept()
318 struct sock *sk = sock->sk; in pn_socket_getname()
333 struct sock *sk = sock->sk; in pn_socket_poll()
359 struct sock *sk = sock->sk; in pn_socket_ioctl()
395 struct sock *sk = sock->sk; in pn_socket_listen()
[all …]
/linux/net/atm/
A Dsvc.c77 struct sock *sk = sock->sk; in svc_release()
90 vcc_release(sock); in svc_release()
99 struct sock *sk = sock->sk; in svc_bind()
115 vcc = ATM_SD(sock); in svc_bind()
155 struct sock *sk = sock->sk; in svc_connect()
285 struct sock *sk = sock->sk; in svc_listen()
325 struct sock *sk = sock->sk; in svc_accept()
456 struct sock *sk = sock->sk; in svc_setsockopt()
501 struct sock *sk = sock->sk; in svc_getsockopt()
530 struct sock *sk = sock->sk; in svc_addparty()
[all …]
/linux/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()
80 udp_tunnel_encap_enable(sock); in setup_udp_tunnel_sock()
87 struct sock *sk = sock->sk; in udp_tunnel_push_rx_port()
101 struct sock *sk = sock->sk; in udp_tunnel_drop_rx_port()
115 struct sock *sk = sock->sk; in udp_tunnel_notify_add_rx_port()
135 struct sock *sk = sock->sk; in udp_tunnel_notify_del_rx_port()
[all …]

Completed in 74 milliseconds

12345678910>>...47