Home
last modified time | relevance | path

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

/Linux-v4.19/drivers/net/ethernet/mellanox/mlx5/core/lib/
Dvxlan.c45 struct mutex sync_lock; /* sync add/del port HW operations */ member
119 mutex_lock(&vxlan->sync_lock); in mlx5_vxlan_add_port()
146 mutex_unlock(&vxlan->sync_lock); in mlx5_vxlan_add_port()
153 mutex_unlock(&vxlan->sync_lock); in mlx5_vxlan_add_port()
163 mutex_lock(&vxlan->sync_lock); in mlx5_vxlan_del_port()
186 mutex_unlock(&vxlan->sync_lock); in mlx5_vxlan_del_port()
203 mutex_init(&vxlan->sync_lock); in mlx5_vxlan_create()
/Linux-v4.19/arch/x86/kernel/
Dtsc_sync.c215 static arch_spinlock_t sync_lock = __ARCH_SPIN_LOCK_UNLOCKED; variable
244 arch_spin_lock(&sync_lock); in check_tsc_warp()
248 arch_spin_unlock(&sync_lock); in check_tsc_warp()
267 arch_spin_lock(&sync_lock); in check_tsc_warp()
278 arch_spin_unlock(&sync_lock); in check_tsc_warp()
/Linux-v4.19/sound/core/seq/oss/
Dseq_oss_writeq.c47 spin_lock_init(&q->sync_lock); in snd_seq_oss_writeq_new()
139 spin_lock_irqsave(&q->sync_lock, flags); in snd_seq_oss_writeq_wakeup()
143 spin_unlock_irqrestore(&q->sync_lock, flags); in snd_seq_oss_writeq_wakeup()
Dseq_oss_writeq.h34 spinlock_t sync_lock; member
/Linux-v4.19/drivers/media/dvb-frontends/
Dlg2160.c1130 int *acq_lock, int *sync_lock) in lg2160_read_lock_status() argument
1136 *sync_lock = 0; in lg2160_read_lock_status()
1142 *sync_lock = (val & 0x20) ? 0 : 1; in lg2160_read_lock_status()
1150 int *acq_lock, int *sync_lock) in lg2161_read_lock_status() argument
1156 *sync_lock = 0; in lg2161_read_lock_status()
1162 *sync_lock = (val & 0x80) ? 0 : 1; in lg2161_read_lock_status()
1175 int *acq_lock, int *sync_lock) in lg216x_read_lock_status() argument
1181 ret = lg2160_read_lock_status(state, acq_lock, sync_lock); in lg216x_read_lock_status()
1184 ret = lg2161_read_lock_status(state, acq_lock, sync_lock); in lg216x_read_lock_status()
1192 return lg2160_read_lock_status(state, acq_lock, sync_lock); in lg216x_read_lock_status()
[all …]
Dlgdt3305.c916 cr_lock, fec_lock, sync_lock; in lgdt3305_read_status() local
926 sync_lock = (val & (1 << 2)) ? 1 : 0; in lgdt3305_read_status()
933 sync_lock ? "SYNCLOCK " : "", in lgdt3305_read_status()
947 if (sync_lock) in lgdt3305_read_status()
/Linux-v4.19/drivers/media/usb/dvb-usb-v2/
Dmxl111sf-demod.c211 int *sync_lock) in mxl1x1sf_demod_get_sync_lock_status() argument
217 *sync_lock = (val & SYNC_LOCK_MASK) >> 4; in mxl1x1sf_demod_get_sync_lock_status()
443 int ret, locked, cr_lock, sync_lock, fec_lock; in mxl111sf_demod_read_status() local
453 ret = mxl1x1sf_demod_get_sync_lock_status(state, &sync_lock); in mxl111sf_demod_read_status()
464 if (sync_lock) in mxl111sf_demod_read_status()
469 if ((locked) && (cr_lock) && (sync_lock)) in mxl111sf_demod_read_status()
/Linux-v4.19/net/netfilter/ipvs/
Dip_vs_sync.c310 spin_lock_bh(&ipvs->sync_lock); in sb_dequeue()
322 spin_unlock_bh(&ipvs->sync_lock); in sb_dequeue()
369 spin_lock(&ipvs->sync_lock); in sb_queue_tail()
381 spin_unlock(&ipvs->sync_lock); in sb_queue_tail()
1636 spin_lock_bh(&ipvs->sync_lock); in master_wakeup_work_handler()
1642 spin_unlock_bh(&ipvs->sync_lock); in master_wakeup_work_handler()
1964 spin_lock(&ipvs->sync_lock); in stop_sync_thread()
1966 spin_unlock(&ipvs->sync_lock); in stop_sync_thread()
2015 spin_lock_init(&ipvs->sync_lock); in ip_vs_sync_net_init()
/Linux-v4.19/fs/gfs2/
Dlock_dlm.c519 static int sync_lock(struct gfs2_sbd *sdp, int mode, uint32_t flags, in sync_lock() function
559 return sync_lock(sdp, mode, flags, GFS2_MOUNTED_LOCK, in mounted_lock()
572 return sync_lock(sdp, mode, flags, GFS2_CONTROL_LOCK, in control_lock()
/Linux-v4.19/fs/ocfs2/
Dstack_user.c852 static int sync_lock(struct ocfs2_cluster_connection *conn, in sync_lock() function
885 return sync_lock(conn, mode, flags, in version_lock()
/Linux-v4.19/drivers/scsi/aacraid/
Dsrc.c113 spin_lock_irqsave(&dev->sync_lock, sflags); in aac_src_intr_message()
124 spin_unlock_irqrestore(&dev->sync_lock, sflags); in aac_src_intr_message()
Dcomminit.c536 spin_lock_init(&dev->sync_lock); in aac_init_adapter()
Dcommsup.c613 spin_lock_irqsave(&dev->sync_lock, sflags); in aac_fib_send()
616 spin_unlock_irqrestore(&dev->sync_lock, sflags); in aac_fib_send()
619 spin_unlock_irqrestore(&dev->sync_lock, sflags); in aac_fib_send()
Daacraid.h1672 spinlock_t sync_lock; member
/Linux-v4.19/include/net/
Dip_vs.h941 spinlock_t sync_lock; member