Lines Matching refs:bbp
650 char *bbp;
674 bbp = (char *)bp->b_data;
683 if (isclr(bbp, bpref)) {
703 if (bbp[loc] == (char)0xff) {
710 bit = fls(bbp[loc]);
713 } else if (bbp[loc] == 0) {
721 bit = ffs(bbp[loc]) - 1;
729 bit = fls(bbp[loc]);
746 bno = ext2_mapsearch(fs, bbp, bpref);
754 if (isset(bbp, bno)) {
760 setbit(bbp, bno);
762 ext2_clusteracct(fs, bbp, cg, bno, -1);
780 char *bbp;
798 bbp = (char *)bp->b_data;
832 if ((bbp[loc] & bit) != 0)
852 if (!isclr(bbp, got - run + i))
861 setbit(bbp, bno + i);
862 ext2_clusteracct(fs, bbp, cg, bno + i, -1);
965 char *bbp;
983 bbp = (char *)bp->b_data;
985 if (isclr(bbp, bno)) {
990 clrbit(bbp, bno);
992 ext2_clusteracct(fs, bbp, cg, bno, 1);
1058 ext2_mapsearch(struct m_ext2fs *fs, char *bbp, daddr_t bpref)
1072 loc = memcchr(&bbp[start], 0xff, len);
1076 loc = memcchr(&bbp[start], 0xff, len);
1084 return ((loc - bbp) * NBBY + ffs(~*loc) - 1);