Lines Matching refs:mutexp
103 LDAP_MUTEX_T *mutexp; in pthread_mutex_alloc() local
105 if ( (mutexp = malloc( sizeof(LDAP_MUTEX_T) )) != NULL ) { in pthread_mutex_alloc()
106 pthread_mutex_init( mutexp, NULL ); in pthread_mutex_alloc()
108 return( mutexp ); in pthread_mutex_alloc()
121 pthread_mutex_free( void *mutexp ) in pthread_mutex_free() argument
123 pthread_mutex_destroy( (LDAP_MUTEX_T *) mutexp ); in pthread_mutex_free()
124 free( mutexp ); in pthread_mutex_free()
193 pthread_mutex_t *mutexp; in pthread_mutex_alloc() local
195 if ( (mutexp = malloc( sizeof(pthread_mutex_t) )) != NULL ) { in pthread_mutex_alloc()
196 pthread_mutex_init( mutexp, NULL ); in pthread_mutex_alloc()
198 return( mutexp ); in pthread_mutex_alloc()
202 pthread_mutex_free( void *mutexp ) in pthread_mutex_free() argument
204 pthread_mutex_destroy( (pthread_mutex_t *) mutexp ); in pthread_mutex_free()
205 free( mutexp ); in pthread_mutex_free()