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

/freebsd-10.0-release/lib/libstand/
H A Dwrite.c70 write(fd, dest, bcount)
73 size_t bcount;
85 btodb(f->f_offset), bcount, dest, &resid);
91 resid = bcount;
92 if ((errno = (f->f_ops->fo_write)(f, dest, bcount, &resid)))
94 return (bcount - resid);
H A Dread.c70 read(int fd, void *dest, size_t bcount) argument
82 btodb(f->f_offset), bcount, dest, &resid);
95 resid = bcount;
106 return(bcount);
115 return(bcount - cresid);
125 return(bcount - resid);
/freebsd-10.0-release/sys/fs/fuse/
H A Dfuse_io.c179 int bcount; local
193 bcount = MIN(MAXBSIZE, biosize);
215 * Note that bcount is *not* DEV_BSIZE aligned.
218 bcount = 0;
220 bcount = filesize - (off_t)lbn *biosize;
222 bp = getblk(vp, lbn, bcount, PCATCH, 0, 0);
243 * bytes we can copy out of the bp. Note that bcount is
250 if (on < bcount)
251 n = MIN((unsigned)(bcount - on), uio->uio_resid);
377 int bcount; local
[all...]
/freebsd-10.0-release/sys/netinet/libalias/
H A Dalias_nbt.c482 u_short bcount; local
487 bcount = ntohs(q->rdlen);
495 printf("->%s, %dbytes] ", inet_ntoa(nbtarg->newaddr), bcount);
497 while (nb != NULL && bcount != 0) {
529 bcount -= SizeOfNsRNB;
549 u_short bcount; local
558 bcount = ntohs(q->rdlen);
565 while (bcount != 0) {
587 bcount -= SizeOfResourceA;
605 u_short bcount; local
640 u_short bcount; local
673 u_short bcount; local
[all...]
/freebsd-10.0-release/usr.sbin/bluetooth/sdpd/
H A Dsar.c253 uint16_t bcount; local
280 bcount = rsp_end - rsp;
288 pdu.len = htons(sizeof(bcount) + bcount + 1 + cs[0]);
290 bcount = htons(bcount);
295 iov[1].iov_base = &bcount;
296 iov[1].iov_len = sizeof(bcount);
/freebsd-10.0-release/sys/geom/vinum/
H A Dgeom_vinum_raid5.c54 off_t bcount)
69 err = gv_raid5_rebuild(p, wp, bp, addr, boff, bcount);
71 err = gv_raid5_check(p, wp, bp, addr, boff, bcount);
73 err = gv_raid5_request(p, wp, bp, addr, boff, bcount, &delay);
174 caddr_t addr, off_t boff, off_t bcount)
185 gv_raid5_offset(p, boff, bcount, &real_off, &real_len, NULL, &psdno, 1);
252 caddr_t addr, off_t boff, off_t bcount)
262 gv_raid5_offset(p, boff, bcount, &real_off, &real_len, NULL, NULL, 1);
340 struct bio *bp, caddr_t addr, off_t boff, off_t bcount, int *delay)
370 } else if (boff + bcount <
53 gv_raid5_start(struct gv_plex *p, struct bio *bp, caddr_t addr, off_t boff, off_t bcount) argument
173 gv_raid5_check(struct gv_plex *p, struct gv_raid5_packet *wp, struct bio *bp, caddr_t addr, off_t boff, off_t bcount) argument
251 gv_raid5_rebuild(struct gv_plex *p, struct gv_raid5_packet *wp, struct bio *bp, caddr_t addr, off_t boff, off_t bcount) argument
339 gv_raid5_request(struct gv_plex *p, struct gv_raid5_packet *wp, struct bio *bp, caddr_t addr, off_t boff, off_t bcount, int *delay) argument
584 gv_raid5_offset(struct gv_plex *p, off_t boff, off_t bcount, off_t *real_off, off_t *real_len, int *sdno, int *psdno, int growing) argument
[all...]
H A Dgeom_vinum_plex.c60 off_t bcount, boff, len; local
62 bcount = bp->bio_length;
67 while (bcount > 0) {
75 wp = gv_raid5_start(p, bp, addr, boff, bcount);
91 len = gv_plex_normal_request(p, bp, boff, bcount, addr);
96 bcount -= len;
127 gv_plex_offset(struct gv_plex *p, off_t boff, off_t bcount, off_t *real_off, argument
156 *real_len = (bcount > len_left) ? len_left : bcount;
167 if (!(boff + bcount <
196 gv_plex_normal_request(struct gv_plex *p, struct bio *bp, off_t boff, off_t bcount, caddr_t addr) argument
[all...]
/freebsd-10.0-release/sys/geom/
H A Dgeom_ccd.c436 long bcount, rcount; local
464 for (bcount = bp->bio_length; bcount > 0; bcount -= rcount) {
465 err = ccdbuffer(cbp, cs, bp, bn, addr, bcount);
467 bp->bio_completed += bcount;
516 ccdbuffer(struct bio **cb, struct ccd_s *cs, struct bio *bp, daddr_t bn, caddr_t addr, long bcount) argument
631 cbp->bio_length = (cbc < bcount) ? cbc : bcount;
/freebsd-10.0-release/sys/boot/uboot/lib/
H A Ddisk.c153 daddr_t bcount; local
166 bcount = size / SI(dev).bsize;
170 err = stor_readdev(dev, blk + dev->d_offset, bcount, buf);
/freebsd-10.0-release/sys/fs/nfsclient/
H A Dnfs_clbio.c435 int bcount; local
520 /* Note that bcount is *not* DEV_BSIZE aligned. */
521 bcount = biosize;
523 bcount = 0;
525 bcount = nsize - (off_t)lbn * biosize;
527 bp = nfs_getcacheblk(vp, lbn, bcount, td);
551 * bytes we can copy out of the bp. Note that bcount is
558 if (on < bcount)
559 n = MIN((unsigned)(bcount - on), uio->uio_resid);
877 int bcount; local
[all...]
/freebsd-10.0-release/sys/nfsclient/
H A Dnfs_bio.c432 int bcount; local
511 /* Note that bcount is *not* DEV_BSIZE aligned. */
512 bcount = biosize;
514 bcount = 0;
516 bcount = nsize - (off_t)lbn * biosize;
518 bp = nfs_getcacheblk(vp, lbn, bcount, td);
542 * bytes we can copy out of the bp. Note that bcount is
549 if (on < bcount)
550 n = MIN((unsigned)(bcount - on), uio->uio_resid);
869 int bcount; local
[all...]
/freebsd-10.0-release/sys/dev/ida/
H A Didavar.h61 u_int16_t bcount; /* block count */ member in struct:ida_req
H A Dida.c464 hwqcb->req.bcount = htole16(howmany(datasize, DEV_BSIZE));
521 hwqcb->req.bcount = howmany(bp->bio_bcount, DEV_BSIZE);
/freebsd-10.0-release/sys/vm/
H A Dswap_pager.c1669 int bcount; local
1677 for (bcount = 0; bcount < object->un_pager.swp.swp_bcount; bcount++) {
/freebsd-10.0-release/contrib/binutils/binutils/
H A Dsrconv.c534 rl.bcount = 4; /* Always 4 for us. */
540 rl.bcount = 11; /* Always 11 for us. */
550 rl.bcount = 11; /* Always 11 for us. */
/freebsd-10.0-release/sys/ufs/ffs/
H A Dffs_softdep.c2665 int bcount; local
2679 bcount = lblkno(fs, ip->i_size); /* Only use whole blocks. */
2681 for (i = 0; i < bcount; i++) {

Completed in 151 milliseconds