| /freebsd-14.2/sys/dev/random/ |
| H A D | fortuna.c | 589 chunk_size = MIN(bytecount, chunk_size); in random_fortuna_genbytes() 597 bytecount -= chunk_size; in random_fortuna_genbytes() 609 if (bytecount > 0) { in random_fortuna_genbytes() 630 if (bytecount < chunk_size) { in random_fortuna_genbytes() 632 chunk_size = bytecount; in random_fortuna_genbytes() 633 else if (bytecount >= RANDOM_BLOCKSIZE) in random_fortuna_genbytes() 634 chunk_size = rounddown(bytecount, in random_fortuna_genbytes() 646 if (bytecount > 0) { in random_fortuna_genbytes() 663 if (bytecount > 0) { in random_fortuna_genbytes() 664 memcpy(buf, remainder_buf, bytecount); in random_fortuna_genbytes() [all …]
|
| H A D | hash.c | 135 void *d_out, size_t bytecount) in randomdev_keystream() argument 150 while (bytecount > 0) { in randomdev_keystream() 155 read_chunk = MIN(bytecount, in randomdev_keystream() 162 bytecount -= read_chunk; in randomdev_keystream() 174 KASSERT(bytecount % RANDOM_BLOCKSIZE == 0, in randomdev_keystream() 178 blockcount = bytecount / RANDOM_BLOCKSIZE; in randomdev_keystream()
|
| /freebsd-14.2/sys/powerpc/powermac/ |
| H A D | ata_dbdma.c | 213 if (!request->bytecount) { in ata_dbdma_load() 219 (request->bytecount & (ch->dma.alignment - 1))) { in ata_dbdma_load() 224 if (request->bytecount > ch->dma.max_iosize) { in ata_dbdma_load() 227 request->bytecount, ch->dma.max_iosize); in ata_dbdma_load() 234 request->dma->data_map, request->data, request->bytecount, in ata_dbdma_load()
|
| /freebsd-14.2/sys/dev/ata/ |
| H A D | ata-all.c | 138 ch->user[i].bytecount = 8192; in ata_attach() 140 ch->user[i].bytecount = 65536; in ata_attach() 746 request->bytecount = ccb->ataio.dxfer_len; in ata_cam_begin_transaction() 784 request->bytecount = ccb->csio.dxfer_len; in ata_cam_begin_transaction() 799 ch->curr[ccb->ccb_h.target_id].bytecount); in ata_cam_begin_transaction() 830 request->bytecount = ccb->csio.sense_len; in ata_cam_request_sense() 840 ch->curr[ccb->ccb_h.target_id].bytecount); in ata_cam_request_sense() 1046 d->bytecount = min(8192, cts->xport_specific.sata.bytecount); in ataaction() 1061 d->bytecount = cts->xport_specific.ata.bytecount; in ataaction() 1089 cts->xport_specific.sata.bytecount = d->bytecount; in ataaction() [all …]
|
| H A D | ata-dma.c | 278 if (!request->bytecount) { in ata_dmaload() 283 if (request->bytecount & (ch->dma.alignment - 1)) { in ata_dmaload() 286 request->bytecount, ch->dma.alignment); in ata_dmaload() 289 if (request->bytecount > ch->dma.max_iosize) { in ata_dmaload() 292 request->bytecount, ch->dma.max_iosize); in ata_dmaload() 310 request->data, request->bytecount, in ata_dmaload()
|
| H A D | ata-lowlevel.c | 293 if (request->bytecount > request->donecount) { in ata_end_transaction() 296 min((request->bytecount - request->donecount), in ata_end_transaction() 335 request->donecount = request->bytecount; in ata_end_transaction() 385 request->transfersize = min((request->bytecount-request->donecount), in ata_end_transaction() 402 request->transfersize = min((request->bytecount-request->donecount), in ata_end_transaction() 450 request->donecount = request->bytecount; in ata_end_transaction()
|
| H A D | ata-all.h | 237 u_int32_t bytecount; /* bytes to transfer */ member 391 u_int bytecount; member
|
| /freebsd-14.2/sys/cam/ata/ |
| H A D | ata_xpt.c | 539 bytecount = cts.xport_specific.ata.bytecount; in aprobestart() 542 bytecount = cts.xport_specific.sata.bytecount; in aprobestart() 570 bytecount = cts.xport_specific.ata.bytecount; in aprobestart() 573 bytecount = cts.xport_specific.sata.bytecount; in aprobestart() 590 u_int bytecount; in aprobestart() local 601 bytecount = cts.xport_specific.ata.bytecount; in aprobestart() 604 bytecount = cts.xport_specific.sata.bytecount; in aprobestart() 608 bytecount = max(2, min(65534, bytecount)); in aprobestart() 611 bytecount = min(8192, bytecount); in aprobestart() 619 cts.xport_specific.ata.bytecount = bytecount; in aprobestart() [all …]
|
| /freebsd-14.2/sys/vm/ |
| H A D | vnode_pager.c | 888 int bytecount, secmask; in vnode_pager_generic_getpages() local 1119 bytecount = bp->b_npages << PAGE_SHIFT; in vnode_pager_generic_getpages() 1120 if ((foff + bytecount) > object->un_pager.vnp.vnp_size) in vnode_pager_generic_getpages() 1121 bytecount = object->un_pager.vnp.vnp_size - foff; in vnode_pager_generic_getpages() 1125 bytecount = (bytecount + secmask) & ~secmask; in vnode_pager_generic_getpages() 1148 bp->b_bcount = bp->b_bufsize = bp->b_runningbufspace = bytecount; in vnode_pager_generic_getpages() 1356 vnode_pager_generic_putpages(struct vnode *vp, vm_page_t *ma, int bytecount, in vnode_pager_generic_putpages() argument 1371 count = bytecount / PAGE_SIZE; in vnode_pager_generic_putpages()
|
| /freebsd-14.2/contrib/opencsd/decoder/source/etmv3/ |
| H A D | trc_pkt_proc_etmv3_impl.cpp | 824 int bytecount = 0; in extractBrAddrPkt() local 832 while(CBit && bytecount < 4) in extractBrAddrPkt() 838 if(bytecount == 0) in extractBrAddrPkt() 862 bytecount++; in extractBrAddrPkt()
|
| /freebsd-14.2/sys/i386/linux/ |
| H A D | linux_machdep.c | 368 ldt.num = uap->bytecount / sizeof(union descriptor); in linux_modify_ldt() 374 if (size > uap->bytecount) in linux_modify_ldt() 375 size = uap->bytecount; in linux_modify_ldt() 382 if (uap->bytecount != sizeof(ld)) in linux_modify_ldt()
|
| /freebsd-14.2/sys/dev/mvs/ |
| H A D | mvs.c | 136 ch->user[i].bytecount = (ch->quirks & MVS_Q_GENIIE) ? 8192 : 2048; in mvs_ch_attach() 947 ch->curr[ccb->ccb_h.target_id].bytecount); in mvs_legacy_intr() 973 ch->curr[ccb->ccb_h.target_id].bytecount); in mvs_legacy_intr() 1287 eprd[i].bytecount = htole32(segs[i].ds_len & MVS_EPRD_MASK); in mvs_dmasetprd() 1290 eprd[i - 1].bytecount |= htole32(MVS_EPRD_EOF); in mvs_dmasetprd() 1332 ch->curr[port].bytecount); in mvs_legacy_execute_transaction() 1354 ch->curr[port].bytecount); in mvs_legacy_execute_transaction() 2306 d->bytecount = min((ch->quirks & MVS_Q_GENIIE) ? 8192 : 2048, in mvsaction() 2307 cts->xport_specific.sata.bytecount); in mvsaction() 2367 cts->xport_specific.sata.bytecount = d->bytecount; in mvsaction()
|
| H A D | mvs.h | 427 uint32_t bytecount; /* Byte Count */ member 515 u_int bytecount; member
|
| /freebsd-14.2/sys/dev/ahci/ |
| H A D | ahci.h | 353 u_int32_t bytecount; member 399 u_int bytecount; member
|
| H A D | ahci.c | 839 ch->user[i].bytecount = 8192; in ahci_ch_attach() 1711 clp->bytecount = 0; in ahci_execute_transaction() 2000 ccb->ataio.dxfer_len - le32toh(clp->bytecount); in ahci_end_transaction() 2006 ccb->csio.dxfer_len - le32toh(clp->bytecount); in ahci_end_transaction() 2761 d->bytecount = min(8192, cts->xport_specific.sata.bytecount); in ahciaction() 2824 cts->xport_specific.sata.bytecount = d->bytecount; in ahciaction()
|
| /freebsd-14.2/sys/powerpc/mpc85xx/ |
| H A D | fsl_sata.c | 244 u_int bytecount; member 344 ch->user[i].bytecount = 8192; in fsl_sata_attach() 1763 d->bytecount = min(8192, cts->xport_specific.sata.bytecount); in fsl_sataaction() 1818 cts->xport_specific.sata.bytecount = d->bytecount; in fsl_sataaction()
|
| /freebsd-14.2/sys/dev/siis/ |
| H A D | siis.h | 353 u_int bytecount; member
|
| H A D | siis.c | 475 ch->user[i].bytecount = 8192; in siis_ch_attach() 1857 d->bytecount = min(8192, cts->xport_specific.sata.bytecount); in siisaction() 1921 cts->xport_specific.sata.bytecount = d->bytecount; in siisaction()
|
| /freebsd-14.2/sys/dev/ata/chipsets/ |
| H A D | ata-promise.c | 400 (request->bytecount >> 1)); in ata_promise_dmastart() 1138 wordp[1] = htole32(request->bytecount | ATA_DMA_EOT); in ata_promise_sx4_command() 1143 wordp[1] = htole32(request->bytecount | ATA_DMA_EOT); in ata_promise_sx4_command()
|
| /freebsd-14.2/sys/netinet/ |
| H A D | sctp_cc_functions.c | 1925 net->cc_mod.htcp_ca.bytecount = 0; in measure_achieved_throughput() 1930 net->cc_mod.htcp_ca.bytecount += net->net_ack; in measure_achieved_throughput() 1931 …if ((net->cc_mod.htcp_ca.bytecount >= net->cwnd - (((net->cc_mod.htcp_ca.alpha >> 7) ? (net->cc_mo… in measure_achieved_throughput() 1934 …uint32_t cur_Bi = net->cc_mod.htcp_ca.bytecount / net->mtu * hz / (now - net->cc_mod.htcp_ca.lastt… in measure_achieved_throughput() 1946 net->cc_mod.htcp_ca.bytecount = 0; in measure_achieved_throughput()
|
| /freebsd-14.2/sys/dev/pst/ |
| H A D | pst-raid.c | 300 msg->bytecount = request->bp->bio_bcount; in pst_rw()
|
| /freebsd-14.2/sys/cam/ |
| H A D | cam_ccb.h | 1004 u_int bytecount; /* Length of PIO transaction */ member 1022 u_int bytecount; /* Length of PIO transaction */ member
|
| /freebsd-14.2/sys/dev/hptrr/ |
| H A D | ldm.h | 524 void ldm_ide_fixstring (HPT_U8 *s, const int bytecount);
|
| /freebsd-14.2/sys/dev/hptnr/ |
| H A D | ldm.h | 531 void ldm_ide_fixstring (HPT_U8 *s, const int bytecount);
|
| /freebsd-14.2/sys/dev/hpt27xx/ |
| H A D | ldm.h | 532 void ldm_ide_fixstring (HPT_U8 *s, const int bytecount);
|