Home
last modified time | relevance | path

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

12

/linux-6.1.9/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()
/linux-6.1.9/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()
359 mutex_lock(&UFS_SB(sb)->s_lock); in ufs_new_fragments()
380 mutex_unlock(&UFS_SB(sb)->s_lock); in ufs_new_fragments()
385 mutex_unlock(&UFS_SB(sb)->s_lock); in ufs_new_fragments()
392 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()
1316 mutex_lock(&UFS_SB(sb)->s_lock); in ufs_remount()
1330 mutex_unlock(&UFS_SB(sb)->s_lock); in ufs_remount()
1337 mutex_unlock(&UFS_SB(sb)->s_lock); in ufs_remount()
1343 mutex_unlock(&UFS_SB(sb)->s_lock); in ufs_remount()
1366 mutex_unlock(&UFS_SB(sb)->s_lock); in ufs_remount()
1375 mutex_unlock(&UFS_SB(sb)->s_lock); in ufs_remount()
1380 mutex_unlock(&UFS_SB(sb)->s_lock); in ufs_remount()
[all …]
/linux-6.1.9/fs/fat/
Dnamei_msdos.c209 mutex_lock(&MSDOS_SB(sb)->s_lock); in msdos_lookup()
222 mutex_unlock(&MSDOS_SB(sb)->s_lock); in msdos_lookup()
274 mutex_lock(&MSDOS_SB(sb)->s_lock); in msdos_create()
303 mutex_unlock(&MSDOS_SB(sb)->s_lock); in msdos_create()
317 mutex_lock(&MSDOS_SB(sb)->s_lock); in msdos_rmdir()
334 mutex_unlock(&MSDOS_SB(sb)->s_lock); in msdos_rmdir()
352 mutex_lock(&MSDOS_SB(sb)->s_lock); in msdos_mkdir()
390 mutex_unlock(&MSDOS_SB(sb)->s_lock); in msdos_mkdir()
397 mutex_unlock(&MSDOS_SB(sb)->s_lock); in msdos_mkdir()
409 mutex_lock(&MSDOS_SB(sb)->s_lock); in msdos_unlink()
[all …]
Dnamei_vfat.c710 mutex_lock(&MSDOS_SB(sb)->s_lock); in vfat_lookup()
744 mutex_unlock(&MSDOS_SB(sb)->s_lock); in vfat_lookup()
750 mutex_unlock(&MSDOS_SB(sb)->s_lock); in vfat_lookup()
755 mutex_unlock(&MSDOS_SB(sb)->s_lock); in vfat_lookup()
768 mutex_lock(&MSDOS_SB(sb)->s_lock); in vfat_create()
786 mutex_unlock(&MSDOS_SB(sb)->s_lock); in vfat_create()
797 mutex_lock(&MSDOS_SB(sb)->s_lock); in vfat_rmdir()
816 mutex_unlock(&MSDOS_SB(sb)->s_lock); in vfat_rmdir()
828 mutex_lock(&MSDOS_SB(sb)->s_lock); in vfat_unlink()
842 mutex_unlock(&MSDOS_SB(sb)->s_lock); in vfat_unlink()
[all …]
/linux-6.1.9/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()
286 spin_lock_irqsave(&qp->s_lock, flags); in qib_do_send()
290 spin_unlock_irqrestore(&qp->s_lock, flags); in qib_do_send()
299 spin_unlock_irqrestore(&qp->s_lock, flags); in qib_do_send()
309 spin_lock_irqsave(&qp->s_lock, flags); in qib_do_send()
313 spin_unlock_irqrestore(&qp->s_lock, flags); in qib_do_send()
Dqib_verbs.c382 spin_lock_irqsave(&qp->s_lock, flags); in mem_timer()
387 spin_unlock_irqrestore(&qp->s_lock, flags); in mem_timer()
566 spin_lock_irqsave(&qp->s_lock, flags); in __get_txreq()
574 spin_unlock_irqrestore(&qp->s_lock, flags); in __get_txreq()
585 spin_unlock_irqrestore(&qp->s_lock, flags); in __get_txreq()
649 spin_lock_irqsave(&qp->s_lock, flags); in qib_put_txreq()
654 spin_unlock_irqrestore(&qp->s_lock, flags); in qib_put_txreq()
698 spin_lock(&qp->s_lock); in qib_verbs_sdma_desc_avail()
703 spin_unlock(&qp->s_lock); in qib_verbs_sdma_desc_avail()
718 spin_lock(&qp->s_lock); in sdma_complete()
[all …]
Dqib_rc.c614 spin_lock_irqsave(&qp->s_lock, flags); in qib_send_rc_ack()
657 spin_unlock_irqrestore(&qp->s_lock, flags); in qib_send_rc_ack()
677 spin_lock_irqsave(&qp->s_lock, flags); in qib_send_rc_ack()
722 spin_unlock_irqrestore(&qp->s_lock, flags); in qib_send_rc_ack()
1309 spin_lock_irqsave(&qp->s_lock, flags); in qib_rc_rcv_resp()
1400 spin_unlock_irqrestore(&qp->s_lock, flags); in qib_rc_rcv_resp()
1472 spin_unlock_irqrestore(&qp->s_lock, flags); in qib_rc_rcv_resp()
1552 spin_lock_irqsave(&qp->s_lock, flags); in qib_rc_rcv_error()
1653 spin_unlock_irqrestore(&qp->s_lock, flags); in qib_rc_rcv_error()
1664 spin_unlock_irqrestore(&qp->s_lock, flags); in qib_rc_rcv_error()
[all …]
Dqib_sdma.c627 spin_lock(&qp->s_lock); in qib_sdma_verbs_send()
634 spin_unlock(&qp->s_lock); in qib_sdma_verbs_send()
642 spin_lock(&qp->s_lock); in qib_sdma_verbs_send()
666 spin_unlock(&qp->s_lock); in qib_sdma_verbs_send()
669 spin_unlock(&qp->s_lock); in qib_sdma_verbs_send()
/linux-6.1.9/drivers/infiniband/hw/hfi1/
Dtid_rdma.c506 __must_hold(&rcd->exp_lock) __must_hold(&qp->s_lock) in kernel_tid_waiters()
511 lockdep_assert_held(&qp->s_lock); in kernel_tid_waiters()
539 __must_hold(&rcd->exp_lock) __must_hold(&qp->s_lock) in dequeue_tid_waiter()
543 lockdep_assert_held(&qp->s_lock); in dequeue_tid_waiter()
566 __must_hold(&rcd->exp_lock) __must_hold(&qp->s_lock) in queue_qp_for_tid_wait()
570 lockdep_assert_held(&qp->s_lock); in queue_qp_for_tid_wait()
590 __must_hold(&qp->s_lock) in __trigger_tid_waiter()
592 lockdep_assert_held(&qp->s_lock); in __trigger_tid_waiter()
652 spin_lock_irq(&qp->s_lock); in tid_rdma_trigger_resume()
654 spin_unlock_irq(&qp->s_lock); in tid_rdma_trigger_resume()
[all …]
Druc.c73 spin_lock_irqsave(&qp->s_lock, flags); in hfi1_ruc_check_hdr()
75 spin_unlock_irqrestore(&qp->s_lock, flags); in hfi1_ruc_check_hdr()
437 spin_lock_irqsave(&qp->s_lock, ps->flags); in hfi1_schedule_send_yield()
456 spin_unlock_irqrestore(&qp->s_lock, ps->flags); in hfi1_schedule_send_yield()
533 spin_lock_irqsave(&qp->s_lock, ps.flags); in hfi1_do_send()
539 spin_unlock_irqrestore(&qp->s_lock, ps.flags); in hfi1_do_send()
558 spin_unlock_irqrestore(&qp->s_lock, ps.flags); in hfi1_do_send()
570 spin_lock_irqsave(&qp->s_lock, ps.flags); in hfi1_do_send()
574 spin_unlock_irqrestore(&qp->s_lock, ps.flags); in hfi1_do_send()
Dqp.c368 lockdep_assert_held(&qp->s_lock); in hfi1_schedule_send()
400 spin_lock_irqsave(&qp->s_lock, flags); in hfi1_qp_wakeup()
406 spin_unlock_irqrestore(&qp->s_lock, flags); in hfi1_qp_wakeup()
452 spin_lock_irqsave(&qp->s_lock, flags); in iowait_sleep()
479 spin_unlock_irqrestore(&qp->s_lock, flags); in iowait_sleep()
482 spin_unlock_irqrestore(&qp->s_lock, flags); in iowait_sleep()
488 spin_unlock_irqrestore(&qp->s_lock, flags); in iowait_sleep()
512 spin_lock_irqsave(&qp->s_lock, flags); in iowait_sdma_drained()
517 spin_unlock_irqrestore(&qp->s_lock, flags); in iowait_sdma_drained()
734 lockdep_assert_held(&qp->s_lock); in flush_qp_waiters()
[all …]
Drc.c18 __must_hold(&qp->s_lock) in find_prev_entry()
85 lockdep_assert_held(&qp->s_lock); in make_rc_ack()
359 spin_unlock_irqrestore(&qp->s_lock, ps->flags); in make_rc_ack()
361 spin_lock(&qp->s_lock); in make_rc_ack()
363 spin_unlock(&qp->s_lock); in make_rc_ack()
365 spin_lock_irqsave(&qp->s_lock, ps->flags); in make_rc_ack()
410 lockdep_assert_held(&qp->s_lock); in hfi1_make_rc_req()
1202 spin_lock_irqsave(&qp->s_lock, flags); in hfi1_queue_rc_ack()
1216 spin_unlock_irqrestore(&qp->s_lock, flags); in hfi1_queue_rc_ack()
1465 lockdep_assert_held(&qp->s_lock); in reset_psn()
[all …]
Dverbs.c593 spin_lock(&qp->s_lock); in verbs_sdma_complete()
604 spin_unlock(&qp->s_lock); in verbs_sdma_complete()
634 spin_lock_irqsave(&qp->s_lock, flags); in wait_kmem()
644 spin_unlock_irqrestore(&qp->s_lock, flags); in wait_kmem()
897 spin_lock_irqsave(&qp->s_lock, flags); in pio_wait()
924 spin_unlock_irqrestore(&qp->s_lock, flags); in pio_wait()
1061 spin_lock_irqsave(&qp->s_lock, flags); in hfi1_verbs_send_pio()
1069 spin_unlock_irqrestore(&qp->s_lock, flags); in hfi1_verbs_send_pio()
1270 spin_lock_irqsave(&qp->s_lock, flags); in hfi1_verbs_send()
1272 spin_unlock_irqrestore(&qp->s_lock, flags); in hfi1_verbs_send()
Dverbs_txreq.c53 __must_hold(&qp->s_lock) in __get_txreq()
/linux-6.1.9/fs/ext2/
Dsuper.c58 spin_lock(&sbi->s_lock); in ext2_error()
61 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()
243 spin_lock(&sbi->s_lock); in ext2_show_options()
314 spin_unlock(&sbi->s_lock); in ext2_show_options()
839 spin_lock_init(&sbi->s_lock); in ext2_fill_super()
1257 spin_lock(&EXT2_SB(sb)->s_lock); in ext2_sync_super()
1262 spin_unlock(&EXT2_SB(sb)->s_lock); in ext2_sync_super()
1289 spin_lock(&sbi->s_lock); in ext2_sync_fs()
[all …]
/linux-6.1.9/drivers/hte/
Dhte-tegra194.c102 spinlock_t s_lock; member
362 spin_lock(&gs->sl[slice].s_lock); in tegra_hte_en_dis_common()
365 spin_unlock(&gs->sl[slice].s_lock); in tegra_hte_en_dis_common()
377 spin_unlock(&gs->sl[slice].s_lock); in tegra_hte_en_dis_common()
655 spin_lock_init(&hte_dev->sl[i].s_lock); in tegra_hte_probe()
682 spin_lock(&gs->sl[i].s_lock); in tegra_hte_resume_early()
687 spin_unlock(&gs->sl[i].s_lock); in tegra_hte_resume_early()
702 spin_lock(&gs->sl[i].s_lock); in tegra_hte_suspend_late()
706 spin_unlock(&gs->sl[i].s_lock); in tegra_hte_suspend_late()
/linux-6.1.9/drivers/infiniband/sw/rdmavt/
Dqp.c700 spin_lock(&qp->s_lock); in rvt_qp_mr_clean()
710 spin_unlock(&qp->s_lock); in rvt_qp_mr_clean()
879 __must_hold(&qp->s_lock) in _rvt_reset_qp()
885 lockdep_assert_held(&qp->s_lock); in _rvt_reset_qp()
893 spin_unlock(&qp->s_lock); in _rvt_reset_qp()
909 spin_lock(&qp->s_lock); in _rvt_reset_qp()
921 lockdep_assert_held(&qp->s_lock); in _rvt_reset_qp()
938 spin_lock(&qp->s_lock); in rvt_reset_qp()
940 spin_unlock(&qp->s_lock); in rvt_reset_qp()
1148 spin_lock_init(&qp->s_lock); in rvt_create_qp()
[all …]
/linux-6.1.9/fs/exfat/
Dnamei.c555 mutex_lock(&EXFAT_SB(sb)->s_lock); in exfat_create()
583 mutex_unlock(&EXFAT_SB(sb)->s_lock); in exfat_create()
708 mutex_lock(&EXFAT_SB(sb)->s_lock); in exfat_lookup()
758 mutex_unlock(&EXFAT_SB(sb)->s_lock); in exfat_lookup()
763 mutex_unlock(&EXFAT_SB(sb)->s_lock); in exfat_lookup()
769 mutex_unlock(&EXFAT_SB(sb)->s_lock); in exfat_lookup()
784 mutex_lock(&EXFAT_SB(sb)->s_lock); in exfat_unlink()
831 mutex_unlock(&EXFAT_SB(sb)->s_lock); in exfat_unlink()
845 mutex_lock(&EXFAT_SB(sb)->s_lock); in exfat_mkdir()
875 mutex_unlock(&EXFAT_SB(sb)->s_lock); in exfat_mkdir()
[all …]
Dsuper.c48 mutex_lock(&sbi->s_lock); in exfat_put_super()
51 mutex_unlock(&sbi->s_lock); in exfat_put_super()
65 mutex_lock(&sbi->s_lock); in exfat_sync_fs()
69 mutex_unlock(&sbi->s_lock); in exfat_sync_fs()
80 mutex_lock(&sbi->s_lock); in exfat_statfs()
82 mutex_unlock(&sbi->s_lock); in exfat_statfs()
85 mutex_unlock(&sbi->s_lock); in exfat_statfs()
759 mutex_init(&sbi->s_lock); in exfat_init_fs_context()
Dinode.c94 mutex_lock(&EXFAT_SB(inode->i_sb)->s_lock); in exfat_write_inode()
96 mutex_unlock(&EXFAT_SB(inode->i_sb)->s_lock); in exfat_write_inode()
103 lockdep_assert_held(&EXFAT_SB(inode->i_sb)->s_lock); in exfat_sync_inode()
282 mutex_lock(&sbi->s_lock); in exfat_get_block()
334 mutex_unlock(&sbi->s_lock); in exfat_get_block()
629 mutex_lock(&EXFAT_SB(inode->i_sb)->s_lock); in exfat_evict_inode()
631 mutex_unlock(&EXFAT_SB(inode->i_sb)->s_lock); in exfat_evict_inode()
/linux-6.1.9/drivers/media/pci/bt8xx/
Dbttv-driver.c1167 spin_lock_irqsave(&btv->s_lock,flags); in set_input()
1174 spin_unlock_irqrestore(&btv->s_lock,flags); in set_input()
1242 spin_lock_irqsave(&btv->s_lock,flags); in bttv_reinit_bt848()
1245 spin_unlock_irqrestore(&btv->s_lock,flags); in bttv_reinit_bt848()
1507 spin_lock_irqsave(&btv->s_lock,flags); in bttv_switch_overlay()
1512 spin_unlock_irqrestore(&btv->s_lock,flags); in bttv_switch_overlay()
2983 &btv->c.pci->dev, &btv->s_lock, in bttv_open()
2989 &btv->c.pci->dev, &btv->s_lock, in bttv_open()
3603 spin_lock_irqsave(&btv->s_lock,flags); in bttv_irq_timeout()
3635 spin_unlock_irqrestore(&btv->s_lock,flags); in bttv_irq_timeout()
[all …]
/linux-6.1.9/fs/zonefs/
Dzonefs.h175 spinlock_t s_lock; member

12