sync_lock
static arch_spinlock_t sync_lock = __ARCH_SPIN_LOCK_UNLOCKED;
arch_spin_lock(&sync_lock);
arch_spin_unlock(&sync_lock);
arch_spin_lock(&sync_lock);
arch_spin_unlock(&sync_lock);
static arch_spinlock_t sync_lock = __ARCH_SPIN_LOCK_UNLOCKED;
arch_spin_lock(&sync_lock);
arch_spin_unlock(&sync_lock);
arch_spin_lock(&sync_lock);
arch_spin_unlock(&sync_lock);
int *acq_lock, int *sync_lock)
*sync_lock = 0;
*sync_lock = (val & 0x20) ? 0 : 1;
int *acq_lock, int *sync_lock)
*sync_lock = 0;
*sync_lock = (val & 0x80) ? 0 : 1;
int *acq_lock, int *sync_lock)
ret = lg2160_read_lock_status(state, acq_lock, sync_lock);
ret = lg2161_read_lock_status(state, acq_lock, sync_lock);
return lg2160_read_lock_status(state, acq_lock, sync_lock);
int ret, acq_lock, sync_lock;
ret = lg216x_read_lock_status(state, &acq_lock, &sync_lock);
sync_lock ? "SYNCLOCK" : "");
if (sync_lock)
cr_lock, fec_lock, sync_lock;
sync_lock = (val & (1 << 2)) ? 1 : 0;
sync_lock ? "SYNCLOCK " : "",
if (sync_lock)
int *sync_lock)
*sync_lock = (val & SYNC_LOCK_MASK) >> 4;
int ret, locked, cr_lock, sync_lock, fec_lock;
ret = mxl1x1sf_demod_get_sync_lock_status(state, &sync_lock);
if (sync_lock)
if ((locked) && (cr_lock) && (sync_lock))
mutex_lock(&flow_meters->sync_lock);
mutex_unlock(&flow_meters->sync_lock);
mutex_lock(&flow_meters->sync_lock);
mutex_unlock(&flow_meters->sync_lock);
struct mutex sync_lock; /* protect flow meter operations */
mutex_lock(&flow_meters->sync_lock);
mutex_unlock(&flow_meters->sync_lock);
mutex_lock(&flow_meters->sync_lock);
mutex_unlock(&flow_meters->sync_lock);
mutex_unlock(&flow_meters->sync_lock);
mutex_init(&flow_meters->sync_lock);
mutex_unlock(&geneve->sync_lock);
mutex_lock(&geneve->sync_lock);
struct mutex sync_lock; /* protect GENEVE obj operations */
mutex_unlock(&geneve->sync_lock);
mutex_init(&geneve->sync_lock);
mutex_lock(&geneve->sync_lock);
mutex_lock(&vxlan->sync_lock);
mutex_unlock(&vxlan->sync_lock);
mutex_lock(&vxlan->sync_lock);
mutex_unlock(&vxlan->sync_lock);
mutex_init(&vxlan->sync_lock);
struct mutex sync_lock; /* sync add/del port HW operations */
spinlock_t sync_lock;
spin_lock_init(&dev->sync_lock);
spin_lock_irqsave(&dev->sync_lock, sflags);
spin_unlock_irqrestore(&dev->sync_lock, sflags);
spin_unlock_irqrestore(&dev->sync_lock, sflags);
spin_unlock_irqrestore(&dev->sync_lock, sflags);
spin_lock_irqsave(&dev->sync_lock, sflags);
return sync_lock(sdp, mode, flags, GFS2_MOUNTED_LOCK,
return sync_lock(sdp, mode, flags, GFS2_CONTROL_LOCK,
return sync_lock(conn, mode, flags,
spinlock_t sync_lock;
spin_lock_bh(&ipvs->sync_lock);
spin_unlock_bh(&ipvs->sync_lock);
spin_lock(&ipvs->sync_lock);
spin_unlock(&ipvs->sync_lock);
spin_lock_init(&ipvs->sync_lock);
spin_lock_bh(&ipvs->sync_lock);
spin_unlock_bh(&ipvs->sync_lock);
spin_lock(&ipvs->sync_lock);
spin_unlock(&ipvs->sync_lock);
guard(spinlock_irqsave)(&q->sync_lock);
spin_lock_init(&q->sync_lock);
spinlock_t sync_lock;
static pthread_mutex_t sync_lock = PTHREAD_MUTEX_INITIALIZER;
pthread_mutex_lock(&sync_lock);
pthread_cond_wait(&sync_cond, &sync_lock);
pthread_mutex_unlock(&sync_lock);
pthread_mutex_t sync_lock;
pthread_mutex_lock(&mod_info->sync_lock);
pthread_cond_wait(&mod_info->sync_cond, &mod_info->sync_lock);
pthread_mutex_unlock(&mod_info->sync_lock);
pthread_mutex_lock(&mod_info->sync_lock);
pthread_mutex_unlock(&mod_info->sync_lock);
ASSERT_EQ(pthread_mutex_init(&mod_info->sync_lock, &mutex_attr), 0);