Lines Matching refs:type

30 thread_create_at_qos(qos_class_t qos, void * (*function)(void *), int type)  in thread_create_at_qos()  argument
44 pthread_create(&thread, &attr, function, (void *)type); in thread_create_at_qos()
80 turnstile_prim_lock(int type) in turnstile_prim_lock() argument
84 int in_val = type; in turnstile_prim_lock()
86 T_LOG("sysctlbyname lock type %d called from thread %llu \n", type, tid); in turnstile_prim_lock()
92 turnstile_prim_unlock(int type) in turnstile_prim_unlock() argument
96 int in_val = type; in turnstile_prim_unlock()
98 T_LOG("sysctlbyname unlock type %d called from thread %llu \n", type, tid); in turnstile_prim_unlock()
180 int type = (int)arg; in take_lock_check_priority() local
187 turnstile_prim_lock(type); in take_lock_check_priority()
199 turnstile_prim_unlock(type); in take_lock_check_priority()
212 int type = (int)arg; in try_to_take_lock_and_unlock() local
221 turnstile_prim_lock(type); in try_to_take_lock_and_unlock()
223 turnstile_prim_unlock(type); in try_to_take_lock_and_unlock()
234 int type = (int)arg; in take_lock_and_exit() local
241 turnstile_prim_lock(type); in take_lock_and_exit()
260 int type = (int)arg; in unlock_an_owner_exited_lock() local
269 turnstile_prim_unlock(type); in unlock_an_owner_exited_lock()
277 test1(int type) in test1() argument
282 thread_create_at_qos(QOS_CLASS_USER_INITIATED, &take_lock_check_priority, type); in test1()
285 thread_create_at_qos(QOS_CLASS_USER_INTERACTIVE, &try_to_take_lock_and_unlock, type); in test1()
295 test2(int type) in test2() argument
300 thread_create_at_qos(QOS_CLASS_USER_INITIATED, &take_lock_check_priority, type); in test2()
303 thread_create_at_qos(QOS_CLASS_USER_INTERACTIVE, &try_to_take_lock_and_unlock, type); in test2()
306 thread_create_at_qos(QOS_CLASS_USER_INTERACTIVE, &try_to_take_lock_and_unlock, type); in test2()
316 test3(int type) in test3() argument
321 thread_create_at_qos(QOS_CLASS_USER_INITIATED, &take_lock_and_exit, type); in test3()
324 thread_create_at_qos(QOS_CLASS_USER_INTERACTIVE, &try_to_take_lock_and_unlock, type); in test3()
327 thread_create_at_qos(QOS_CLASS_USER_INTERACTIVE, &unlock_an_owner_exited_lock, type); in test3()