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

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

Completed in 557 milliseconds