Home
last modified time | relevance | path

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

/netbsd-src/sys/ufs/ext2fs/
H A Dext2fs_alloc.c344 char *bbp; in ext2fs_alloccg() local
359 bbp = (char *)bp->b_data; in ext2fs_alloccg()
367 ext2fs_init_bb(fs, cg, &fs->e2fs_gd[cg], bbp); in ext2fs_alloccg()
376 if (isclr(bbp, bpref)) { in ext2fs_alloccg()
393 if (bbp[loc] == 0) { in ext2fs_alloccg()
399 if (bbp[loc] == 0) { in ext2fs_alloccg()
405 bno = ext2fs_mapsearch(fs, bbp, bpref); in ext2fs_alloccg()
416 if (isset(bbp, (daddr_t)bno)) { in ext2fs_alloccg()
422 setbit(bbp, (daddr_t)bno); in ext2fs_alloccg()
519 char *bbp; in ext2fs_blkfree() local
[all …]
/netbsd-src/external/bsd/wpa/dist/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 …]
/netbsd-src/external/bsd/ntp/dist/scripts/build/
H A DUpdatePoint91 bbp=0
142 bbp=1
171 bbp=1
181 bbp=1
253 case "$bbp::$betapoint" in
/netbsd-src/usr.bin/xargs/
H A Dxargs.c76 static char *argp, *bbp, *ebp, *inpline, *p, *replstr; variable
267 if ((bbp = malloc((size_t)(nline + 1))) == NULL) in main()
269 ebp = (argp = p = bbp) + nline - 1; in main()
285 if (p == bbp) { in parse_input()
376 p = bbp; in parse_input()
422 (void)memcpy(bbp, argp, (size_t)cnt); in parse_input()
423 p = (argp = bbp) + cnt; in parse_input()
/netbsd-src/usr.sbin/flashctl/
H A Dflashctl.c155 struct flash_badblock_params bbp; in main() local
169 bbp.bbp_addr = addr; in main()
171 error = ioctl(fd, FLASH_BLOCK_ISBAD, &bbp); in main()
177 if (bbp.bbp_isbad) { in main()
/netbsd-src/sbin/newfs_ext2fs/
H A Dmke2fs.c1259 uint8_t *bbp; in alloc() local
1268 bbp = malloc(sblock.e2fs_bsize); in alloc()
1269 if (bbp == NULL) in alloc()
1272 sblock.e2fs_bsize, bbp); in alloc()
1279 if (bbp[loc] == 0) { in alloc()
1286 loc = skpc(~0U, len, bbp); in alloc()
1288 free(bbp); in alloc()
1292 map = bbp[loc]; in alloc()
1298 free(bbp); in alloc()
1302 if (isset(bbp, bn in alloc()
[all...]
/netbsd-src/sys/dev/usb/
H A Dif_run.c1561 sc->bbp[i].val = val & 0xff; in run_read_eeprom()
1562 sc->bbp[i].reg = val >> 8; in run_read_eeprom()
1563 DPRINTF(("BBP%d=0x%02x\n", sc->bbp[i].reg, in run_read_eeprom()
1564 sc->bbp[i].val)); in run_read_eeprom()
3749 uint8_t bbp; in run_set_agc() local
3752 run_bbp_read(sc, 27, &bbp); in run_set_agc()
3753 bbp &= ~(0x3 << 5); in run_set_agc()
3754 run_bbp_write(sc, 27, bbp | 0 << 5); /* select Rx0 */ in run_set_agc()
3756 run_bbp_write(sc, 27, bbp | 1 << 5); /* select Rx1 */ in run_set_agc()
4023 uint8_t bbp; in run_rt5390_bbp_init() local
[all …]
H A Dif_runvar.h182 } bbp[10], rf[10]; member
/netbsd-src/sys/dev/flash/
H A Dflash.c383 struct flash_badblock_params *bbp; in flashioctl() local
423 bbp = data; in flashioctl()
425 err = flash_block_isbad(sc->sc_dev, bbp->bbp_addr, &bad); in flashioctl()
429 bbp->bbp_isbad = bad; in flashioctl()
433 bbp = data; in flashioctl()
435 err = flash_block_markbad(sc->sc_dev, bbp->bbp_addr); in flashioctl()
/netbsd-src/sys/dev/ic/
H A Drt2860.c2585 uint8_t rf, bbp; in rt3090_rf_init() local
2631 bbp = rt2860_mcu_bbp_read(sc, 4); in rt3090_rf_init()
2632 rt2860_mcu_bbp_write(sc, 4, (bbp & ~0x08) | 0x10); in rt3090_rf_init()
2641 bbp = rt2860_mcu_bbp_read(sc, 4); in rt3090_rf_init()
2642 rt2860_mcu_bbp_write(sc, 4, bbp & ~0x18); in rt3090_rf_init()
2653 bbp = rt2860_mcu_bbp_read(sc, 138); in rt3090_rf_init()
2656 bbp |= 0x60; /* turn off DAC1 and DAC2 */ in rt3090_rf_init()
2658 bbp |= 0x40; /* turn off DAC2 */ in rt3090_rf_init()
2660 bbp &= ~0x06; /* turn off ADC1 and ADC2 */ in rt3090_rf_init()
2662 bbp &= ~0x04; /* turn off ADC2 */ in rt3090_rf_init()
[all …]
H A Drt2860var.h188 } bbp[8], rf[10]; member
/netbsd-src/external/gpl3/binutils/dist/gas/
H A Dginsn.c584 gbb_cleanup (gbbS **bbp) in gbb_cleanup() argument
588 if (!bbp && !*bbp) in gbb_cleanup()
591 bb = *bbp; in gbb_cleanup()
604 *bbp = NULL; in gbb_cleanup()