Home
last modified time | relevance | path

Searched refs:rw_sem (Results 1 – 2 of 2) sorted by relevance

/linux-6.1.9/fs/
Dsuper.c163 percpu_free_rwsem(&s->s_writers.rw_sem[i]); in destroy_super_work()
234 if (__percpu_init_rwsem(&s->s_writers.rw_sem[i], in alloc_super()
1627 percpu_down_write(sb->s_writers.rw_sem + level-1); in sb_wait_write()
1639 percpu_rwsem_release(sb->s_writers.rw_sem + level, 0, _THIS_IP_); in lockdep_sb_freeze_release()
1650 percpu_rwsem_acquire(sb->s_writers.rw_sem + level, 0, _THIS_IP_); in lockdep_sb_freeze_acquire()
1656 percpu_up_write(sb->s_writers.rw_sem + level); in sb_freeze_unlock()
/linux-6.1.9/include/linux/
Dfs.h1454 struct percpu_rw_semaphore rw_sem[SB_FREEZE_LEVELS]; member
1827 percpu_up_read(sb->s_writers.rw_sem + level-1); in __sb_end_write()
1832 percpu_down_read(sb->s_writers.rw_sem + level - 1); in __sb_start_write()
1837 return percpu_down_read_trylock(sb->s_writers.rw_sem + level - 1); in __sb_start_write_trylock()
1841 percpu_rwsem_acquire(&(sb)->s_writers.rw_sem[(lev)-1], 1, _THIS_IP_)
1843 percpu_rwsem_release(&(sb)->s_writers.rw_sem[(lev)-1], 1, _THIS_IP_)
1847 return lockdep_is_held_type(sb->s_writers.rw_sem + SB_FREEZE_WRITE - 1, 1); in sb_write_started()