Home
last modified time | relevance | path

Searched refs:bytecount (Results 1 – 25 of 32) sorted by relevance

12

/freebsd-12.1/sys/dev/random/
H A Dfortuna.c331 random_fortuna_genrandom(uint8_t *buf, u_int bytecount) in random_fortuna_genrandom() argument
342 …KASSERT((bytecount <= RANDOM_FORTUNA_MAX_READ), ("invalid single read request to Fortuna of %d byt… in random_fortuna_genrandom()
343 blockcount = howmany(bytecount, RANDOM_BLOCKSIZE); in random_fortuna_genrandom()
426 random_fortuna_read(uint8_t *buf, u_int bytecount) in random_fortuna_read() argument
429 …KASSERT((bytecount % RANDOM_BLOCKSIZE) == 0, ("%s(): bytecount (= %d) must be a multiple of %d", _… in random_fortuna_read()
431 random_fortuna_genrandom(buf, bytecount); in random_fortuna_read()
/freebsd-12.1/sys/dev/ata/
H A Data-all.c139 ch->user[i].bytecount = 8192; in ata_attach()
141 ch->user[i].bytecount = MAXPHYS; in ata_attach()
745 request->bytecount = ccb->ataio.dxfer_len; in ata_cam_begin_transaction()
783 request->bytecount = ccb->csio.dxfer_len; in ata_cam_begin_transaction()
798 ch->curr[ccb->ccb_h.target_id].bytecount); in ata_cam_begin_transaction()
829 request->bytecount = ccb->csio.sense_len; in ata_cam_request_sense()
839 ch->curr[ccb->ccb_h.target_id].bytecount); in ata_cam_request_sense()
1045 d->bytecount = min(8192, cts->xport_specific.sata.bytecount); in ataaction()
1060 d->bytecount = cts->xport_specific.ata.bytecount; in ataaction()
1088 cts->xport_specific.sata.bytecount = d->bytecount; in ataaction()
[all …]
H A Data-dma.c280 if (!request->bytecount) { in ata_dmaload()
285 if (request->bytecount & (ch->dma.alignment - 1)) { in ata_dmaload()
288 request->bytecount, ch->dma.alignment); in ata_dmaload()
291 if (request->bytecount > ch->dma.max_iosize) { in ata_dmaload()
294 request->bytecount, ch->dma.max_iosize); in ata_dmaload()
312 request->data, request->bytecount, in ata_dmaload()
H A Data-lowlevel.c299 if (request->bytecount > request->donecount) { in ata_end_transaction()
303 min((request->bytecount - request->donecount), in ata_end_transaction()
343 request->donecount = request->bytecount; in ata_end_transaction()
394 request->transfersize = min((request->bytecount-request->donecount), in ata_end_transaction()
411 request->transfersize = min((request->bytecount-request->donecount), in ata_end_transaction()
459 request->donecount = request->bytecount; in ata_end_transaction()
H A Data-all.h239 u_int32_t bytecount; /* bytes to transfer */ member
394 u_int bytecount; member
/freebsd-12.1/sys/powerpc/powermac/
H A Data_dbdma.c216 if (!request->bytecount) { in ata_dbdma_load()
222 (request->bytecount & (ch->dma.alignment - 1))) { in ata_dbdma_load()
227 if (request->bytecount > ch->dma.max_iosize) { in ata_dbdma_load()
230 request->bytecount, ch->dma.max_iosize); in ata_dbdma_load()
237 request->dma->data_map, request->data, request->bytecount, in ata_dbdma_load()
/freebsd-12.1/sys/cam/ata/
H A Data_xpt.c554 bytecount = cts.xport_specific.ata.bytecount; in probestart()
557 bytecount = cts.xport_specific.sata.bytecount; in probestart()
585 bytecount = cts.xport_specific.ata.bytecount; in probestart()
588 bytecount = cts.xport_specific.sata.bytecount; in probestart()
605 u_int bytecount; in probestart() local
616 bytecount = cts.xport_specific.ata.bytecount; in probestart()
619 bytecount = cts.xport_specific.sata.bytecount; in probestart()
623 bytecount = max(2, min(65534, bytecount)); in probestart()
626 bytecount = min(8192, bytecount); in probestart()
634 cts.xport_specific.ata.bytecount = bytecount; in probestart()
[all …]
/freebsd-12.1/sys/vm/
H A Dvnode_pager.c773 int bytecount, secmask; in vnode_pager_generic_getpages() local
1015 bytecount = bp->b_npages << PAGE_SHIFT; in vnode_pager_generic_getpages()
1016 if ((foff + bytecount) > object->un_pager.vnp.vnp_size) in vnode_pager_generic_getpages()
1017 bytecount = object->un_pager.vnp.vnp_size - foff; in vnode_pager_generic_getpages()
1021 bytecount = (bytecount + secmask) & ~secmask; in vnode_pager_generic_getpages()
1044 bp->b_bcount = bp->b_bufsize = bp->b_runningbufspace = bytecount; in vnode_pager_generic_getpages()
1232 vnode_pager_generic_putpages(struct vnode *vp, vm_page_t *ma, int bytecount, in vnode_pager_generic_putpages() argument
1247 count = bytecount / PAGE_SIZE; in vnode_pager_generic_putpages()
/freebsd-12.1/contrib/opencsd/decoder/source/etmv3/
H A Dtrc_pkt_proc_etmv3_impl.cpp824 int bytecount = 0; in extractBrAddrPkt() local
832 while(CBit && bytecount < 4) in extractBrAddrPkt()
838 if(bytecount == 0) in extractBrAddrPkt()
862 bytecount++; in extractBrAddrPkt()
/freebsd-12.1/sys/i386/linux/
H A Dlinux_machdep.c437 ldt.num = uap->bytecount / sizeof(union descriptor); in linux_modify_ldt()
443 if (size > uap->bytecount) in linux_modify_ldt()
444 size = uap->bytecount; in linux_modify_ldt()
451 if (uap->bytecount != sizeof(ld)) in linux_modify_ldt()
/freebsd-12.1/sys/mips/mips/
H A Dbcopy.S173 andi t0,SIZEREG,(SZREG-1) # t0 = bytecount mod SZREG
267 andi t0,SIZEREG,SZREG-1 # t0 = bytecount mod 4
/freebsd-12.1/lib/libc/mips/string/
H A Dbcopy.S183 andi t0,SIZEREG,(SZREG-1) # t0 = bytecount mod SZREG
277 andi t0,SIZEREG,SZREG-1 # t0 = bytecount mod 4
/freebsd-12.1/sys/dev/mvs/
H A Dmvs.c138 ch->user[i].bytecount = (ch->quirks & MVS_Q_GENIIE) ? 8192 : 2048; in mvs_ch_attach()
954 ch->curr[ccb->ccb_h.target_id].bytecount); in mvs_legacy_intr()
980 ch->curr[ccb->ccb_h.target_id].bytecount); in mvs_legacy_intr()
1296 eprd[i].bytecount = htole32(segs[i].ds_len & MVS_EPRD_MASK); in mvs_dmasetprd()
1299 eprd[i - 1].bytecount |= htole32(MVS_EPRD_EOF); in mvs_dmasetprd()
1341 ch->curr[port].bytecount); in mvs_legacy_execute_transaction()
1363 ch->curr[port].bytecount); in mvs_legacy_execute_transaction()
2313 d->bytecount = min((ch->quirks & MVS_Q_GENIIE) ? 8192 : 2048, in mvsaction()
2314 cts->xport_specific.sata.bytecount); in mvsaction()
2374 cts->xport_specific.sata.bytecount = d->bytecount; in mvsaction()
H A Dmvs.h429 uint32_t bytecount; /* Byte Count */ member
516 u_int bytecount; member
/freebsd-12.1/sys/dev/ahci/
H A Dahci.h352 u_int32_t bytecount; member
397 u_int bytecount; member
H A Dahci.c815 ch->user[i].bytecount = 8192; in ahci_ch_attach()
1690 clp->bytecount = 0; in ahci_execute_transaction()
1979 ccb->ataio.dxfer_len - le32toh(clp->bytecount); in ahci_end_transaction()
1985 ccb->csio.dxfer_len - le32toh(clp->bytecount); in ahci_end_transaction()
2733 d->bytecount = min(8192, cts->xport_specific.sata.bytecount); in ahciaction()
2796 cts->xport_specific.sata.bytecount = d->bytecount; in ahciaction()
/freebsd-12.1/contrib/llvm/tools/lldb/source/Utility/
H A DDataExtractor.cpp978 int bytecount = 0; in GetSLEB128() local
981 bytecount++; in GetSLEB128()
993 *offset_ptr += bytecount; in GetSLEB128()
/freebsd-12.1/sys/powerpc/mpc85xx/
H A Dfsl_sata.c247 u_int bytecount; member
372 ch->user[i].bytecount = 8192; in fsl_sata_attach()
1789 d->bytecount = min(8192, cts->xport_specific.sata.bytecount); in fsl_sataaction()
1844 cts->xport_specific.sata.bytecount = d->bytecount; in fsl_sataaction()
/freebsd-12.1/sys/dev/siis/
H A Dsiis.h360 u_int bytecount; member
H A Dsiis.c478 ch->user[i].bytecount = 8192; in siis_ch_attach()
1860 d->bytecount = min(8192, cts->xport_specific.sata.bytecount); in siisaction()
1924 cts->xport_specific.sata.bytecount = d->bytecount; in siisaction()
/freebsd-12.1/sys/netinet/
H A Dsctp_cc_functions.c1936 net->cc_mod.htcp_ca.bytecount = 0; in measure_achieved_throughput()
1941 net->cc_mod.htcp_ca.bytecount += net->net_ack; in measure_achieved_throughput()
1942 …if ((net->cc_mod.htcp_ca.bytecount >= net->cwnd - (((net->cc_mod.htcp_ca.alpha >> 7) ? (net->cc_mo… in measure_achieved_throughput()
1945 …uint32_t cur_Bi = net->cc_mod.htcp_ca.bytecount / net->mtu * hz / (now - net->cc_mod.htcp_ca.lastt… in measure_achieved_throughput()
1957 net->cc_mod.htcp_ca.bytecount = 0; in measure_achieved_throughput()
/freebsd-12.1/sys/dev/pst/
H A Dpst-raid.c294 msg->bytecount = request->bp->bio_bcount; in pst_rw()
/freebsd-12.1/sys/dev/ata/chipsets/
H A Data-promise.c412 (request->bytecount >> 1)); in ata_promise_dmastart()
1155 wordp[1] = htole32(request->bytecount | ATA_DMA_EOT); in ata_promise_sx4_command()
1160 wordp[1] = htole32(request->bytecount | ATA_DMA_EOT); in ata_promise_sx4_command()
/freebsd-12.1/sys/cam/
H A Dcam_ccb.h986 u_int bytecount; /* Length of PIO transaction */ member
1004 u_int bytecount; /* Length of PIO transaction */ member
/freebsd-12.1/sys/dev/hptrr/
H A Dldm.h526 void ldm_ide_fixstring (HPT_U8 *s, const int bytecount);

12