Home
last modified time | relevance | path

Searched refs:p_mtx (Results 1 – 4 of 4) sorted by relevance

/third_party/ltp/testcases/open_posix_testsuite/conformance/interfaces/pthread_mutex_init/
D3-2.c94 static pthread_mutex_t *p_mtx; variable
104 pthread_mutex_unlock(p_mtx); in cleanup_deadlk()
112 if ((ret = pthread_mutex_lock(p_mtx))) { in deadlk_issue()
130 retval = pthread_mutex_lock(p_mtx); in deadlk_issue()
147 if ((ret = pthread_mutex_lock(p_mtx))) { in unlock_issue()
163 if ((ret = pthread_mutex_unlock(p_mtx))) { in unlock_issue()
222 p_mtx = tab_mutex[i]; in main()
242 retval = pthread_mutex_unlock(p_mtx); in main()
273 p_mtx = tab_mutex[i]; in main()
D1-2.c88 static pthread_mutex_t *p_mtx; variable
98 pthread_mutex_unlock(p_mtx); in cleanup_deadlk()
106 if ((ret = pthread_mutex_lock(p_mtx))) { in deadlk_issue()
124 retval = pthread_mutex_lock(p_mtx); in deadlk_issue()
141 if ((ret = pthread_mutex_lock(p_mtx))) { in unlock_issue()
157 if ((ret = pthread_mutex_unlock(p_mtx))) { in unlock_issue()
229 p_mtx = tab_mutex[i]; in main()
249 retval = pthread_mutex_unlock(p_mtx); in main()
280 p_mtx = tab_mutex[i]; in main()
/third_party/FreeBSD/sys/dev/usb/
Dusb_process.h74 int usb_proc_create(struct usb_process *up, struct mtx *p_mtx,
Dusb_process.c206 usb_proc_create(struct usb_process *up, struct mtx *p_mtx, in usb_proc_create() argument
211 up->up_mtx = p_mtx; in usb_proc_create()