| /dflybsd-src/sys/dev/disk/nata/ |
| H A D | atapi-fd.c | 54 struct buf *bbp = bp->bio_buf; in biofinish() local 56 bbp->b_flags |= B_ERROR; in biofinish() 57 bbp->b_error = error; in biofinish() 237 struct buf *bbp = bp->bio_buf; in afd_strategy() local 246 if (bbp->b_bcount == 0) { in afd_strategy() 247 bbp->b_resid = 0; in afd_strategy() 259 count = bbp->b_bcount / fdp->sectorsize; in afd_strategy() 260 bbp->b_resid = bbp->b_bcount; in afd_strategy() 264 switch(bbp->b_cmd) { in afd_strategy() 293 request->data = bbp->b_data; in afd_strategy() [all …]
|
| H A D | atapi-tape.c | 55 struct buf *bbp = bp->bio_buf; in biofinish() local 57 bbp->b_flags |= B_ERROR; in biofinish() 58 bbp->b_error = error; in biofinish() 396 struct buf *bbp = bp->bio_buf; in ast_strategy() local 404 if (bbp->b_bcount == 0) { in ast_strategy() 405 bbp->b_resid = 0; in ast_strategy() 409 if (!(bbp->b_cmd == BUF_CMD_READ) && (stp->flags & F_WRITEPROTECT)) { in ast_strategy() 413 if (bbp->b_cmd != BUF_CMD_READ && bbp->b_cmd != BUF_CMD_WRITE) { in ast_strategy() 419 if (bbp->b_bcount % stp->blksize) { in ast_strategy() 426 if (bbp->b_bcount > stp->blksize * stp->cap.ctl) { in ast_strategy() [all …]
|
| H A D | ata-disk.c | 56 struct buf *bbp = bp->bio_buf; in biofinish() local 58 bbp->b_flags |= B_ERROR; in biofinish() 59 bbp->b_error = error; in biofinish() 285 struct buf *bbp = bp->bio_buf; in ad_strategy() local 312 request->data = bbp->b_data; in ad_strategy() 313 request->bytecount = bbp->b_bcount; in ad_strategy() 317 request->transfersize = min(bbp->b_bcount, atadev->max_iosize); in ad_strategy() 319 switch (bbp->b_cmd) { in ad_strategy() 370 struct buf *bbp = bp->bio_buf; in ad_done() local 373 if ((bbp->b_error = request->result)) in ad_done() [all …]
|
| H A D | atapi-cd.c | 113 struct buf *bbp = bp->bio_buf; in g_io_deliver() local 115 bbp->b_flags |= B_ERROR; in g_io_deliver() 116 bbp->b_error = error; in g_io_deliver() 779 struct buf *bbp = bp->bio_buf; in acd_strategy() local 784 if (bbp->b_cmd != BUF_CMD_READ && bbp->b_cmd != BUF_CMD_WRITE) { in acd_strategy() 789 if (bbp->b_cmd == BUF_CMD_READ && cdp->disk_size == -1) { in acd_strategy() 794 KASSERT(bbp->b_bcount != 0, ("acd_strategy: 0-length I/O")); in acd_strategy() 797 bbp->b_resid = bbp->b_bcount; in acd_strategy() 807 struct buf *bbp = bp->bio_buf; in acd_start() local 845 count = bbp->b_bcount / blocksize; in acd_start() [all …]
|
| H A D | ata-raid.c | 64 struct buf *bbp = bp->bio_buf; in biofinish() local 66 bbp->b_flags |= B_ERROR; in biofinish() 67 bbp->b_error = error; in biofinish() 312 struct buf *bbp = bp->bio_buf; in ata_raid_strategy() local 318 if (bbp->b_cmd == BUF_CMD_FLUSH) { in ata_raid_strategy() 328 (bbp->b_cmd != BUF_CMD_READ && bbp->b_cmd != BUF_CMD_WRITE)) { in ata_raid_strategy() 333 bbp->b_resid = bbp->b_bcount; in ata_raid_strategy() 334 for (count = howmany(bbp->b_bcount, DEV_BSIZE), in ata_raid_strategy() 337 data = bbp->b_data; in ata_raid_strategy() 440 if (bbp->b_cmd == BUF_CMD_READ) { in ata_raid_strategy() [all …]
|
| /dflybsd-src/contrib/wpa_supplicant/src/wps/ |
| H A D | httpread.c | 373 char *bbp; /* pointer into body buffer */ in httpread_read_handler() local 528 bbp = h->body + h->body_nbytes; in httpread_read_handler() 535 if (bbp-cbp >= 2 && bbp[-2] == '\r' && in httpread_read_handler() 536 bbp[-1] == '\n') { in httpread_read_handler() 558 bbp = cbp; in httpread_read_handler() 581 if (bbp[-1] == '\n' && in httpread_read_handler() 582 bbp[-2] == '\r') { in httpread_read_handler() 589 bbp -= 2; in httpread_read_handler() 612 *bbp++ = *rbp++; in httpread_read_handler() 629 os_memcpy(bbp, rbp, ncopy); in httpread_read_handler() [all …]
|
| /dflybsd-src/sys/vfs/ext2fs/ |
| H A D | ext2_alloc.c | 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() [all …]
|
| H A D | ext2_subr.c | 114 ext2_clusteracct(struct m_ext2fs *fs, char *bbp, int cg, e4fs_daddr_t bno, int cnt) in ext2_clusteracct() argument 129 if ((bbp[loc] & bit) == 0) in ext2_clusteracct() 163 if ((bbp[loc] & bit) != 0) in ext2_clusteracct() 182 if ((bbp[loc] & bit) != 0) in ext2_clusteracct()
|
| /dflybsd-src/usr.bin/xargs/ |
| H A D | xargs.c | 87 static char *argp, *bbp, *ebp, *inpline, *p, *replstr; variable 301 if ((bbp = malloc((size_t)(nline + 1))) == NULL) in main() 303 ebp = (argp = p = bbp) + nline - 1; in main() 319 if (p == bbp) { in parse_input() 416 p = bbp; in parse_input() 468 memcpy(bbp, argp, (size_t)cnt); in parse_input() 469 p = (argp = bbp) + cnt; in parse_input()
|
| /dflybsd-src/sys/bus/u4b/wlan/ |
| H A D | if_run.c | 1778 sc->bbp[i].val = val & 0xff; in run_read_eeprom() 1779 sc->bbp[i].reg = val >> 8; in run_read_eeprom() 1780 DPRINTF("BBP%d=0x%02x\n", sc->bbp[i].reg, in run_read_eeprom() 1781 sc->bbp[i].val); in run_read_eeprom() 3888 uint8_t bbp; in run_set_agc() local 3891 run_bbp_read(sc, 27, &bbp); in run_set_agc() 3892 bbp &= ~(0x3 << 5); in run_set_agc() 3893 run_bbp_write(sc, 27, bbp | 0 << 5); /* select Rx0 */ in run_set_agc() 3895 run_bbp_write(sc, 27, bbp | 1 << 5); /* select Rx1 */ in run_set_agc() 5262 uint8_t bbp; in run_rt5390_bbp_init() local [all …]
|
| H A D | if_runvar.h | 210 } bbp[10], rf[10]; member
|
| /dflybsd-src/sys/dev/netif/ral/ |
| H A D | rt2860.c | 2713 uint8_t rf, bbp; in rt3090_rf_init() local 2752 bbp = rt2860_mcu_bbp_read(sc, 4); in rt3090_rf_init() 2753 rt2860_mcu_bbp_write(sc, 4, (bbp & ~0x08) | 0x10); in rt3090_rf_init() 2762 bbp = rt2860_mcu_bbp_read(sc, 4); in rt3090_rf_init() 2763 rt2860_mcu_bbp_write(sc, 4, bbp & ~0x18); in rt3090_rf_init() 2774 bbp = rt2860_mcu_bbp_read(sc, 138); in rt3090_rf_init() 2777 bbp |= 0x60; /* turn off DAC1 and DAC2 */ in rt3090_rf_init() 2779 bbp |= 0x40; /* turn off DAC2 */ in rt3090_rf_init() 2781 bbp &= ~0x06; /* turn off ADC1 and ADC2 */ in rt3090_rf_init() 2783 bbp &= ~0x04; /* turn off ADC2 */ in rt3090_rf_init() [all …]
|
| H A D | rt2860var.h | 193 } bbp[8], rf[10]; member
|