| /src/stand/libsa/ |
| H A D | read.c | 65 read(int fd, void *dest, size_t bcount) in read() argument 80 btodb(f->f_offset), bcount, dest, &resid); in read() 94 resid = bcount; in read() 106 return (bcount); in read() 121 return (bcount - cresid); in read() 134 return (bcount - resid); in read()
|
| H A D | write.c | 65 write(int fd, const void *dest, size_t bcount) in write() argument 78 btodb(f->f_offset), bcount, __DECONST(void *, dest), in write() 85 resid = bcount; in write() 86 if ((errno = (f->f_ops->fo_write)(f, dest, bcount, &resid))) in write() 88 return (bcount - resid); in write()
|
| /src/sys/netinet/libalias/ |
| H A D | alias_nbt.c | 477 u_short bcount; in AliasHandleResourceNB() local 486 bcount = ntohs(q->rdlen); in AliasHandleResourceNB() 496 bcount); in AliasHandleResourceNB() 498 while (nb != NULL && bcount != 0) { in AliasHandleResourceNB() 530 bcount -= SizeOfNsRNB; in AliasHandleResourceNB() 550 u_short bcount; in AliasHandleResourceA() local 563 bcount = ntohs(q->rdlen); in AliasHandleResourceA() 571 while (bcount != 0) { in AliasHandleResourceA() 593 bcount -= SizeOfResourceA; in AliasHandleResourceA() 611 u_short bcount; in AliasHandleResourceNULL() local [all …]
|
| /src/sys/fs/fuse/ |
| H A D | fuse_io.c | 133 int bcount, nextsize; in fuse_read_biobackend() local 161 bcount = 0; in fuse_read_biobackend() 163 bcount = filesize - (off_t)lbn *biosize; in fuse_read_biobackend() 165 bcount = biosize; in fuse_read_biobackend() 171 biosize, (int)lbn, on, bcount); in fuse_read_biobackend() 173 if (bcount < biosize) { in fuse_read_biobackend() 175 err = bread(vp, lbn, bcount, NOCRED, &bp); in fuse_read_biobackend() 181 err = cluster_read(vp, filesize, lbn, bcount, NOCRED, in fuse_read_biobackend() 185 err = breadn(vp, lbn, bcount, &nextlbn, &nextsize, 1, in fuse_read_biobackend() 189 err = bread(vp, lbn, bcount, NOCRED, &bp); in fuse_read_biobackend() [all …]
|
| /src/usr.sbin/bluetooth/sdpd/ |
| H A D | sar.c | 256 uint16_t bcount; in server_send_service_attribute_response() local 283 bcount = rsp_end - rsp; in server_send_service_attribute_response() 291 pdu.len = htons(sizeof(bcount) + bcount + 1 + cs[0]); in server_send_service_attribute_response() 293 bcount = htons(bcount); in server_send_service_attribute_response() 298 iov[1].iov_base = &bcount; in server_send_service_attribute_response() 299 iov[1].iov_len = sizeof(bcount); in server_send_service_attribute_response()
|
| /src/usr.sbin/fstyp/ |
| H A D | hammer2.c | 121 int i, bcount; in find_pfs() local 132 bcount = HAMMER2_SET_COUNT; in find_pfs() 135 bcount = 0; in find_pfs() 154 bcount = bytes / sizeof(hammer2_blockref_t); in find_pfs() 158 bcount = 0; in find_pfs() 162 for (i = 0; i < bcount; ++i) { in find_pfs()
|
| /src/sys/fs/nfsclient/ |
| H A D | nfs_clbio.c | 96 int biosize, bcount; in ncl_gbp_getblksz() local 104 bcount = biosize; in ncl_gbp_getblksz() 106 bcount = 0; in ncl_gbp_getblksz() 108 bcount = nsize - (off_t)lbn * biosize; in ncl_gbp_getblksz() 109 *sz = bcount; in ncl_gbp_getblksz() 440 int biosize, bcount, error, i, n, nra, on, save2, seqcount; in ncl_bioread() local 532 bcount = biosize; in ncl_bioread() 534 bcount = 0; in ncl_bioread() 536 bcount = nsize - (off_t)lbn * biosize; in ncl_bioread() 538 bp = nfs_getcacheblk(vp, lbn, bcount, td); in ncl_bioread() [all …]
|
| /src/sys/geom/ |
| H A D | geom_ccd.c | 457 long bcount, rcount; in g_ccd_start() local 485 for (bcount = bp->bio_length; bcount > 0; bcount -= rcount) { in g_ccd_start() 486 err = ccdbuffer(cbp, cs, bp, bn, addr, bcount); in g_ccd_start() 488 bp->bio_completed += bcount; in g_ccd_start() 537 ccdbuffer(struct bio **cb, struct ccd_s *cs, struct bio *bp, daddr_t bn, caddr_t addr, long bcount) in ccdbuffer() argument 652 cbp->bio_length = (cbc < bcount) ? cbc : bcount; in ccdbuffer()
|
| /src/crypto/krb5/src/plugins/preauth/spake/ |
| H A D | util.c | 156 uint8_t groupnbuf[4], etypenbuf[4], nbuf[4], bcount; in derive_key() local 174 dlist[8] = make_data(&bcount, 1); in derive_key() 191 bcount = i + 1; in derive_key()
|
| /src/sys/dev/smbus/ |
| H A D | smb.c | 203 u_char bcount; in smbioctl() local 378 &bcount, buf)); in smbioctl() 381 if (s->rcount > bcount) in smbioctl() 382 s->rcount = bcount; in smbioctl()
|
| /src/stand/uboot/ |
| H A D | uboot_disk.c | 149 daddr_t bcount; in stor_strategy() local 164 bcount = size / SI(dev).bsize; in stor_strategy() 168 err = stor_readdev(dev, blk + dev->d_offset, bcount, buf); in stor_strategy()
|
| /src/contrib/unbound/daemon/ |
| H A D | remote.c | 4447 int inevent, loopexit = 0, bcount = 0; in fr_poll_for_quit() local 4468 ret = recv(fr->commpair[1], ((char*)&cmd)+bcount, in fr_poll_for_quit() 4469 sizeof(cmd)-bcount, 0); in fr_poll_for_quit() 4487 } else if(ret+(ssize_t)bcount != sizeof(cmd)) { in fr_poll_for_quit() 4488 bcount += ret; in fr_poll_for_quit() 4489 if((size_t)bcount < sizeof(cmd)) in fr_poll_for_quit() 4509 int outevent, loopexit = 0, bcount = 0; in fr_send_notification() local 4535 ret = send(fr->commpair[1], ((char*)&cmd)+bcount, in fr_send_notification() 4536 sizeof(cmd)-bcount, 0); in fr_send_notification() 4554 } else if(ret+(ssize_t)bcount != sizeof(cmd)) { in fr_send_notification() [all …]
|
| /src/sys/dev/smartpqi/ |
| H A D | smartpqi_cam.c | 198 if (rcb->bcount != 0 ) { in pqi_synch_request() 410 resid = rcb->bcount-err_info->data_out_transferred; in os_raid_response_error() 620 if (rcb->bcount) { in pqi_map_request() 625 bsd_status, rcb->bcount); in pqi_map_request() 662 rcb->bcount = 0; in os_reset_rcb() 881 rcb->bcount = ccb->csio.dxfer_len; in pqisrc_io_start()
|
| H A D | smartpqi_structures.h | 1236 uint32_t bcount; /* buffer size in byte */ member
|
| /src/sys/dev/ida/ |
| H A D | idavar.h | 61 u_int16_t bcount; /* block count */ member
|
| H A D | ida.c | 461 hwqcb->req.bcount = htole16(howmany(datasize, DEV_BSIZE)); in ida_command() 518 hwqcb->req.bcount = howmany(bp->bio_bcount, DEV_BSIZE); in ida_startio()
|
| /src/sys/dev/mlx5/ |
| H A D | qp.h | 421 __be32 bcount; member 428 __be16 bcount; member
|
| /src/sbin/camcontrol/ |
| H A D | zone.c | 105 #define ZAC_ATA_SECTOR_COUNT(bcount) (((bcount) / 512) & 0xffff) argument
|
| /src/tools/debugscripts/ |
| H A D | gdbinit.kernel | 17 printf " Buffer at 0x%x: dev 0x%x data 0x%x bcount 0x%x blkno 0x%x resid 0x%x\n", \ 25 printf " Buffer at 0x%x: dev (none) data 0x%x bcount 0x%x blkno 0x%x resid 0x%x\n", \
|
| /src/sys/dev/mlx5/mlx5_ib/ |
| H A D | mlx5_ib_qp.c | 3369 int bcount = mr->desc_size * mr->ndescs; in set_reg_data_seg() local 3372 dseg->byte_count = cpu_to_be32(ALIGN(bcount, 64)); in set_reg_data_seg() 3582 data_klm->bcount = cpu_to_be32(data_len); in set_sig_data_segment() 3623 data_sentry->bcount = cpu_to_be16(block_size); in set_sig_data_segment() 3628 prot_sentry->bcount = cpu_to_be16(prot_size); in set_sig_data_segment()
|
| H A D | mlx5_ib_mr.c | 1605 klms[i].bcount = cpu_to_be32(sg_dma_len(sg) - sg_offset); in mlx5_ib_sg_to_klms()
|
| /src/sys/kern/ |
| H A D | vfs_aio.c | 2487 long bcount = bp->bio_bcount; in aio_biowakeup() local 2497 nbytes = bcount - resid; in aio_biowakeup()
|
| /src/sys/ufs/ffs/ |
| H A D | ffs_softdep.c | 2912 int bcount; in journal_mount() local 2932 bcount = lblkno(fs, ip->i_size); /* Only use whole blocks. */ in journal_mount() 2934 for (i = 0; i < bcount; i++) { in journal_mount()
|