Searched refs:bcount (Results 1 - 25 of 42) sorted by relevance

12

/netbsd-6-1-5-RELEASE/sys/lib/libsa/
H A Dread.c68 read(int fd, void *dest, size_t bcount) argument
70 oread(int fd, void *dest, size_t bcount)
88 btodb(f->f_offset), bcount, dest, &resid);
95 resid = bcount;
96 if ((errno = FS_READ(f->f_ops)(f, dest, bcount, &resid)))
98 return (ssize_t)(bcount - resid);
H A Dwrite.c67 write(int fd, const void *destp, size_t bcount) argument
85 btodb(f->f_offset), bcount, dest, &resid);
92 resid = bcount;
93 if ((errno = FS_WRITE(f->f_ops)(f, dest, bcount, &resid)))
/netbsd-6-1-5-RELEASE/external/gpl3/gcc/dist/contrib/reghunt/examples/
H A D28970.c10 void bug(int q, int bcount) argument
20 j = tar (outgo*bcount);
/netbsd-6-1-5-RELEASE/external/gpl3/gcc/dist/gcc/testsuite/gcc.c-torture/execute/
H A D20061101-1.c14 void bug(int q, int bcount) argument
24 j = tar (outgo*bcount);
H A D20061101-2.c14 void bug(int q, long bcount) argument
24 j = tar (outgo*bcount);
/netbsd-6-1-5-RELEASE/gnu/dist/gcc4/gcc/testsuite/gcc.c-torture/execute/
H A D20061101-1.c14 void bug(int q, int bcount) argument
24 j = tar (outgo*bcount);
/netbsd-6-1-5-RELEASE/sys/dev/ata/
H A Dld_ataraid.c282 u_int comp, daddr_t bn, void *addr, long bcount)
298 cbp->cb_buf.b_bcount = bcount;
336 long bcount, rcount; local
353 for (bcount = bp->b_bcount; bcount > 0; bcount -= rcount) {
394 long bcount, rcount; local
406 for (bcount = bp->b_bcount; bcount > 0; bcount
281 ld_ataraid_make_cbuf(struct ld_ataraid_softc *sc, struct buf *bp, u_int comp, daddr_t bn, void *addr, long bcount) argument
[all...]
H A Datavar.h213 long bcount; /* total number of bytes */ member in struct:ata_bio
277 int bcount; /* number of bytes to transfer */ member in struct:ata_command
/netbsd-6-1-5-RELEASE/sys/dev/usb/
H A Dumass_isdata.c245 ata_bio->bcount -= ata_bio->nbytes;
248 ata_bio->bcount += residue;
249 } else if (ata_bio->bcount > 0) {
320 nbytes = ata_bio->bcount;
343 if (ata_bio->bcount != 0) {
360 DPRINTF((" data=%p bcount=%ld, drive=%d\n", ata_bio->databuf,
361 ata_bio->bcount, drv->drive));
420 DPRINTF((" r_command=0x%02x timeout=%d flags=0x%x bcount=%d\n",
421 cmd->r_command, cmd->timeout, cmd->flags, cmd->bcount));
424 if (cmd->bcount !
[all...]
/netbsd-6-1-5-RELEASE/sys/arch/bebox/stand/boot/
H A Dwdvar.h86 uint16_t bcount; member in struct:wdc_command
H A Dwdc.c261 for (i = wd_c->bcount; i > 0; i -= sizeof(uint16_t))
264 for (i = wd_c->bcount; i > 0; i -= sizeof(uint16_t))
280 wd_c->r_head, wd_c->r_sector, wd_c->bcount));
361 wd_c.bcount = DEV_BSIZE;
440 wd_c.bcount = wd->sc_label.d_secsize;
/netbsd-6-1-5-RELEASE/sys/kern/
H A Dsubr_iostat.c202 iostat_unbusy(struct io_stats *stats, long bcount, int read) argument
217 if (bcount > 0) {
219 stats->io_rbytes += bcount;
222 stats->io_wbytes += bcount;
/netbsd-6-1-5-RELEASE/sys/ufs/lfs/
H A Dlfs_balloc.c121 int bcount; local
228 bcount = 0;
230 bcount = frags;
234 bcount += frags;
237 if (ISSPACE(fs, bcount, cred)) {
239 fs->lfs_bfree -= bcount;
241 ip->i_lfs_effnblks += bcount;
/netbsd-6-1-5-RELEASE/sys/arch/mmeye/stand/boot/
H A Dwdc.c244 for (i = wd_c->bcount; i > 0; i -= sizeof(uint16_t))
247 for (i = wd_c->bcount; i > 0; i -= sizeof(uint16_t))
264 wd_c->r_head, wd_c->r_sector, wd_c->bcount,
348 wd_c.bcount = DEV_BSIZE;
375 wd_c.bcount = wd->sc_label.d_secsize;
H A Dwdvar.h126 uint16_t bcount; member in struct:wdc_command
/netbsd-6-1-5-RELEASE/external/bsd/openldap/dist/contrib/slapd-modules/addpartial/
H A Daddpartial-overlay.c122 int acount , bcount; local
132 for(bv = at->a_vals, bcount = 0; bv->bv_val != NULL;
133 bv++, bcount++)
137 if(acount != bcount)
139 Debug(LDAP_DEBUG_TRACE, "%s: acount != bcount, %s\n",
/netbsd-6-1-5-RELEASE/sys/arch/cobalt/stand/boot/
H A Dwdc.c212 for (i = wd_c->bcount; i > 0; i -= sizeof(uint16_t))
229 wd_c->r_head, wd_c->r_sector, wd_c->bcount,
313 wd_c.bcount = DEV_BSIZE;
340 wd_c.bcount = wd->sc_label.d_secsize;
H A Dwdvar.h92 uint16_t bcount; member in struct:wdc_command
/netbsd-6-1-5-RELEASE/sys/arch/xen/xen/
H A Dxbd_xenbus.c932 size_t bcount, off; local
1002 bcount = (sc->sc_xbdsize - bp->b_rawblkno) * DEV_BSIZE;
1003 bp->b_resid = bp->b_bcount - bcount;
1005 bcount = bp->b_bcount;
1008 for (seg = 0, bcount = bp->b_bcount; bcount > 0;) {
1011 if (bcount > PAGE_SIZE - off)
1014 nbytes = bcount;
1029 bcount -= nbytes;
/netbsd-6-1-5-RELEASE/sys/dev/i2o/
H A Dld_iop.c409 int rv, bcount; local
415 bcount = blkcnt * ld->sc_secsize;
425 mf->datasize = bcount;
429 if ((rv = iop_msg_map(iop, im, mb, data, bcount, 1, NULL)) != 0) {
/netbsd-6-1-5-RELEASE/external/bsd/bind/dist/lib/dns/
H A Drdata.c1574 isc_int32_t bcount; member in struct:state
1581 #define bcount state->bcount macro
1598 if (bcount != 0)
1607 if (bcount == 0) {
1609 ++bcount;
1610 } else if (bcount < 4) {
1613 ++bcount;
1622 bcount = 0;
1675 Ceor = Csum = Crot = word = bcount
[all...]
/netbsd-6-1-5-RELEASE/usr.bin/window/
H A Dcompress.c85 short bcount; /* count in this buffer */ member in struct:cc
534 p->bcount = 1;
555 p->bcount = 1;
603 p->bcount++;
606 (p->bcount >= threshold
778 if ((short) ccount >= p->bcount)
908 return (*vp2)->bcount - (*vp1)->bcount;
/netbsd-6-1-5-RELEASE/sys/dev/mca/
H A Dedc_mca.c847 size_t bcount, daddr_t rawblkno, int isread, int poll)
864 bcount, NULL, BUS_DMA_STREAMING|fl))) {
871 bcount, (isread) ? BUS_DMASYNC_PREREAD : BUS_DMASYNC_PREWRITE);
880 cmd_args[1] = bcount / DEV_BSIZE;
889 bus_dmamap_sync(sc->sc_dmat, sc->sc_dmamap_xfer, 0, bcount,
846 edc_bio(struct edc_mca_softc *sc, struct ed_softc *ed, void *data, size_t bcount, daddr_t rawblkno, int isread, int poll) argument
/netbsd-6-1-5-RELEASE/sys/dev/raidframe/
H A Drf_raid1.c256 int nbytes, bcount, stripeWidth, ret, i, j, nbad, *bbufs; local
294 bcount = nbytes * (layoutPtr->numDataCol + layoutPtr->numParityCol);
295 RF_MallocAndAdd(bf, bcount, (char *), allocList);
300 printf("raid%d: RAID1 parity verify: buf=%lx bcount=%d (%lx - %lx)\n",
301 raidPtr->raidid, (long) bf, bcount, (long) bf,
302 (long) bf + bcount);
/netbsd-6-1-5-RELEASE/sys/dev/
H A Dccd.c732 long bcount, rcount; local
775 for (bcount = bp->b_bcount; bcount > 0; bcount -= rcount) {
776 cbp = ccdbuffer(cs, bp, bn, addr, bcount);
804 long bcount)
815 cs, bp, bn, addr, bcount);
881 cbp->cb_buf.b_bcount = cbc < bcount ? cbc : bcount;
921 printf("ccdiodone: bp %p bcount
803 ccdbuffer(struct ccd_softc *cs, struct buf *bp, daddr_t bn, void *addr, long bcount) argument
[all...]

Completed in 284 milliseconds

12