Searched refs:bmap_nr (Results 1 – 4 of 4) sorted by relevance
/fs/reiserfs/ |
D | resize.c | 28 unsigned int bmap_nr_new, bmap_nr; in reiserfs_resize() local 76 bmap_nr = reiserfs_bmap_count(s); in reiserfs_resize() 79 if (bmap_nr_new > bmap_nr) { in reiserfs_resize() 93 copy_size = bmap_nr_new < bmap_nr ? bmap_nr_new : bmap_nr; in reiserfs_resize() 120 for (i = 0; i < bmap_nr; i++) in reiserfs_resize() 127 for (i = bmap_nr; i < bmap_nr_new; i++) { in reiserfs_resize() 161 info = SB_AP_BITMAP(s) + bmap_nr - 1; in reiserfs_resize() 162 bh = reiserfs_read_bitmap_block(s, bmap_nr - 1); in reiserfs_resize() 200 (bmap_nr_new - bmap_nr))); in reiserfs_resize()
|
D | bitmap.c | 50 unsigned int *bmap_nr, in get_bit_address() argument 55 *bmap_nr = block >> (s->s_blocksize_bits + 3); in get_bit_address() 1361 unsigned int bmap_nr = reiserfs_bmap_count(sb); in reiserfs_init_bitmap_cache() local 1363 bitmap = vmalloc(sizeof(*bitmap) * bmap_nr); in reiserfs_init_bitmap_cache() 1367 memset(bitmap, 0xff, sizeof(*bitmap) * bmap_nr); in reiserfs_init_bitmap_cache()
|
D | journal.c | 216 unsigned int bmap_nr = block / (sb->s_blocksize << 3); in set_bit_in_list_bitmap() local 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() 283 unsigned int bmap_nr) in reiserfs_allocate_list_bitmaps() argument 288 int mem = bmap_nr * sizeof(struct reiserfs_bitmap_node *); in reiserfs_allocate_list_bitmaps() 460 unsigned int bmap_nr, int bit_nr, int search_all, in reiserfs_in_journal() argument 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() [all …]
|
D | reiserfs.h | 977 static inline int bmap_would_wrap(unsigned bmap_nr) in bmap_would_wrap() argument 979 return bmap_nr > ((1LL << 16) - 1); in bmap_would_wrap() 2485 int reiserfs_in_journal(struct super_block *sb, unsigned int bmap_nr,
|