Searched refs:sock (Results 1 – 5 of 5) sorted by relevance
/arch/um/drivers/ |
D | harddog_kern.c | 62 extern int start_watchdog(int *in_fd_ret, int *out_fd_ret, char *sock); 67 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()
|
D | harddog_user.c | 31 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()
|
D | mconsole_kern.c | 789 long sock; in mconsole_init() local 797 sock = os_create_unix_socket(file, sizeof(file), 1); in mconsole_init() 798 if (sock < 0) { in mconsole_init() 802 if (os_set_fd_block(sock, 0)) in mconsole_init() 807 err = um_request_irq(MCONSOLE_IRQ, sock, IRQ_READ, mconsole_interrupt, in mconsole_init() 809 "mconsole", (void *)sock); in mconsole_init() 830 os_close_file(sock); in mconsole_init()
|
D | daemon_user.c | 30 struct sockaddr_un sock; member 97 req.sock = *local_addr; in connect_to_switch()
|
/arch/um/os-Linux/ |
D | file.c | 212 struct sockaddr_un sock; in os_connect_socket() local 215 sock.sun_family = AF_UNIX; in os_connect_socket() 216 snprintf(sock.sun_path, sizeof(sock.sun_path), "%s", name); in os_connect_socket() 224 err = connect(fd, (struct sockaddr *) &sock, sizeof(sock)); in os_connect_socket() 509 int sock, err; in os_create_unix_socket() local 511 sock = socket(PF_UNIX, SOCK_DGRAM, 0); in os_create_unix_socket() 512 if (sock < 0) in os_create_unix_socket() 516 err = os_set_exec_close(sock); in os_create_unix_socket() 526 err = bind(sock, (struct sockaddr *) &addr, sizeof(addr)); in os_create_unix_socket() 530 return sock; in os_create_unix_socket()
|