Home
last modified time | relevance | path

Searched refs:bbp (Results 1 – 13 of 13) sorted by relevance

/dragonfly/sys/dev/disk/nata/
H A Datapi-fd.c54 struct buf *bbp = bp->bio_buf; in biofinish() local
56 bbp->b_flags |= B_ERROR; in biofinish()
57 bbp->b_error = error; in biofinish()
246 if (bbp->b_bcount == 0) { in afd_strategy()
247 bbp->b_resid = 0; 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()
300 switch (bbp->b_cmd) { in afd_strategy()
327 bbp->b_flags |= B_ERROR; in afd_done()
[all …]
H A Datapi-tape.c55 struct buf *bbp = bp->bio_buf; in biofinish() local
57 bbp->b_flags |= B_ERROR; in biofinish()
58 bbp->b_error = error; in biofinish()
404 if (bbp->b_bcount == 0) { in ast_strategy()
405 bbp->b_resid = 0; in ast_strategy()
413 if (bbp->b_cmd != BUF_CMD_READ && bbp->b_cmd != BUF_CMD_WRITE) { in ast_strategy()
457 request->data = bbp->b_data; in ast_strategy()
464 switch (bbp->b_cmd) { in ast_strategy()
488 bbp->b_flags |= B_ERROR; in ast_done()
491 bbp->b_resid = bbp->b_bcount - request->donecount; in ast_done()
[all …]
H A Data-disk.c56 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()
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()
374 bbp->b_flags |= B_ERROR; in ad_done()
[all …]
H A Datapi-cd.c113 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()
784 if (bbp->b_cmd != BUF_CMD_READ && bbp->b_cmd != BUF_CMD_WRITE) { in acd_strategy()
797 bbp->b_resid = bbp->b_bcount; in acd_strategy()
847 bbp->b_bcount, blocksize)); in acd_start()
854 bbp->b_resid = bbp->b_bcount; in acd_start()
896 request->data = bbp->b_data; in acd_start()
905 switch (bbp->b_cmd) { in acd_start()
931 bbp->b_flags |= B_ERROR; in acd_done()
[all …]
H A Data-raid.c66 bbp->b_flags |= B_ERROR; in biofinish()
67 bbp->b_error = error; in biofinish()
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()
337 data = bbp->b_data; in ata_raid_strategy()
650 if (bbp->b_error == 0) in ata_raid_done()
655 if (bbp->b_error) in ata_raid_done()
674 if (!bbp->b_resid) in ata_raid_done()
764 bbp->b_error = EIO; in ata_raid_done()
770 bbp->b_resid -= in ata_raid_done()
[all …]
/dragonfly/contrib/wpa_supplicant/src/wps/
H A Dhttpread.c373 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 …]
/dragonfly/sys/vfs/ext2fs/
H A Dext2_alloc.c990 char *bbp; in ext2_alloccg() local
1027 bbp = (char *)bp->b_data; in ext2_alloccg()
1063 bit = fls(bbp[loc]); in ext2_alloccg()
1082 bit = fls(bbp[loc]); in ext2_alloccg()
1104 if (isset(bbp, bno)) { in ext2_alloccg()
1110 setbit(bbp, bno); in ext2_alloccg()
1138 char *bbp; in ext2_clusteralloc() local
1219 setbit(bbp, bno + i); in ext2_clusteralloc()
1409 char *bbp; in ext2_blkfree() local
1428 if (isclr(bbp, bno)) { in ext2_blkfree()
[all …]
H A Dext2_subr.c114 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()
/dragonfly/usr.bin/xargs/
H A Dxargs.c87 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()
/dragonfly/sys/bus/u4b/wlan/
H A Dif_run.c1781 sc->bbp[i].val); in run_read_eeprom()
3888 uint8_t bbp; in run_set_agc() local
3892 bbp &= ~(0x3 << 5); in run_set_agc()
5262 uint8_t bbp; in run_rt5390_bbp_init() local
5270 run_bbp_read(sc, 4, &bbp); in run_rt5390_bbp_init()
5691 uint8_t bbp, rf; in run_rt3070_rf_setup() local
5770 uint8_t bbp, rf; in run_rt3593_rf_setup() local
5810 run_bbp_read(sc, 4, &bbp); in run_rt3593_rf_setup()
5840 uint8_t bbp, rf; in run_rt5390_rf_setup() local
6098 if (sc->bbp[i].reg == 0 || sc->bbp[i].reg == 0xff) in run_init_locked()
[all …]
H A Dif_runvar.h210 } bbp[10], rf[10]; member
/dragonfly/sys/dev/netif/ral/
H A Drt2860.c2713 uint8_t rf, bbp; in rt3090_rf_init() local
2752 bbp = rt2860_mcu_bbp_read(sc, 4); in rt3090_rf_init()
2820 uint8_t rf, bbp; in rt5390_rf_init() local
3056 uint8_t bbp; in rt3090_rf_setup() local
3466 sc->bbp[i].val = val & 0xff; in rt2860_read_eeprom()
3467 sc->bbp[i].reg = val >> 8; in rt2860_read_eeprom()
3468 DPRINTF(("BBP%d=0x%02x\n", sc->bbp[i].reg, sc->bbp[i].val)); in rt2860_read_eeprom()
3775 uint8_t bbp; in rt5390_bbp_init() local
3785 bbp = rt2860_mcu_bbp_read(sc, 4); in rt5390_bbp_init()
4037 if (sc->bbp[i].reg == 0 || sc->bbp[i].reg == 0xff) in rt2860_init_locked()
[all …]
H A Drt2860var.h193 } bbp[8], rf[10]; member