Searched refs:lock_depth (Results 1 – 5 of 5) sorted by relevance
/fs/reiserfs/ |
D | lock.c | 31 sb_i->lock_depth++; in reiserfs_write_lock() 45 if (--sb_i->lock_depth == -1) { in reiserfs_write_unlock() 65 return sb_i->lock_depth++; in reiserfs_write_lock_once() 68 return sb_i->lock_depth; in reiserfs_write_lock_once() 71 void reiserfs_write_unlock_once(struct super_block *s, int lock_depth) in reiserfs_write_unlock_once() argument 73 if (lock_depth == -1) in reiserfs_write_unlock_once() 85 if (sb_i->lock_depth < 0) in reiserfs_check_lock_depth() 95 WARN_ONCE((sb_i->lock_depth > 0), "Unwanted recursive reiserfs lock!\n"); in reiserfs_lock_check_recursive()
|
D | inode.c | 612 int lock_depth; in reiserfs_get_block() local 628 lock_depth = reiserfs_write_lock_once(inode->i_sb); in reiserfs_get_block() 632 reiserfs_write_unlock_once(inode->i_sb, lock_depth); in reiserfs_get_block() 644 reiserfs_write_unlock_once(inode->i_sb, lock_depth); in reiserfs_get_block() 762 reiserfs_write_unlock_once(inode->i_sb, lock_depth); in reiserfs_get_block() 1014 reiserfs_write_unlock_once(inode->i_sb, lock_depth); in reiserfs_get_block() 1016 lock_depth = reiserfs_write_lock_once(inode->i_sb); in reiserfs_get_block() 1052 reiserfs_write_unlock_once(inode->i_sb, lock_depth); in reiserfs_get_block() 2106 int lock_depth; in reiserfs_truncate_file() local 2108 lock_depth = reiserfs_write_lock_once(inode->i_sb); in reiserfs_truncate_file() [all …]
|
D | namei.c | 328 int lock_depth; in reiserfs_lookup() local 341 lock_depth = reiserfs_write_lock_once(dir->i_sb); in reiserfs_lookup() 352 reiserfs_write_unlock_once(dir->i_sb, lock_depth); in reiserfs_lookup() 361 reiserfs_write_unlock_once(dir->i_sb, lock_depth); in reiserfs_lookup() 730 int lock_depth; in reiserfs_mkdir() local 756 lock_depth = reiserfs_write_lock_once(dir->i_sb); in reiserfs_mkdir() 807 reiserfs_write_unlock_once(dir->i_sb, lock_depth); in reiserfs_mkdir()
|
D | super.c | 583 int lock_depth; in reiserfs_dirty_inode() local 591 lock_depth = reiserfs_write_lock_once(inode->i_sb); in reiserfs_dirty_inode() 604 reiserfs_write_unlock_once(inode->i_sb, lock_depth); in reiserfs_dirty_inode() 1760 REISERFS_SB(s)->lock_depth = -1; in reiserfs_fill_super()
|
D | reiserfs.h | 432 int lock_depth; member 629 void reiserfs_write_unlock_once(struct super_block *s, int lock_depth);
|