Searched refs:ben (Results 1 – 1 of 1) sorted by relevance
14 static status_t benaphore_create( const char *name, benaphore_t *ben );15 static status_t benaphore_destroy( benaphore_t *ben );16 static status_t benaphore_lock( benaphore_t *ben );17 static status_t benaphore_timedlock( benaphore_t *ben, bigtime_t micros );18 static status_t benaphore_unlock( benaphore_t *ben );20 static status_t benaphore_create( const char *name, benaphore_t *ben ) in benaphore_create() argument22 if( ben != NULL ) { in benaphore_create()23 ben->_atom = 0; in benaphore_create()24 ben->_sem = create_sem( 0, name ); in benaphore_create()26 if( ben->_sem < B_NO_ERROR ) { in benaphore_create()[all …]