Lines Matching defs:bitmap
4 /* Reiserfs block (de)allocator, bitmap-based. */
54 * It is in the bitmap block number equal to the block
58 /* Within that bitmap block it is located at bit offset *offset. */
85 reiserfs_error(s, "vs-4019", "bitmap block %lu(%u) "
92 reiserfs_error(s, "vs-4020", "bitmap block %lu(%u) "
100 reiserfs_error(s, "vs-4030", "bitmap for requested block "
141 * lengths in one bitmap block
159 reiserfs_error(s, "jdm-4055", "NULL bitmap info pointer "
160 "for bitmap %d", bmap_n);
172 return 0; /* No free blocks in this bitmap */
180 * search for a zero bit fails or the rest of bitmap block
305 * If we don't have cached information on this bitmap block, we're
345 * bitmap and place new blocks there. Returns number of allocated blocks.
372 * When the bitmap is more than 10% free, anyone can allocate.
374 * bitmap are allowed. Once we pass 80% full, this restriction
479 reiserfs_error(th->t_super, "bitmap-4072",
796 * Relocation based on dirid, hashing them into a given bitmap block
822 * Relocation based on oid, hashing them into a given bitmap block
1401 reiserfs_error(sb, "reiserfs-2025", "bitmap block %lu is "
1416 unsigned int bitmap)
1418 b_blocknr_t block = (sb->s_blocksize << 3) * bitmap;
1419 struct reiserfs_bitmap_info *info = SB_AP_BITMAP(sb) + bitmap;
1428 block = REISERFS_SB(sb)->s_sbh->b_blocknr + 1 + bitmap;
1429 else if (bitmap == 0)
1434 reiserfs_warning(sb, "sh-2029: %s: bitmap block (#%u) "
1456 struct reiserfs_bitmap_info *bitmap;
1459 bitmap = vmalloc(array_size(bmap_nr, sizeof(*bitmap)));
1460 if (bitmap == NULL)
1463 memset(bitmap, 0xff, sizeof(*bitmap) * bmap_nr);
1465 SB_AP_BITMAP(sb) = bitmap;