Home
last modified time | relevance | path

Searched refs:socket (Results 1 – 25 of 36) sorted by relevance

12

/arch/um/drivers/
Dport_kern.c40 int socket[2]; member
50 fd = os_rcv_fd(conn->socket[0], &conn->helper_pid); in pipe_interrupt()
79 int fd, socket[2], pid; in port_accept() local
81 fd = port_connection(port->fd, socket, &pid); in port_accept()
98 .socket = { socket[0], socket[1] }, in port_accept()
102 if (um_request_irq(TELNETD_IRQ, socket[0], IRQ_READ, pipe_interrupt, in port_accept()
243 os_shutdown_socket(conn->socket[0], 1, 1); in port_wait()
244 os_close_file(conn->socket[0]); in port_wait()
245 os_shutdown_socket(conn->socket[1], 1, 1); in port_wait()
246 os_close_file(conn->socket[1]); in port_wait()
Dport_user.c116 fd = socket(PF_INET, SOCK_STREAM, 0); in port_listen_fd()
167 int port_connection(int fd, int *socket, int *pid_out) in port_connection() argument
178 err = os_pipe(socket, 0, 0); in port_connection()
184 .pipe_fd = socket[1] }); in port_connection()
194 shutdown(socket[0], SHUT_RDWR); in port_connection()
195 close(socket[0]); in port_connection()
196 shutdown(socket[1], SHUT_RDWR); in port_connection()
197 close(socket[1]); in port_connection()
Dxterm_kern.c35 int xterm_fd(int socket, int *pid_out) in xterm_fd() argument
47 *data = ((struct xterm_wait) { .fd = socket, in xterm_fd()
52 err = um_request_irq(XTERM_IRQ, socket, IRQ_READ, xterm_interrupt, in xterm_fd()
Dxterm.h9 extern int xterm_fd(int socket, int *pid_out);
Ddaemon_user.c56 pri->control = socket(AF_UNIX, SOCK_STREAM, 0); in connect_to_switch()
72 fd = socket(AF_UNIX, SOCK_DGRAM, 0); in connect_to_switch()
Dumcast_user.c78 fd = socket(AF_INET, SOCK_DGRAM, 0); in umcast_open()
Dmconsole_user.c187 notify_sock = socket(PF_UNIX, SOCK_DGRAM, 0); in mconsole_notify()
Dvector_user.c167 fd = socket(AF_PACKET, SOCK_RAW, flags); in create_raw_fd()
349 fd = socket(AF_UNIX, socktype, 0); in user_init_unix_fds()
585 fd = socket(gairesult->ai_family, in user_init_socket_fds()
/arch/um/kernel/
Dtime.c442 static int time_travel_connect_external(const char *socket) in time_travel_connect_external() argument
448 if ((sep = strchr(socket, ':'))) { in time_travel_connect_external()
450 if (sep - socket > sizeof(buf) - 1) in time_travel_connect_external()
453 memcpy(buf, socket, sep - socket); in time_travel_connect_external()
457 socket); in time_travel_connect_external()
461 socket = sep + 1; in time_travel_connect_external()
464 rc = os_connect_socket(socket); in time_travel_connect_external()
467 socket); in time_travel_connect_external()
/arch/powerpc/platforms/powermac/
DKconfig30 of powermacs that have a socket for an upgradeable cpu card,
32 both dual and quad socket upgrade cards.
/arch/s390/kernel/
Dtopology.c116 struct mask_info *socket) in add_cpus_to_mask() argument
133 topo->socket_id = socket->id; in add_cpus_to_mask()
139 cpumask_set_cpu(lcpu + i, &socket->mask); in add_cpus_to_mask()
175 struct mask_info *socket = &socket_info; in tl_to_masks() local
194 socket = socket->next; in tl_to_masks()
195 socket->id = tle->container.id; in tl_to_masks()
198 add_cpus_to_mask(&tle->cpu, drawer, book, socket); in tl_to_masks()
/arch/x86/include/asm/uv/
Duv_hub.h512 static inline int _uv_socket_to_node(int socket, unsigned short *s2nid) in _uv_socket_to_node() argument
514 return s2nid ? s2nid[socket - uv_hub_info->min_socket] : socket; in _uv_socket_to_node()
517 static inline int uv_socket_to_node(int socket) in uv_socket_to_node() argument
519 return _uv_socket_to_node(socket, uv_hub_info->socket_to_node); in uv_socket_to_node()
/arch/arm/mach-sa1100/
Dgeneric.h52 void sa11x0_register_pcmcia(int socket, struct gpiod_lookup_table *);
Dgeneric.c235 void sa11x0_register_pcmcia(int socket, struct gpiod_lookup_table *table) in sa11x0_register_pcmcia() argument
239 platform_device_register_simple("sa11x0-pcmcia", socket, NULL, 0); in sa11x0_register_pcmcia()
/arch/mips/boot/dts/mti/
Dsead3.dts217 /* UART connected to FTDI & miniUSB socket */
232 /* UART connected to RS232 socket */
/arch/um/os-Linux/
Dfile.c223 fd = socket(AF_UNIX, SOCK_STREAM, 0); in os_connect_socket()
550 sock = socket(PF_UNIX, SOCK_DGRAM, 0); in os_create_unix_socket()
/arch/arm/boot/dts/
Ddove-sbc-a510.dts170 * SDIO0 is connected to a MMC/SD/SDIO socket, I2C GPIO expander has
/arch/mips/kernel/syscalls/
Dsyscall_n64.tbl50 40 n64 socket sys_socket
Dsyscall_n32.tbl50 40 n32 socket sys_socket
/arch/sh/boards/
DKconfig360 Compact Flash socket, two serial ports and PC-104 bus.
/arch/ia64/kernel/syscalls/
Dsyscall.tbl178 166 common socket sys_socket
/arch/xtensa/kernel/syscalls/
Dsyscall.tbl109 96 common socket sys_socket
/arch/x86/entry/syscalls/
Dsyscall_64.tbl52 41 common socket sys_socket
/arch/parisc/kernel/syscalls/
Dsyscall.tbl28 17 common socket sys_socket
/arch/sh/kernel/syscalls/
Dsyscall.tbl350 340 common socket sys_socket

12