Home
last modified time | relevance | path

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

12

/freebsd-13.1/sys/dev/random/
H A Dfortuna.c593 chunk_size = MIN(bytecount, chunk_size); in random_fortuna_genbytes()
601 bytecount -= chunk_size; in random_fortuna_genbytes()
613 if (bytecount > 0) { in random_fortuna_genbytes()
634 if (bytecount < chunk_size) { in random_fortuna_genbytes()
636 chunk_size = bytecount; in random_fortuna_genbytes()
637 else if (bytecount >= RANDOM_BLOCKSIZE) in random_fortuna_genbytes()
638 chunk_size = rounddown(bytecount, in random_fortuna_genbytes()
650 if (bytecount > 0) { in random_fortuna_genbytes()
667 if (bytecount > 0) { in random_fortuna_genbytes()
668 memcpy(buf, remainder_buf, bytecount); in random_fortuna_genbytes()
[all …]
H A Dhash.c137 void *d_out, size_t bytecount) in randomdev_keystream() argument
152 while (bytecount > 0) { in randomdev_keystream()
157 read_chunk = MIN(bytecount, in randomdev_keystream()
164 bytecount -= read_chunk; in randomdev_keystream()
176 KASSERT(bytecount % RANDOM_BLOCKSIZE == 0, in randomdev_keystream()
180 blockcount = bytecount / RANDOM_BLOCKSIZE; in randomdev_keystream()
/freebsd-13.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-13.1/sys/dev/ata/
H A Data-all.c140 ch->user[i].bytecount = 8192; in ata_attach()
142 ch->user[i].bytecount = 65536; in ata_attach()
748 request->bytecount = ccb->ataio.dxfer_len; in ata_cam_begin_transaction()
786 request->bytecount = ccb->csio.dxfer_len; in ata_cam_begin_transaction()
801 ch->curr[ccb->ccb_h.target_id].bytecount); in ata_cam_begin_transaction()
832 request->bytecount = ccb->csio.sense_len; in ata_cam_request_sense()
842 ch->curr[ccb->ccb_h.target_id].bytecount); in ata_cam_request_sense()
1048 d->bytecount = min(8192, cts->xport_specific.sata.bytecount); in ataaction()
1063 d->bytecount = cts->xport_specific.ata.bytecount; in ataaction()
1091 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.c295 if (request->bytecount > request->donecount) { in ata_end_transaction()
298 min((request->bytecount - request->donecount), in ata_end_transaction()
337 request->donecount = request->bytecount; in ata_end_transaction()
387 request->transfersize = min((request->bytecount-request->donecount), in ata_end_transaction()
404 request->transfersize = min((request->bytecount-request->donecount), in ata_end_transaction()
452 request->donecount = request->bytecount; in ata_end_transaction()
H A Data-all.h239 u_int32_t bytecount; /* bytes to transfer */ member
393 u_int bytecount; member
/freebsd-13.1/sys/cam/ata/
H A Data_xpt.c553 bytecount = cts.xport_specific.ata.bytecount; in aprobestart()
556 bytecount = cts.xport_specific.sata.bytecount; in aprobestart()
584 bytecount = cts.xport_specific.ata.bytecount; in aprobestart()
587 bytecount = cts.xport_specific.sata.bytecount; in aprobestart()
604 u_int bytecount; in aprobestart() local
615 bytecount = cts.xport_specific.ata.bytecount; in aprobestart()
618 bytecount = cts.xport_specific.sata.bytecount; in aprobestart()
622 bytecount = max(2, min(65534, bytecount)); in aprobestart()
625 bytecount = min(8192, bytecount); in aprobestart()
633 cts.xport_specific.ata.bytecount = bytecount; in aprobestart()
[all …]
/freebsd-13.1/sys/vm/
H A Dvnode_pager.c811 int bytecount, secmask; in vnode_pager_generic_getpages() local
1042 bytecount = bp->b_npages << PAGE_SHIFT; in vnode_pager_generic_getpages()
1043 if ((foff + bytecount) > object->un_pager.vnp.vnp_size) in vnode_pager_generic_getpages()
1044 bytecount = object->un_pager.vnp.vnp_size - foff; in vnode_pager_generic_getpages()
1048 bytecount = (bytecount + secmask) & ~secmask; in vnode_pager_generic_getpages()
1071 bp->b_bcount = bp->b_bufsize = bp->b_runningbufspace = bytecount; in vnode_pager_generic_getpages()
1277 vnode_pager_generic_putpages(struct vnode *vp, vm_page_t *ma, int bytecount, in vnode_pager_generic_putpages() argument
1292 count = bytecount / PAGE_SIZE; in vnode_pager_generic_putpages()
/freebsd-13.1/sys/i386/linux/
H A Dlinux_machdep.c411 ldt.num = uap->bytecount / sizeof(union descriptor); in linux_modify_ldt()
417 if (size > uap->bytecount) in linux_modify_ldt()
418 size = uap->bytecount; in linux_modify_ldt()
425 if (uap->bytecount != sizeof(ld)) in linux_modify_ldt()
/freebsd-13.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-13.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-13.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-13.1/sys/dev/mvs/
H A Dmvs.c138 ch->user[i].bytecount = (ch->quirks & MVS_Q_GENIIE) ? 8192 : 2048; in mvs_ch_attach()
953 ch->curr[ccb->ccb_h.target_id].bytecount); in mvs_legacy_intr()
979 ch->curr[ccb->ccb_h.target_id].bytecount); in mvs_legacy_intr()
1293 eprd[i].bytecount = htole32(segs[i].ds_len & MVS_EPRD_MASK); in mvs_dmasetprd()
1296 eprd[i - 1].bytecount |= htole32(MVS_EPRD_EOF); in mvs_dmasetprd()
1338 ch->curr[port].bytecount); in mvs_legacy_execute_transaction()
1360 ch->curr[port].bytecount); in mvs_legacy_execute_transaction()
2311 d->bytecount = min((ch->quirks & MVS_Q_GENIIE) ? 8192 : 2048, in mvsaction()
2312 cts->xport_specific.sata.bytecount); in mvsaction()
2372 cts->xport_specific.sata.bytecount = d->bytecount; in mvsaction()
H A Dmvs.h429 uint32_t bytecount; /* Byte Count */ member
517 u_int bytecount; member
/freebsd-13.1/sys/dev/ahci/
H A Dahci.h355 u_int32_t bytecount; member
401 u_int bytecount; member
H A Dahci.c841 ch->user[i].bytecount = 8192; in ahci_ch_attach()
1714 clp->bytecount = 0; in ahci_execute_transaction()
2003 ccb->ataio.dxfer_len - le32toh(clp->bytecount); in ahci_end_transaction()
2009 ccb->csio.dxfer_len - le32toh(clp->bytecount); in ahci_end_transaction()
2759 d->bytecount = min(8192, cts->xport_specific.sata.bytecount); in ahciaction()
2822 cts->xport_specific.sata.bytecount = d->bytecount; in ahciaction()
/freebsd-13.1/sys/powerpc/mpc85xx/
H A Dfsl_sata.c246 u_int bytecount; member
346 ch->user[i].bytecount = 8192; in fsl_sata_attach()
1764 d->bytecount = min(8192, cts->xport_specific.sata.bytecount); in fsl_sataaction()
1819 cts->xport_specific.sata.bytecount = d->bytecount; in fsl_sataaction()
/freebsd-13.1/sys/dev/siis/
H A Dsiis.h355 u_int bytecount; member
H A Dsiis.c478 ch->user[i].bytecount = 8192; in siis_ch_attach()
1859 d->bytecount = min(8192, cts->xport_specific.sata.bytecount); in siisaction()
1923 cts->xport_specific.sata.bytecount = d->bytecount; in siisaction()
/freebsd-13.1/sys/dev/ata/chipsets/
H A Data-promise.c404 (request->bytecount >> 1)); in ata_promise_dmastart()
1143 wordp[1] = htole32(request->bytecount | ATA_DMA_EOT); in ata_promise_sx4_command()
1148 wordp[1] = htole32(request->bytecount | ATA_DMA_EOT); in ata_promise_sx4_command()
/freebsd-13.1/sys/netinet/
H A Dsctp_cc_functions.c1922 net->cc_mod.htcp_ca.bytecount = 0; in measure_achieved_throughput()
1927 net->cc_mod.htcp_ca.bytecount += net->net_ack; in measure_achieved_throughput()
1928 …if ((net->cc_mod.htcp_ca.bytecount >= net->cwnd - (((net->cc_mod.htcp_ca.alpha >> 7) ? (net->cc_mo… in measure_achieved_throughput()
1931 …uint32_t cur_Bi = net->cc_mod.htcp_ca.bytecount / net->mtu * hz / (now - net->cc_mod.htcp_ca.lastt… in measure_achieved_throughput()
1943 net->cc_mod.htcp_ca.bytecount = 0; in measure_achieved_throughput()
/freebsd-13.1/sys/dev/pst/
H A Dpst-raid.c295 msg->bytecount = request->bp->bio_bcount; in pst_rw()
/freebsd-13.1/sys/cam/
H A Dcam_ccb.h994 u_int bytecount; /* Length of PIO transaction */ member
1012 u_int bytecount; /* Length of PIO transaction */ member
/freebsd-13.1/sys/dev/hptrr/
H A Dldm.h526 void ldm_ide_fixstring (HPT_U8 *s, const int bytecount);

12