Searched refs:mtx_attr (Results 1 – 1 of 1) sorted by relevance
645 pthread_mutexattr_t mtx_attr = NULL; in pci_vtinput_init() local680 if (pthread_mutexattr_init(&mtx_attr)) { in pci_vtinput_init()684 if (pthread_mutexattr_settype(&mtx_attr, PTHREAD_MUTEX_RECURSIVE)) { in pci_vtinput_init()688 if (pthread_mutex_init(&sc->vsc_mtx, &mtx_attr)) { in pci_vtinput_init()758 if (mtx_attr) in pci_vtinput_init()759 pthread_mutexattr_destroy(&mtx_attr); in pci_vtinput_init()