include/arpa/nameser.h
277
int counter;
lib/libresolv/ns_sign.c
263
state->counter = -1;
lib/libresolv/ns_sign.c
296
state->counter++;
lib/libresolv/ns_sign.c
297
if (state->counter == 0)
lib/libresolv/ns_sign.c
317
if (done == 0 && (state->counter % 100 != 0))
lib/libresolv/ns_verify.c
330
state->counter = -1;
lib/libresolv/ns_verify.c
359
state->counter++;
lib/libresolv/ns_verify.c
360
if (state->counter == 0)
libexec/rpc.sprayd/sprayd.c
129
scum.counter = 0;
libexec/rpc.sprayd/sprayd.c
138
scum.counter++;
sys/altq/altq_rmclass.c
1701
cbqtrace_dump(int counter)
sys/altq/altq_rmclass.c
1706
counter = counter % NCBQTRACE;
sys/altq/altq_rmclass.c
1707
p = (int *)&cbqtrace_buffer[counter];
sys/arch/amiga/dev/clock.c
292
u_int counter;
sys/arch/amiga/dev/clock.c
296
counter = clk_gettick();
sys/arch/amiga/dev/clock.c
306
if (counter < prev_counter && cur_hardclock == prev_hardclock)
sys/arch/amiga/dev/clock.c
310
prev_counter = counter;
sys/arch/amiga/dev/clock.c
312
return cur_hardclock * amiga_clk_interval + counter;
sys/arch/arm/gemini/gemini_ipm.c
161
void (*counter)(void *, size_t),
sys/arch/arm/gemini/gemini_ipm.c
170
tag, ipl, quota, consume, counter, arg));
sys/arch/arm/gemini/gemini_ipm.c
184
disp->counter = counter;
sys/arch/arm/gemini/gemini_ipm.c
329
(*disp->counter)(disp->arg, count);
sys/arch/arm/gemini/gemini_ipm.c
37
void (*counter)(void *, size_t);
sys/arch/arm/imx/imxclock.c
135
uint32_t counter;
sys/arch/arm/imx/imxclock.c
140
counter = bus_space_read_4(imxclock->sc_iot, imxclock->sc_ioh, EPIT_EPITCNT);
sys/arch/arm/imx/imxclock.c
144
return base - counter;
sys/arch/arm/iomd/vidc20config.c
180
int counter;
sys/arch/arm/iomd/vidc20config.c
222
for (counter = INITVALUE;
sys/arch/arm/iomd/vidc20config.c
223
counter <= sizeof(struct vidc_state);
sys/arch/arm/iomd/vidc20config.c
224
counter++) {
sys/arch/arm/iomd/vidc20config.c
225
if (reg == tab[counter]) {
sys/arch/arm/iomd/vidc20config.c
227
current[counter] = value;
sys/arch/arm/iomd/vidc20config.c
238
int counter = 0;
sys/arch/arm/iomd/vidc20config.c
241
for (counter = 0; counter <= 255; counter++)
sys/arch/arm/iomd/vidc20config.c
242
vidcvideo_write(VIDC_PALETTE, vidc->palette[counter]);
sys/arch/arm/iomd/vidc20config.c
590
int counter;
sys/arch/arm/iomd/vidc20config.c
620
for ( counter=0; counter<width/4;counter++ )
sys/arch/arm/iomd/vidc20config.c
621
cursor_normal[line * width + counter]=0x55; /* why 0x55 ? */
sys/arch/arm/iomd/vidc20config.c
622
for ( ; counter<8; counter++ )
sys/arch/arm/iomd/vidc20config.c
623
cursor_normal[line * width + counter]=0;
sys/arch/arm/iomd/vidc20config.c
627
for ( counter=0; counter<width/4;counter++ )
sys/arch/arm/iomd/vidc20config.c
628
cursor_transparent[line * width + counter]=0x00;
sys/arch/arm/iomd/vidc20config.c
629
for ( ; counter<8; counter++ )
sys/arch/arm/iomd/vidc20config.c
630
cursor_transparent[line * width + counter]=0;
sys/arch/arm/ixp12x0/ixp12x0_clk.c
275
int counter;
sys/arch/arm/ixp12x0/ixp12x0_clk.c
279
counter = GET_TIMER_VALUE(ixpclk_sc);
sys/arch/arm/ixp12x0/ixp12x0_clk.c
281
return counter;
sys/arch/arm/ixp12x0/ixp12x0_clk.c
287
u_int savedints, base, counter;
sys/arch/arm/ixp12x0/ixp12x0_clk.c
292
counter = GET_TIMER_VALUE(ixpclk_sc);
sys/arch/arm/ixp12x0/ixp12x0_clk.c
296
return base - counter;
sys/arch/arm/sa11x0/sa11x0_ost.c
297
uint32_t counter;
sys/arch/arm/sa11x0/sa11x0_ost.c
301
counter = bus_space_read_4(sc->sc_iot, sc->sc_ioh, SAOST_CR);
sys/arch/arm/sa11x0/sa11x0_ost.c
304
return counter;
sys/arch/arm/sa11x0/sa11x0_ost.c
345
uint32_t counter;
sys/arch/arm/sa11x0/sa11x0_ost.c
350
counter = bus_space_read_4(sc->sc_iot, sc->sc_ioh, SAOST_CR);
sys/arch/arm/sa11x0/sa11x0_ost.c
351
counter += TIMER_FREQUENCY;
sys/arch/arm/sa11x0/sa11x0_ost.c
352
bus_space_write_4(sc->sc_iot, sc->sc_ioh, SAOST_MR3, counter);
sys/arch/arm/xscale/becc_timer.c
201
uint32_t counter, base;
sys/arch/arm/xscale/becc_timer.c
205
counter = BECC_CSR_READ(BECC_TCVRA);
sys/arch/arm/xscale/becc_timer.c
209
return base - counter;
sys/arch/arm/xscale/ixp425_timer.c
206
u_int savedints, base, counter;
sys/arch/arm/xscale/ixp425_timer.c
210
counter = GET_TIMER_VALUE(ixpclk_sc);
sys/arch/arm/xscale/ixp425_timer.c
213
return base - counter;
sys/arch/cobalt/dev/gt.c
210
counter /= 50;
sys/arch/evbarm/ifpga/ifpga_clock.c
322
u_int base, counter;
sys/arch/evbarm/ifpga/ifpga_clock.c
326
counter = getclock();
sys/arch/evbarm/ifpga/ifpga_clock.c
329
return base - counter;
sys/arch/evbarm/iq80310/iq80310_timer.c
255
u_int oldirqstate, base, counter;
sys/arch/evbarm/iq80310/iq80310_timer.c
259
counter = timer_read();
sys/arch/evbarm/iq80310/iq80310_timer.c
262
return base + counter;
sys/arch/ia64/stand/ia64/ski/efi_stub.c
223
static uint32_t counter = 0;
sys/arch/ia64/stand/ia64/ski/efi_stub.c
225
*high = counter++;
sys/arch/m68k/fpsp/fpsp.h
240
EXC_PC equ 6 ;exception frame program counter
sys/arch/sgimips/dev/scn.c
485
if (dp->counter &&
sys/arch/sgimips/dev/scn.c
490
if (dp->counter != dp->ocounter) {
sys/arch/sgimips/dev/scn.c
496
for (i = 0; i < DIVS && divs[i].speed <= dp->counter; i++) {
sys/arch/sgimips/dev/scn.c
497
if (divs[i].speed == dp->counter) {
sys/arch/sgimips/dev/scn.c
505
div = ((long)SCN_CLOCK/16/2 + dp->counter/2) / dp->counter;
sys/arch/sgimips/dev/scn.c
520
dp->ocounter = dp->counter;
sys/arch/sgimips/dev/scn.c
524
dp->counter = 0;
sys/arch/sgimips/dev/scn.c
549
scniter(int *index, int wanted, int *counter, int *mode, struct chan *other,
sys/arch/sgimips/dev/scn.c
579
if (*counter != wanted && *counter != 0)
sys/arch/sgimips/dev/scn.c
581
*counter = wanted;
sys/arch/sgimips/dev/scn.c
592
if (wanted <= 57600 && (*counter == wanted || *counter == 0)) {
sys/arch/sgimips/dev/scn.c
593
*counter = wanted;
sys/arch/sgimips/dev/scn.c
612
int counter;
sys/arch/sgimips/dev/scn.c
655
counter = dp->counter;
sys/arch/sgimips/dev/scn.c
658
ic = scniter(&i, ispeed, &counter, &mode, ocp, c92);
sys/arch/sgimips/dev/scn.c
663
if ((oc = scniter(&o, ospeed, &counter,
sys/arch/sgimips/dev/scn.c
689
counter = 0;
sys/arch/sgimips/dev/scn.c
691
oic = scniter(&oi, ocp->ispeed, &counter, &mode, NULL, c92);
sys/arch/sgimips/dev/scn.c
696
while ((ooc = scniter(&oo, ocp->ospeed, &counter,
sys/arch/sgimips/dev/scn.c
699
while ((ic = scniter(&i, ispeed, &counter,
sys/arch/sgimips/dev/scn.c
702
if ((oc = scniter(&o, ospeed, &counter,
sys/arch/sgimips/dev/scn.c
736
dp->counter = counter;
sys/arch/sgimips/dev/scnvar.h
100
uint16_t counter; /* C/T generated bps, or zero */
sys/arch/sparc/sparc/timer_msiiep.c
211
struct counter *ctr = (struct counter *)tc->tc_priv;
sys/arch/vax/vax/clock.c
102
if (counter < prev_count && cur_hardclock == prev_hardclock)
sys/arch/vax/vax/clock.c
105
prev_count = counter;
sys/arch/vax/vax/clock.c
108
return counter + cur_hardclock * tick;
sys/arch/vax/vax/clock.c
66
u_int counter;
sys/arch/vax/vax/clock.c
70
counter = *(volatile u_int *)&ka46_cpu->vc_diagtimu;
sys/arch/vax/vax/clock.c
73
counter = (counter & 0x3ff) + (counter >> 16) * 1024;
sys/arch/vax/vax/clock.c
75
return counter + getticks() * tick;
sys/arch/vax/vax/clock.c
83
u_int counter;
sys/arch/vax/vax/clock.c
88
counter = mfpr(PR_ICR) + tick;
sys/arch/vax/vsa/lcg.c
273
int counter = 0;
sys/arch/vax/vsa/lcg.c
280
while ((counter < iterations) && ((status & 0x80000000) == 0x80000000)) {
sys/arch/vax/vsa/lcg.c
283
counter++;
sys/arch/vax/vsa/lcg.c
287
if (counter == 0)
sys/arch/vax/vsa/spx.c
459
u_int counter = 0xffffe;
sys/arch/vax/vsa/spx.c
482
while ((counter) && ((SPX_REG1(0x18) & 2) == 0))
sys/arch/vax/vsa/spx.c
483
counter--;
sys/arch/vax/vsa/spx.c
492
u_int counter = 0xffffe;
sys/arch/vax/vsa/spx.c
514
while ((counter) && ((SPXg_REG1(0x0) & 0x8000) == 0))
sys/arch/vax/vsa/spx.c
515
counter--;
sys/arch/vax/vsa/spx.c
545
u_int counter = 0xfffe;
sys/arch/vax/vsa/spx.c
565
while ((counter) && ((SPX_REG1(0x18) & 2) == 0))
sys/arch/vax/vsa/spx.c
566
counter--;
sys/arch/vax/vsa/spx.c
572
u_int counter = 0xfffe;
sys/arch/vax/vsa/spx.c
591
while ((counter) && ((SPXg_REG1(0x0) & 0x8000) == 0))
sys/arch/vax/vsa/spx.c
592
counter--;
sys/arch/vax/vsa/spx.c
745
u_int counter = 0xffffe;
sys/arch/vax/vsa/spx.c
774
while ((counter) && ((SPX_REG1(0x18) & 2) == 0))
sys/arch/vax/vsa/spx.c
775
counter--;
sys/arch/vax/vsa/spx.c
781
u_int counter = 0xffffe;
sys/arch/vax/vsa/spx.c
825
while ((counter) && ((SPXg_REG1(0x0) & 0x8000) == 0))
sys/arch/vax/vsa/spx.c
826
counter--;
sys/arch/virt68k/virt68k/clock.c
133
evcnt_attach_dynamic(&virt68k_clocks[ca->ca_which].counter,
sys/arch/virt68k/virt68k/clock.c
226
&virt68k_clocks[i].counter,
sys/arch/virt68k/virt68k/clock.c
86
struct evcnt counter;
sys/arch/x68k/stand/libdos/dos.h
235
unsigned char counter;
sys/crypto/nist_hash_drbg/nist_hash_drbg.c
336
uint8_t counter = 1;
sys/crypto/nist_hash_drbg/nist_hash_drbg.c
344
hash_df_block(p, counter++, hbits, input, inputlen);
sys/crypto/nist_hash_drbg/nist_hash_drbg.c
352
hash_df_block(t, counter, hbits, input, inputlen);
sys/crypto/nist_hash_drbg/nist_hash_drbg.c
360
hash_df_block(secret void *h, uint8_t counter, uint8_t hbits[4],
sys/crypto/nist_hash_drbg/nist_hash_drbg.c
371
hash_update(&ctx, &counter, 1);
sys/dev/i2c/nxt2k.c
180
int counter;
sys/dev/i2c/nxt2k.c
189
for(counter = 0; counter < 20; counter++) {
sys/dev/i2c/nxt2k.c
217
int counter;
sys/dev/i2c/nxt2k.c
231
for(counter = 0; counter < 20; counter++) {
sys/dev/ic/cy.c
1045
if (did_something && counter >= 200)
sys/dev/ic/cy.c
1050
counter = 0;
sys/dev/ic/cy.c
883
static int counter = 0;
sys/dev/ic/cy.c
889
if (cy_events == 0 && ++counter < 200) {
sys/dev/marvell/if_mvxpe.c
2826
val = arg->counter;
sys/dev/marvell/if_mvxpe.c
3226
sc->sc_sysctl_mib[i].counter = 0;
sys/dev/marvell/if_mvxpe.c
3258
sc->sc_sysctl_mib[i].counter += val;
sys/dev/marvell/if_mvxpevar.h
383
uint64_t counter;
sys/dev/pci/qat/qat_hw15.c
588
auth_setup->auth_counter.counter =
sys/dev/pci/qat/qat_hw17.c
373
auth->max.inner_setup.auth_counter.counter =
sys/dev/pci/qat/qatreg.h
1364
uint32_t counter; /* Counter value */
sys/dev/ppbus/ppbus_base.c
364
unsigned int counter = timeout;
sys/dev/ppbus/ppbus_base.c
375
counter -= (hz/2);
sys/dev/ppbus/ppbus_base.c
380
if(counter == 0) {
sys/dev/ppbus/ppbus_base.c
413
unsigned int counter = timeout;
sys/dev/ppbus/ppbus_base.c
424
counter -= (hz/2);
sys/dev/ppbus/ppbus_base.c
429
if(counter == 0) {
sys/dev/sdmmc/sdmmc_mem.c
2141
const u_int counter = __builtin_ctz(cmd.c_datalen);
sys/dev/sdmmc/sdmmc_mem.c
2142
if (counter >= 9 && counter <= 16) {
sys/dev/sdmmc/sdmmc_mem.c
2143
sc->sc_ev_xfer_aligned[counter - 9].ev_count++;
sys/dev/sdmmc/sdmmc_mem.c
2386
const u_int counter = __builtin_ctz(cmd.c_datalen);
sys/dev/sdmmc/sdmmc_mem.c
2387
if (counter >= 9 && counter <= 16) {
sys/dev/sdmmc/sdmmc_mem.c
2388
sc->sc_ev_xfer_aligned[counter - 9].ev_count++;
sys/dev/tprof/tprof.c
459
u_int counter = (uintptr_t)vp2;
sys/dev/tprof/tprof.c
462
tprof_param_t *param = &tb->tb_softc.sc_count[counter].ctr_param;
sys/dev/tprof/tprof.c
463
counters_offset[counter] = param->p_value;
sys/dev/tprof/tprof.c
470
u_int counter = (uintptr_t)arg2;
sys/dev/tprof/tprof.c
471
tprof_param_t *param = &tb->tb_softc.sc_count[counter].ctr_param;
sys/dev/tprof/tprof.c
473
tb->tb_ops->tbo_configure_event(counter, param);
sys/dev/tprof/tprof_armv7.c
105
armv7_pmu_set_pmevcntr(u_int counter, uint32_t val)
sys/dev/tprof/tprof_armv7.c
107
armreg_pmselr_write(counter);
sys/dev/tprof/tprof_armv7.c
113
armv7_pmu_get_pmevcntr(u_int counter)
sys/dev/tprof/tprof_armv7.c
115
armreg_pmselr_write(counter);
sys/dev/tprof/tprof_armv7.c
122
armv7_pmu_getset_pmevcntr(u_int counter, uint64_t val)
sys/dev/tprof/tprof_armv7.c
126
armreg_pmselr_write(counter);
sys/dev/tprof/tprof_armv7.c
140
armv7_pmu_counter_bitwidth(u_int counter)
sys/dev/tprof/tprof_armv7.c
146
armv7_pmu_counter_estimate_freq(u_int counter)
sys/dev/tprof/tprof_armv7.c
156
armv7_pmu_valid_event(u_int counter, const tprof_param_t *param)
sys/dev/tprof/tprof_armv7.c
167
armv7_pmu_configure_event(u_int counter, const tprof_param_t *param)
sys/dev/tprof/tprof_armv7.c
170
armreg_pmcntenclr_write(__BIT(counter) & PMCNTEN_P);
sys/dev/tprof/tprof_armv7.c
173
armreg_pmintenclr_write(__BIT(counter) & PMINTEN_P);
sys/dev/tprof/tprof_armv7.c
181
armv7_pmu_set_pmevtyper(counter, pmevtyper);
sys/dev/tprof/tprof_armv7.c
188
armreg_pmintenset_write(__BIT(counter) & PMINTEN_P);
sys/dev/tprof/tprof_armv7.c
191
armreg_pmovsr_write(__BIT(counter) & PMOVS_P);
sys/dev/tprof/tprof_armv7.c
194
armv7_pmu_set_pmevcntr(counter, param->p_value);
sys/dev/tprof/tprof_armv7.c
97
armv7_pmu_set_pmevtyper(u_int counter, uint64_t val)
sys/dev/tprof/tprof_armv7.c
99
armreg_pmselr_write(counter);
sys/dev/tprof/tprof_armv8.c
103
reg_pmselr_el0_write(counter);
sys/dev/tprof/tprof_armv8.c
117
armv8_pmu_counter_bitwidth(u_int counter)
sys/dev/tprof/tprof_armv8.c
123
armv8_pmu_counter_estimate_freq(u_int counter)
sys/dev/tprof/tprof_armv8.c
129
armv8_pmu_valid_event(u_int counter, const tprof_param_t *param)
sys/dev/tprof/tprof_armv8.c
140
armv8_pmu_configure_event(u_int counter, const tprof_param_t *param)
sys/dev/tprof/tprof_armv8.c
143
reg_pmcntenclr_el0_write(__BIT(counter) & PMCNTEN_P);
sys/dev/tprof/tprof_armv8.c
146
reg_pmintenclr_el1_write(__BIT(counter) & PMINTEN_P);
sys/dev/tprof/tprof_armv8.c
154
armv8_pmu_set_pmevtyper(counter, pmevtyper);
sys/dev/tprof/tprof_armv8.c
159
reg_pmintenset_el1_write(__BIT(counter) & PMINTEN_P);
sys/dev/tprof/tprof_armv8.c
163
reg_pmovsclr_el0_write(__BIT(counter) & PMOVS_P);
sys/dev/tprof/tprof_armv8.c
166
armv8_pmu_set_pmevcntr(counter, param->p_value);
sys/dev/tprof/tprof_armv8.c
74
armv8_pmu_set_pmevtyper(u_int counter, uint64_t val)
sys/dev/tprof/tprof_armv8.c
76
reg_pmselr_el0_write(counter);
sys/dev/tprof/tprof_armv8.c
82
armv8_pmu_set_pmevcntr(u_int counter, uint64_t val)
sys/dev/tprof/tprof_armv8.c
84
reg_pmselr_el0_write(counter);
sys/dev/tprof/tprof_armv8.c
90
armv8_pmu_get_pmevcntr(u_int counter)
sys/dev/tprof/tprof_armv8.c
92
reg_pmselr_el0_write(counter);
sys/dev/tprof/tprof_armv8.c
99
armv8_pmu_getset_pmevcntr(u_int counter, uint64_t val)
sys/dev/tprof/tprof_x86_amd.c
121
tprof_amd_counter_bitwidth(u_int counter)
sys/dev/tprof/tprof_x86_amd.c
127
tprof_amd_counter_write(u_int counter, uint64_t val)
sys/dev/tprof/tprof_x86_amd.c
129
wrmsr(PERFCTR(counter), val);
sys/dev/tprof/tprof_x86_amd.c
133
tprof_amd_counter_read(u_int counter)
sys/dev/tprof/tprof_x86_amd.c
135
return rdmsr(PERFCTR(counter));
sys/dev/tprof/tprof_x86_amd.c
139
tprof_amd_configure_event(u_int counter, const tprof_param_t *param)
sys/dev/tprof/tprof_x86_amd.c
155
wrmsr(PERFEVTSEL(counter), pesr);
sys/dev/tprof/tprof_x86_amd.c
158
tprof_amd_counter_write(counter, param->p_value);
sys/dev/tprof/tprof_x86_amd.c
230
tprof_amd_counter_estimate_freq(u_int counter)
sys/dev/tprof/tprof_x86_intel.c
115
tprof_intel_counter_bitwidth(u_int counter)
sys/dev/tprof/tprof_x86_intel.c
122
tprof_intel_counter_write(u_int counter, uint64_t val)
sys/dev/tprof/tprof_x86_intel.c
125
wrmsr(PERFCTR(counter), val);
sys/dev/tprof/tprof_x86_intel.c
129
tprof_intel_counter_read(u_int counter)
sys/dev/tprof/tprof_x86_intel.c
132
return rdmsr(PERFCTR(counter));
sys/dev/tprof/tprof_x86_intel.c
136
tprof_intel_configure_event(u_int counter, const tprof_param_t *param)
sys/dev/tprof/tprof_x86_intel.c
146
wrmsr(PERFEVTSEL(counter), evtval);
sys/dev/tprof/tprof_x86_intel.c
149
tprof_intel_counter_write(counter, param->p_value);
sys/dev/tprof/tprof_x86_intel.c
228
tprof_intel_counter_estimate_freq(u_int counter)
sys/dev/usb/umcpmio.c
1208
int counter;
sys/dev/usb/umcpmio.c
1215
error = mcp2210_get_gp6_counter(sc, &counter, MCP2210_COUNTER_RETAIN);
sys/dev/usb/umcpmio.c
1219
DPRINTF(("mcp2210_verify_counter_sysctl 1: counter=%d\n", counter));
sys/dev/usb/umcpmio.c
1221
node.sysctl_data = &counter;
sys/dev/usb/umcpmio.c
1226
DPRINTF(("mcp2210_verify_counter_sysctl 2: counter=%d\n", counter));
sys/dev/usb/umcpmio.c
1228
*(int *)rnode->sysctl_data = (int)counter;
sys/dev/usb/umcpmio.c
1241
int counter;
sys/dev/usb/umcpmio.c
1256
error = mcp2210_get_gp6_counter(sc, &counter, MCP2210_COUNTER_RESET);
sys/dev/usb/umcpmio_gpio.c
1229
mcp2210_get_gp6_counter(struct umcpmio_softc *sc, int *counter,
sys/dev/usb/umcpmio_gpio.c
1256
*counter = (res.counter_msb << 8) | res.counter_lsb;
sys/dist/pf/net/pf.c
2328
rpool->counter.addr32[0] =
sys/dist/pf/net/pf.c
2335
rpool->counter.addr32[3] =
sys/dist/pf/net/pf.c
2340
rpool->counter.addr32[2] =
sys/dist/pf/net/pf.c
2345
rpool->counter.addr32[1] =
sys/dist/pf/net/pf.c
2350
rpool->counter.addr32[0] =
sys/dist/pf/net/pf.c
2355
PF_POOLMASK(naddr, raddr, rmask, &rpool->counter, af);
sys/dist/pf/net/pf.c
2359
PF_AINC(&rpool->counter, af);
sys/dist/pf/net/pf.c
2360
PF_POOLMASK(naddr, raddr, rmask, &rpool->counter, af);
sys/dist/pf/net/pf.c
2370
&rpool->tblidx, &rpool->counter,
sys/dist/pf/net/pf.c
2375
&rpool->tblidx, &rpool->counter,
sys/dist/pf/net/pf.c
2378
} else if (pf_match_addr(0, raddr, rmask, &rpool->counter, af))
sys/dist/pf/net/pf.c
2387
&rpool->tblidx, &rpool->counter,
sys/dist/pf/net/pf.c
2397
&rpool->tblidx, &rpool->counter,
sys/dist/pf/net/pf.c
2407
PF_ACPY(&rpool->counter, raddr, af);
sys/dist/pf/net/pf.c
2411
PF_ACPY(naddr, &rpool->counter, af);
sys/dist/pf/net/pf.c
2414
PF_AINC(&rpool->counter, af);
sys/dist/pf/net/pf_ioctl.c
2580
PF_ACPY(&pool->counter, &pool->cur->addr.v.a.addr,
sys/dist/pf/net/pf_table.c
2134
pfr_pool_get(struct pfr_ktable *kt, int *pidx, struct pf_addr *counter,
sys/dist/pf/net/pf_table.c
2153
if (counter != NULL && idx >= 0)
sys/dist/pf/net/pf_table.c
2168
if (!PF_MATCHA(0, *raddr, *rmask, counter, af)) {
sys/dist/pf/net/pf_table.c
2174
PF_ACPY(addr, counter, af);
sys/dist/pf/net/pf_table.c
2182
PF_ACPY(counter, addr, af);
sys/dist/pf/net/pf_table.c
2197
PF_ACPY(counter, addr, af);
sys/dist/pf/net/pfvar.h
400
struct pf_addr counter;
sys/net/if_wg.c
1270
const uint64_t counter,
sys/net/if_wg.c
1278
le64enc(&nonce[4], counter);
sys/net/if_wg.c
1289
const uint64_t counter,
sys/net/if_wg.c
1297
le64enc(&nonce[4], counter);
sys/net/npf/npf_ext_rndblock.c
119
c = atomic_inc_ulong_nv(&rndblock->counter);
sys/net/npf/npf_ext_rndblock.c
61
unsigned long counter;
sys/net/slcompress.c
64
#define INCR(counter) ++comp->counter;
sys/net/slcompress.c
66
#define INCR(counter)
sys/netbt/hci.h
1298
uint8_t counter; /* number of broadcast retransmissions */
sys/netbt/hci.h
1304
uint8_t counter; /* number of broadcast retransmissions */
sys/netbt/hci.h
1750
uint16_t counter; /* number of consecutive failed contacts */
sys/netinet/ip_carp.c
348
carp_hmac_generate(struct carp_softc *sc, u_int32_t counter[2],
sys/netinet/ip_carp.c
356
SHA1Update(&sha1ctx, (void *)counter, sizeof(sc->sc_counter));
sys/netinet/ip_carp.c
367
carp_hmac_verify(struct carp_softc *sc, u_int32_t counter[2],
sys/netinet/ip_carp.c
372
carp_hmac_generate(sc, counter, md2);
tests/net/net/t_ip_reass.c
215
#define CHECK_IP_COUNTER(oldp, newp, counter) \
tests/net/net/t_ip_reass.c
216
ATF_REQUIRE_MSG((oldp)->ips_ipstat[counter] < (newp)->ips_ipstat[counter], \
tests/net/net/t_ip_reass.c
217
"ips_" #counter " wasn't incremented (%ju vs. %ju)", \
tests/net/net/t_ip_reass.c
218
(uintmax_t)old.ips_ipstat[counter], (uintmax_t)new.ips_ipstat[counter]);
tests/net/net/t_ip_reass.c
224
#define CHECK_IP_COUNTER(oldp, newp, counter) \
tests/net/net/t_ip_reass.c
225
ATF_REQUIRE_MSG((oldp)->ips_ ## counter < (newp)->ips_ ## counter, \
tests/net/net/t_ip_reass.c
226
#counter " wasn't incremented (%ju vs. %ju)", \
tests/net/net/t_ip_reass.c
227
(uintmax_t)old.ips_ ## counter, (uintmax_t)new.ips_## counter);
tests/rump/kernspace/workqueue.c
116
KASSERT(sc->counter == ITERATIONS);
tests/rump/kernspace/workqueue.c
132
KASSERT(sc->counter == i);
tests/rump/kernspace/workqueue.c
135
KASSERT(sc->counter == (i + 1));
tests/rump/kernspace/workqueue.c
138
KASSERT(sc->counter == ITERATIONS);
tests/rump/kernspace/workqueue.c
160
KASSERT(sc->counter == i);
tests/rump/kernspace/workqueue.c
166
KASSERT(sc->counter == (i + 2));
tests/rump/kernspace/workqueue.c
169
KASSERT(sc->counter == 2*ITERATIONS);
tests/rump/kernspace/workqueue.c
50
int counter;
tests/rump/kernspace/workqueue.c
65
++sc->counter;
tests/rump/kernspace/workqueue.c
84
sc->counter = 0;
tests/usr.bin/xlint/lint1/msg_045.c
18
union counter counter;
tests/usr.bin/xlint/lint1/msg_045.c
20
counter.value++;
tests/usr.bin/xlint/lint1/msg_087.c
14
static int counter;
tests/usr.bin/xlint/lint1/msg_087.c
15
return counter++;
tests/usr.bin/xlint/lint1/msg_087.c
8
extern long counter;
tests/usr.bin/xlint/lint1/msg_247.c
105
struct counter public_part;
tests/usr.bin/xlint/lint1/msg_247.c
111
struct counter *
tests/usr.bin/xlint/lint1/msg_247.c
120
struct counter *
tests/usr.bin/xlint/lint1/msg_247.c
127
return (struct counter *)impl;
tests/usr.bin/xlint/lint1/msg_247.c
131
counter_increment(struct counter *counter)
tests/usr.bin/xlint/lint1/msg_247.c
137
struct counter_impl *impl = (struct counter_impl *)counter;
tests/usr.bin/xlint/lint1/msg_247.c
219
sink((struct counter *)(char *)ptr);
tests/usr.bin/xlint/lint1/msg_247.c
221
sink((struct counter *)(unsigned char *)ptr);
tests/usr.bin/xlint/lint1/msg_247.c
224
sink((struct counter *)(signed char *)ptr);
usr.bin/tftp/tftpsubs.c
100
bfs[0].counter = BF_ALLOC; /* pass out the first buffer */
usr.bin/tftp/tftpsubs.c
102
bfs[1].counter = BF_FREE;
usr.bin/tftp/tftpsubs.c
119
bfs[current].counter = BF_FREE; /* free old one */
usr.bin/tftp/tftpsubs.c
123
if (b->counter == BF_FREE) /* if it's empty */
usr.bin/tftp/tftpsubs.c
127
return b->counter;
usr.bin/tftp/tftpsubs.c
147
if (b->counter != BF_FREE) /* nop if not free */
usr.bin/tftp/tftpsubs.c
154
b->counter = read(fileno(file), dp->th_data, amt);
usr.bin/tftp/tftpsubs.c
177
b->counter = (int)(p - dp->th_data);
usr.bin/tftp/tftpsubs.c
187
bfs[current].counter = ct; /* set size of data to write */
usr.bin/tftp/tftpsubs.c
189
if (bfs[current].counter != BF_FREE) /* if not free */
usr.bin/tftp/tftpsubs.c
192
bfs[current].counter = BF_ALLOC; /* mark as alloc'd */
usr.bin/tftp/tftpsubs.c
215
if (b->counter < -1) /* anything to flush? */
usr.bin/tftp/tftpsubs.c
218
count = b->counter; /* remember byte count */
usr.bin/tftp/tftpsubs.c
219
b->counter = BF_FREE; /* reset flag */
usr.bin/tftp/tftpsubs.c
64
int counter; /* size of data in buffer, or flag */
usr.bin/units/units.c
289
int counter = 1;
usr.bin/units/units.c
295
counter++;
usr.bin/units/units.c
297
if (counter > 1)
usr.bin/units/units.c
298
printf("%s%d", powerstring, counter);
usr.bin/units/units.c
301
counter = 1;
usr.bin/units/units.c
304
if (counter > 1)
usr.bin/units/units.c
305
printf("%s%d", powerstring, counter);
usr.bin/units/units.c
306
counter = 1;
usr.bin/units/units.c
311
counter++;
usr.bin/units/units.c
313
if (counter > 1)
usr.bin/units/units.c
314
printf("%s%d", powerstring, counter);
usr.bin/units/units.c
321
counter = 1;
usr.bin/units/units.c
324
if (counter > 1)
usr.bin/units/units.c
325
printf("%s%d", powerstring, counter);
usr.sbin/makefs/cd9660.c
1368
int counter = 0;
usr.sbin/makefs/cd9660.c
1495
counter);
usr.sbin/makefs/cd9660.c
1496
counter++;
usr.sbin/makefs/cd9660.c
1498
} while ((flag == 1) && (counter < 100));
usr.sbin/makefs/cd9660.c
1551
int counter = 1; /* root gets a count of 0 */
usr.sbin/makefs/cd9660.c
1574
dirNode->ptnumber=counter;
usr.sbin/makefs/cd9660.c
1596
counter++;
usr.sbin/spray/spray.c
177
if (host_stats.counter != (unsigned)count) {
usr.sbin/spray/spray.c
178
int packets_dropped = count - host_stats.counter;
usr.sbin/spray/spray.c
191
print_xferstats(host_stats.counter, length, xmit_time);