Lines Matching refs:bbp
1004 char *bbp; in ext2_alloccg() local
1041 bbp = (char *)bp->b_data; in ext2_alloccg()
1050 if (isclr(bbp, bpref)) { in ext2_alloccg()
1070 if (bbp[loc] == (char)0xff) { in ext2_alloccg()
1077 bit = fls(bbp[loc]); in ext2_alloccg()
1080 } else if (bbp[loc] == 0) { in ext2_alloccg()
1088 bit = ffs(bbp[loc]) - 1; in ext2_alloccg()
1096 bit = fls(bbp[loc]); in ext2_alloccg()
1112 bno = ext2_mapsearch(fs, bbp, bpref); in ext2_alloccg()
1118 if (isset(bbp, bno)) { in ext2_alloccg()
1124 setbit(bbp, bno); in ext2_alloccg()
1126 ext2_clusteracct(fs, bbp, cg, bno, -1); in ext2_alloccg()
1151 char *bbp; in ext2_clusteralloc() local
1169 bbp = (char *)bp->b_data; in ext2_clusteralloc()
1203 if ((bbp[loc] & bit) != 0) in ext2_clusteralloc()
1223 if (!isclr(bbp, got - run + i)) in ext2_clusteralloc()
1232 setbit(bbp, bno + i); in ext2_clusteralloc()
1233 ext2_clusteracct(fs, bbp, cg, bno + i, -1); in ext2_clusteralloc()
1417 char *bbp; in ext2_blkfree() local
1433 bbp = (char *)bp->b_data; in ext2_blkfree()
1435 if (isclr(bbp, bno)) { in ext2_blkfree()
1439 clrbit(bbp, bno); in ext2_blkfree()
1441 ext2_clusteracct(fs, bbp, cg, bno, 1); in ext2_blkfree()
1512 ext2_mapsearch(struct m_ext2fs *fs, char *bbp, daddr_t bpref) in ext2_mapsearch() argument
1526 loc = memcchr(&bbp[start], 0xff, len); in ext2_mapsearch()
1530 loc = memcchr(&bbp[start], 0xff, len); in ext2_mapsearch()
1537 return ((loc - bbp) * NBBY + ffs(~*loc) - 1); in ext2_mapsearch()