Searched refs:dd_lock (Results 1 – 4 of 4) sorted by relevance
72 mutex_lock((mutex_t *)dirp->dd_lock); in __weak_alias()81 mutex_unlock((mutex_t *)dirp->dd_lock); in __weak_alias()82 mutex_destroy((mutex_t *)dirp->dd_lock); in __weak_alias()83 free(dirp->dd_lock); in __weak_alias()
94 mutex_lock((mutex_t *)dirp->dd_lock); in readdir()96 mutex_unlock((mutex_t *)dirp->dd_lock); in readdir()114 mutex_lock((mutex_t *)dirp->dd_lock); in readdir_r()117 mutex_unlock((mutex_t *)dirp->dd_lock); in readdir_r()
119 if ((dirp->dd_lock = malloc(sizeof(mutex_t))) == NULL) in __opendir2()121 mutex_init((mutex_t *)dirp->dd_lock, NULL); in __opendir2()
69 void *dd_lock; /* lock for concurrent access */ member