Home
last modified time | relevance | path

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

12345678910>>...12

/linux/drivers/misc/
A Dtifm_core.c43 struct tifm_dev *sock = container_of(dev, struct tifm_dev, dev); in tifm_bus_match() local
60 struct tifm_dev *sock = container_of(dev, struct tifm_dev, dev); in tifm_uevent() local
70 struct tifm_dev *sock = container_of(dev, struct tifm_dev, dev); in tifm_device_probe() local
85 static void tifm_dummy_event(struct tifm_dev *sock) in tifm_dummy_event()
92 struct tifm_dev *sock = container_of(dev, struct tifm_dev, dev); in tifm_device_remove() local
110 struct tifm_dev *sock = container_of(dev, struct tifm_dev, dev); in tifm_device_suspend() local
121 struct tifm_dev *sock = container_of(dev, struct tifm_dev, dev); in tifm_device_resume() local
140 struct tifm_dev *sock = container_of(dev, struct tifm_dev, dev); in type_show() local
250 struct tifm_dev *sock = NULL; in tifm_alloc_device() local
278 void tifm_eject(struct tifm_dev *sock) in tifm_eject()
[all …]
/linux/drivers/pcmcia/
A Ddb1xxx_ss.c71 static int db1300_card_inserted(struct db1x_pcmcia_sock *sock) in db1300_card_inserted()
77 static int db1200_card_inserted(struct db1x_pcmcia_sock *sock) in db1200_card_inserted()
91 static int db1x_card_inserted(struct db1x_pcmcia_sock *sock) in db1x_card_inserted()
119 struct db1x_pcmcia_sock *sock = data; in db1000_pcmcia_cdirq() local
128 struct db1x_pcmcia_sock *sock = data; in db1000_pcmcia_stschgirq() local
148 struct db1x_pcmcia_sock *sock = data; in db1200_pcmcia_cdirq_fn() local
245 struct db1x_pcmcia_sock *sock = to_db1x_socket(skt); in db1x_pcmcia_configure() local
341 struct db1x_pcmcia_sock *sock = to_db1x_socket(skt); in db1x_pcmcia_get_status() local
394 struct db1x_pcmcia_sock *sock = to_db1x_socket(skt); in au1x00_pcmcia_set_io_map() local
405 struct db1x_pcmcia_sock *sock = to_db1x_socket(skt); in au1x00_pcmcia_set_mem_map() local
[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
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
99 #define MECR_FAST_GET(mecr, sock) \ argument
A Di82365.c217 static u_char i365_get(u_short sock, u_short reg) in i365_get()
231 static void i365_set(u_short sock, u_short reg, u_char data) in i365_set()
243 static void i365_bset(u_short sock, u_short reg, u_char mask) in i365_bset()
250 static void i365_bclr(u_short sock, u_short reg, u_char mask) in i365_bclr()
267 static u_short i365_get_pair(u_short sock, u_short reg) in i365_get_pair()
489 static u_int __init test_irq(u_short sock, int irq) in test_irq()
517 static u_int __init isa_scan(u_short sock, u_int mask0) in isa_scan()
572 static int __init identify(unsigned int port, u_short sock) in identify()
640 static int __init is_alive(u_short sock) in is_alive()
755 int i, j, sock, k, ns, id; in isa_probe() local
[all …]
A Dbcm63xx_pcmcia.c52 static int bcm63xx_pcmcia_sock_init(struct pcmcia_socket *sock) in bcm63xx_pcmcia_sock_init()
63 static int bcm63xx_pcmcia_suspend(struct pcmcia_socket *sock) in bcm63xx_pcmcia_suspend()
75 static int bcm63xx_pcmcia_set_socket(struct pcmcia_socket *sock, in bcm63xx_pcmcia_set_socket()
249 static int bcm63xx_pcmcia_get_status(struct pcmcia_socket *sock, in bcm63xx_pcmcia_get_status()
290 static int bcm63xx_pcmcia_set_io_map(struct pcmcia_socket *sock, in bcm63xx_pcmcia_set_io_map()
298 static int bcm63xx_pcmcia_set_mem_map(struct pcmcia_socket *sock, in bcm63xx_pcmcia_set_mem_map()
329 struct pcmcia_socket *sock; in bcm63xx_drv_pcmcia_probe() local
A Dxxs1500_ss.c71 struct xxs1500_pcmcia_sock *sock = data; in cdirq() local
81 struct xxs1500_pcmcia_sock *sock = to_xxs_socket(skt); in xxs1500_pcmcia_configure() local
179 struct xxs1500_pcmcia_sock *sock = to_xxs_socket(skt); in au1x00_pcmcia_set_io_map() local
190 struct xxs1500_pcmcia_sock *sock = to_xxs_socket(skt); in au1x00_pcmcia_set_mem_map() local
211 struct xxs1500_pcmcia_sock *sock; in xxs1500_pcmcia_probe() local
306 struct xxs1500_pcmcia_sock *sock = platform_get_drvdata(pdev); in xxs1500_pcmcia_remove() local
/linux/include/net/
A Dsock.h354 struct sock { struct
401 * the per-socket spinlock held and requires low latency argument
426 struct socket_wq __rcu *sk_wq; argument
446 union {
472 * changes are protected by socket lock. argument
475 sk_kern_sock : 1, argument
480 u16 sk_type;
486 int sk_err,
487 sk_err_soft;
515 struct socket *sk_socket; argument
[all …]
A 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 void scm_passec(struct socket *sock, struct msghdr *msg, struct scm_cookie *scm) in scm_passec()
113 static __inline__ void scm_recv(struct socket *sock, struct msghdr *msg, in scm_recv()
/linux/net/atm/
A Dsvc.c41 static int svc_shutdown(struct socket *sock, int how) in svc_shutdown()
75 static int svc_release(struct socket *sock) in svc_release()
95 static int svc_bind(struct socket *sock, struct sockaddr *sockaddr, in svc_bind()
151 static int svc_connect(struct socket *sock, struct sockaddr *sockaddr, in svc_connect()
282 static int svc_listen(struct socket *sock, int backlog) in svc_listen()
421 static int svc_getname(struct socket *sock, struct sockaddr *sockaddr, in svc_getname()
453 static int svc_setsockopt(struct socket *sock, int level, int optname, in svc_setsockopt()
498 static int svc_getsockopt(struct socket *sock, int level, int optname, in svc_getsockopt()
526 static int svc_addparty(struct socket *sock, struct sockaddr *sockaddr, in svc_addparty()
556 static int svc_dropparty(struct socket *sock, int ep_ref) in svc_dropparty()
[all …]
A Dpvc.c22 static int pvc_shutdown(struct socket *sock, int how) in pvc_shutdown()
27 static int pvc_bind(struct socket *sock, struct sockaddr *sockaddr, in pvc_bind()
59 static int pvc_connect(struct socket *sock, struct sockaddr *sockaddr, in pvc_connect()
65 static int pvc_setsockopt(struct socket *sock, int level, int optname, in pvc_setsockopt()
77 static int pvc_getsockopt(struct socket *sock, int level, int optname, in pvc_getsockopt()
89 static int pvc_getname(struct socket *sock, struct sockaddr *sockaddr, in pvc_getname()
133 static int pvc_create(struct net *net, struct socket *sock, int protocol, in pvc_create()
/linux/net/rxrpc/
A Daf_rxrpc.c129 static int rxrpc_bind(struct socket *sock, struct sockaddr *saddr, int len) in rxrpc_bind()
209 static int rxrpc_listen(struct socket *sock, int backlog) in rxrpc_listen()
280 struct rxrpc_call *rxrpc_kernel_begin_call(struct socket *sock, in rxrpc_kernel_begin_call()
352 void rxrpc_kernel_end_call(struct socket *sock, struct rxrpc_call *call) in rxrpc_kernel_end_call()
379 bool rxrpc_kernel_check_life(const struct socket *sock, in rxrpc_kernel_check_life()
394 u32 rxrpc_kernel_get_epoch(struct socket *sock, struct rxrpc_call *call) in rxrpc_kernel_get_epoch()
409 struct socket *sock, in rxrpc_kernel_new_call_notification()
450 static int rxrpc_connect(struct socket *sock, struct sockaddr *addr, in rxrpc_connect()
719 static __poll_t rxrpc_poll(struct file *file, struct socket *sock, in rxrpc_poll()
799 static int rxrpc_shutdown(struct socket *sock, int flags) in rxrpc_shutdown()
[all …]
/linux/net/nfc/
A Dllcp_sock.c59 static int llcp_sock_bind(struct socket *sock, struct sockaddr *addr, int alen) in llcp_sock_bind()
144 static int llcp_raw_sock_bind(struct socket *sock, struct sockaddr *addr, in llcp_raw_sock_bind()
199 static int llcp_sock_listen(struct socket *sock, int backlog) in llcp_sock_listen()
444 static int llcp_sock_accept(struct socket *sock, struct socket *newsock, in llcp_sock_accept()
498 static int llcp_sock_getname(struct socket *sock, struct sockaddr *uaddr, in llcp_sock_getname()
550 static __poll_t llcp_sock_poll(struct file *file, struct socket *sock, in llcp_sock_poll()
589 static int llcp_sock_release(struct socket *sock) in llcp_sock_release()
774 static int llcp_sock_sendmsg(struct socket *sock, struct msghdr *msg, in llcp_sock_sendmsg()
817 static int llcp_sock_recvmsg(struct socket *sock, struct msghdr *msg, in llcp_sock_recvmsg()
1000 void nfc_llcp_sock_free(struct nfc_llcp_sock *sock) in nfc_llcp_sock_free()
[all …]
/linux/net/bluetooth/rfcomm/
A Dsock.c312 static int rfcomm_sock_create(struct net *net, struct socket *sock, in rfcomm_sock_create()
334 static int rfcomm_sock_bind(struct socket *sock, struct sockaddr *addr, int addr_len) in rfcomm_sock_bind()
424 static int rfcomm_sock_listen(struct socket *sock, int backlog) in rfcomm_sock_listen()
473 static int rfcomm_sock_accept(struct socket *sock, struct socket *newsock, int flags, in rfcomm_sock_accept()
534 static int rfcomm_sock_getname(struct socket *sock, struct sockaddr *addr, int peer) in rfcomm_sock_getname()
556 static int rfcomm_sock_sendmsg(struct socket *sock, struct msghdr *msg, in rfcomm_sock_sendmsg()
596 static int rfcomm_sock_recvmsg(struct socket *sock, struct msghdr *msg, in rfcomm_sock_recvmsg()
621 static int rfcomm_sock_setsockopt_old(struct socket *sock, int optname, in rfcomm_sock_setsockopt_old()
663 static int rfcomm_sock_setsockopt(struct socket *sock, int level, int optname, in rfcomm_sock_setsockopt()
892 static int rfcomm_sock_shutdown(struct socket *sock, int how) in rfcomm_sock_shutdown()
[all …]
/linux/drivers/isdn/mISDN/
A Dsocket.c106 mISDN_sock_recvmsg(struct socket *sock, struct msghdr *msg, size_t len, in mISDN_sock_recvmsg()
167 mISDN_sock_sendmsg(struct socket *sock, struct msghdr *msg, size_t len) in mISDN_sock_sendmsg()
236 data_sock_release(struct socket *sock) in data_sock_release()
350 data_sock_ioctl(struct socket *sock, unsigned int cmd, unsigned long arg) in data_sock_ioctl()
403 static int data_sock_setsockopt(struct socket *sock, int level, int optname, in data_sock_setsockopt()
435 static int data_sock_getsockopt(struct socket *sock, int level, int optname, in data_sock_getsockopt()
465 data_sock_bind(struct socket *sock, struct sockaddr *addr, int addr_len) in data_sock_bind()
552 data_sock_getname(struct socket *sock, struct sockaddr *addr, in data_sock_getname()
618 base_sock_release(struct socket *sock) in base_sock_release()
634 base_sock_ioctl(struct socket *sock, unsigned int cmd, unsigned long arg) in base_sock_ioctl()
[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
182 struct tifm_dev *sock = host->dev; in tifm_ms_transfer_data() local
254 struct tifm_dev *sock = host->dev; in tifm_ms_issue_cmd() local
336 struct tifm_dev *sock = host->dev; in tifm_ms_complete_cmd() local
381 static void tifm_ms_data_event(struct tifm_dev *sock) in tifm_ms_data_event()
459 struct tifm_dev *sock = host->dev; in tifm_ms_req_tasklet() local
499 struct tifm_dev *sock = host->dev; in tifm_ms_set_param() local
551 static int tifm_ms_probe(struct tifm_dev *sock) in tifm_ms_probe()
591 static void tifm_ms_remove(struct tifm_dev *sock) in tifm_ms_remove()
[all …]
/linux/net/rds/
A Daf_rds.c59 static int rds_release(struct socket *sock) in rds_release()
114 static int rds_getname(struct socket *sock, struct sockaddr *uaddr, in rds_getname()
212 static __poll_t rds_poll(struct file *file, struct socket *sock, in rds_poll()
432 static int rds_setsockopt(struct socket *sock, int level, int optname, in rds_setsockopt()
483 static int rds_getsockopt(struct socket *sock, int level, int optname, in rds_getsockopt()
536 static int rds_connect(struct socket *sock, struct sockaddr *uaddr, in rds_connect()
698 static int rds_create(struct net *net, struct socket *sock, int protocol, in rds_create()
729 static void rds_sock_inc_info(struct socket *sock, unsigned int len, in rds_sock_inc_info()
768 static void rds6_sock_inc_info(struct socket *sock, unsigned int len, in rds6_sock_inc_info()
800 static void rds_sock_info(struct socket *sock, unsigned int len, in rds_sock_info()
[all …]
/linux/net/llc/
A Daf_llc.c146 static void llc_ui_sk_init(struct socket *sock, struct sock *sk) in llc_ui_sk_init()
171 static int llc_ui_create(struct net *net, struct socket *sock, int protocol, in llc_ui_create()
200 static int llc_ui_release(struct socket *sock) in llc_ui_release()
274 static int llc_ui_autobind(struct socket *sock, struct sockaddr_llc *addr) in llc_ui_autobind()
425 static int llc_ui_shutdown(struct socket *sock, int how) in llc_ui_shutdown()
460 static int llc_ui_connect(struct socket *sock, struct sockaddr *uaddr, in llc_ui_connect()
533 static int llc_ui_listen(struct socket *sock, int backlog) in llc_ui_listen()
997 static int llc_ui_getname(struct socket *sock, struct sockaddr *uaddr, in llc_ui_getname()
1045 static int llc_ui_ioctl(struct socket *sock, unsigned int cmd, in llc_ui_ioctl()
1061 static int llc_ui_setsockopt(struct socket *sock, int level, int optname, in llc_ui_setsockopt()
[all …]
/linux/net/
A Dsocket.c528 struct socket *sock; in sockfd_lookup() local
548 struct socket *sock; in sockfd_lookup_light() local
624 struct socket *sock; in sock_alloc() local
994 struct socket *sock; in sock_sendpage() local
1147 struct socket *sock; in sock_ioctl() local
1397 struct socket *sock; in __sock_create() local
1540 struct socket *sock; in __sys_socket() local
1681 struct socket *sock; in __sys_bind() local
1715 struct socket *sock; in __sys_listen() local
1882 struct socket *sock; in __sys_connect_file() local
[all …]
/linux/drivers/mmc/host/
A Dtifm_sd.c115 struct tifm_dev *sock = host->dev; in tifm_sd_read_fifo() local
141 struct tifm_dev *sock = host->dev; in tifm_sd_write_fifo() local
263 struct tifm_dev *sock = host->dev; in tifm_sd_set_dma_data() local
373 struct tifm_dev *sock = host->dev; in tifm_sd_exec() local
404 struct tifm_dev *sock = host->dev; in tifm_sd_check_status() local
595 struct tifm_dev *sock = host->dev; in tifm_sd_set_data_timeout() local
623 struct tifm_dev *sock = host->dev; in tifm_sd_request() local
737 struct tifm_dev *sock = host->dev; in tifm_sd_end_cmd() local
799 struct tifm_dev *sock = host->dev; in tifm_sd_ios() local
867 struct tifm_dev *sock = host->dev; in tifm_sd_ro() local
[all …]
/linux/net/ipv4/
A Dudp_tunnel_core.c14 struct socket *sock = NULL; in udp_sock_create4() local
60 void setup_udp_tunnel_sock(struct net *net, struct socket *sock, in setup_udp_tunnel_sock()
84 void udp_tunnel_push_rx_port(struct net_device *dev, struct socket *sock, in udp_tunnel_push_rx_port()
98 void udp_tunnel_drop_rx_port(struct net_device *dev, struct socket *sock, in udp_tunnel_drop_rx_port()
113 void udp_tunnel_notify_add_rx_port(struct socket *sock, unsigned short type) in udp_tunnel_notify_add_rx_port()
133 void udp_tunnel_notify_del_rx_port(struct socket *sock, unsigned short type) in udp_tunnel_notify_del_rx_port()
175 void udp_tunnel_sock_release(struct socket *sock) in udp_tunnel_sock_release()
/linux/net/bluetooth/
A Dl2cap_sock.c49 bool l2cap_is_socket(struct socket *sock) in l2cap_is_socket()
175 static int l2cap_sock_connect(struct socket *sock, struct sockaddr *addr, in l2cap_sock_connect()
261 static int l2cap_sock_listen(struct socket *sock, int backlog) in l2cap_sock_listen()
318 static int l2cap_sock_accept(struct socket *sock, struct socket *newsock, in l2cap_sock_accept()
374 static int l2cap_sock_getname(struct socket *sock, struct sockaddr *addr, in l2cap_sock_getname()
424 static int l2cap_sock_getsockopt_old(struct socket *sock, int optname, in l2cap_sock_getsockopt_old()
713 static int l2cap_sock_setsockopt_old(struct socket *sock, int optname, in l2cap_sock_setsockopt_old()
1116 static int l2cap_sock_sendmsg(struct socket *sock, struct msghdr *msg, in l2cap_sock_sendmsg()
1148 static int l2cap_sock_recvmsg(struct socket *sock, struct msghdr *msg, in l2cap_sock_recvmsg()
1275 static int l2cap_sock_shutdown(struct socket *sock, int how) in l2cap_sock_shutdown()
[all …]
/linux/net/bluetooth/cmtp/
A Dsock.c49 static int cmtp_sock_release(struct socket *sock) in cmtp_sock_release()
66 static int do_cmtp_sock_ioctl(struct socket *sock, unsigned int cmd, void __user *argp) in do_cmtp_sock_ioctl()
139 static int cmtp_sock_ioctl(struct socket *sock, unsigned int cmd, unsigned long arg) in cmtp_sock_ioctl()
145 static int cmtp_sock_compat_ioctl(struct socket *sock, unsigned int cmd, unsigned long arg) in cmtp_sock_compat_ioctl()
200 static int cmtp_sock_create(struct net *net, struct socket *sock, int protocol, in cmtp_sock_create()
/linux/net/bluetooth/bnep/
A Dsock.c36 static int bnep_sock_release(struct socket *sock) in bnep_sock_release()
52 static int do_bnep_sock_ioctl(struct socket *sock, unsigned int cmd, void __user *argp) in do_bnep_sock_ioctl()
136 static int bnep_sock_ioctl(struct socket *sock, unsigned int cmd, unsigned long arg) in bnep_sock_ioctl()
142 static int bnep_sock_compat_ioctl(struct socket *sock, unsigned int cmd, unsigned long arg) in bnep_sock_compat_ioctl()
197 static int bnep_sock_create(struct net *net, struct socket *sock, int protocol, in bnep_sock_create()
/linux/drivers/net/ppp/
A Dpptp.c54 struct pppox_sock *sock; in lookup_chan() local
73 struct pppox_sock *sock; in lookup_chan_dst() local
93 static int add_chan(struct pppox_sock *sock, in add_chan()
123 static void del_chan(struct pppox_sock *sock) in del_chan()
367 static int pptp_bind(struct socket *sock, struct sockaddr *uservaddr, in pptp_bind()
400 static int pptp_connect(struct socket *sock, struct sockaddr *uservaddr, in pptp_connect()
473 static int pptp_getname(struct socket *sock, struct sockaddr *uaddr, in pptp_getname()
490 static int pptp_release(struct socket *sock) in pptp_release()
532 static int pptp_create(struct net *net, struct socket *sock, int kern) in pptp_create()
/linux/tools/testing/selftests/net/
A Dpsock_tpacket.c101 int ret, sock = socket(PF_PACKET, SOCK_RAW, 0); in pfsocket() local
342 static void __v1_v2_set_packet_loss_discard(int sock) in __v1_v2_set_packet_loss_discard()
369 static void walk_tx(int sock, struct ring *ring) in walk_tx()
500 static void walk_v1_v2(int sock, struct ring *ring) in walk_v1_v2()
581 static void walk_v3_rx(int sock, struct ring *ring) in walk_v3_rx()
622 static void walk_v3(int sock, struct ring *ring) in walk_v3()
708 static void mmap_ring(int sock, struct ring *ring) in mmap_ring()
726 static void bind_ring(int sock, struct ring *ring) in bind_ring()
746 static void walk_ring(int sock, struct ring *ring) in walk_ring()
751 static void unmap_ring(int sock, struct ring *ring) in unmap_ring()
[all …]

Completed in 51 milliseconds

12345678910>>...12