Searched refs:conn (Results 1 – 6 of 6) sorted by relevance
/arch/um/drivers/ |
D | port_kern.c | 47 struct connection *conn = data; in pipe_interrupt() local 50 fd = os_rcv_fd(conn->socket[0], &conn->helper_pid); in pipe_interrupt() 57 os_close_file(conn->fd); in pipe_interrupt() 60 list_del(&conn->list); in pipe_interrupt() 62 conn->fd = fd; in pipe_interrupt() 63 list_add(&conn->list, &conn->port->connections); in pipe_interrupt() 65 complete(&conn->port->done); in pipe_interrupt() 78 struct connection *conn; in port_accept() local 89 conn = kmalloc(sizeof(*conn), GFP_ATOMIC); in port_accept() 90 if (conn == NULL) { in port_accept() [all …]
|
D | vde_user.c | 16 VDECONN *conn = NULL; in vde_user_init() local 21 conn = vde_open(pri->vde_switch, pri->descr, pri->args); in vde_user_init() 23 if (conn == NULL) { in vde_user_init() 32 pri->conn = conn; in vde_user_init() 41 if (pri->conn != NULL) in vde_user_open() 42 return vde_datafd(pri->conn); in vde_user_open() 52 if (pri->conn != NULL) { in vde_remove() 54 vde_close(pri->conn); in vde_remove() 55 pri->conn = NULL; in vde_remove() 96 int vde_user_read(void *conn, void *buf, int len) in vde_user_read() argument [all …]
|
D | vde.h | 13 void *conn; member 29 extern int vde_user_read(void *conn, void *buf, int len); 30 extern int vde_user_write(void *conn, void *buf, int len);
|
D | vde_kern.c | 28 vpri->conn = NULL; in vde_init() 43 if (pri->conn != NULL) in vde_read() 44 return vde_user_read(pri->conn, skb_mac_header(skb), in vde_read() 55 if (pri->conn != NULL) in vde_write() 56 return vde_user_write((void *)pri->conn, skb->data, in vde_write()
|
D | net_kern.c | 291 struct connection *conn = (struct connection *)_conn; in uml_net_user_timer_expire() local 293 dprintk(KERN_INFO "uml_net_user_timer_expire [%p]\n", conn); in uml_net_user_timer_expire() 294 do_connect(conn); in uml_net_user_timer_expire()
|
/arch/powerpc/platforms/powermac/ |
D | feature.c | 2743 const char *conn; in initial_serial_shutdown() local 2748 conn = of_get_property(np, "AAPL,connector", &len); in initial_serial_shutdown() 2749 if (conn && (strcmp(conn, "infrared") == 0)) in initial_serial_shutdown()
|