/freebsd-11-stable/stand/libsa/ |
H A D | write.c | 70 write(int fd, const void *dest, size_t bcount) argument 82 btodb(f->f_offset), bcount, __DECONST(void *, dest), 89 resid = bcount; 90 if ((errno = (f->f_ops->fo_write)(f, dest, bcount, &resid))) 92 return (bcount - resid);
|
H A D | read.c | 70 read(int fd, void *dest, size_t bcount) argument 82 btodb(f->f_offset), bcount, dest, &resid); 95 resid = bcount; 106 return (bcount); 119 return (bcount - cresid); 131 return (bcount - resid);
|
/freebsd-11-stable/sys/fs/fuse/ |
H A D | fuse_io.c | 179 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); 379 int bcount; local [all...] |
/freebsd-11-stable/sys/netinet/libalias/ |
H A D | alias_nbt.c | 487 u_short bcount; local 496 bcount = ntohs(q->rdlen); 506 bcount); 508 while (nb != NULL && bcount != 0) { 540 bcount -= SizeOfNsRNB; 560 u_short bcount; local 573 bcount = ntohs(q->rdlen); 581 while (bcount != 0) { 603 bcount -= SizeOfResourceA; 621 u_short bcount; local 656 u_short bcount; local 689 u_short bcount; local [all...] |
/freebsd-11-stable/usr.sbin/bluetooth/sdpd/ |
H A D | sar.c | 256 uint16_t bcount; local 283 bcount = rsp_end - rsp; 291 pdu.len = htons(sizeof(bcount) + bcount + 1 + cs[0]); 293 bcount = htons(bcount); 298 iov[1].iov_base = &bcount; 299 iov[1].iov_len = sizeof(bcount);
|
/freebsd-11-stable/sys/geom/vinum/ |
H A D | geom_vinum_raid5.c | 54 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); 177 caddr_t addr, off_t boff, off_t bcount) 188 gv_raid5_offset(p, boff, bcount, &real_off, &real_len, NULL, &psdno, 1); 255 caddr_t addr, off_t boff, off_t bcount) 265 gv_raid5_offset(p, boff, bcount, &real_off, &real_len, NULL, NULL, 1); 343 struct bio *bp, caddr_t addr, off_t boff, off_t bcount, int *delay) 373 } 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 176 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 254 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 342 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 587 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 D | geom_vinum_plex.c | 60 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-11-stable/sys/dev/smbus/ |
H A D | smb.c | 147 u_char bcount; local 262 &bcount, buf)); 265 if (s->rcount > bcount) 266 s->rcount = bcount;
|
/freebsd-11-stable/sys/geom/ |
H A D | geom_ccd.c | 436 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-11-stable/sys/fs/nfsclient/ |
H A D | nfs_clbio.c | 99 int biosize, bcount; local 107 bcount = biosize; 109 bcount = 0; 111 bcount = nsize - (off_t)lbn * biosize; 112 return (bcount); 431 int bcount; local 516 /* Note that bcount is *not* DEV_BSIZE aligned. */ 517 bcount = biosize; 519 bcount = 0; 521 bcount 874 int bcount, noncontig_write, obcount; local [all...] |
/freebsd-11-stable/stand/uboot/lib/ |
H A D | disk.c | 149 daddr_t bcount; local 164 bcount = size / SI(dev).bsize; 168 err = stor_readdev(dev, blk + dev->d_offset, bcount, buf);
|
/freebsd-11-stable/sys/dev/smartpqi/ |
H A D | smartpqi_cam.c | 187 if (rcb->bcount != 0 ) { 343 resid = rcb->bcount-err_info->data_out_transferred; 536 if (rcb->bcount) { 541 error, rcb->bcount); 576 rcb->bcount = 0; 778 rcb->bcount = ccb->csio.dxfer_len; 781 rcb->bcount = 0;
|
H A D | smartpqi_structures.h | 920 uint32_t bcount; /* buffer size in byte */ member in struct:request_container_block
|
/freebsd-11-stable/sys/dev/ida/ |
H A D | idavar.h | 61 u_int16_t bcount; /* block count */ member in struct:ida_req
|
H A D | ida.c | 464 hwqcb->req.bcount = htole16(howmany(datasize, DEV_BSIZE)); 521 hwqcb->req.bcount = howmany(bp->bio_bcount, DEV_BSIZE);
|
/freebsd-11-stable/sbin/camcontrol/ |
H A D | zone.c | 108 #define ZAC_ATA_SECTOR_COUNT(bcount) (((bcount) / 512) & 0xffff)
|
/freebsd-11-stable/sys/dev/mlx5/ |
H A D | qp.h | 407 __be32 bcount; member in struct:mlx5_klm 414 __be16 bcount; member in struct:mlx5_stride_block_entry
|
/freebsd-11-stable/contrib/binutils/binutils/ |
H A D | srconv.c | 534 rl.bcount = 4; /* Always 4 for us. */ 540 rl.bcount = 11; /* Always 11 for us. */ 550 rl.bcount = 11; /* Always 11 for us. */
|
/freebsd-11-stable/sys/dev/mlx5/mlx5_ib/ |
H A D | mlx5_ib_qp.c | 3260 int bcount = mr->desc_size * mr->ndescs; local 3263 dseg->byte_count = cpu_to_be32(ALIGN(bcount, 64)); 3473 data_klm->bcount = cpu_to_be32(data_len); 3514 data_sentry->bcount = cpu_to_be16(block_size); 3519 prot_sentry->bcount = cpu_to_be16(prot_size);
|
H A D | mlx5_ib_mr.c | 1731 klms[i].bcount = cpu_to_be32(sg_dma_len(sg) - sg_offset);
|
/freebsd-11-stable/sys/ufs/ffs/ |
H A D | ffs_softdep.c | 2770 int bcount; local 2790 bcount = lblkno(fs, ip->i_size); /* Only use whole blocks. */ 2792 for (i = 0; i < bcount; i++) {
|