Home
last modified time | relevance | path

Searched refs:sync_lock (Results 1 – 15 of 15) sorted by relevance

/linux-4.1.27/arch/x86/kernel/
Dtsc_sync.c35 static arch_spinlock_t sync_lock = __ARCH_SPIN_LOCK_UNLOCKED; variable
64 arch_spin_lock(&sync_lock); in check_tsc_warp()
70 arch_spin_unlock(&sync_lock); in check_tsc_warp()
89 arch_spin_lock(&sync_lock); in check_tsc_warp()
92 arch_spin_unlock(&sync_lock); in check_tsc_warp()
/linux-4.1.27/sound/core/seq/oss/
Dseq_oss_writeq.c46 spin_lock_init(&q->sync_lock); in snd_seq_oss_writeq_new()
138 spin_lock_irqsave(&q->sync_lock, flags); in snd_seq_oss_writeq_wakeup()
144 spin_unlock_irqrestore(&q->sync_lock, flags); in snd_seq_oss_writeq_wakeup()
Dseq_oss_writeq.h34 spinlock_t sync_lock; member
/linux-4.1.27/drivers/media/dvb-frontends/
Dlg2160.c1140 int *acq_lock, int *sync_lock) in lg2160_read_lock_status() argument
1146 *sync_lock = 0; in lg2160_read_lock_status()
1152 *sync_lock = (val & 0x20) ? 0 : 1; in lg2160_read_lock_status()
1160 int *acq_lock, int *sync_lock) in lg2161_read_lock_status() argument
1166 *sync_lock = 0; in lg2161_read_lock_status()
1172 *sync_lock = (val & 0x80) ? 0 : 1; in lg2161_read_lock_status()
1185 int *acq_lock, int *sync_lock) in lg216x_read_lock_status() argument
1191 ret = lg2160_read_lock_status(state, acq_lock, sync_lock); in lg216x_read_lock_status()
1194 ret = lg2161_read_lock_status(state, acq_lock, sync_lock); in lg216x_read_lock_status()
1202 return lg2160_read_lock_status(state, acq_lock, sync_lock); in lg216x_read_lock_status()
[all …]
Dlgdt3305.c920 cr_lock, fec_lock, sync_lock; in lgdt3305_read_status() local
930 sync_lock = (val & (1 << 2)) ? 1 : 0; in lgdt3305_read_status()
937 sync_lock ? "SYNCLOCK " : "", in lgdt3305_read_status()
951 if (sync_lock) in lgdt3305_read_status()
/linux-4.1.27/drivers/media/usb/dvb-usb-v2/
Dmxl111sf-demod.c215 int *sync_lock) in mxl1x1sf_demod_get_sync_lock_status() argument
221 *sync_lock = (val & SYNC_LOCK_MASK) >> 4; in mxl1x1sf_demod_get_sync_lock_status()
447 int ret, locked, cr_lock, sync_lock, fec_lock; in mxl111sf_demod_read_status() local
457 ret = mxl1x1sf_demod_get_sync_lock_status(state, &sync_lock); in mxl111sf_demod_read_status()
468 if (sync_lock) in mxl111sf_demod_read_status()
473 if ((locked) && (cr_lock) && (sync_lock)) in mxl111sf_demod_read_status()
/linux-4.1.27/drivers/gpu/drm/omapdrm/
Domap_gem.c222 static DEFINE_SPINLOCK(sync_lock);
1081 spin_lock(&sync_lock); in sync_op()
1105 spin_unlock(&sync_lock); in sync_op()
1119 spin_lock(&sync_lock); in omap_gem_op_update()
1121 spin_unlock(&sync_lock); in omap_gem_op_update()
1163 spin_lock(&sync_lock); in omap_gem_op_sync()
1167 spin_unlock(&sync_lock); in omap_gem_op_sync()
1170 spin_lock(&sync_lock); in omap_gem_op_sync()
1181 spin_unlock(&sync_lock); in omap_gem_op_sync()
1214 spin_lock(&sync_lock); in omap_gem_op_async()
[all …]
/linux-4.1.27/net/netfilter/ipvs/
Dip_vs_sync.c302 spin_lock_bh(&ipvs->sync_lock); in sb_dequeue()
314 spin_unlock_bh(&ipvs->sync_lock); in sb_dequeue()
359 spin_lock(&ipvs->sync_lock); in sb_queue_tail()
371 spin_unlock(&ipvs->sync_lock); in sb_queue_tail()
1624 spin_lock_bh(&ipvs->sync_lock); in master_wakeup_work_handler()
1630 spin_unlock_bh(&ipvs->sync_lock); in master_wakeup_work_handler()
1903 spin_lock(&ipvs->sync_lock); in stop_sync_thread()
1905 spin_unlock(&ipvs->sync_lock); in stop_sync_thread()
1956 spin_lock_init(&ipvs->sync_lock); in ip_vs_sync_net_init()
/linux-4.1.27/fs/gfs2/
Dlock_dlm.c520 static int sync_lock(struct gfs2_sbd *sdp, int mode, uint32_t flags, in sync_lock() function
560 return sync_lock(sdp, mode, flags, GFS2_MOUNTED_LOCK, in mounted_lock()
573 return sync_lock(sdp, mode, flags, GFS2_CONTROL_LOCK, in control_lock()
/linux-4.1.27/fs/ocfs2/
Dstack_user.c859 static int sync_lock(struct ocfs2_cluster_connection *conn, in sync_lock() function
892 return sync_lock(conn, mode, flags, in version_lock()
/linux-4.1.27/drivers/scsi/aacraid/
Dsrc.c112 spin_lock_irqsave(&dev->sync_lock, sflags); in aac_src_intr_message()
123 spin_unlock_irqrestore(&dev->sync_lock, sflags); in aac_src_intr_message()
Dcommsup.c544 spin_lock_irqsave(&dev->sync_lock, sflags); in aac_fib_send()
547 spin_unlock_irqrestore(&dev->sync_lock, sflags); in aac_fib_send()
550 spin_unlock_irqrestore(&dev->sync_lock, sflags); in aac_fib_send()
Dcomminit.c367 spin_lock_init(&dev->sync_lock); in aac_init_adapter()
Daacraid.h1218 spinlock_t sync_lock; member
/linux-4.1.27/include/net/
Dip_vs.h959 spinlock_t sync_lock; member