/Linux-v5.4/drivers/net/ethernet/mellanox/mlx5/core/lib/ |
D | vxlan.c | 47 struct mutex sync_lock; /* sync add/del port HW operations */ member 121 mutex_lock(&vxlan->sync_lock); in mlx5_vxlan_add_port() 148 mutex_unlock(&vxlan->sync_lock); in mlx5_vxlan_add_port() 155 mutex_unlock(&vxlan->sync_lock); in mlx5_vxlan_add_port() 165 mutex_lock(&vxlan->sync_lock); in mlx5_vxlan_del_port() 188 mutex_unlock(&vxlan->sync_lock); in mlx5_vxlan_del_port() 205 mutex_init(&vxlan->sync_lock); in mlx5_vxlan_create()
|
D | geneve.c | 13 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-v5.4/arch/x86/kernel/ |
D | tsc_sync.c | 215 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-v5.4/sound/core/seq/oss/ |
D | seq_oss_writeq.c | 34 spin_lock_init(&q->sync_lock); in snd_seq_oss_writeq_new() 126 spin_lock_irqsave(&q->sync_lock, flags); in snd_seq_oss_writeq_wakeup() 130 spin_unlock_irqrestore(&q->sync_lock, flags); in snd_seq_oss_writeq_wakeup()
|
D | seq_oss_writeq.h | 21 spinlock_t sync_lock; member
|
/Linux-v5.4/drivers/media/dvb-frontends/ |
D | lg2160.c | 1120 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 …]
|
D | lgdt3305.c | 906 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-v5.4/drivers/media/usb/dvb-usb-v2/ |
D | mxl111sf-demod.c | 202 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-v5.4/net/netfilter/ipvs/ |
D | ip_vs_sync.c | 311 spin_lock_bh(&ipvs->sync_lock); in sb_dequeue() 323 spin_unlock_bh(&ipvs->sync_lock); in sb_dequeue() 370 spin_lock(&ipvs->sync_lock); in sb_queue_tail() 385 spin_unlock(&ipvs->sync_lock); in sb_queue_tail() 1640 spin_lock_bh(&ipvs->sync_lock); in master_wakeup_work_handler() 1648 spin_unlock_bh(&ipvs->sync_lock); in master_wakeup_work_handler() 1965 spin_lock(&ipvs->sync_lock); in stop_sync_thread() 1967 spin_unlock(&ipvs->sync_lock); in stop_sync_thread() 2034 spin_lock_init(&ipvs->sync_lock); in ip_vs_sync_net_init()
|
/Linux-v5.4/fs/gfs2/ |
D | lock_dlm.c | 517 static int sync_lock(struct gfs2_sbd *sdp, int mode, uint32_t flags, in sync_lock() function 557 return sync_lock(sdp, mode, flags, GFS2_MOUNTED_LOCK, in mounted_lock() 570 return sync_lock(sdp, mode, flags, GFS2_CONTROL_LOCK, in control_lock()
|
/Linux-v5.4/fs/ocfs2/ |
D | stack_user.c | 844 static int sync_lock(struct ocfs2_cluster_connection *conn, in sync_lock() function 877 return sync_lock(conn, mode, flags, in version_lock()
|
/Linux-v5.4/drivers/scsi/aacraid/ |
D | src.c | 99 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()
|
D | comminit.c | 522 spin_lock_init(&dev->sync_lock); in aac_init_adapter()
|
D | commsup.c | 598 spin_lock_irqsave(&dev->sync_lock, sflags); in aac_fib_send() 601 spin_unlock_irqrestore(&dev->sync_lock, sflags); in aac_fib_send() 604 spin_unlock_irqrestore(&dev->sync_lock, sflags); in aac_fib_send()
|
D | aacraid.h | 1659 spinlock_t sync_lock; member
|
/Linux-v5.4/include/net/ |
D | ip_vs.h | 947 spinlock_t sync_lock; member
|