Home
last modified time | relevance | path

Searched refs:s_lock (Results 1 – 25 of 41) sorted by relevance

12

/Linux-v4.19/fs/sysv/
Dballoc.c64 mutex_lock(&sbi->s_lock); in sysv_free_block()
69 mutex_unlock(&sbi->s_lock); in sysv_free_block()
81 mutex_unlock(&sbi->s_lock); in sysv_free_block()
97 mutex_unlock(&sbi->s_lock); in sysv_free_block()
108 mutex_lock(&sbi->s_lock); in sysv_new_block()
151 mutex_unlock(&sbi->s_lock); in sysv_new_block()
155 mutex_unlock(&sbi->s_lock); in sysv_new_block()
177 mutex_lock(&sbi->s_lock); in sysv_count_free_blocks()
215 mutex_unlock(&sbi->s_lock); in sysv_count_free_blocks()
Dialloc.c122 mutex_lock(&sbi->s_lock); in sysv_free_inode()
132 mutex_unlock(&sbi->s_lock); in sysv_free_inode()
151 mutex_lock(&sbi->s_lock); in sysv_new_inode()
157 mutex_unlock(&sbi->s_lock); in sysv_new_inode()
178 mutex_unlock(&sbi->s_lock); in sysv_new_inode()
189 mutex_lock(&sbi->s_lock); in sysv_count_free_inodes()
217 mutex_unlock(&sbi->s_lock); in sysv_count_free_inodes()
Dinode.c40 mutex_lock(&sbi->s_lock); in sysv_sync_fs()
55 mutex_unlock(&sbi->s_lock); in sysv_sync_fs()
Dsysv.h62 struct mutex s_lock; member
/Linux-v4.19/fs/ufs/
Dialloc.c73 mutex_lock(&UFS_SB(sb)->s_lock); in ufs_free_inode()
77 mutex_unlock(&UFS_SB(sb)->s_lock); in ufs_free_inode()
85 mutex_unlock(&UFS_SB(sb)->s_lock); in ufs_free_inode()
119 mutex_unlock(&UFS_SB(sb)->s_lock); in ufs_free_inode()
198 mutex_lock(&sbi->s_lock); in ufs_new_inode()
337 mutex_unlock(&sbi->s_lock); in ufs_new_inode()
344 mutex_unlock(&sbi->s_lock); in ufs_new_inode()
350 mutex_unlock(&sbi->s_lock); in ufs_new_inode()
Dballoc.c57 mutex_lock(&UFS_SB(sb)->s_lock); in ufs_free_fragments()
122 mutex_unlock(&UFS_SB(sb)->s_lock); in ufs_free_fragments()
127 mutex_unlock(&UFS_SB(sb)->s_lock); in ufs_free_fragments()
157 mutex_lock(&UFS_SB(sb)->s_lock); in ufs_free_blocks()
218 mutex_unlock(&UFS_SB(sb)->s_lock); in ufs_free_blocks()
223 mutex_unlock(&UFS_SB(sb)->s_lock); in ufs_free_blocks()
363 mutex_lock(&UFS_SB(sb)->s_lock); in ufs_new_fragments()
384 mutex_unlock(&UFS_SB(sb)->s_lock); in ufs_new_fragments()
389 mutex_unlock(&UFS_SB(sb)->s_lock); in ufs_new_fragments()
396 mutex_unlock(&UFS_SB(sb)->s_lock); in ufs_new_fragments()
[all …]
Dsuper.c692 mutex_lock(&UFS_SB(sb)->s_lock); in ufs_sync_fs()
710 mutex_unlock(&UFS_SB(sb)->s_lock); in ufs_sync_fs()
813 mutex_init(&sbi->s_lock); in ufs_fill_super()
1309 mutex_lock(&UFS_SB(sb)->s_lock); in ufs_remount()
1323 mutex_unlock(&UFS_SB(sb)->s_lock); in ufs_remount()
1330 mutex_unlock(&UFS_SB(sb)->s_lock); in ufs_remount()
1336 mutex_unlock(&UFS_SB(sb)->s_lock); in ufs_remount()
1359 mutex_unlock(&UFS_SB(sb)->s_lock); in ufs_remount()
1368 mutex_unlock(&UFS_SB(sb)->s_lock); in ufs_remount()
1373 mutex_unlock(&UFS_SB(sb)->s_lock); in ufs_remount()
[all …]
Dufs.h32 struct mutex s_lock; member
/Linux-v4.19/fs/fat/
Dnamei_msdos.c208 mutex_lock(&MSDOS_SB(sb)->s_lock); in msdos_lookup()
221 mutex_unlock(&MSDOS_SB(sb)->s_lock); in msdos_lookup()
273 mutex_lock(&MSDOS_SB(sb)->s_lock); in msdos_create()
302 mutex_unlock(&MSDOS_SB(sb)->s_lock); in msdos_create()
316 mutex_lock(&MSDOS_SB(sb)->s_lock); in msdos_rmdir()
333 mutex_unlock(&MSDOS_SB(sb)->s_lock); in msdos_rmdir()
350 mutex_lock(&MSDOS_SB(sb)->s_lock); in msdos_mkdir()
388 mutex_unlock(&MSDOS_SB(sb)->s_lock); in msdos_mkdir()
395 mutex_unlock(&MSDOS_SB(sb)->s_lock); in msdos_mkdir()
407 mutex_lock(&MSDOS_SB(sb)->s_lock); in msdos_unlink()
[all …]
Dnamei_vfat.c709 mutex_lock(&MSDOS_SB(sb)->s_lock); in vfat_lookup()
743 mutex_unlock(&MSDOS_SB(sb)->s_lock); in vfat_lookup()
749 mutex_unlock(&MSDOS_SB(sb)->s_lock); in vfat_lookup()
754 mutex_unlock(&MSDOS_SB(sb)->s_lock); in vfat_lookup()
767 mutex_lock(&MSDOS_SB(sb)->s_lock); in vfat_create()
787 mutex_unlock(&MSDOS_SB(sb)->s_lock); in vfat_create()
798 mutex_lock(&MSDOS_SB(sb)->s_lock); in vfat_rmdir()
817 mutex_unlock(&MSDOS_SB(sb)->s_lock); in vfat_rmdir()
829 mutex_lock(&MSDOS_SB(sb)->s_lock); in vfat_unlink()
843 mutex_unlock(&MSDOS_SB(sb)->s_lock); in vfat_unlink()
[all …]
/Linux-v4.19/drivers/infiniband/hw/qib/
Dqib_ruc.c124 spin_lock_irqsave(&qp->s_lock, flags); in qib_ruc_check_hdr()
126 spin_unlock_irqrestore(&qp->s_lock, flags); in qib_ruc_check_hdr()
210 spin_lock_irqsave(&sqp->s_lock, flags); in qib_ruc_loopback()
242 spin_unlock_irqrestore(&sqp->s_lock, flags); in qib_ruc_loopback()
402 spin_lock_irqsave(&sqp->s_lock, flags); in qib_ruc_loopback()
424 spin_lock_irqsave(&sqp->s_lock, flags); in qib_ruc_loopback()
449 spin_lock_irqsave(&sqp->s_lock, flags); in qib_ruc_loopback()
455 spin_unlock_irqrestore(&sqp->s_lock, flags); in qib_ruc_loopback()
469 spin_unlock_irqrestore(&sqp->s_lock, flags); in qib_ruc_loopback()
587 spin_lock_irqsave(&qp->s_lock, flags); in qib_do_send()
[all …]
Dqib_verbs.c412 spin_lock_irqsave(&qp->s_lock, flags); in mem_timer()
417 spin_unlock_irqrestore(&qp->s_lock, flags); in mem_timer()
601 spin_lock_irqsave(&qp->s_lock, flags); in __get_txreq()
609 spin_unlock_irqrestore(&qp->s_lock, flags); in __get_txreq()
620 spin_unlock_irqrestore(&qp->s_lock, flags); in __get_txreq()
684 spin_lock_irqsave(&qp->s_lock, flags); in qib_put_txreq()
689 spin_unlock_irqrestore(&qp->s_lock, flags); in qib_put_txreq()
733 spin_lock(&qp->s_lock); in qib_verbs_sdma_desc_avail()
738 spin_unlock(&qp->s_lock); in qib_verbs_sdma_desc_avail()
753 spin_lock(&qp->s_lock); in sdma_complete()
[all …]
Dqib_rc.c624 spin_lock_irqsave(&qp->s_lock, flags); in qib_send_rc_ack()
667 spin_unlock_irqrestore(&qp->s_lock, flags); in qib_send_rc_ack()
687 spin_lock_irqsave(&qp->s_lock, flags); in qib_send_rc_ack()
732 spin_unlock_irqrestore(&qp->s_lock, flags); in qib_send_rc_ack()
1336 spin_lock_irqsave(&qp->s_lock, flags); in qib_rc_rcv_resp()
1427 spin_unlock_irqrestore(&qp->s_lock, flags); in qib_rc_rcv_resp()
1497 spin_unlock_irqrestore(&qp->s_lock, flags); in qib_rc_rcv_resp()
1576 spin_lock_irqsave(&qp->s_lock, flags); in qib_rc_rcv_error()
1677 spin_unlock_irqrestore(&qp->s_lock, flags); in qib_rc_rcv_error()
1688 spin_unlock_irqrestore(&qp->s_lock, flags); in qib_rc_rcv_error()
[all …]
Dqib_sdma.c648 spin_lock(&qp->s_lock); in qib_sdma_verbs_send()
655 spin_unlock(&qp->s_lock); in qib_sdma_verbs_send()
663 spin_lock(&qp->s_lock); in qib_sdma_verbs_send()
687 spin_unlock(&qp->s_lock); in qib_sdma_verbs_send()
690 spin_unlock(&qp->s_lock); in qib_sdma_verbs_send()
Dqib_driver.c567 spin_lock_irqsave(&qp->s_lock, flags); in qib_kreceive()
571 spin_unlock_irqrestore(&qp->s_lock, flags); in qib_kreceive()
/Linux-v4.19/drivers/lightnvm/
Dpblk-rb.c60 spin_lock_init(&rb->s_lock); in pblk_rb_init()
660 __acquires(&rb->s_lock) in pblk_rb_sync_init()
663 spin_lock_irqsave(&rb->s_lock, *flags); in pblk_rb_sync_init()
665 spin_lock_irq(&rb->s_lock); in pblk_rb_sync_init()
671 __releases(&rb->s_lock) in pblk_rb_sync_end()
673 lockdep_assert_held(&rb->s_lock); in pblk_rb_sync_end()
676 spin_unlock_irqrestore(&rb->s_lock, *flags); in pblk_rb_sync_end()
678 spin_unlock_irq(&rb->s_lock); in pblk_rb_sync_end()
684 lockdep_assert_held(&rb->s_lock); in pblk_rb_sync_advance()
764 spin_lock_irq(&rb->s_lock); in pblk_rb_tear_down_check()
[all …]
/Linux-v4.19/drivers/infiniband/hw/hfi1/
Druc.c115 spin_lock_irqsave(&qp->s_lock, flags); in hfi1_ruc_check_hdr()
117 spin_unlock_irqrestore(&qp->s_lock, flags); in hfi1_ruc_check_hdr()
194 spin_lock_irqsave(&sqp->s_lock, flags); in ruc_loopback()
226 spin_unlock_irqrestore(&sqp->s_lock, flags); in ruc_loopback()
409 spin_lock_irqsave(&sqp->s_lock, flags); in ruc_loopback()
435 spin_lock_irqsave(&sqp->s_lock, flags); in ruc_loopback()
460 spin_lock_irqsave(&sqp->s_lock, flags); in ruc_loopback()
466 spin_unlock_irqrestore(&sqp->s_lock, flags); in ruc_loopback()
480 spin_unlock_irqrestore(&sqp->s_lock, flags); in ruc_loopback()
803 spin_lock_irqsave(&qp->s_lock, ps->flags); in schedule_send_yield()
[all …]
Dqp.c378 lockdep_assert_held(&qp->s_lock); in hfi1_schedule_send()
387 spin_lock_irqsave(&qp->s_lock, flags); in hfi1_qp_wakeup()
393 spin_unlock_irqrestore(&qp->s_lock, flags); in hfi1_qp_wakeup()
415 spin_lock_irqsave(&qp->s_lock, flags); in iowait_sleep()
442 spin_unlock_irqrestore(&qp->s_lock, flags); in iowait_sleep()
445 spin_unlock_irqrestore(&qp->s_lock, flags); in iowait_sleep()
451 spin_unlock_irqrestore(&qp->s_lock, flags); in iowait_sleep()
475 spin_lock_irqsave(&qp->s_lock, flags); in iowait_sdma_drained()
480 spin_unlock_irqrestore(&qp->s_lock, flags); in iowait_sdma_drained()
681 lockdep_assert_held(&qp->s_lock); in flush_qp_waiters()
[all …]
Drc.c98 lockdep_assert_held(&qp->s_lock); in make_rc_ack()
272 lockdep_assert_held(&qp->s_lock); in hfi1_make_rc_req()
737 spin_lock_irqsave(&qp->s_lock, flags); in hfi1_queue_rc_ack()
751 spin_unlock_irqrestore(&qp->s_lock, flags); in hfi1_queue_rc_ack()
953 lockdep_assert_held(&qp->s_lock); in reset_psn()
1040 lockdep_assert_held(&qp->s_lock); in hfi1_restart_rc()
1079 lockdep_assert_held(&qp->s_lock); in reset_sending_psn()
1110 lockdep_assert_held(&qp->s_lock); in hfi1_rc_send_complete()
1201 lockdep_assert_held(&qp->s_lock); in do_rc_completion()
1291 lockdep_assert_held(&qp->s_lock); in do_rc_ack()
[all …]
Dverbs.c714 spin_lock(&qp->s_lock); in verbs_sdma_complete()
723 spin_unlock(&qp->s_lock); in verbs_sdma_complete()
736 spin_lock_irqsave(&qp->s_lock, flags); in wait_kmem()
754 spin_unlock_irqrestore(&qp->s_lock, flags); in wait_kmem()
1000 spin_lock_irqsave(&qp->s_lock, flags); in pio_wait()
1026 spin_unlock_irqrestore(&qp->s_lock, flags); in pio_wait()
1162 spin_lock_irqsave(&qp->s_lock, flags); in hfi1_verbs_send_pio()
1164 spin_unlock_irqrestore(&qp->s_lock, flags); in hfi1_verbs_send_pio()
1166 spin_lock_irqsave(&qp->s_lock, flags); in hfi1_verbs_send_pio()
1168 spin_unlock_irqrestore(&qp->s_lock, flags); in hfi1_verbs_send_pio()
[all …]
Dverbs_txreq.c95 __must_hold(&qp->s_lock) in __get_txreq()
/Linux-v4.19/fs/ext2/
Dsuper.c57 spin_lock(&sbi->s_lock); in ext2_error()
60 spin_unlock(&sbi->s_lock); in ext2_error()
158 spin_lock(&sbi->s_lock); in ext2_put_super()
160 spin_unlock(&sbi->s_lock); in ext2_put_super()
253 spin_lock(&sbi->s_lock); in ext2_show_options()
330 spin_unlock(&sbi->s_lock); in ext2_show_options()
856 spin_lock_init(&sbi->s_lock); in ext2_fill_super()
1249 spin_lock(&EXT2_SB(sb)->s_lock); in ext2_sync_super()
1254 spin_unlock(&EXT2_SB(sb)->s_lock); in ext2_sync_super()
1281 spin_lock(&sbi->s_lock); in ext2_sync_fs()
[all …]
/Linux-v4.19/drivers/infiniband/sw/rdmavt/
Dqp.c555 spin_lock(&qp->s_lock); in rvt_qp_mr_clean()
565 spin_unlock(&qp->s_lock); in rvt_qp_mr_clean()
694 __must_hold(&qp->s_lock) in rvt_reset_qp()
700 lockdep_assert_held(&qp->s_lock); in rvt_reset_qp()
708 spin_unlock(&qp->s_lock); in rvt_reset_qp()
724 spin_lock(&qp->s_lock); in rvt_reset_qp()
736 lockdep_assert_held(&qp->s_lock); in rvt_reset_qp()
892 spin_lock_init(&qp->s_lock); in rvt_create_qp()
1057 lockdep_assert_held(&qp->s_lock); in rvt_error_qp()
1174 spin_lock(&qp->s_lock); in rvt_modify_qp()
[all …]
Drc.c163 lockdep_assert_held(&qp->s_lock); in rvt_get_credit()
/Linux-v4.19/drivers/media/pci/bt8xx/
Dbttv-driver.c1197 spin_lock_irqsave(&btv->s_lock,flags); in set_input()
1204 spin_unlock_irqrestore(&btv->s_lock,flags); in set_input()
1272 spin_lock_irqsave(&btv->s_lock,flags); in bttv_reinit_bt848()
1275 spin_unlock_irqrestore(&btv->s_lock,flags); in bttv_reinit_bt848()
1537 spin_lock_irqsave(&btv->s_lock,flags); in bttv_switch_overlay()
1542 spin_unlock_irqrestore(&btv->s_lock,flags); in bttv_switch_overlay()
3049 &btv->c.pci->dev, &btv->s_lock, in bttv_open()
3055 &btv->c.pci->dev, &btv->s_lock, in bttv_open()
3671 spin_lock_irqsave(&btv->s_lock,flags); in bttv_irq_timeout()
3703 spin_unlock_irqrestore(&btv->s_lock,flags); in bttv_irq_timeout()
[all …]

12