Searched refs:bcnt (Results 1 - 20 of 20) sorted by relevance

/freebsd-current/usr.bin/hexdump/
H A Dparse.c122 tfu->bcnt = atoi(savep);
147 int bcnt, cursize; local
153 if (fu->bcnt) {
154 cursize += fu->bcnt * fu->reps;
157 for (bcnt = prec = 0, fmt = fu->fmt; *fmt; ++fmt) {
174 bcnt += 1;
178 bcnt += 4;
181 bcnt += 8;
184 bcnt += prec;
189 bcnt
[all...]
H A Dhexdump.c62 tfs->bcnt = size(tfs);
63 if (blocksize < tfs->bcnt)
64 blocksize = tfs->bcnt;
H A Dhexdump.h48 int bcnt; /* byte count */ member in struct:_pr
63 int bcnt; /* byte count */ member in struct:_fu
70 int bcnt; member in struct:_fs
H A Ddisplay.c75 for (pr = fu->nextpr; pr; address += pr->bcnt,
76 bp += pr->bcnt, pr = pr->nextpr) {
139 switch(pr->bcnt) {
149 if (pr->bcnt == sizeof(long double)) {
157 switch(pr->bcnt) {
188 switch(pr->bcnt) {
/freebsd-current/bin/dd/
H A Dposition.c89 size_t bcnt; local
109 for (bcnt = in.dbsz, cnt = in.offset, warned = 0; cnt;) {
110 if ((nr = read(in.fd, in.db, bcnt)) > 0) {
112 if (!(bcnt -= nr)) {
113 bcnt = in.dbsz;
/freebsd-current/usr.bin/split/
H A Dsplit.c214 off_t bcnt; local
221 for (bcnt = 0;;)
235 if (bcnt + len >= bytecnt) {
236 dist = bytecnt - bcnt;
259 bcnt = len;
261 bcnt += len;
/freebsd-current/usr.sbin/bhyve/amd64/
H A Datkbdc.c112 int bcnt; member in struct:kbd_dev
165 if (sc->kbd.bcnt < FIFOSZ) {
168 sc->kbd.bcnt++;
175 return (sc->kbd.bcnt < FIFOSZ);
232 while (sc->kbd.bcnt < FIFOSZ) {
241 ps2mouse_fifocnt(sc->ps2mouse_sc) == 0) && sc->kbd.bcnt > 0)
277 if (sc->kbd.bcnt == 0)
289 if (sc->kbd.bcnt > 0) {
292 sc->kbd.bcnt--;
293 if (sc->kbd.bcnt
[all...]
/freebsd-current/sys/arm/ti/
H A Dti_edma3.h59 uint16_t bcnt; /* Count for 2nd Dimension */ member in struct:ti_edma3cc_param_set
/freebsd-current/sys/ofed/include/rdma/
H A Dib_umem_odp.h106 int ib_umem_odp_map_dma_pages(struct ib_umem *umem, u64 start_offset, u64 bcnt,
/freebsd-current/sys/ofed/drivers/infiniband/core/
H A Dib_umem_odp.c509 * @bcnt: the minimal number of bytes to pin and map. The mapping might be
519 int ib_umem_odp_map_dma_pages(struct ib_umem *umem, u64 user_virt, u64 bcnt, argument
534 user_virt + bcnt > ib_umem_end(umem))
544 bcnt += off; /* Charge for the first page offset as well. */
564 while (bcnt > 0) {
566 min_t(size_t, ALIGN(bcnt, PAGE_SIZE) / PAGE_SIZE,
585 bcnt -= min_t(size_t, npages << PAGE_SHIFT, bcnt);
/freebsd-current/sys/netsmb/
H A Dsmb_rq.c242 int bcnt; local
248 bcnt = rqp->sr_rq.mb_count;
249 if (bcnt > 0xffff)
250 SMBERROR("byte count too large (%d)\n", bcnt);
251 le16enc(rqp->sr_bcount, bcnt);
/freebsd-current/sys/netinet/
H A Dip_fw.h659 uint64_t bcnt; /* Byte counter */ member in struct:ip_fw_bcounter
680 uint64_t bcnt; /* Byte counter */ member in struct:ip_fw
731 u_int64_t bcnt; /* byte match counter */ member in struct:_ipfw_dyn_rule
/freebsd-current/sys/netpfil/ipfw/
H A Dip_fw_private.h403 (_cntr)->bcnt += _bytes; \
414 (_cntr)->bcnt = 0; \
516 uint64_t bcnt; /* Byte counter */ member in struct:ip_fw_rule0
524 uint64_t bcnt; /* Byte counter */ member in struct:ip_fw_bcounter0
H A Dip_fw_sockopt.c406 cntr->bcnt = counter_u64_fetch(krule->cntr + 1);
422 cntr->bcnt = counter_u64_fetch(krule->cntr + 1);
2129 uint64_t bcnt; /* Byte counter */ member in struct:ip_fw7
4145 rule7->bcnt = tmp->bcnt;
4218 rule->bcnt = tmp->bcnt;
H A Dip_fw_dynamic.c2951 dst->bcnt = 0;
2972 dst->bcnt = data->bcnt_fwd + data->bcnt_rev;
/freebsd-current/sys/dev/tpm/
H A Dtpm.c774 int rv, n, bcnt; local
785 bcnt = tpm_getburst(sc);
786 n = MIN(len, bcnt);
788 printf("tpm_tis12_read: fetching %d, burst is %d\n", n, bcnt);
/freebsd-current/sys/arm/allwinner/
H A Da31_dmac.c105 uint32_t bcnt; member in struct:a31dmac_desc
512 ch->desc->bcnt = htole32(nbytes);
/freebsd-current/sys/dev/sound/pci/
H A Denvy24ht.c1540 /* unsigned int bcnt, bsize; */
1581 bcnt = ch->size / bsize;
1582 sndbuf_resize(ch->buffer, bcnt, bsize);
1631 unsigned int bcnt, bsize; local
1657 bcnt = ch->size / bsize;
1658 sndbuf_resize(ch->buffer, bcnt, bsize);
H A Denvy24.c1629 /* unsigned int bcnt, bsize; */
1670 bcnt = ch->size / bsize;
1671 sndbuf_resize(ch->buffer, bcnt, bsize);
1720 unsigned int bcnt, bsize; local
1746 bcnt = ch->size / bsize;
1747 sndbuf_resize(ch->buffer, bcnt, bsize);
/freebsd-current/sbin/ipfw/
H A Dipfw2.c2323 pr_u64(bp, &cntr->bcnt, fo->bcwidth);
2430 pr_u64(bp, &d->bcnt, fo->bcwidth);
2696 width = pr_u64(NULL, &d->bcnt, 0);
2768 width = pr_u64(NULL, &cntr->bcnt, 0);

Completed in 421 milliseconds