Home
last modified time | relevance | path

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

/arch/arm/mach-pxa/
Dgeneric.c60 void pxa_smemc_set_pcmcia_timing(int sock, u32 mcmem, u32 mcatt, u32 mcio) in pxa_smemc_set_pcmcia_timing() argument
62 __raw_writel(mcmem, MCMEM(sock)); in pxa_smemc_set_pcmcia_timing()
63 __raw_writel(mcatt, MCATT(sock)); in pxa_smemc_set_pcmcia_timing()
64 __raw_writel(mcio, MCIO(sock)); in pxa_smemc_set_pcmcia_timing()
/arch/um/os-Linux/
Dfile.c217 struct sockaddr_un sock; in os_connect_socket() local
220 sock.sun_family = AF_UNIX; in os_connect_socket()
221 snprintf(sock.sun_path, sizeof(sock.sun_path), "%s", name); in os_connect_socket()
229 err = connect(fd, (struct sockaddr *) &sock, sizeof(sock)); in os_connect_socket()
548 int sock, err; in os_create_unix_socket() local
550 sock = socket(PF_UNIX, SOCK_DGRAM, 0); in os_create_unix_socket()
551 if (sock < 0) in os_create_unix_socket()
555 err = os_set_exec_close(sock); in os_create_unix_socket()
565 err = bind(sock, (struct sockaddr *) &addr, sizeof(addr)); in os_create_unix_socket()
569 return sock; in os_create_unix_socket()
/arch/um/drivers/
Dharddog_kern.c67 char *sock = NULL; in harddog_open() local
78 sock = mconsole_notify_socket(); in harddog_open()
80 err = start_watchdog(&harddog_in_fd, &harddog_out_fd, sock); in harddog_open()
Dharddog_user.c31 int start_watchdog(int *in_fd_ret, int *out_fd_ret, char *sock) in start_watchdog() argument
58 if (sock != NULL) { in start_watchdog()
59 mconsole_args[2] = sock; in start_watchdog()
Dharddog.h5 int start_watchdog(int *in_fd_ret, int *out_fd_ret, char *sock);
Dmconsole_kern.c721 long sock; in mconsole_init() local
731 sock = os_create_unix_socket(file, sizeof(file), 1); in mconsole_init()
732 if (sock < 0) { in mconsole_init()
736 if (os_set_fd_block(sock, 0)) in mconsole_init()
741 err = um_request_irq(MCONSOLE_IRQ, sock, IRQ_READ, mconsole_interrupt, in mconsole_init()
742 IRQF_SHARED, "mconsole", (void *)sock); in mconsole_init()
763 os_close_file(sock); in mconsole_init()
Ddaemon_user.c30 struct sockaddr_un sock; member
97 req.sock = *local_addr; in connect_to_switch()
Dvector_user.c165 struct sockaddr_ll sock; in create_raw_fd() local
180 sock.sll_family = AF_PACKET; in create_raw_fd()
181 sock.sll_protocol = htons(proto); in create_raw_fd()
182 sock.sll_ifindex = ifr.ifr_ifindex; in create_raw_fd()
185 (struct sockaddr *) &sock, sizeof(struct sockaddr_ll)) < 0) { in create_raw_fd()
Dvirtio_uml.c56 int sock, req_fd, irq; member
180 int rc = vhost_user_recv(vu_dev, vu_dev->sock, msg, in vhost_user_recv_resp()
251 rc = full_sendmsg_fds(vu_dev->sock, msg, size, fds, num_fds); in vhost_user_send()
1121 os_close_file(vu_dev->sock); in virtio_uml_release_dev()
1219 vu_dev->sock = rc; in virtio_uml_probe()
1238 os_close_file(vu_dev->sock); in virtio_uml_probe()