Lines Matching refs:vs_lock
554 #define VS_LOCK_INIT(vs) hw_lock_init(&(vs)->vs_lock)
556 #define VS_LOCK(vs) hw_lock_lock(&(vs)->vs_lock)
557 #define VS_UNLOCK(vs) hw_lock_unlock(&(vs)->vs_lock)
565 #define VS_LOCK_INIT(vs) mutex_init(&(vs)->vs_lock, 0)
566 #define VS_TRY_LOCK(vs) mutex_try(&(vs)->vs_lock)
567 #define VS_LOCK(vs) mutex_lock(&(vs)->vs_lock)
568 #define VS_UNLOCK(vs) mutex_unlock(&(vs)->vs_lock)
588 VS_LOCK_TYPE vs_lock; /* data for the lock */
640 __private_extern__ void vs_lock(vstruct_t);
650 #define vs_lock(vs)