Searched refs:eph_conn (Results 1 – 1 of 1) sorted by relevance
/external/ltp/testcases/kernel/syscalls/epoll2/examples/ |
D | epoll-test.c | 76 struct eph_conn { struct 121 struct eph_conn *conn = malloc(sizeof(struct eph_conn)); in eph_new_conn() 158 static void eph_exit_conn(struct eph_conn *conn) in eph_exit_conn() 180 struct eph_conn *conn; in eph_free_conns() 183 conn = DBL_LIST_ENTRY(close_list.pNext, struct eph_conn, lnk); in eph_free_conns() 190 static int eph_mod_conn(struct eph_conn *conn, unsigned int events) in eph_mod_conn() 203 int eph_connect(struct eph_conn *conn, const struct sockaddr *serv_addr, in eph_connect() 222 int eph_read(struct eph_conn *conn, char *buf, int nbyte) in eph_read() 241 int eph_write(struct eph_conn *conn, char const *buf, int nbyte) in eph_write() 260 int eph_accept(struct eph_conn *conn, struct sockaddr *addr, int *addrlen) in eph_accept() [all …]
|