Lines Matching refs:jb
214 struct reiserfs_list_bitmap *jb) in set_bit_in_list_bitmap() argument
219 if (!jb->bitmaps[bmap_nr]) { in set_bit_in_list_bitmap()
220 jb->bitmaps[bmap_nr] = get_bitmap_node(sb); in set_bit_in_list_bitmap()
222 set_bit(bit_nr, (unsigned long *)jb->bitmaps[bmap_nr]->data); in set_bit_in_list_bitmap()
227 struct reiserfs_list_bitmap *jb) in cleanup_bitmap_list() argument
230 if (jb->bitmaps == NULL) in cleanup_bitmap_list()
234 if (jb->bitmaps[i]) { in cleanup_bitmap_list()
235 free_bitmap_node(sb, jb->bitmaps[i]); in cleanup_bitmap_list()
236 jb->bitmaps[i] = NULL; in cleanup_bitmap_list()
248 struct reiserfs_list_bitmap *jb; in free_list_bitmaps() local
250 jb = jb_array + i; in free_list_bitmaps()
251 jb->journal_list = NULL; in free_list_bitmaps()
252 cleanup_bitmap_list(sb, jb); in free_list_bitmaps()
253 vfree(jb->bitmaps); in free_list_bitmaps()
254 jb->bitmaps = NULL; in free_list_bitmaps()
287 struct reiserfs_list_bitmap *jb; in reiserfs_allocate_list_bitmaps() local
291 jb = jb_array + i; in reiserfs_allocate_list_bitmaps()
292 jb->journal_list = NULL; in reiserfs_allocate_list_bitmaps()
293 jb->bitmaps = vzalloc(mem); in reiserfs_allocate_list_bitmaps()
294 if (!jb->bitmaps) { in reiserfs_allocate_list_bitmaps()
318 struct reiserfs_list_bitmap *jb = NULL; in get_list_bitmap() local
323 jb = journal->j_list_bitmap + i; in get_list_bitmap()
335 if (jb->journal_list) { /* double check to make sure if flushed correctly */ in get_list_bitmap()
338 jb->journal_list = jl; in get_list_bitmap()
339 return jb; in get_list_bitmap()
465 struct reiserfs_list_bitmap *jb; in reiserfs_in_journal() local
479 jb = journal->j_list_bitmap + i; in reiserfs_in_journal()
480 if (jb->journal_list && jb->bitmaps[bmap_nr] && in reiserfs_in_journal()
482 (unsigned long *)jb->bitmaps[bmap_nr]-> in reiserfs_in_journal()
486 (jb->bitmaps[bmap_nr]-> in reiserfs_in_journal()
569 struct reiserfs_list_bitmap *jb = jl->j_list_bitmap; in cleanup_freed_for_journal_list() local
570 if (jb) { in cleanup_freed_for_journal_list()
571 cleanup_bitmap_list(sb, jb); in cleanup_freed_for_journal_list()
3665 struct reiserfs_list_bitmap *jb = NULL; in journal_mark_freed() local
3682 jb = journal->j_current_jl->j_list_bitmap; in journal_mark_freed()
3683 if (!jb) { in journal_mark_freed()
3687 set_bit_in_list_bitmap(sb, blocknr, jb); in journal_mark_freed()