Lines Matching refs:bbp
990 char *bbp; in ext2_alloccg() local
1027 bbp = (char *)bp->b_data; in ext2_alloccg()
1036 if (isclr(bbp, bpref)) { in ext2_alloccg()
1056 if (bbp[loc] == (char)0xff) { in ext2_alloccg()
1063 bit = fls(bbp[loc]); in ext2_alloccg()
1066 } else if (bbp[loc] == 0) { in ext2_alloccg()
1074 bit = ffs(bbp[loc]) - 1; in ext2_alloccg()
1082 bit = fls(bbp[loc]); in ext2_alloccg()
1098 bno = ext2_mapsearch(fs, bbp, bpref); in ext2_alloccg()
1104 if (isset(bbp, bno)) { in ext2_alloccg()
1110 setbit(bbp, bno); in ext2_alloccg()
1112 ext2_clusteracct(fs, bbp, cg, bno, -1); in ext2_alloccg()
1138 char *bbp; in ext2_clusteralloc() local
1156 bbp = (char *)bp->b_data; in ext2_clusteralloc()
1190 if ((bbp[loc] & bit) != 0) in ext2_clusteralloc()
1210 if (!isclr(bbp, got - run + i)) in ext2_clusteralloc()
1219 setbit(bbp, bno + i); in ext2_clusteralloc()
1220 ext2_clusteracct(fs, bbp, cg, bno + i, -1); in ext2_clusteralloc()
1409 char *bbp; in ext2_blkfree() local
1426 bbp = (char *)bp->b_data; in ext2_blkfree()
1428 if (isclr(bbp, bno)) { in ext2_blkfree()
1432 clrbit(bbp, bno); in ext2_blkfree()
1434 ext2_clusteracct(fs, bbp, cg, bno, 1); in ext2_blkfree()
1505 ext2_mapsearch(struct m_ext2fs *fs, char *bbp, daddr_t bpref) in ext2_mapsearch() argument
1519 loc = memcchr(&bbp[start], 0xff, len); in ext2_mapsearch()
1523 loc = memcchr(&bbp[start], 0xff, len); in ext2_mapsearch()
1530 return ((loc - bbp) * NBBY + ffs(~*loc) - 1); in ext2_mapsearch()