Lines Matching refs:bbp
1007 char *bbp; in ext2_alloccg() local
1044 bbp = (char *)bp->b_data; in ext2_alloccg()
1053 if (isclr(bbp, bpref)) { in ext2_alloccg()
1073 if (bbp[loc] == (char)0xff) { in ext2_alloccg()
1080 bit = fls(bbp[loc]); in ext2_alloccg()
1083 } else if (bbp[loc] == 0) { in ext2_alloccg()
1091 bit = ffs(bbp[loc]) - 1; in ext2_alloccg()
1099 bit = fls(bbp[loc]); in ext2_alloccg()
1115 bno = ext2_mapsearch(fs, bbp, bpref); in ext2_alloccg()
1121 if (isset(bbp, bno)) { in ext2_alloccg()
1127 setbit(bbp, bno); in ext2_alloccg()
1129 ext2_clusteracct(fs, bbp, cg, bno, -1); in ext2_alloccg()
1155 char *bbp; in ext2_clusteralloc() local
1173 bbp = (char *)bp->b_data; in ext2_clusteralloc()
1207 if ((bbp[loc] & bit) != 0) in ext2_clusteralloc()
1227 if (!isclr(bbp, got - run + i)) in ext2_clusteralloc()
1236 setbit(bbp, bno + i); in ext2_clusteralloc()
1237 ext2_clusteracct(fs, bbp, cg, bno + i, -1); in ext2_clusteralloc()
1425 char *bbp; in ext2_blkfree() local
1441 bbp = (char *)bp->b_data; in ext2_blkfree()
1443 if (isclr(bbp, bno)) { in ext2_blkfree()
1447 clrbit(bbp, bno); in ext2_blkfree()
1449 ext2_clusteracct(fs, bbp, cg, bno, 1); in ext2_blkfree()
1519 ext2_mapsearch(struct m_ext2fs *fs, char *bbp, daddr_t bpref) in ext2_mapsearch() argument
1533 loc = memcchr(&bbp[start], 0xff, len); in ext2_mapsearch()
1537 loc = memcchr(&bbp[start], 0xff, len); in ext2_mapsearch()
1544 return ((loc - bbp) * NBBY + ffs(~*loc) - 1); in ext2_mapsearch()