Lines Matching defs:sb_i
24 struct reiserfs_sb_info *sb_i = REISERFS_SB(s);
26 if (sb_i->lock_owner != current) {
27 mutex_lock(&sb_i->lock);
28 sb_i->lock_owner = current;
32 sb_i->lock_depth++;
37 struct reiserfs_sb_info *sb_i = REISERFS_SB(s);
44 BUG_ON(sb_i->lock_owner != current);
46 if (--sb_i->lock_depth == -1) {
47 sb_i->lock_owner = NULL;
48 mutex_unlock(&sb_i->lock);
54 struct reiserfs_sb_info *sb_i = REISERFS_SB(s);
58 if (sb_i->lock_owner != current)
61 depth = sb_i->lock_depth;
63 sb_i->lock_depth = -1;
64 sb_i->lock_owner = NULL;
65 mutex_unlock(&sb_i->lock);
72 struct reiserfs_sb_info *sb_i = REISERFS_SB(s);
78 mutex_lock(&sb_i->lock);
79 sb_i->lock_owner = current;
80 sb_i->lock_depth = depth;
89 struct reiserfs_sb_info *sb_i = REISERFS_SB(sb);
91 WARN_ON(sb_i->lock_depth < 0);
97 struct reiserfs_sb_info *sb_i = REISERFS_SB(sb);
99 WARN_ONCE((sb_i->lock_depth > 0), "Unwanted recursive reiserfs lock!\n");