Home
last modified time | relevance | path

Searched refs:bmap_nr (Results 1 – 4 of 4) sorted by relevance

/linux-6.1.9/fs/reiserfs/
Dresize.c28 unsigned int bmap_nr_new, bmap_nr; in reiserfs_resize() local
81 bmap_nr = reiserfs_bmap_count(s); in reiserfs_resize()
84 if (bmap_nr_new > bmap_nr) { in reiserfs_resize()
100 copy_size = min(bmap_nr_new, bmap_nr); in reiserfs_resize()
133 for (i = 0; i < bmap_nr; i++) in reiserfs_resize()
142 for (i = bmap_nr; i < bmap_nr_new; i++) { in reiserfs_resize()
183 info = SB_AP_BITMAP(s) + bmap_nr - 1; in reiserfs_resize()
184 bh = reiserfs_read_bitmap_block(s, bmap_nr - 1); in reiserfs_resize()
222 (bmap_nr_new - bmap_nr))); in reiserfs_resize()
Dbitmap.c50 unsigned int *bmap_nr, in get_bit_address() argument
57 *bmap_nr = block >> (s->s_blocksize_bits + 3); in get_bit_address()
1457 unsigned int bmap_nr = reiserfs_bmap_count(sb); in reiserfs_init_bitmap_cache() local
1459 bitmap = vmalloc(array_size(bmap_nr, sizeof(*bitmap))); in reiserfs_init_bitmap_cache()
1463 memset(bitmap, 0xff, sizeof(*bitmap) * bmap_nr); in reiserfs_init_bitmap_cache()
Djournal.c213 unsigned int bmap_nr = block / (sb->s_blocksize << 3); in set_bit_in_list_bitmap() local
216 if (!jb->bitmaps[bmap_nr]) { in set_bit_in_list_bitmap()
217 jb->bitmaps[bmap_nr] = get_bitmap_node(sb); in set_bit_in_list_bitmap()
219 set_bit(bit_nr, (unsigned long *)jb->bitmaps[bmap_nr]->data); in set_bit_in_list_bitmap()
280 unsigned int bmap_nr) in reiserfs_allocate_list_bitmaps() argument
285 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
481 if (jb->journal_list && jb->bitmaps[bmap_nr] && in reiserfs_in_journal()
483 (unsigned long *)jb->bitmaps[bmap_nr]-> in reiserfs_in_journal()
487 (jb->bitmaps[bmap_nr]-> in reiserfs_in_journal()
[all …]
Dreiserfs.h1164 static inline int bmap_would_wrap(unsigned bmap_nr) in bmap_would_wrap() argument
1166 return bmap_nr > ((1LL << 16) - 1); in bmap_would_wrap()
2940 int reiserfs_in_journal(struct super_block *sb, unsigned int bmap_nr,