Lines Matching full:rs
11 #define objectid_map(s,rs) (old_format_only (s) ? \ argument
12 (__le32 *)((struct reiserfs_super_block_v1 *)(rs) + 1) :\
13 (__le32 *)((rs) + 1))
52 struct reiserfs_super_block *rs = SB_DISK_SUPER_BLOCK(s); in reiserfs_get_unused_objectid() local
53 __le32 *map = objectid_map(s, rs); in reiserfs_get_unused_objectid()
86 if (sb_oid_cursize(rs) > 2 && map[1] == map[2]) { in reiserfs_get_unused_objectid()
88 (sb_oid_cursize(rs) - 3) * sizeof(__u32)); in reiserfs_get_unused_objectid()
89 set_sb_oid_cursize(rs, sb_oid_cursize(rs) - 2); in reiserfs_get_unused_objectid()
101 struct reiserfs_super_block *rs = SB_DISK_SUPER_BLOCK(s); in reiserfs_release_objectid() local
102 __le32 *map = objectid_map(s, rs); in reiserfs_release_objectid()
119 while (i < sb_oid_cursize(rs)) { in reiserfs_release_objectid()
131 (sb_oid_cursize(rs) - i - in reiserfs_release_objectid()
133 set_sb_oid_cursize(rs, sb_oid_cursize(rs) - 2); in reiserfs_release_objectid()
135 RFALSE(sb_oid_cursize(rs) < 2 || in reiserfs_release_objectid()
136 sb_oid_cursize(rs) > sb_oid_maxsize(rs), in reiserfs_release_objectid()
138 sb_oid_cursize(rs), sb_oid_maxsize(rs)); in reiserfs_release_objectid()
159 if (sb_oid_cursize(rs) == sb_oid_maxsize(rs)) { in reiserfs_release_objectid()
166 (sb_oid_cursize(rs) - i - 1) * sizeof(__u32)); in reiserfs_release_objectid()
169 set_sb_oid_cursize(rs, sb_oid_cursize(rs) + 2); in reiserfs_release_objectid()