Searched defs:bcount (Results 1 - 18 of 18) sorted by relevance

/illumos-gate/usr/src/boot/lib/libstand/
H A Dread.c70 read(int fd, void *dest, size_t bcount) argument
82 btodb(f->f_offset), 0, bcount, dest, &resid);
95 resid = bcount;
106 return(bcount);
115 return(bcount - cresid);
125 return(bcount - resid);
/illumos-gate/usr/src/uts/common/tnf/
H A Dtnf_buf.c77 ulong_t bcount; local
102 bcount = fh->com.block_count; /* total block count */
113 if ((new_bn = bn + 1) >= bcount) {
/illumos-gate/usr/src/cmd/lastcomm/
H A Dlc_utils.c83 int bcount = 0; local
102 while ((bcount++ < sfsb.st_size) && ((c = getc(sf)) != EOF)) {
113 while (--bcount) {
/illumos-gate/usr/src/uts/common/fs/
H A Dfsflush.c360 uint_t bcount; local
401 bcount = 0;
407 bcount += (hp->b_length);
451 bfreelist.b_bcount = bcount;
/illumos-gate/usr/src/uts/common/io/aac/
H A Daac_ioctl.c52 uint32_t bcount; member in struct:aac_umem_sge
505 usge->bcount = sg64p->SgByteCount;
514 usge->bcount = sgp->SgByteCount;
521 acp->bcount += usge->bcount;
524 if ((usge->addr + usge->bcount) > addrhi)
525 addrhi = usge->addr + usge->bcount;
527 if (acp->bcount > softs->buf_dma_attr.dma_attr_maxxfer) {
529 "large srb xfer size received %d\n", acp->bcount);
558 (uintptr_t)addrlo, usge->bcount, direc
[all...]
H A Daac.h230 uint32_t bcount; /* byte count */ member in struct:aac_sge
285 uint32_t bcount; /* buffer size in byte */ member in struct:aac_cmd
/illumos-gate/usr/src/uts/common/syscall/
H A Drw.c83 ssize_t cnt, bcount; local
163 auio.uio_resid = bcount = cnt;
170 if (bcount <= copyout_max_cached)
192 (vp->v_type != VREG) || (bcount != 0)) /* POSIX */
219 ssize_t cnt, bcount; local
301 auio.uio_resid = bcount = cnt;
321 (vp->v_type != VREG) || (bcount != 0)) /* POSIX */
345 ssize_t bcount; local
356 if ((bcount = (ssize_t)count) < 0)
371 if (bcount
485 ssize_t bcount; local
627 ssize_t count, bcount; local
785 ssize_t count, bcount; local
935 ssize_t count, bcount; local
1117 ssize_t count, bcount; local
1331 ssize_t bcount; local
1454 ssize_t bcount; local
[all...]
H A Dutssys.c823 size_t bcount; local
842 bcount = fu_data_size(0);
843 if (copyout(&fu_header, (void *)userbp, bcount))
915 bcount = fu_data_size(0);
916 if (copyout(&fu_header, (void *)userbp, bcount)) {
923 userbp += bcount;
924 bcount = fu_data->fud_user_count * sizeof (f_user_t);
925 if (copyout(fu_data->fud_user, (void *)userbp, bcount)) {
933 userbp += bcount;
934 bcount
[all...]
/illumos-gate/usr/src/cmd/scsi/smp/common/
H A Dsmp.c755 uint16_t bcount, idx; local
757 bcount = brp->srbr_number_broadcast_descrs;
760 bcount);
763 for (idx = 0; idx < bcount; idx++) {
/illumos-gate/usr/src/boot/sys/boot/uboot/lib/
H A Ddisk.c150 daddr_t bcount; local
164 bcount = size / SI(dev).bsize;
168 err = stor_readdev(dev, blk + dev->d_offset, bcount, buf);
/illumos-gate/usr/src/uts/common/io/lvm/raid/
H A Draid_replay.c414 * int bcount - number of bytes in the pre-write entry
418 genchecksum(caddr_t addr, size_t bcount) argument
424 wordcnt = bcount / sizeof (uint_t);
H A Draid.c1300 size_t bcount; local
1321 bcount = cs->cs_bcount;
1324 bzero(parity_buffer, bcount);
1329 reset_buf(bp, B_READ | B_BUSY, bcount);
1333 bp->b_bcount = bcount;
1334 bp->b_bufsize = bcount;
1340 for (j = 0; j < (bcount / (sizeof (uint_t))); j++) {
1351 bp->b_bcount = bcount;
1352 bp->b_bufsize = bcount;
/illumos-gate/usr/src/uts/common/fs/ufs/
H A Dlufs_log.c119 size_t bcount,
135 *pbcount = MIN(bcount, dbtob(ext[i].ic_nbno - bno_off));
145 *pbcount = bcount;
576 within_range(off_t lof, daddr_t blkno, ulong_t bcount) argument
580 return ((lof >= blof) && (lof < (blof + bcount)));
896 size_t bcount; local
910 bcount = P2ROUNDUP(bp->b_bcount, DEV_BSIZE);
911 if (bcount == bp->b_bcount) {
915 bp->b_bcount = bcount;
916 ul->un_tail_lof = dbtob(bp->b_blkno) + bcount;
116 map_frag( ml_unit_t *ul, daddr_t lblkno, size_t bcount, daddr_t *pblkno, size_t *pbcount) argument
[all...]
/illumos-gate/usr/src/uts/common/io/lvm/softpart/
H A Dsp.c572 * bcount - # of blocks in the I/O.
590 sp_ext_length_t bcount,
635 if (voff + btodb(bcount) > ext_endblk) {
639 new_bcount = bcount;
587 sp_mapbuf( mp_unit_t *un, sp_ext_offset_t voff, sp_ext_length_t bcount, buf_t *bp ) argument
/illumos-gate/usr/src/uts/common/io/lvm/stripe/
H A Dstripe.c598 u_longlong_t bcount,
633 endblk = (diskaddr_t)(blkno + howmany(bcount, DEV_BSIZE));
642 wb_bcount = bcount;
650 if (bcount > ldbtob(interlace - fragment)) {
655 wb_bcount = bcount;
595 md_mapbuf( ms_unit_t *un, diskaddr_t blkno, u_longlong_t bcount, buf_t *bp, ms_comp_t **mdc) argument
/illumos-gate/usr/src/uts/common/io/skd/
H A Dskd.c639 int i, bcount = 0; local
666 bcount += cnt;
733 int bcount; local
854 bcount = (sg_byte_count + 511) / 512;
855 scsi_req->cdb[7] = (bcount & 0xff00) >> 8;
856 scsi_req->cdb[8] = bcount & 0xff;
/illumos-gate/usr/src/uts/common/io/lvm/mirror/
H A Dmirror.c3442 size_t bcount; local
3454 bcount = pb->b_bcount;
3465 * an ssd bug, or worse if the bcount were allowed
3468 if (bcount <= DEV_BSIZE*(DK_LABEL_LOC + 1))
3470 bcount -= (DEV_BSIZE*(DK_LABEL_LOC + 1));
3474 cb = md_bioclone(pb, offset, bcount, dev, blkno, mirror_done,
/illumos-gate/usr/src/uts/common/io/scsi/targets/
H A Dst.c4129 "st_queued_strategy(): bcount=0x%lx, fileno=%d, blkno=%x, eof=%d\n",
4485 "st_strategy(): bcount=0x%lx, fileno=%d, blkno=%x, eof=%d\n",
7477 unsigned bcount; local
7514 bcount = (unsigned)bp->b_bcount;
7519 kmem_free(un->un_tmpbuf, bcount);
7575 bcount = (unsigned)bp->b_bcount;
7580 kmem_free(un->un_tmpbuf, bcount);
9057 "st_make_uscsi_cmd: buflen=%ld bcount=%ld\n",
11699 "pkt_resid %ld bcount %ld\n",
12155 "resid=%lx, bcount
[all...]

Completed in 146 milliseconds