| /src/tests/usr.bin/xlint/lint1/ |
| H A D | msg_087.c | 8 extern long counter; 13 /* expect+1: warning: static 'counter' hides external declaration with type 'long' [87] */ 14 static int counter; local in function:count 15 return counter++;
|
| H A D | msg_045.c | 8 struct counter { struct 14 /* expect+4: warning: base type is really 'struct counter' [45] */ 15 /* expect+3: warning: declaration of 'union counter' introduces new type in C90 or later [44] */ 16 /* expect+2: error: 'counter' has incomplete type 'incomplete union counter' [31] */ 17 /* expect+1: warning: union 'counter' never defined [234] */ 18 union counter counter; local in function:function 20 counter.value++;
|
| H A D | msg_247.c | 94 * (in this case 'struct counter') and a private part that is only visible to 104 struct counter { struct 109 struct counter public_part; 115 struct counter * 124 struct counter * 131 return (struct counter *)impl; 135 counter_increment(struct counter *counter) argument 139 * from 'struct counter' to 'struct counter_impl'. 141 struct counter_impl *impl = (struct counter_impl *)counter; [all...] |
| /src/usr.bin/tftp/ |
| H A D | tftpsubs.c | 64 int counter; /* size of data in buffer, or flag */ member in struct:bf 68 /* Values for bf.counter */ 100 bfs[0].counter = BF_ALLOC; /* pass out the first buffer */ 102 bfs[1].counter = BF_FREE; 119 bfs[current].counter = BF_FREE; /* free old one */ 123 if (b->counter == BF_FREE) /* if it's empty */ 125 /* assert(b->counter != BF_FREE);*//* check */ 127 return b->counter; 147 if (b->counter != BF_FREE) /* nop if not free */ 154 b->counter [all...] |
| /src/sys/dev/tprof/ |
| H A D | tprof_armv7.c | 97 armv7_pmu_set_pmevtyper(u_int counter, uint64_t val) argument 99 armreg_pmselr_write(counter); 105 armv7_pmu_set_pmevcntr(u_int counter, uint32_t val) argument 107 armreg_pmselr_write(counter); 113 armv7_pmu_get_pmevcntr(u_int counter) argument 115 armreg_pmselr_write(counter); 122 armv7_pmu_getset_pmevcntr(u_int counter, uint64_t val) argument 126 armreg_pmselr_write(counter); 140 armv7_pmu_counter_bitwidth(u_int counter) argument 146 armv7_pmu_counter_estimate_freq(u_int counter) argument 156 armv7_pmu_valid_event(u_int counter,const tprof_param_t * param) argument 167 armv7_pmu_configure_event(u_int counter,const tprof_param_t * param) argument [all...] |
| H A D | tprof_armv8.c | 74 armv8_pmu_set_pmevtyper(u_int counter, uint64_t val) argument 76 reg_pmselr_el0_write(counter); 82 armv8_pmu_set_pmevcntr(u_int counter, uint64_t val) argument 84 reg_pmselr_el0_write(counter); 90 armv8_pmu_get_pmevcntr(u_int counter) argument 92 reg_pmselr_el0_write(counter); 99 armv8_pmu_getset_pmevcntr(u_int counter, uint64_t val) argument 103 reg_pmselr_el0_write(counter); 117 armv8_pmu_counter_bitwidth(u_int counter) argument 123 armv8_pmu_counter_estimate_freq(u_int counter) argument 129 armv8_pmu_valid_event(u_int counter,const tprof_param_t * param) argument 140 armv8_pmu_configure_event(u_int counter,const tprof_param_t * param) argument [all...] |
| H A D | tprof_x86_amd.c | 121 tprof_amd_counter_bitwidth(u_int counter) argument 127 tprof_amd_counter_write(u_int counter, uint64_t val) argument 129 wrmsr(PERFCTR(counter), val); 133 tprof_amd_counter_read(u_int counter) argument 135 return rdmsr(PERFCTR(counter)); 139 tprof_amd_configure_event(u_int counter, const tprof_param_t *param) argument 155 wrmsr(PERFEVTSEL(counter), pesr); 157 /* Reset the counter */ 158 tprof_amd_counter_write(counter, param->p_value); 205 /* Account for the counter, an 230 tprof_amd_counter_estimate_freq(u_int counter) argument [all...] |
| H A D | tprof_x86_intel.c | 115 tprof_intel_counter_bitwidth(u_int counter) argument 122 tprof_intel_counter_write(u_int counter, uint64_t val) argument 125 wrmsr(PERFCTR(counter), val); 129 tprof_intel_counter_read(u_int counter) argument 132 return rdmsr(PERFCTR(counter)); 136 tprof_intel_configure_event(u_int counter, const tprof_param_t *param) argument 146 wrmsr(PERFEVTSEL(counter), evtval); 148 /* Reset the counter */ 149 tprof_intel_counter_write(counter, param->p_value); 198 /* Account for the counter, an 228 tprof_intel_counter_estimate_freq(u_int counter) argument [all...] |
| /src/tests/rump/kernspace/ |
| H A D | workqueue.c | 50 int counter; member in struct:test_softc 65 ++sc->counter; 84 sc->counter = 0; 116 KASSERT(sc->counter == ITERATIONS); 132 KASSERT(sc->counter == i); 135 KASSERT(sc->counter == (i + 1)); 138 KASSERT(sc->counter == ITERATIONS); 160 KASSERT(sc->counter == i); 166 KASSERT(sc->counter == (i + 2)); 169 KASSERT(sc->counter [all...] |
| /src/sys/external/isc/libsodium/dist/src/libsodium/crypto_stream/chacha20/dolbeau/ |
| H A D | chacha20_dolbeau-avx2.c | 54 chacha_ivsetup(chacha_ctx *ctx, const uint8_t *iv, const uint8_t *counter) argument 56 ctx->input[12] = counter == NULL ? 0 : LOAD32_LE(counter + 0); 57 ctx->input[13] = counter == NULL ? 0 : LOAD32_LE(counter + 4); 63 chacha_ietf_ivsetup(chacha_ctx *ctx, const uint8_t *iv, const uint8_t *counter) argument 65 ctx->input[12] = counter == NULL ? 0 : LOAD32_LE(counter);
|
| H A D | chacha20_dolbeau-ssse3.c | 49 chacha_ivsetup(chacha_ctx *ctx, const uint8_t *iv, const uint8_t *counter) argument 51 ctx->input[12] = counter == NULL ? 0 : LOAD32_LE(counter + 0); 52 ctx->input[13] = counter == NULL ? 0 : LOAD32_LE(counter + 4); 58 chacha_ietf_ivsetup(chacha_ctx *ctx, const uint8_t *iv, const uint8_t *counter) argument 60 ctx->input[12] = counter == NULL ? 0 : LOAD32_LE(counter);
|
| /src/lib/libc/arch/m68k/sys/ |
| H A D | getcontext.S | 46 movl %sp@,UC_MCONTEXT_PC(%a0)| adjust saved program counter
|
| /src/lib/librpcsvc/ |
| H A D | spray.x | 66 unsigned int counter; 78 * Just throw away the data and increment the counter 86 * Get the value of the counter and elapsed time since 93 * Clear the counter and reset the elapsed time
|
| /src/sys/external/isc/libsodium/dist/src/libsodium/crypto_stream/salsa20/xmm6int/ |
| H A D | salsa20_xmm6int-avx2.c | 57 salsa_ivsetup(salsa_ctx *ctx, const uint8_t *iv, const uint8_t *counter) argument 61 ctx->input[TR[8]] = counter == NULL ? 0 : LOAD32_LE(counter + 0); 62 ctx->input[TR[9]] = counter == NULL ? 0 : LOAD32_LE(counter + 4);
|
| H A D | salsa20_xmm6int-sse2.c | 49 salsa_ivsetup(salsa_ctx *ctx, const uint8_t *iv, const uint8_t *counter) argument 53 ctx->input[TR[8]] = counter == NULL ? 0 : LOAD32_LE(counter + 0); 54 ctx->input[TR[9]] = counter == NULL ? 0 : LOAD32_LE(counter + 4);
|
| /src/sys/arch/vax/vax/ |
| H A D | clock.c | 66 u_int counter; local in function:vax_diag_get_counter 70 counter = *(volatile u_int *)&ka46_cpu->vc_diagtimu; 73 counter = (counter & 0x3ff) + (counter >> 16) * 1024; 75 return counter + getticks() * tick; 83 u_int counter; local in function:vax_mfpr_get_counter 88 counter = mfpr(PR_ICR) + tick; 92 * Handle interval counter wrapping with interrupts blocked. 95 * If the interval counter i [all...] |
| /src/sys/arch/arm/iomd/ |
| H A D | vidc20config.c | 180 int counter; local in function:vidcvideo_write 222 for (counter = INITVALUE; 223 counter <= sizeof(struct vidc_state); 224 counter++) { 225 if (reg == tab[counter]) { 227 current[counter] = value; 238 int counter = 0; local in function:vidcvideo_setpalette 241 for (counter = 0; counter <= 255; counter 590 int counter; local in function:vidcvideo_cursor_init [all...] |
| /src/usr.bin/make/unit-tests/ |
| H A D | counter-append.mk | 1 # $NetBSD: counter-append.mk,v 1.5 2021/04/04 10:13:09 rillig Exp $ 6 # This works since 2020-09-23. Before that, the counter ended up at having
|
| H A D | counter.mk | 1 # $NetBSD: counter.mk,v 1.6 2021/04/04 10:13:09 rillig Exp $ 6 # This works since 2020-09-23. Before that, the counter ended up at having
|
| /src/sys/arch/i386/i386/ |
| H A D | cpufunc.S | 216 #define CPU_COUNTER_FENCE(counter, fence) \ 217 ENTRY(cpu_ ## counter ## _ ## fence) ;\ 225 ADD_ ## counter ;\ 232 END(cpu_ ## counter ## _ ## fence) 234 CPU_COUNTER_FENCE(counter, lfence) 235 CPU_COUNTER_FENCE(counter, mfence) 239 #define CPU_COUNTER_CPUID(counter) \ 240 ENTRY(cpu_ ## counter ## _cpuid) ;\ 251 ADD_ ## counter ;\ 260 END(cpu_ ## counter ##_cpui [all...] |
| /src/sys/external/bsd/compiler_rt/dist/lib/sanitizer_common/tests/ |
| H A D | sanitizer_stoptheworld_test.cc | 31 volatile int counter; member in struct:__sanitizer::CallbackArgument 35 : counter(0), 43 __sync_fetch_and_add(&callback_argument->counter, 1); 59 int counter_at_init = __sync_fetch_and_add(&callback_argument->counter, 0); 62 if (__sync_fetch_and_add(&callback_argument->counter, 0) !=
|
| /src/sys/arch/amd64/amd64/ |
| H A D | cpufunc.S | 276 #define CPU_COUNTER_FENCE(counter, fence) \ 277 ENTRY(cpu_ ## counter ## _ ## fence) ;\ 284 ADD_ ## counter ;\ 287 KMSAN_INIT_RET(RSIZE_ ## counter) ;\ 291 END(cpu_ ## counter ## _ ## fence) 293 CPU_COUNTER_FENCE(counter, lfence) 294 CPU_COUNTER_FENCE(counter, mfence) 298 #define CPU_COUNTER_CPUID(counter) \ 299 ENTRY(cpu_ ## counter ## _cpuid) ;\ 308 ADD_ ## counter ;\ [all...] |
| /src/sys/arch/virt68k/virt68k/ |
| H A D | clock.c | 86 struct evcnt counter; member in struct:clock_vars 133 evcnt_attach_dynamic(&virt68k_clocks[ca->ca_which].counter, 226 &virt68k_clocks[i].counter,
|
| /src/sys/arch/arm/xscale/ |
| H A D | becc_timer.c | 83 * Since the timer interrupts when the counter underflows, we need to 201 uint32_t counter, base; local in function:becc_get_timecount 205 counter = BECC_CSR_READ(BECC_TCVRA); 209 return base - counter;
|
| /src/sys/arch/arm/imx/ |
| H A D | imxclock.c | 135 uint32_t counter; local in function:imx_epit_get_timecount 140 counter = bus_space_read_4(imxclock->sc_iot, imxclock->sc_ioh, EPIT_EPITCNT); 144 return base - counter;
|