Home
last modified time | relevance | path

Searched refs:bcount (Results 1 – 23 of 23) sorted by relevance

/openbsd/src/sys/lib/libsa/
Dread.c69 read(int fd, void *dest, size_t bcount) in read() argument
71 oread(int fd, void *dest, size_t bcount) in read()
84 btodb(f->f_offset), bcount, dest, &resid); in read()
90 resid = bcount; in read()
91 if ((errno = (f->f_ops->read)(f, dest, bcount, &resid))) in read()
93 return (ssize_t)(bcount - resid); in read()
Dwrite.c68 write(int fd, void *dest, size_t bcount) in write() argument
80 btodb(f->f_offset), bcount, dest, &resid); in write()
86 resid = bcount; in write()
87 if ((errno = (f->f_ops->write)(f, dest, bcount, &resid))) in write()
/openbsd/src/libexec/spamd/
Dgrey.h35 int bcount; /* how many times have we blocked it */ member
43 int bcount; /* how many times have we blocked it */ member
Dgdcopy.c40 gd->bcount = ogd.bcount; in gdcopyin()
Dgrey.c733 gd.bcount++; in twupdate()
825 gd.bcount = 1; in greyupdate()
853 gd.bcount++; in greyupdate()
/openbsd/src/usr.sbin/spamdb/
Dspamdb.c111 gd.bcount = 1; in dbupdate()
217 (long long)gd.expire, gd.bcount, in print_entry()
244 gd.bcount, gd.pcount); in print_entry()
252 gd.bcount, gd.pcount); in print_entry()
/openbsd/src/sbin/newfs_ext2fs/
Dmke2fs.c186 uint bcount, fbcount, ficount; in mke2fs() local
276 bcount = dbtofsb(&sblock, fssize); in mke2fs()
289 ncg = howmany(bcount - sblock.e2fs.e2fs_first_dblock, blocks_per_cg); in mke2fs()
310 blocks_lastcg = bcount - sblock.e2fs.e2fs_first_dblock - in mke2fs()
321 bcount -= blocks_lastcg; in mke2fs()
334 sblock.e2fs.e2fs_bcount = bcount; in mke2fs()
519 (uint)(((uint64_t)bcount * bsize) / (1024 * 1024)), in mke2fs()
520 (uint)((uint64_t)bcount * bsize - in mke2fs()
521 rounddown((uint64_t)bcount * bsize, 1024 * 1024)) in mke2fs()
565 epblock = (uint64_t)bcount * bsize / pbsize[i]; in mke2fs()
/openbsd/src/usr.bin/dig/lib/dns/
Drdata.c1396 int32_t bcount; member
1403 #define bcount state->bcount macro
1429 if (bcount == 3) { in byte_btoa()
1464 bcount = 0; in byte_btoa()
1466 bcount += 1; in byte_btoa()
1481 Ceor = Csum = Crot = word = bcount = 0; in btoa_totext()
1485 while (bcount != 0) in btoa_totext()
/openbsd/src/sys/dev/ata/
Dwdvar.h49 long bcount; /* total number of bytes */ member
Data_wdc.c166 wd->sc_wdc_bio.bcount = size; in wd_hibernate_io()
176 xfer->c_bcount = ata_bio->bcount; in wd_hibernate_io()
203 (ata_bio->bcount > 512 || in wdc_ata_bio()
209 xfer->c_bcount = ata_bio->bcount; in wdc_ata_bio()
594 ata_bio->bcount = xfer->c_bcount; in wdc_ata_bio_done()
Datavar.h151 int bcount; /* number of bytes to transfer */ member
Data.c85 wdc_c.bcount = ATAPARAMS_SIZE; in ata_get_params()
Dwd.c487 wd->sc_wdc_bio.bcount = bp->b_bcount; in __wdstart()
522 bp->b_resid = wd->sc_wdc_bio.bcount; in wddone()
946 wd->sc_wdc_bio.bcount = nwrt * lp->d_secsize; in wddump()
/openbsd/src/sys/dev/ic/
Dcacreg.h241 u_int16_t bcount; /* block count */ member
Dwdc.c1632 xfer->c_bcount = wdc_c->bcount; in wdc_exec_command()
1714 wdc_c->data, wdc_c->bcount); in __wdccommand_start()
1741 int bcount = wdc_c->bcount; in __wdccommand_intr() local
1764 wdc_input_bytes(drvp, data, bcount); in __wdccommand_intr()
2060 wdc_c.bcount = atareq->datalen; in wdc_ioc_ata_cmd()
Dcac.c373 ccb->ccb_req.bcount = htole16(howmany(size, DEV_BSIZE)); in cac_cmd()
/openbsd/src/sys/kern/
Dsubr_disk.c1257 disk_unbusy(struct disk *diskp, long bcount, daddr_t blkno, int read) in disk_unbusy() argument
1272 if (bcount > 0) { in disk_unbusy()
1274 diskp->dk_rbytes += bcount; in disk_unbusy()
1277 diskp->dk_wbytes += bcount; in disk_unbusy()
1285 enqueue_randomness(bcount ^ diff_time.tv_usec ^ in disk_unbusy()
/openbsd/src/bin/ksh/
Dvi.c1180 int bcount, i = 0, t; in domove() local
1283 bcount = 1; in domove()
1294 bcount++; in domove()
1296 bcount--; in domove()
1297 } while (bcount != 0); in domove()
/openbsd/src/gnu/usr.bin/binutils/binutils/
Dsysroff.info184 (("bcount") (1 byte) ("bcount"))
Dsrconv.c537 rl.bcount = 4; /* Always 4 for us. */ in wr_rl()
543 rl.bcount = 11; /* Always 11 for us. */ in wr_rl()
553 rl.bcount = 11; /* Always 11 for us. */ in wr_rl()
/openbsd/src/gnu/usr.bin/binutils-2.17/binutils/
Dsysroff.info184 (("bcount") (1 byte) ("bcount"))
Dsrconv.c533 rl.bcount = 4; /* Always 4 for us. */ in wr_rl()
539 rl.bcount = 11; /* Always 11 for us. */ in wr_rl()
549 rl.bcount = 11; /* Always 11 for us. */ in wr_rl()
/openbsd/src/libexec/spamlogd/
Dspamlogd.c325 gd.bcount = 1; in dbupdate()