Home
last modified time | relevance | path

Searched refs:bcount (Results 1 – 14 of 14) sorted by relevance

/titanic_44/usr/src/uts/common/syscall/
H A Drw.c83 ssize_t cnt, bcount; in read() local
163 auio.uio_resid = bcount = cnt; in read()
170 if (bcount <= copyout_max_cached) in read()
192 (vp->v_type != VREG) || (bcount != 0)) /* POSIX */ in read()
219 ssize_t cnt, bcount; in write() local
301 auio.uio_resid = bcount = cnt; in write()
321 (vp->v_type != VREG) || (bcount != 0)) /* POSIX */ in write()
345 ssize_t bcount; in pread() local
356 if ((bcount = (ssize_t)count) < 0) in pread()
371 if (bcount == 0) in pread()
[all …]
H A Dutssys.c823 size_t bcount; in uts_fusers() local
842 bcount = fu_data_size(0); in uts_fusers()
843 if (copyout(&fu_header, (void *)userbp, bcount)) in uts_fusers()
915 bcount = fu_data_size(0); in uts_fusers()
916 if (copyout(&fu_header, (void *)userbp, bcount)) { in uts_fusers()
923 userbp += bcount; in uts_fusers()
924 bcount = fu_data->fud_user_count * sizeof (f_user_t); in uts_fusers()
925 if (copyout(fu_data->fud_user, (void *)userbp, bcount)) { in uts_fusers()
933 userbp += bcount; in uts_fusers()
934 bcount = fuk_data->fud_user_count * sizeof (f_user_t); in uts_fusers()
[all …]
/titanic_44/usr/src/uts/common/io/aac/
H A Daac_ioctl.c52 uint32_t bcount; member
505 usge->bcount = sg64p->SgByteCount; in aac_send_raw_srb()
514 usge->bcount = sgp->SgByteCount; in aac_send_raw_srb()
521 acp->bcount += usge->bcount; in aac_send_raw_srb()
524 if ((usge->addr + usge->bcount) > addrhi) in aac_send_raw_srb()
525 addrhi = usge->addr + usge->bcount; in aac_send_raw_srb()
527 if (acp->bcount > softs->buf_dma_attr.dma_attr_maxxfer) { in aac_send_raw_srb()
529 "large srb xfer size received %d\n", acp->bcount); in aac_send_raw_srb()
558 (uintptr_t)addrlo, usge->bcount, direct, dev, 0, NULL, in aac_send_raw_srb()
H A Daac.h230 uint32_t bcount; /* byte count */ member
285 uint32_t bcount; /* buffer size in byte */ member
H A Daac.c1885 acp->bcount); in aac_pd_complete()
1911 pkt->pkt_resid = acp->bcount - \ in aac_pd_complete()
4863 ((acp->blkno + acp->bcount / in aac_tran_start_ld()
4878 } else if (acp->bcount == 0) { in aac_tran_start_ld()
4977 pkt->pkt_resid = acp->bcount; in aac_tran_start()
5306 sge->bcount = acp->cookie.dmac_size; in aac_cmd_dma_alloc()
5309 acp->bcount = acp->cookie.dmac_size; in aac_cmd_dma_alloc()
5312 sge->bcount = acp->cookie.dmac_size; in aac_cmd_dma_alloc()
5315 acp->bcount += acp->cookie.dmac_size; in aac_cmd_dma_alloc()
5323 if (acp->bcount > softs->buf_dma_attr.dma_attr_maxxfer) { in aac_cmd_dma_alloc()
[all …]
/titanic_44/usr/src/cmd/lastcomm/
H A Dlc_utils.c83 int bcount = 0; in get_pri_dirs() local
102 while ((bcount++ < sfsb.st_size) && ((c = getc(sf)) != EOF)) { in get_pri_dirs()
113 while (--bcount) { in get_pri_dirs()
/titanic_44/usr/src/uts/common/fs/
H A Dfsflush.c360 uint_t bcount; in fsflush() local
401 bcount = 0; in fsflush()
407 bcount += (hp->b_length); in fsflush()
451 bfreelist.b_bcount = bcount; in fsflush()
/titanic_44/usr/src/uts/common/fs/ufs/
H A Dlufs_log.c119 size_t bcount, in map_frag() argument
135 *pbcount = MIN(bcount, dbtob(ext[i].ic_nbno - bno_off)); in map_frag()
145 *pbcount = bcount; in map_frag()
576 within_range(off_t lof, daddr_t blkno, ulong_t bcount) in within_range() argument
580 return ((lof >= blof) && (lof < (blof + bcount))); in within_range()
896 size_t bcount; in ldl_round_commit() local
910 bcount = P2ROUNDUP(bp->b_bcount, DEV_BSIZE); in ldl_round_commit()
911 if (bcount == bp->b_bcount) { in ldl_round_commit()
915 bp->b_bcount = bcount; in ldl_round_commit()
916 ul->un_tail_lof = dbtob(bp->b_blkno) + bcount; in ldl_round_commit()
[all …]
/titanic_44/usr/src/uts/common/tnf/
H A Dtnf_buf.c77 ulong_t bcount; in tnfw_b_alloc_block() local
102 bcount = fh->com.block_count; /* total block count */ in tnfw_b_alloc_block()
113 if ((new_bn = bn + 1) >= bcount) { in tnfw_b_alloc_block()
/titanic_44/usr/src/cmd/scsi/smp/common/
H A Dsmp.c753 uint16_t bcount, idx; in main() local
756 bcount = brp->srbr_number_broadcast_descrs; in main()
759 bcount); in main()
762 for (idx = 0; idx < bcount; idx++) { in main()
/titanic_44/usr/src/uts/common/sys/1394/targets/scsa1394/
H A Dimpl.h258 #define SCSA1394_CDRW_BLKSZ(bcount, len) ((bcount) / (len)) argument
/titanic_44/usr/src/uts/common/sys/usb/scsa2usb/
H A Dscsa2usb.h631 #define SCSA2USB_CDRW_BLKSZ(bcount, len) ((bcount) / (len)); argument
/titanic_44/usr/src/uts/common/io/skd/
H A Dskd.c639 int i, bcount = 0; in skd_blkdev_preop_sg_list() local
666 bcount += cnt; in skd_blkdev_preop_sg_list()
733 int bcount; in skd_start() local
854 bcount = (sg_byte_count + 511) / 512; in skd_start()
855 scsi_req->cdb[7] = (bcount & 0xff00) >> 8; in skd_start()
856 scsi_req->cdb[8] = bcount & 0xff; in skd_start()
/titanic_44/usr/src/uts/common/io/scsi/targets/
H A Dst.c7477 unsigned bcount; in st_test_append() local
7514 bcount = (unsigned)bp->b_bcount; in st_test_append()
7519 kmem_free(un->un_tmpbuf, bcount); in st_test_append()
7575 bcount = (unsigned)bp->b_bcount; in st_test_append()
7580 kmem_free(un->un_tmpbuf, bcount); in st_test_append()