HomeSort by: relevance | last modified time | path
    Searched refs:bcount (Results 1 - 25 of 36) sorted by relevancy

1 2

  /src/sys/lib/libsa/
read.c 68 read(int fd, void *dest, size_t bcount)
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);
write.c 67 write(int fd, const void *destp, size_t bcount)
85 btodb(f->f_offset), bcount, dest, &resid);
92 resid = bcount;
93 if ((errno = FS_WRITE(f->f_ops)(f, dest, bcount, &resid)))
  /src/sys/arch/bebox/stand/boot/
wdvar.h 86 uint16_t bcount; member in struct:wdc_command
wdc.c 261 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;
  /src/sys/ufs/lfs/
lfs_balloc.c 130 int bcount; local in function:lfs_balloc
277 bcount = 0; /* number of frags we need */
280 bcount = frags;
285 bcount += frags;
288 if (ISSPACE(fs, bcount, cred)) {
291 lfs_sb_subbfree(fs, bcount);
294 ip->i_lfs_effnblks += bcount;
  /src/sys/arch/mmeye/stand/boot/
wdc.c 244 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;
wdvar.h 126 uint16_t bcount; member in struct:wdc_command
  /src/usr.sbin/fstyp/
hammer2.c 204 int i, bcount; local in function:find_pfs
215 bcount = HAMMER2_SET_COUNT;
218 bcount = 0;
239 bcount = (int)(bytes / sizeof(hammer2_blockref_t));
243 bcount = 0;
247 for (i = 0; i < bcount; ++i) {
  /src/sys/arch/cobalt/stand/boot/
wdc.c 210 for (i = wd_c->bcount; i > 0; i -= sizeof(uint16_t))
227 wd_c->r_head, wd_c->r_sector, wd_c->bcount,
311 wd_c.bcount = DEV_BSIZE;
338 wd_c.bcount = wd->sc_label.d_secsize;
wdvar.h 92 uint16_t bcount; member in struct:wdc_command
  /src/sys/kern/
subr_iostat.c 278 iostat_unbusy(struct io_stats *stats, long bcount, int read)
295 if (bcount > 0) {
297 stats->io_rbytes += bcount;
300 stats->io_wbytes += bcount;
  /src/sys/dev/ata/
ld_ataraid.c 291 u_int comp, daddr_t bn, void *addr, long bcount)
307 cbp->cb_buf.b_bcount = bcount;
345 long bcount, rcount; local in function:ld_ataraid_start_span
362 for (bcount = bp->b_bcount; bcount > 0; bcount -= rcount) {
403 long bcount, rcount; local in function:ld_ataraid_start_raid0
415 for (bcount = bp->b_bcount; bcount > 0; bcount -= rcount)
    [all...]
atavar.h 58 long bcount; /* total number of bytes */ member in struct:ata_bio
123 int bcount; /* number of bytes to transfer */ member in struct:ata_command
ata_recovery.c 104 xfer->c_ata_c.bcount = sizeof(chp->recovery_blk);
  /src/sys/fs/nfs/client/
nfs_clbio.c 412 int bcount; local in function:ncl_bioread
497 /* Note that bcount is *not* DEV_BSIZE aligned. */
498 bcount = biosize;
500 bcount = 0;
502 bcount = nsize - (off_t)lbn * biosize;
504 bp = nfs_getcacheblk(vp, lbn, bcount, td);
528 * bytes we can copy out of the bp. Note that bcount is
535 if (on < bcount)
536 n = MIN((unsigned)(bcount - on), uio->uio_resid);
854 int bcount, noncontig_write, obcount local in function:ncl_write
    [all...]
  /src/sys/dev/raidframe/
rf_raid1.c 261 int nbytes, bcount, stripeWidth, ret, i, j, nbad, *bbufs; local in function:rf_VerifyParityRAID1
299 bcount = nbytes * (layoutPtr->numDataCol + layoutPtr->numParityCol);
300 bf = RF_MallocAndAdd(bcount, allocList);
305 printf("raid%d: RAID1 parity verify: buf=%lx bcount=%d (%lx - %lx)\n",
306 raidPtr->raidid, (long) bf, bcount, (long) bf,
307 (long) bf + bcount);
  /src/sys/dev/mca/
edc_mca.c 855 size_t bcount, daddr_t rawblkno, int isread, int poll)
872 bcount, NULL, BUS_DMA_STREAMING|fl))) {
879 bcount, (isread) ? BUS_DMASYNC_PREREAD : BUS_DMASYNC_PREWRITE);
888 cmd_args[1] = bcount / DEV_BSIZE;
897 bus_dmamap_sync(sc->sc_dmat, sc->sc_dmamap_xfer, 0, bcount,
  /src/sbin/newfs_ext2fs/
mke2fs.c 187 uint bcount, fbcount, ficount; local in function:mke2fs
281 bcount = EXT2_DBTOFSB(&sblock, fssize);
294 ncg = howmany(bcount - sblock.e2fs.e2fs_first_dblock, blocks_per_cg);
315 blocks_lastcg = bcount - sblock.e2fs.e2fs_first_dblock -
326 bcount -= blocks_lastcg;
339 sblock.e2fs.e2fs_bcount = bcount;
531 (uint)(((uint64_t)bcount * bsize) / (1024 * 1024)),
532 (uint)((uint64_t)bcount * bsize -
533 rounddown((uint64_t)bcount * bsize, 1024 * 1024))
  /src/sys/dev/ic/
cacreg.h 237 u_int16_t bcount; /* block count */ member in struct:cac_req
siisata.c 948 xfer->c_bcount = ata_c->bcount;
986 ata_c->bcount,
1190 xfer->c_bcount = ata_bio->bcount;
1215 if (siisata_dma_setup(chp, xfer->c_slot, ata_bio->databuf, ata_bio->bcount,
1347 SIISATA_DEBUG_PRINT(("%s: %s bcount: %ld", SIISATANAME(sc), __func__,
1348 ata_bio->bcount), DEBUG_XFERS);
1351 ata_bio->bcount -=
1354 ata_bio->bcount = 0;
1356 SIISATA_DEBUG_PRINT((" now %ld\n", ata_bio->bcount), DEBUG_XFERS);
ahcisata_core.c 1163 xfer->c_bcount = ata_c->bcount;
1197 (ata_c->flags & (AT_READ|AT_WRITE) && ata_c->bcount > 0) ?
1199 ata_c->bcount,
1361 if (ata_c->flags & (AT_READ|AT_WRITE) && ata_c->bcount > 0) {
1417 xfer->c_bcount = ata_bio->bcount;
1446 if (ahci_dma_setup(chp, xfer->c_slot, ata_bio->databuf, ata_bio->bcount,
1587 AHCIDEBUG_PRINT(("ahci_bio_complete bcount %ld",
1588 ata_bio->bcount), DEBUG_XFERS);
1593 * was transferred and leave bcount as-is.
1599 ata_bio->bcount = 0
    [all...]
  /src/sys/dev/i2o/
ld_iop.c 410 int rv, bcount; local in function:ld_iop_dump
416 bcount = blkcnt * ld->sc_secsize;
426 mf->datasize = bcount;
430 if ((rv = iop_msg_map(iop, im, mb, data, bcount, 1, NULL)) != 0) {
  /src/sys/arch/amiga/dev/
msc.c 1191 int bcount; local in function:mscinitcard
1202 from = msc6502code; bcount = sizeof(msc6502code) - 2;
1206 while(bcount--) *to++ = *from++;
1214 for (bcount = 0; bcount < 2000; bcount++) {
  /src/sys/dev/
ccd.c 784 long bcount, rcount; local in function:ccdstart
827 for (bcount = bp->b_bcount; bcount > 0; bcount -= rcount) {
828 cbp = ccdbuffer(cs, bp, bn, addr, bcount, wait);
873 long bcount, int wait)
884 cs, bp, bn, addr, bcount);
951 cbp->cb_buf.b_bcount = cbc < bcount ? cbc : bcount;
991 printf("ccdiodone: bp %p bcount %d resid %d\n"
    [all...]
  /src/sbin/fsck_lfs/
lfs.c 1039 int bcount; local in function:lfs_balloc
1131 bcount = 0;
1133 bcount = frags;
1137 bcount += frags;
1140 lfs_sb_subbfree(fs, bcount);
1141 ip->i_lfs_effnblks += bcount;

Completed in 30 milliseconds

1 2