Home
last modified time | relevance | path

Searched refs:bufcnt (Results 1 – 17 of 17) sorted by relevance

/netbsd-src/external/gpl3/binutils.old/dist/opcodes/
H A Dtic30-dis.c253 int bufcnt; in get_indirect_operand() local
257 for (i = 0, bufcnt = 0; i < len; i++, bufcnt++) in get_indirect_operand()
259 buffer[bufcnt] = current_ind->syntax[i]; in get_indirect_operand()
261 if (bufcnt > 0 in get_indirect_operand()
262 && bufcnt < OPERAND_BUFFER_LEN - 1 in get_indirect_operand()
263 && buffer[bufcnt - 1] == 'a' in get_indirect_operand()
264 && buffer[bufcnt] == 'r') in get_indirect_operand()
265 buffer[++bufcnt] = arnum + '0'; in get_indirect_operand()
267 if (bufcnt < OPERAND_BUFFER_LEN - 1 in get_indirect_operand()
268 && buffer[bufcnt] == '(' in get_indirect_operand()
[all …]
H A DChangeLog-2019985 * tic30-dis.c (get_indirect_operand): Check for bufcnt being
986 greater than zero before indexing via (bufcnt -1).
/netbsd-src/external/gpl3/binutils/dist/opcodes/
H A Dtic30-dis.c253 int bufcnt; in get_indirect_operand() local
257 for (i = 0, bufcnt = 0; i < len; i++, bufcnt++) in get_indirect_operand()
259 buffer[bufcnt] = current_ind->syntax[i]; in get_indirect_operand()
261 if (bufcnt > 0 in get_indirect_operand()
262 && bufcnt < OPERAND_BUFFER_LEN - 1 in get_indirect_operand()
263 && buffer[bufcnt - 1] == 'a' in get_indirect_operand()
264 && buffer[bufcnt] == 'r') in get_indirect_operand()
265 buffer[++bufcnt] = arnum + '0'; in get_indirect_operand()
267 if (bufcnt < OPERAND_BUFFER_LEN - 1 in get_indirect_operand()
268 && buffer[bufcnt] == '(' in get_indirect_operand()
[all …]
H A DChangeLog-2019985 * tic30-dis.c (get_indirect_operand): Check for bufcnt being
986 greater than zero before indexing via (bufcnt -1).
/netbsd-src/external/cddl/osnet/sys/kern/
H A Dmisc.c130 int bufcnt; in kmem_reap() local
133 bufcnt = uvmexp.freetarg - uvm_availmem(false); in kmem_reap()
134 if (bufcnt < 0) in kmem_reap()
135 bufcnt = 0; in kmem_reap()
141 buf_drain(bufcnt << PAGE_SHIFT); in kmem_reap()
/netbsd-src/external/bsd/ntp/dist/util/
H A Dtg.c238 int bufcnt = 0; /* buffer counter */ variable
620 buffer[bufcnt++] = ~c6000[j]; in peep()
624 buffer[bufcnt++] = ~c3000[j]; in peep()
628 buffer[bufcnt++] = ~0; in peep()
630 if (bufcnt >= BUFLNG) { in peep()
632 bufcnt = 0; in peep()
H A Dtg2.c515 int bufcnt = 0; /* buffer counter */ variable
2309 buffer[bufcnt++] = ~c6000[j];
2313 buffer[bufcnt++] = ~c3000[j];
2317 buffer[bufcnt++] = ~0;
2319 if (bufcnt >= BUFLNG) {
2321 bufcnt = 0;
2351 buffer[bufcnt++] = ~u3000[j];
2353 buffer[bufcnt++] = ~u6000[j];
2358 buffer[bufcnt++] = ~u6000[j];
2360 buffer[bufcnt++] = ~u3000[j];
[all …]
/netbsd-src/sbin/fsck_ext2fs/
H A Dutilities.c148 long bufcnt, i; in bufinit() local
154 bufcnt = MAXBUFSPACE / sblock.e2fs_bsize; in bufinit()
155 if (bufcnt < MINBUFS) in bufinit()
156 bufcnt = MINBUFS; in bufinit()
157 for (i = 0; i < bufcnt; i++) { in bufinit()
/netbsd-src/sys/uvm/
H A Duvm_pdaemon.c1015 int bufcnt, lastslept; in uvmpd_pool_drain_thread() local
1054 bufcnt = uvmexp.freetarg - uvm_availmem(false); in uvmpd_pool_drain_thread()
1055 if (bufcnt < 0) in uvmpd_pool_drain_thread()
1056 bufcnt = 0; in uvmpd_pool_drain_thread()
1059 buf_drain(bufcnt << PAGE_SHIFT); in uvmpd_pool_drain_thread()
/netbsd-src/sbin/fsck_ffs/
H A Dutilities.c134 long bufcnt, i; in bufinit() local
151 bufcnt = MAXBUFSPACE / sblock->fs_bsize; in bufinit()
152 if (bufcnt < MINBUFS) in bufinit()
153 bufcnt = MINBUFS; in bufinit()
154 for (i = 0; i < bufcnt; i++) { in bufinit()
/netbsd-src/sys/arch/hpcmips/dev/
H A Ducbsnd.c249 size_t bufcnt; in ucbsnd_exec_output() local
342 buf = ringbuf_consumer_get(&sc->sc_rb, &bufcnt); in ucbsnd_exec_output()
367 TX39_SIBSIZE_SNDSIZE_SET(0, bufcnt)); in ucbsnd_exec_output()
377 sc->sa_dmacnt += bufcnt; in ucbsnd_exec_output()
/netbsd-src/external/cddl/osnet/dist/uts/common/fs/zfs/
H A Darc.c2237 uint32_t bufcnt; in arc_change_state() local
2251 bufcnt = hdr->b_l1hdr.b_bufcnt; in arc_change_state()
2252 update_old = (bufcnt > 0 || hdr->b_l1hdr.b_pdata != NULL); in arc_change_state()
2256 bufcnt = 0; in arc_change_state()
2263 ASSERT(!GHOST_STATE(new_state) || bufcnt == 0); in arc_change_state()
2264 ASSERT(old_state != arc_anon || bufcnt <= 1); in arc_change_state()
2276 ASSERT0(bufcnt); in arc_change_state()
2294 ASSERT0(bufcnt); in arc_change_state()
2311 ASSERT0(bufcnt); in arc_change_state()
2333 ASSERT3U(bufcnt, !=, 0); in arc_change_state()
[all …]
/netbsd-src/sys/dev/isa/
H A Dgus.c1447 u_char bufcnt; member
1637 playstats[playcntr].bufcnt = sc->sc_bufcnt; in gus_dmaout_dointr()
1895 playstats[playcntr].bufcnt = sc->sc_bufcnt; in gus_start_playing()
1997 playstats[playcntr].bufcnt = sc->sc_bufcnt; in gus_continue_playing()
/netbsd-src/external/gpl3/gdb.old/dist/opcodes/
H A DChangeLog-2019985 * tic30-dis.c (get_indirect_operand): Check for bufcnt being
986 greater than zero before indexing via (bufcnt -1).
/netbsd-src/external/gpl3/gdb/dist/opcodes/
H A DChangeLog-2019985 * tic30-dis.c (get_indirect_operand): Check for bufcnt being
986 greater than zero before indexing via (bufcnt -1).
/netbsd-src/external/gpl3/gdb.old/dist/gdb/
H A DChangeLog-19992490 (do_hardwire_readchar, do_unix_readchar): Don't use bufcnt as a
2500 document field bufcnt.
/netbsd-src/external/gpl3/gdb/dist/gdb/
H A DChangeLog-19992490 (do_hardwire_readchar, do_unix_readchar): Don't use bufcnt as a
2500 document field bufcnt.