/freebsd-current/stand/libsa/ |
H A D | write.c | 65 write(int fd, const void *dest, size_t bcount) argument 78 btodb(f->f_offset), bcount, __DECONST(void *, dest), 85 resid = bcount; 86 if ((errno = (f->f_ops->fo_write)(f, dest, bcount, &resid))) 88 return (bcount - resid);
|
H A D | read.c | 65 read(int fd, void *dest, size_t bcount) argument 80 btodb(f->f_offset), bcount, dest, &resid); 94 resid = bcount; 106 return (bcount); 121 return (bcount - cresid); 134 return (bcount - resid);
|
/freebsd-current/sys/netinet/libalias/ |
H A D | alias_nbt.c | 477 u_short bcount; local 486 bcount = ntohs(q->rdlen); 496 bcount); 498 while (nb != NULL && bcount != 0) { 530 bcount -= SizeOfNsRNB; 550 u_short bcount; local 563 bcount = ntohs(q->rdlen); 571 while (bcount != 0) { 593 bcount -= SizeOfResourceA; 611 u_short bcount; local 646 u_short bcount; local 679 u_short bcount; local [all...] |
/freebsd-current/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-current/usr.sbin/fstyp/ |
H A D | hammer2.c | 119 int i, bcount; local 130 bcount = HAMMER2_SET_COUNT; 133 bcount = 0; 152 bcount = bytes / sizeof(hammer2_blockref_t); 156 bcount = 0; 160 for (i = 0; i < bcount; ++i) {
|
/freebsd-current/sys/fs/fuse/ |
H A D | fuse_io.c | 133 int bcount, nextsize; local 161 bcount = 0; 163 bcount = filesize - (off_t)lbn *biosize; 165 bcount = biosize; 171 biosize, (int)lbn, on, bcount); 173 if (bcount < biosize) { 175 err = bread(vp, lbn, bcount, NOCRED, &bp); 181 err = cluster_read(vp, filesize, lbn, bcount, NOCRED, 185 err = breadn(vp, lbn, bcount, &nextlbn, &nextsize, 1, 189 err = bread(vp, lbn, bcount, NOCRE 478 int bcount; local [all...] |
/freebsd-current/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) 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 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 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 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-current/sys/dev/altera/avgen/ |
H A D | altera_avgen.c | 248 long bcount; local 254 bcount = bp->bio_bcount; 272 (uint8_t *)data, bcount); 278 (uint16_t *)data, bcount / 2); 284 (uint32_t *)data, bcount / 4); 302 (uint8_t *)data, bcount); 308 (uint16_t *)data, bcount / 2); 314 (uint32_t *)data, bcount / 4);
|
/freebsd-current/sys/geom/ |
H A D | geom_ccd.c | 457 long bcount, rcount; local 485 for (bcount = bp->bio_length; bcount > 0; bcount -= rcount) { 486 err = ccdbuffer(cbp, cs, bp, bn, addr, bcount); 488 bp->bio_completed += bcount; 537 ccdbuffer(struct bio **cb, struct ccd_s *cs, struct bio *bp, daddr_t bn, caddr_t addr, long bcount) argument 652 cbp->bio_length = (cbc < bcount) ? cbc : bcount;
|
/freebsd-current/sys/fs/nfsclient/ |
H A D | nfs_clbio.c | 96 int biosize, bcount; local 104 bcount = biosize; 106 bcount = 0; 108 bcount = nsize - (off_t)lbn * biosize; 109 *sz = bcount; 440 int biosize, bcount, error, i, n, nra, on, save2, seqcount; local 531 /* Note that bcount is *not* DEV_BSIZE aligned. */ 532 bcount = biosize; 534 bcount = 0; 536 bcount 812 int bcount, noncontig_write, obcount; local [all...] |
/freebsd-current/sys/dev/smbus/ |
H A D | smb.c | 203 u_char bcount; local 378 &bcount, buf)); 381 if (s->rcount > bcount) 382 s->rcount = bcount;
|
/freebsd-current/stand/uboot/ |
H A D | uboot_disk.c | 148 daddr_t bcount; local 163 bcount = size / SI(dev).bsize; 167 err = stor_readdev(dev, blk + dev->d_offset, bcount, buf);
|
/freebsd-current/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-current/sys/dev/smartpqi/ |
H A D | smartpqi_cam.c | 203 if (rcb->bcount != 0 ) { 415 resid = rcb->bcount-err_info->data_out_transferred; 625 if (rcb->bcount) { 630 bsd_status, rcb->bcount); 667 rcb->bcount = 0; 887 rcb->bcount = ccb->csio.dxfer_len;
|
H A D | smartpqi_structures.h | 1233 uint32_t bcount; /* buffer size in byte */ member in struct:request_container_block
|
/freebsd-current/sys/dev/mlx5/ |
H A D | qp.h | 412 __be32 bcount; member in struct:mlx5_klm 419 __be16 bcount; member in struct:mlx5_stride_block_entry
|
/freebsd-current/sbin/camcontrol/ |
H A D | zone.c | 105 #define ZAC_ATA_SECTOR_COUNT(bcount) (((bcount) / 512) & 0xffff)
|
/freebsd-current/sys/dev/mlx5/mlx5_ib/ |
H A D | mlx5_ib_qp.c | 3369 int bcount = mr->desc_size * mr->ndescs; local 3372 dseg->byte_count = cpu_to_be32(ALIGN(bcount, 64)); 3582 data_klm->bcount = cpu_to_be32(data_len); 3623 data_sentry->bcount = cpu_to_be16(block_size); 3628 prot_sentry->bcount = cpu_to_be16(prot_size);
|
H A D | mlx5_ib_mr.c | 1605 klms[i].bcount = cpu_to_be32(sg_dma_len(sg) - sg_offset);
|
/freebsd-current/sys/kern/ |
H A D | vfs_aio.c | 2472 long bcount = bp->bio_bcount; local 2482 nbytes = bcount - resid;
|
/freebsd-current/sys/ufs/ffs/ |
H A D | ffs_softdep.c | 2905 int bcount; local 2925 bcount = lblkno(fs, ip->i_size); /* Only use whole blocks. */ 2927 for (i = 0; i < bcount; i++) {
|