Lines Matching refs:arg
106 static void thread_libevent_process(evutil_socket_t fd, short which, void *arg);
107 static void thread_libevent_ionotify(evutil_socket_t fd, short which, void *arg);
375 static void create_worker(void *(*func)(void *), void *arg) { in create_worker() argument
381 if ((ret = pthread_create(&((LIBEVENT_THREAD*)arg)->thread_id, &attr, func, arg)) != 0) { in create_worker()
387 thread_setname(((LIBEVENT_THREAD*)arg)->thread_id, "mc-worker"); in create_worker()
507 static void *worker_libevent(void *arg) { in worker_libevent() argument
508 LIBEVENT_THREAD *me = arg; in worker_libevent()
546 static void thread_libevent_ionotify(evutil_socket_t fd, short which, void *arg) { in thread_libevent_ionotify() argument
547 LIBEVENT_THREAD *me = arg; in thread_libevent_ionotify()
587 static void thread_libevent_process(evutil_socket_t fd, short which, void *arg) { in thread_libevent_process() argument
588 LIBEVENT_THREAD *me = arg; in thread_libevent_process()
1082 void memcached_thread_init(int nthreads, void *arg) { in memcached_thread_init() argument
1139 threads[i].storage = arg; in memcached_thread_init()