Home
last modified time | relevance | path

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

/linux/fs/
H A Dsuper.c282 percpu_free_rwsem(&s->s_writers.rw_sem[i]); in destroy_super_work()
350 if (__percpu_init_rwsem(&s->s_writers.rw_sem[i], in alloc_super()
1910 percpu_down_write(sb->s_writers.rw_sem + level-1); in sb_wait_write()
1922 percpu_rwsem_release(sb->s_writers.rw_sem + level, _THIS_IP_); in lockdep_sb_freeze_release()
1933 percpu_rwsem_acquire(sb->s_writers.rw_sem + level, 0, _THIS_IP_); in lockdep_sb_freeze_acquire()
1939 percpu_up_write(sb->s_writers.rw_sem + level); in sb_freeze_unlock()
/linux/include/linux/
H A Dfs.h1252 struct percpu_rw_semaphore rw_sem[SB_FREEZE_LEVELS]; member
1720 percpu_up_read(sb->s_writers.rw_sem + level-1); in __sb_end_write()
1725 percpu_down_read(sb->s_writers.rw_sem + level - 1); in __sb_start_write()
1730 return percpu_down_read_trylock(sb->s_writers.rw_sem + level - 1); in __sb_start_write_trylock()
1734 percpu_rwsem_acquire(&(sb)->s_writers.rw_sem[(lev)-1], 1, _THIS_IP_)
1736 percpu_rwsem_release(&(sb)->s_writers.rw_sem[(lev)-1], _THIS_IP_)
1749 return lockdep_is_held_type(sb->s_writers.rw_sem + level - 1, 1); in __sb_write_started()