/freebsd/sys/dev/random/ |
H A D | fortuna.c | 551 random_fortuna_genbytes(uint8_t *buf, size_t bytecount, in random_fortuna_genbytes() argument 568 randomdev_keystream(p_key, p_counter, buf, bytecount); in random_fortuna_genbytes() 588 chunk_size = MIN(bytecount, chunk_size); in random_fortuna_genbytes() 592 while (bytecount >= chunk_size && chunk_size > 0) { in random_fortuna_genbytes() 596 bytecount -= chunk_size; in random_fortuna_genbytes() 608 if (bytecount > 0) { in random_fortuna_genbytes() 629 if (bytecount < chunk_size) { in random_fortuna_genbytes() 631 chunk_size = bytecount; in random_fortuna_genbytes() 632 else if (bytecount >= RANDOM_BLOCKSIZE) in random_fortuna_genbytes() 633 chunk_size = rounddown(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/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/sys/dev/ata/ |
H A D | ata-all.c | 136 ch->user[i].bytecount = 8192; in ata_attach() 138 ch->user[i].bytecount = 65536; in ata_attach() 744 request->bytecount = ccb->ataio.dxfer_len; in ata_cam_begin_transaction() 776 request->transfersize = min(request->bytecount, in ata_cam_begin_transaction() 777 ch->curr[ccb->ccb_h.target_id].bytecount); in ata_cam_begin_transaction() 779 request->transfersize = min(request->bytecount, 512); in ata_cam_begin_transaction() 782 request->bytecount = ccb->csio.dxfer_len; in ata_cam_begin_transaction() 796 request->transfersize = min(request->bytecount, in ata_cam_begin_transaction() 797 ch->curr[ccb->ccb_h.target_id].bytecount); in ata_cam_begin_transaction() 828 request->bytecount = ccb->csio.sense_len; in ata_cam_request_sense() [all …]
|
H A D | ata-dma.c | 277 if (!request->bytecount) { in ata_dmaload() 282 if (request->bytecount & (ch->dma.alignment - 1)) { in ata_dmaload() 285 request->bytecount, ch->dma.alignment); in ata_dmaload() 288 if (request->bytecount > ch->dma.max_iosize) { in ata_dmaload() 291 request->bytecount, ch->dma.max_iosize); in ata_dmaload() 309 request->data, request->bytecount, in ata_dmaload()
|
H A D | ata-lowlevel.c | 292 if (request->bytecount > request->donecount) { in ata_end_transaction() 295 min((request->bytecount - request->donecount), in ata_end_transaction() 334 request->donecount = request->bytecount; in ata_end_transaction() 384 request->transfersize = min((request->bytecount-request->donecount), in ata_end_transaction() 401 request->transfersize = min((request->bytecount-request->donecount), in ata_end_transaction() 449 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/sys/cam/ata/ |
H A D | ata_xpt.c | 526 u_int sectors, bytecount; in aprobestart() local 528 bytecount = 8192; /* SATA maximum */ in aprobestart() 537 bytecount = cts.xport_specific.ata.bytecount; in aprobestart() 540 bytecount = cts.xport_specific.sata.bytecount; in aprobestart() 544 bytecount / ata_logical_sector_size(ident_buf))); in aprobestart() 551 cts.xport_specific.ata.bytecount = sectors * in aprobestart() 555 cts.xport_specific.sata.bytecount = sectors * in aprobestart() 568 bytecount = cts.xport_specific.ata.bytecount; in aprobestart() 571 bytecount = cts.xport_specific.sata.bytecount; in aprobestart() 573 sectors = bytecount / ata_logical_sector_size(ident_buf); in aprobestart() [all …]
|
/freebsd/sys/vm/ |
H A D | vnode_pager.c | 902 int bytecount, secmask; in vnode_pager_generic_getpages() local 1080 bytecount = ptoa(bp->b_npages); in vnode_pager_generic_getpages() 1081 if ((foff + bytecount) > object->un_pager.vnp.vnp_size) in vnode_pager_generic_getpages() 1082 bytecount = object->un_pager.vnp.vnp_size - foff; in vnode_pager_generic_getpages() 1086 bytecount = (bytecount + secmask) & ~secmask; in vnode_pager_generic_getpages() 1109 bp->b_bcount = bp->b_bufsize = bytecount; in vnode_pager_generic_getpages() 1318 vnode_pager_generic_putpages(struct vnode *vp, vm_page_t *ma, int bytecount, in vnode_pager_generic_putpages() argument 1333 count = bytecount / PAGE_SIZE; in vnode_pager_generic_putpages()
|
/freebsd/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/sys/dev/mvs/ |
H A D | mvs.c | 135 ch->user[i].bytecount = (ch->quirks & MVS_Q_GENIIE) ? 8192 : 2048; in mvs_ch_attach() 946 ch->curr[ccb->ccb_h.target_id].bytecount); in mvs_legacy_intr() 972 ch->curr[ccb->ccb_h.target_id].bytecount); in mvs_legacy_intr() 1286 eprd[i].bytecount = htole32(segs[i].ds_len & MVS_EPRD_MASK); in mvs_dmasetprd() 1289 eprd[i - 1].bytecount |= htole32(MVS_EPRD_EOF); in mvs_dmasetprd() 1331 ch->curr[port].bytecount); in mvs_legacy_execute_transaction() 1353 ch->curr[port].bytecount); in mvs_legacy_execute_transaction() 2305 d->bytecount = min((ch->quirks & MVS_Q_GENIIE) ? 8192 : 2048, in mvsaction() 2306 cts->xport_specific.sata.bytecount); in mvsaction() 2366 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/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/sys/powerpc/mpc85xx/ |
H A D | fsl_sata.c | 243 u_int bytecount; member 343 ch->user[i].bytecount = 8192; in fsl_sata_attach() 1761 d->bytecount = min(8192, cts->xport_specific.sata.bytecount); in fsl_sataaction() 1816 cts->xport_specific.sata.bytecount = d->bytecount; in fsl_sataaction()
|
/freebsd/sys/dev/siis/ |
H A D | siis.h | 353 u_int bytecount; member
|
H A D | siis.c | 476 ch->user[i].bytecount = 8192; in siis_ch_attach() 1858 d->bytecount = min(8192, cts->xport_specific.sata.bytecount); in siisaction() 1922 cts->xport_specific.sata.bytecount = d->bytecount; in siisaction()
|
/freebsd/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()
|
H A D | sctp_structs.h | 222 uint32_t bytecount; member
|
/freebsd/sys/dev/pst/ |
H A D | pst-raid.c | 300 msg->bytecount = request->bp->bio_bcount; in pst_rw()
|
H A D | pst-iop.h | 613 u_int32_t bytecount; member
|
/freebsd/sys/cam/ |
H A D | cam_ccb.h | 1012 u_int bytecount; /* Length of PIO transaction */ 1030 u_int bytecount; /* Length of PIO transaction */ 1004 u_int bytecount; /* Length of PIO transaction */ global() member 1022 u_int bytecount; /* Length of PIO transaction */ global() member
|
/freebsd/sys/dev/hptrr/ |
H A D | ldm.h | 524 void ldm_ide_fixstring (HPT_U8 *s, const int bytecount);
|
/freebsd/sys/dev/hpt27xx/ |
H A D | ldm.h | 532 void ldm_ide_fixstring (HPT_U8 *s, const int bytecount);
|
/freebsd/sys/dev/hptnr/ |
H A D | ldm.h | 531 void ldm_ide_fixstring (HPT_U8 *s, const int bytecount);
|