Lines Matching refs:cookie
56 void (*func)(int fd, void *cookie);
58 void *cookie;
64 sti->func(sti->fd, sti->cookie);
70 void restart_root_service(int fd, void *cookie) {
89 void restart_unroot_service(int fd, void *cookie) {
100 void restart_tcp_service(int fd, void *cookie) {
101 int port = (int) (uintptr_t) cookie;
115 void restart_usb_service(int fd, void *cookie) {
249 static int create_service_thread(void (*func)(int, void *), void *cookie)
263 sti->cookie = cookie;