Searched refs:socket (Results 1 - 25 of 881) sorted by relevance

1234567891011>>

/linux-master/tools/testing/selftests/net/
H A Drun_netsocktests5 echo "running socket test"
7 ./socket
/linux-master/arch/um/drivers/
H A Dxterm.h9 extern int xterm_fd(int socket, int *pid_out);
/linux-master/drivers/pcmcia/
H A Dti113x.h166 #define ti_sysctl(socket) ((socket)->private[0])
167 #define ti_cardctl(socket) ((socket)->private[1])
168 #define ti_devctl(socket) ((socket)->private[2])
169 #define ti_diag(socket) ((socket)->private[3])
170 #define ti_mfunc(socket) ((socket)
176 ti_save_state(struct yenta_socket *socket) argument
188 ti_restore_state(struct yenta_socket *socket) argument
207 struct yenta_socket *socket = container_of(sock, struct yenta_socket, socket); local
231 struct yenta_socket *socket = container_of(sock, struct yenta_socket, socket); local
259 ti_set_zv(struct yenta_socket *socket) argument
294 ti_init(struct yenta_socket *socket) argument
306 ti_override(struct yenta_socket *socket) argument
319 ti113x_use_isa_irq(struct yenta_socket *socket) argument
349 ti113x_override(struct yenta_socket *socket) argument
367 ti12xx_irqroute_func0(struct yenta_socket *socket) argument
482 ti12xx_align_irqs(struct yenta_socket *socket, int *old_irq) argument
505 ti12xx_tie_interrupts(struct yenta_socket *socket, int *old_irq) argument
527 ti12xx_untie_interrupts(struct yenta_socket *socket, int old_irq) argument
541 ti12xx_irqroute_func1(struct yenta_socket *socket) argument
651 ti12xx_2nd_slot_empty(struct yenta_socket *socket) argument
746 struct yenta_socket *socket = container_of(sock, struct yenta_socket, socket); local
842 ti12xx_override(struct yenta_socket *socket) argument
883 ti1250_override(struct yenta_socket *socket) argument
938 struct yenta_socket *socket = container_of(sock, struct yenta_socket, socket); local
966 ene_override(struct yenta_socket *socket) argument
[all...]
H A Dricoh.h128 #define rl_misc(socket) ((socket)->private[0])
129 #define rl_ctl(socket) ((socket)->private[1])
130 #define rl_io(socket) ((socket)->private[2])
131 #define rl_mem(socket) ((socket)->private[3])
132 #define rl_config(socket) ((socket)
137 struct yenta_socket *socket = container_of(sock, struct yenta_socket, socket); local
149 ricoh_set_zv(struct yenta_socket *socket) argument
163 ricoh_set_clkrun(struct yenta_socket *socket, bool quiet) argument
192 ricoh_save_state(struct yenta_socket *socket) argument
201 ricoh_restore_state(struct yenta_socket *socket) argument
215 ricoh_override(struct yenta_socket *socket) argument
[all...]
H A Dyenta_socket.c69 static int yenta_probe_cb_irq(struct yenta_socket *socket);
70 static unsigned int yenta_probe_irq(struct yenta_socket *socket,
84 static inline u32 cb_readl(struct yenta_socket *socket, unsigned reg) argument
86 u32 val = readl(socket->base + reg);
87 debug("%04x %08x\n", socket, reg, val);
91 static inline void cb_writel(struct yenta_socket *socket, unsigned reg, u32 val) argument
93 debug("%04x %08x\n", socket, reg, val);
94 writel(val, socket->base + reg);
95 readl(socket->base + reg); /* avoid problems with PCI write posting */
98 static inline u8 config_readb(struct yenta_socket *socket, unsigne argument
106 config_readw(struct yenta_socket *socket, unsigned offset) argument
114 config_readl(struct yenta_socket *socket, unsigned offset) argument
122 config_writeb(struct yenta_socket *socket, unsigned offset, u8 val) argument
128 config_writew(struct yenta_socket *socket, unsigned offset, u16 val) argument
134 config_writel(struct yenta_socket *socket, unsigned offset, u32 val) argument
140 exca_readb(struct yenta_socket *socket, unsigned reg) argument
158 exca_writeb(struct yenta_socket *socket, unsigned reg, u8 val) argument
165 exca_writew(struct yenta_socket *socket, unsigned reg, u16 val) argument
178 struct yenta_socket *socket = dev_get_drvdata(yentadev); local
215 struct yenta_socket *socket = container_of(sock, struct yenta_socket, socket); local
248 yenta_set_power(struct yenta_socket *socket, socket_state_t *state) argument
332 struct yenta_socket *socket = container_of(sock, struct yenta_socket, socket); local
407 struct yenta_socket *socket = container_of(sock, struct yenta_socket, socket); local
444 struct yenta_socket *socket = container_of(sock, struct yenta_socket, socket); local
511 struct yenta_socket *socket = (struct yenta_socket *) dev_id; local
542 struct yenta_socket *socket = from_timer(socket, t, poll_timer); local
549 yenta_clear_maps(struct yenta_socket *socket) argument
568 yenta_interrogate(struct yenta_socket *socket) argument
582 struct yenta_socket *socket = container_of(sock, struct yenta_socket, socket); local
603 struct yenta_socket *socket = container_of(sock, struct yenta_socket, socket); local
672 yenta_search_res(struct yenta_socket *socket, struct resource *res, u32 min) argument
692 yenta_allocate_res(struct yenta_socket *socket, int nr, unsigned type, int addr_start, int addr_end) argument
750 yenta_free_res(struct yenta_socket *socket, int nr) argument
765 yenta_allocate_resources(struct yenta_socket *socket) argument
788 yenta_free_resources(struct yenta_socket *socket) argument
926 yenta_probe_irq(struct yenta_socket *socket, u32 isa_irq_mask) argument
968 struct yenta_socket *socket = (struct yenta_socket *) dev_id; local
986 yenta_probe_cb_irq(struct yenta_socket *socket) argument
1028 yenta_get_socket_capabilities(struct yenta_socket *socket, u32 isa_irq_mask) argument
1043 yenta_config_init(struct yenta_socket *socket) argument
1160 struct yenta_socket *socket; local
1306 struct yenta_socket *socket = pci_get_drvdata(pdev); local
1325 struct yenta_socket *socket = pci_get_drvdata(pdev); local
[all...]
H A Dpd6729.c61 static unsigned char indirect_read(struct pd6729_socket *socket, argument
69 reg += socket->number * 0x40;
70 port = socket->io_base;
78 static unsigned short indirect_read16(struct pd6729_socket *socket, argument
86 reg = reg + socket->number * 0x40;
87 port = socket->io_base;
98 static void indirect_write(struct pd6729_socket *socket, unsigned short reg, argument
105 reg = reg + socket->number * 0x40;
106 port = socket->io_base;
112 static void indirect_setbit(struct pd6729_socket *socket, unsigne argument
130 indirect_resetbit(struct pd6729_socket *socket, unsigned short reg, unsigned char mask) argument
148 indirect_write16(struct pd6729_socket *socket, unsigned short reg, unsigned short value) argument
175 struct pd6729_socket *socket = (struct pd6729_socket *)dev; local
239 struct pd6729_socket *socket = from_timer(socket, t, poll_timer); local
247 struct pd6729_socket *socket local
296 struct pd6729_socket *socket local
425 struct pd6729_socket *socket local
469 struct pd6729_socket *socket local
629 struct pd6729_socket *socket; local
744 struct pd6729_socket *socket = pci_get_drvdata(dev); local
[all...]
H A Dtopic.h112 struct yenta_socket *socket = container_of(sock, struct yenta_socket, socket); local
115 reg_zv = config_readb(socket, TOPIC97_ZOOM_VIDEO_CONTROL);
118 config_writeb(socket, TOPIC97_ZOOM_VIDEO_CONTROL, reg_zv);
120 reg = config_readb(socket, TOPIC97_AUDIO_VIDEO_SWITCH);
122 config_writeb(socket, TOPIC97_AUDIO_VIDEO_SWITCH, reg);
125 config_writeb(socket, TOPIC97_ZOOM_VIDEO_CONTROL, reg_zv);
127 reg = config_readb(socket, TOPIC97_AUDIO_VIDEO_SWITCH);
129 config_writeb(socket, TOPIC97_AUDIO_VIDEO_SWITCH, reg);
133 static int topic97_override(struct yenta_socket *socket) argument
141 topic95_override(struct yenta_socket *socket) argument
[all...]
H A Di82092aa.h17 static int i82092aa_get_status(struct pcmcia_socket *socket, u_int *value);
18 static int i82092aa_set_socket(struct pcmcia_socket *socket, socket_state_t *state);
19 static int i82092aa_set_io_map(struct pcmcia_socket *socket, struct pccard_io_map *io);
20 static int i82092aa_set_mem_map(struct pcmcia_socket *socket, struct pccard_mem_map *mem);
21 static int i82092aa_init(struct pcmcia_socket *socket);
H A Do2micro.h109 static int o2micro_override(struct yenta_socket *socket) argument
121 if (PCI_FUNC(socket->dev->devfn) == 0) {
122 a = config_readb(socket, O2_RESERVED1);
123 b = config_readb(socket, O2_RESERVED2);
124 dev_dbg(&socket->dev->dev, "O2: 0x94/0xD4: %02x/%02x\n", a, b);
126 switch (socket->dev->device) {
151 dev_warn(&socket->dev->dev,
155 dev_info(&socket->dev->dev,
157 config_writeb(socket, O2_RESERVED1,
159 config_writeb(socket, O2_RESERVED
174 o2micro_restore_state(struct yenta_socket *socket) argument
[all...]
H A Dcs.c92 struct pcmcia_socket *socket = dev_get_drvdata(dev); local
94 complete(&socket->socket_released);
100 * pcmcia_register_socket - add a new pcmcia socket device
101 * @socket: the &socket to register
103 int pcmcia_register_socket(struct pcmcia_socket *socket) argument
108 if (!socket || !socket->ops || !socket->dev.parent || !socket
206 pcmcia_unregister_socket(struct pcmcia_socket *socket) argument
[all...]
/linux-master/arch/alpha/include/asm/
H A Dsocket.h5 #include <uapi/asm/socket.h>
7 /* O_NONBLOCK clashes with the bits used for socket types. Therefore we
/linux-master/arch/parisc/include/asm/
H A Dsocket.h5 #include <uapi/asm/socket.h>
7 /* O_NONBLOCK clashed with the bits used for socket types. Therefore we
/linux-master/drivers/xen/
H A Dpvcalls-front.h6 int pvcalls_front_socket(struct socket *sock);
7 int pvcalls_front_connect(struct socket *sock, struct sockaddr *addr,
9 int pvcalls_front_bind(struct socket *sock,
12 int pvcalls_front_listen(struct socket *sock, int backlog);
13 int pvcalls_front_accept(struct socket *sock,
14 struct socket *newsock,
16 int pvcalls_front_sendmsg(struct socket *sock,
19 int pvcalls_front_recvmsg(struct socket *sock,
24 struct socket *sock,
26 int pvcalls_front_release(struct socket *soc
[all...]
/linux-master/drivers/infiniband/hw/usnic/
H A Dusnic_transport.h45 struct socket *sock);
53 * Do a fget on the socket refered to by sock_fd and returns the socket.
57 struct socket *usnic_transport_get_socket(int sock_fd);
58 void usnic_transport_put_socket(struct socket *sock);
62 int usnic_transport_sock_get_addr(struct socket *sock, int *proto,
/linux-master/arch/mips/include/asm/mach-lantiq/
H A Dlantiq_platform.h10 #include <linux/socket.h>
/linux-master/include/net/
H A Daf_rxrpc.h16 struct socket;
41 void rxrpc_kernel_new_call_notification(struct socket *,
44 struct rxrpc_call *rxrpc_kernel_begin_call(struct socket *sock,
56 int rxrpc_kernel_send_data(struct socket *, struct rxrpc_call *,
59 int rxrpc_kernel_recv_data(struct socket *, struct rxrpc_call *,
61 bool rxrpc_kernel_abort_call(struct socket *, struct rxrpc_call *,
63 void rxrpc_kernel_shutdown_call(struct socket *sock, struct rxrpc_call *call);
64 void rxrpc_kernel_put_call(struct socket *sock, struct rxrpc_call *call);
65 struct rxrpc_peer *rxrpc_kernel_lookup_peer(struct socket *sock,
69 struct rxrpc_peer *rxrpc_kernel_get_call_peer(struct socket *soc
[all...]
H A Dinet_common.h23 struct socket;
25 int inet_release(struct socket *sock);
26 int inet_stream_connect(struct socket *sock, struct sockaddr *uaddr,
28 int __inet_stream_connect(struct socket *sock, struct sockaddr *uaddr,
30 int inet_dgram_connect(struct socket *sock, struct sockaddr *uaddr,
32 int inet_accept(struct socket *sock, struct socket *newsock, int flags,
34 void __inet_accept(struct socket *sock, struct socket *newsock,
37 int inet_sendmsg(struct socket *soc
[all...]
/linux-master/net/atm/
H A Dcommon.h14 int vcc_create(struct net *net, struct socket *sock, int protocol, int family, int kern);
15 int vcc_release(struct socket *sock);
16 int vcc_connect(struct socket *sock, int itf, short vpi, int vci);
17 int vcc_recvmsg(struct socket *sock, struct msghdr *msg, size_t size,
19 int vcc_sendmsg(struct socket *sock, struct msghdr *m, size_t total_len);
20 __poll_t vcc_poll(struct file *file, struct socket *sock, poll_table *wait);
21 int vcc_ioctl(struct socket *sock, unsigned int cmd, unsigned long arg);
22 int vcc_compat_ioctl(struct socket *sock, unsigned int cmd, unsigned long arg);
23 int vcc_setsockopt(struct socket *sock, int level, int optname,
25 int vcc_getsockopt(struct socket *soc
[all...]
/linux-master/arch/powerpc/include/uapi/asm/
H A Dsocket.h19 #include <asm-generic/socket.h>
/linux-master/include/uapi/linux/
H A Dun.h5 #include <linux/socket.h>
14 #define SIOCUNIXFILE (SIOCPROTOPRIVATE + 0) /* open a socket file with O_PATH */
/linux-master/include/linux/
H A Dnet.h51 * @SOCK_STREAM: stream (connection) socket
52 * @SOCK_DGRAM: datagram (conn.less) socket
53 * @SOCK_RAW: raw socket
55 * @SOCK_SEQPACKET: sequential packet socket
56 * @SOCK_DCCP: Datagram Congestion Control Protocol socket
60 * When adding some new socket type please
61 * grep ARCH_HAS_SOCKET_TYPE include/asm-* /socket.h, at least MIPS
79 /* Flags for socket, socketpair, accept4 */
108 * struct socket - general BSD socket
117 struct socket { struct
[all...]
/linux-master/drivers/infiniband/sw/rxe/
H A Drxe_net.h15 struct socket *sk4;
16 struct socket *sk6;
/linux-master/include/uapi/linux/caif/
H A Dif_caif.h12 #include <linux/socket.h>
/linux-master/net/can/j1939/
H A DMakefile9 socket.o \
/linux-master/net/sunrpc/
H A Dsocklib.h11 int xprt_sock_sendmsg(struct socket *sock, struct msghdr *msg,

Completed in 222 milliseconds

1234567891011>>