Lines Matching refs:bbp
344 char *bbp; in ext2fs_alloccg() local
359 bbp = (char *)bp->b_data; in ext2fs_alloccg()
367 ext2fs_init_bb(fs, cg, &fs->e2fs_gd[cg], bbp); in ext2fs_alloccg()
376 if (isclr(bbp, bpref)) { in ext2fs_alloccg()
393 if (bbp[loc] == 0) { in ext2fs_alloccg()
399 if (bbp[loc] == 0) { in ext2fs_alloccg()
405 bno = ext2fs_mapsearch(fs, bbp, bpref); in ext2fs_alloccg()
416 if (isset(bbp, (daddr_t)bno)) { in ext2fs_alloccg()
422 setbit(bbp, (daddr_t)bno); in ext2fs_alloccg()
519 char *bbp; in ext2fs_blkfree() local
542 bbp = (char *)bp->b_data; in ext2fs_blkfree()
544 if (isclr(bbp, bno)) { in ext2fs_blkfree()
550 clrbit(bbp, bno); in ext2fs_blkfree()
617 ext2fs_mapsearch(struct m_ext2fs *fs, char *bbp, daddr_t bpref) in ext2fs_mapsearch() argument
630 loc = skpc(0xff, len, &bbp[start]); in ext2fs_mapsearch()
634 loc = skpc(0xff, len, &bbp[start]); in ext2fs_mapsearch()
643 map = bbp[i] ^ 0xff; in ext2fs_mapsearch()
835 ext2fs_init_bb(struct m_ext2fs *fs, int cg, struct ext2_gd *gd, char *bbp) in ext2fs_init_bb() argument
839 memset(bbp, 0, fs->e2fs_bsize); in ext2fs_init_bb()
848 setbit(bbp, i); in ext2fs_init_bb()