Lines Matching refs:s
12 #define objectid_map(s,rs) (old_format_only (s) ? \ argument
18 static void check_objectid_map(struct super_block *s, __le32 * map) in check_objectid_map() argument
21 reiserfs_panic(s, in check_objectid_map()
29 static void check_objectid_map(struct super_block *s, __le32 * map) in check_objectid_map() argument
51 struct super_block *s = th->t_super; in reiserfs_get_unused_objectid() local
52 struct reiserfs_super_block *rs = SB_DISK_SUPER_BLOCK(s); in reiserfs_get_unused_objectid()
53 __le32 *map = objectid_map(s, rs); in reiserfs_get_unused_objectid()
58 check_objectid_map(s, map); in reiserfs_get_unused_objectid()
60 reiserfs_prepare_for_journal(s, SB_BUFFER_WITH_SB(s), 1); in reiserfs_get_unused_objectid()
64 reiserfs_warning(s, "%s: no more object ids", __func__); in reiserfs_get_unused_objectid()
65 reiserfs_restore_prepared_buffer(s, SB_BUFFER_WITH_SB(s)); in reiserfs_get_unused_objectid()
88 journal_mark_dirty(th, s, SB_BUFFER_WITH_SB(s)); in reiserfs_get_unused_objectid()
96 struct super_block *s = th->t_super; in reiserfs_release_objectid() local
97 struct reiserfs_super_block *rs = SB_DISK_SUPER_BLOCK(s); in reiserfs_release_objectid()
98 __le32 *map = objectid_map(s, rs); in reiserfs_release_objectid()
103 check_objectid_map(s, map); in reiserfs_release_objectid()
105 reiserfs_prepare_for_journal(s, SB_BUFFER_WITH_SB(s), 1); in reiserfs_release_objectid()
106 journal_mark_dirty(th, s, SB_BUFFER_WITH_SB(s)); in reiserfs_release_objectid()
148 PROC_INFO_INC(s, leaked_oid); in reiserfs_release_objectid()
163 reiserfs_warning(s, in reiserfs_release_objectid()
168 int reiserfs_convert_objectid_map_v1(struct super_block *s) in reiserfs_convert_objectid_map_v1() argument
170 struct reiserfs_super_block *disk_sb = SB_DISK_SUPER_BLOCK(s); in reiserfs_convert_objectid_map_v1()
172 int new_size = (s->s_blocksize - SB_SIZE) / sizeof(__u32) / 2 * 2; in reiserfs_convert_objectid_map_v1()
179 (struct reiserfs_super_block_v1 *)(SB_BUFFER_WITH_SB(s)->b_data); in reiserfs_convert_objectid_map_v1()