Home
last modified time | relevance | path

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

/linux-6.1.9/drivers/net/ethernet/mellanox/mlx5/core/lib/
Dvxlan.c44 struct mutex sync_lock; /* sync add/del port HW operations */ member
117 mutex_lock(&vxlan->sync_lock); in mlx5_vxlan_add_port()
119 mutex_unlock(&vxlan->sync_lock); in mlx5_vxlan_add_port()
129 mutex_lock(&vxlan->sync_lock); in mlx5_vxlan_del_port()
143 mutex_unlock(&vxlan->sync_lock); in mlx5_vxlan_del_port()
159 mutex_init(&vxlan->sync_lock); in mlx5_vxlan_create()
Dgeneve.c13 struct mutex sync_lock; /* protect GENEVE obj operations */ member
70 mutex_lock(&geneve->sync_lock); in mlx5_geneve_tlv_option_add()
111 mutex_unlock(&geneve->sync_lock); in mlx5_geneve_tlv_option_add()
120 mutex_lock(&geneve->sync_lock); in mlx5_geneve_tlv_option_del()
131 mutex_unlock(&geneve->sync_lock); in mlx5_geneve_tlv_option_del()
142 mutex_init(&geneve->sync_lock); in mlx5_geneve_create()
/linux-6.1.9/drivers/net/ethernet/mellanox/mlx5/core/en/tc/
Dmeter.c43 struct mutex sync_lock; /* protect flow meter operations */ member
380 mutex_lock(&flow_meters->sync_lock); in mlx5e_tc_meter_get()
382 mutex_unlock(&flow_meters->sync_lock); in mlx5e_tc_meter_get()
401 mutex_lock(&flow_meters->sync_lock); in mlx5e_tc_meter_put()
403 mutex_unlock(&flow_meters->sync_lock); in mlx5e_tc_meter_put()
457 mutex_lock(&flow_meters->sync_lock); in mlx5e_tc_meter_update()
459 mutex_unlock(&flow_meters->sync_lock); in mlx5e_tc_meter_update()
474 mutex_lock(&flow_meters->sync_lock); in mlx5e_tc_meter_replace()
488 mutex_unlock(&flow_meters->sync_lock); in mlx5e_tc_meter_replace()
494 mutex_unlock(&flow_meters->sync_lock); in mlx5e_tc_meter_replace()
[all …]
/linux-6.1.9/arch/x86/kernel/
Dtsc_sync.c256 static arch_spinlock_t sync_lock = __ARCH_SPIN_LOCK_UNLOCKED; variable
284 arch_spin_lock(&sync_lock); in check_tsc_warp()
288 arch_spin_unlock(&sync_lock); in check_tsc_warp()
307 arch_spin_lock(&sync_lock); in check_tsc_warp()
318 arch_spin_unlock(&sync_lock); in check_tsc_warp()
/linux-6.1.9/sound/core/seq/oss/
Dseq_oss_writeq.c35 spin_lock_init(&q->sync_lock); in snd_seq_oss_writeq_new()
127 spin_lock_irqsave(&q->sync_lock, flags); in snd_seq_oss_writeq_wakeup()
131 spin_unlock_irqrestore(&q->sync_lock, flags); in snd_seq_oss_writeq_wakeup()
Dseq_oss_writeq.h21 spinlock_t sync_lock; member
/linux-6.1.9/drivers/media/dvb-frontends/
Dlg2160.c1120 int *acq_lock, int *sync_lock) in lg2160_read_lock_status() argument
1126 *sync_lock = 0; in lg2160_read_lock_status()
1132 *sync_lock = (val & 0x20) ? 0 : 1; in lg2160_read_lock_status()
1140 int *acq_lock, int *sync_lock) in lg2161_read_lock_status() argument
1146 *sync_lock = 0; in lg2161_read_lock_status()
1152 *sync_lock = (val & 0x80) ? 0 : 1; in lg2161_read_lock_status()
1165 int *acq_lock, int *sync_lock) in lg216x_read_lock_status() argument
1171 ret = lg2160_read_lock_status(state, acq_lock, sync_lock); in lg216x_read_lock_status()
1174 ret = lg2161_read_lock_status(state, acq_lock, sync_lock); in lg216x_read_lock_status()
1182 return lg2160_read_lock_status(state, acq_lock, sync_lock); in lg216x_read_lock_status()
[all …]
Dlgdt3305.c906 cr_lock, fec_lock, sync_lock; in lgdt3305_read_status() local
916 sync_lock = (val & (1 << 2)) ? 1 : 0; in lgdt3305_read_status()
923 sync_lock ? "SYNCLOCK " : "", in lgdt3305_read_status()
937 if (sync_lock) in lgdt3305_read_status()
/linux-6.1.9/drivers/media/usb/dvb-usb-v2/
Dmxl111sf-demod.c202 int *sync_lock) in mxl1x1sf_demod_get_sync_lock_status() argument
208 *sync_lock = (val & SYNC_LOCK_MASK) >> 4; in mxl1x1sf_demod_get_sync_lock_status()
434 int ret, locked, cr_lock, sync_lock, fec_lock; in mxl111sf_demod_read_status() local
444 ret = mxl1x1sf_demod_get_sync_lock_status(state, &sync_lock); in mxl111sf_demod_read_status()
455 if (sync_lock) in mxl111sf_demod_read_status()
460 if ((locked) && (cr_lock) && (sync_lock)) in mxl111sf_demod_read_status()
/linux-6.1.9/net/netfilter/ipvs/
Dip_vs_sync.c308 spin_lock_bh(&ipvs->sync_lock); in sb_dequeue()
320 spin_unlock_bh(&ipvs->sync_lock); in sb_dequeue()
367 spin_lock(&ipvs->sync_lock); in sb_queue_tail()
382 spin_unlock(&ipvs->sync_lock); in sb_queue_tail()
1637 spin_lock_bh(&ipvs->sync_lock); in master_wakeup_work_handler()
1645 spin_unlock_bh(&ipvs->sync_lock); in master_wakeup_work_handler()
1966 spin_lock(&ipvs->sync_lock); in stop_sync_thread()
1968 spin_unlock(&ipvs->sync_lock); in stop_sync_thread()
2035 spin_lock_init(&ipvs->sync_lock); in ip_vs_sync_net_init()
/linux-6.1.9/fs/gfs2/
Dlock_dlm.c539 static int sync_lock(struct gfs2_sbd *sdp, int mode, uint32_t flags, in sync_lock() function
579 return sync_lock(sdp, mode, flags, GFS2_MOUNTED_LOCK, in mounted_lock()
592 return sync_lock(sdp, mode, flags, GFS2_CONTROL_LOCK, in control_lock()
/linux-6.1.9/fs/ocfs2/
Dstack_user.c836 static int sync_lock(struct ocfs2_cluster_connection *conn, in sync_lock() function
869 return sync_lock(conn, mode, flags, in version_lock()
/linux-6.1.9/drivers/scsi/aacraid/
Dsrc.c99 spin_lock_irqsave(&dev->sync_lock, sflags); in aac_src_intr_message()
110 spin_unlock_irqrestore(&dev->sync_lock, sflags); in aac_src_intr_message()
Dcomminit.c521 spin_lock_init(&dev->sync_lock); in aac_init_adapter()
Dcommsup.c600 spin_lock_irqsave(&dev->sync_lock, sflags); in aac_fib_send()
603 spin_unlock_irqrestore(&dev->sync_lock, sflags); in aac_fib_send()
606 spin_unlock_irqrestore(&dev->sync_lock, sflags); in aac_fib_send()
Daacraid.h1663 spinlock_t sync_lock; member
/linux-6.1.9/include/net/
Dip_vs.h949 spinlock_t sync_lock; member