/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/arch/ia64/include/asm/ |
H A D | atomic.h | 24 #define atomic_read(v) (*(volatile int *)&(v)->counter) 25 #define atomic64_read(v) (*(volatile long *)&(v)->counter) 27 #define atomic_set(v,i) (((v)->counter) = (i)) 28 #define atomic64_set(v,i) (((v)->counter) = (i)) 86 #define atomic_cmpxchg(v, old, new) (cmpxchg(&((v)->counter), old, new)) 87 #define atomic_xchg(v, new) (xchg(&((v)->counter), new)) 90 (cmpxchg(&((v)->counter), old, new)) 91 #define atomic64_xchg(v, new) (xchg(&((v)->counter), new)) 135 ? ia64_fetch_and_add(__ia64_aar_i, &(v)->counter) \ 147 ? ia64_fetch_and_add(__ia64_aar_i, &(v)->counter) \ [all...] |
/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/tools/perf/ |
H A D | builtin-record.c | 80 int counter; member in struct:mmap_data 227 static void create_counter(int counter, int cpu) argument 229 char *filter = filters[counter]; 230 struct perf_event_attr *attr = attrs + counter; 232 int track = !counter; /* only the first counter needs these */ 299 fd[nr_cpu][counter][thread_index] = sys_perf_event_open(attr, 302 if (fd[nr_cpu][counter][thread_index] < 0) { 316 * based cpu-clock-tick sw counter, which 330 fd[nr_cpu][counter][thread_inde 413 int counter; local 495 int i, counter; local [all...] |
H A D | builtin-top.c | 274 static void record_precise_ip(struct sym_entry *syme, int counter, u64 ip) argument 292 line->count[counter]++; 410 int counter; local 415 for (counter = 1; counter < nr_counters-1; counter++) 416 weight *= sym->count[counter]; 418 weight /= (sym->count[counter] + 1); 464 int counter, snap = !display_weighted ? sym_counter : 0; local 545 else for (counter 980 event__process_sample(const event_t *self, struct perf_session *session, int counter) argument 1086 int counter; member in struct:mmap_data 1171 int i, counter, thread_index; local 1187 start_counter(int i, int counter) argument 1267 int i, counter; local 1369 int counter; local [all...] |
/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/drivers/staging/comedi/drivers/ |
H A D | ni_tio_internal.h | 3 Header file for NI general purpose counter support code (ni_tio.c and 695 static inline void write_register(struct ni_gpct *counter, unsigned bits, argument 699 counter->counter_dev->write_register(counter, bits, reg); 702 static inline unsigned read_register(struct ni_gpct *counter, argument 706 return counter->counter_dev->read_register(counter, reg); 728 static inline void ni_tio_set_bits_transient(struct ni_gpct *counter, argument 734 struct ni_gpct_device *counter_dev = counter->counter_dev; 741 write_register(counter, 751 ni_tio_set_bits(struct ni_gpct *counter, enum ni_gpct_register register_index, unsigned bit_mask, unsigned bit_values) argument 763 ni_tio_get_soft_copy(const struct ni_gpct *counter, enum ni_gpct_register register_index) argument [all...] |
/netgear-R7000-V1.0.7.12_1.2.5/ap/gpl/amule/libcryptoxx-5.6.0/ |
H A D | dsa.cpp | 61 bool DSA::GeneratePrimes(const byte *seedIn, unsigned int g, int &counter, argument 90 int counterEnd = useInputCounterValue ? counter+1 : 4096; 98 if (!useInputCounterValue || c == counter) 101 if (!useInputCounterValue || c == counter) 109 counter = c;
|
/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/arch/mips/oprofile/ |
H A D | op_model_mipsxx.c | 129 unsigned int counter[4]; member in struct:mipsxx_register_config 139 /* Compute the performance counter control word. */ 142 reg.counter[i] = 0; 155 reg.counter[i] = 0x80000000 - ctr[i].count; 168 w_c0_perfcntr3(reg.counter[3]); 171 w_c0_perfcntr2(reg.counter[2]); 174 w_c0_perfcntr1(reg.counter[1]); 177 w_c0_perfcntr0(reg.counter[0]); 219 unsigned int counter; local 229 counter [all...] |
H A D | op_model_loongson2.c | 2 * Loongson2 performance counter driver for oprofile 60 * Compute the performance counter ctrl word. 108 uint64_t counter, counter1, counter2; local 120 counter = read_c0_perfcnt(); 121 counter1 = counter & 0xffffffff; 122 counter2 = counter >> 32;
|
/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/kernel/time/ |
H A D | timecompare.c | 55 int counter = 0, i; local 72 counter = 0; 97 index = counter - 1; 106 counter++; 110 if (counter >= num_samples || i >= 100000) { 119 used = counter * 3 / 4; 121 used = counter;
|
/netgear-R7000-V1.0.7.12_1.2.5/ap/gpl/openssl/crypto/dh/ |
H A D | dh_asn1.c | 99 BIGNUM *counter; 112 ASN1_SIMPLE(int_dhvparams, counter, BIGNUM) 158 dh->counter = dhx->vparams->counter; 178 if (dh->counter && dh->seed && dh->seedlen > 0) { 183 dhv.counter = dh->counter;
|
/netgear-R7000-V1.0.7.12_1.2.5/ap/gpl/openssl-1.0.2h/crypto/dh/ |
H A D | dh_asn1.c | 99 BIGNUM *counter; 112 ASN1_SIMPLE(int_dhvparams, counter, BIGNUM) 158 dh->counter = dhx->vparams->counter; 178 if (dh->counter && dh->seed && dh->seedlen > 0) { 183 dhv.counter = dh->counter;
|
/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/arch/x86/kernel/cpu/ |
H A D | perfctr-watchdog.c | 68 /* returns the bit offset of the performance counter register */ 112 int avail_to_resrv_perfctr_nmi_bit(unsigned int counter) argument 114 BUG_ON(counter > NMI_MAX_COUNTER_BITS); 116 return !test_bit(counter, perfctr_nmi_owner); 122 unsigned int counter; local 124 counter = nmi_perfctr_msr_to_bit(msr); 126 if (counter > NMI_MAX_COUNTER_BITS) 129 if (!test_and_set_bit(counter, perfctr_nmi_owner)) 137 unsigned int counter; local 139 counter 150 unsigned int counter; local 165 unsigned int counter; local [all...] |
/netgear-R7000-V1.0.7.12_1.2.5/ap/gpl/curl/curl-7.36.0/tests/libtest/ |
H A D | lib586.c | 38 int counter; member in struct:userdata 68 printf("lock: %-6s [%s]: %d\n", what, user->text, user->counter); 69 user->counter++; 95 printf("unlock: %-6s [%s]: %d\n", what, user->text, user->counter); 96 user->counter++; 144 user.counter = 0;
|
H A D | lib500.c | 29 static int counter; variable 37 printf("[OPEN] counter: %d\n", ++counter); 44 printf("[CLOSE] counter: %d\n", counter--); 52 counter = 0;
|
/netgear-R7000-V1.0.7.12_1.2.5/ap/gpl/samba-3.0.25b/source/lib/ |
H A D | fault.c | 35 static int counter; local 37 if (counter) _exit(1); 39 counter++;
|
/netgear-R7000-V1.0.7.12_1.2.5/ap/gpl/timemachine/netatalk-2.2.5/libatalk/util/ |
H A D | fault.c | 115 static int counter; local 117 if (counter) 120 counter++;
|
/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/arch/xtensa/include/asm/ |
H A D | atomic.h | 49 #define atomic_read(v) (*(volatile int *)&(v)->counter) 58 #define atomic_set(v,i) ((v)->counter = (i)) 224 #define atomic_cmpxchg(v, o, n) ((int)cmpxchg(&((v)->counter), (o), (n))) 225 #define atomic_xchg(v, new) (xchg(&((v)->counter), new))
|
/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/arch/m68k/include/asm/ |
H A D | atomic_no.h | 18 #define atomic_read(v) (*(volatile int *)&(v)->counter) 19 #define atomic_set(v, i) (((v)->counter) = i) 131 #define atomic_cmpxchg(v, o, n) ((int)cmpxchg(&((v)->counter), (o), (n))) 132 #define atomic_xchg(v, new) (xchg(&((v)->counter), new))
|
H A D | intersil.h | 39 struct intersil_dt counter; member in struct:intersil_7170
|
/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/arch/avr32/kernel/ |
H A D | time.c | 33 static struct clocksource counter = { variable in typeref:struct:clocksource 124 /* figure rate for counter */ 126 counter.mult = clocksource_hz2mult(counter_hz, counter.shift); 128 ret = clocksource_register(&counter);
|
/netgear-R7000-V1.0.7.12_1.2.5/ap/gpl/openssl/crypto/bn/ |
H A D | bn_blind.c | 128 int counter; member in struct:bn_blinding_st 162 * Set the counter to the special value -1 to indicate that this is 166 ret->counter = -1; 200 if (b->counter == -1) 201 b->counter = 0; 203 if (++b->counter == BN_BLINDING_COUNTER && b->e != NULL && 217 if (b->counter == BN_BLINDING_COUNTER) 218 b->counter = 0; 238 if (b->counter == -1) 240 b->counter [all...] |
/netgear-R7000-V1.0.7.12_1.2.5/ap/gpl/openssl-1.0.2h/crypto/bn/ |
H A D | bn_blind.c | 128 int counter; member in struct:bn_blinding_st 162 * Set the counter to the special value -1 to indicate that this is 166 ret->counter = -1; 200 if (b->counter == -1) 201 b->counter = 0; 203 if (++b->counter == BN_BLINDING_COUNTER && b->e != NULL && 217 if (b->counter == BN_BLINDING_COUNTER) 218 b->counter = 0; 238 if (b->counter == -1) 240 b->counter [all...] |
/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/arch/parisc/include/asm/ |
H A D | atomic.h | 174 ret = (v->counter += i); 185 v->counter = i; 192 return (*(volatile int *)&(v)->counter); 196 #define atomic_cmpxchg(v, o, n) (cmpxchg(&((v)->counter), (o), (n))) 197 #define atomic_xchg(v, new) (xchg(&((v)->counter), new)) 269 ret = (v->counter += i); 281 v->counter = i; 289 return (*(volatile long *)&(v)->counter); 310 ((__typeof__((v)->counter))cmpxchg(&((v)->counter), ( [all...] |
/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/drivers/staging/rt2860/common/ |
H A D | cmm_wep.c | 280 u32 counter; local 285 for (counter = 0; counter < 256; counter++) 286 state[counter] = (u8)counter; 289 for (counter = 0; counter < 256; counter++) { 290 t = state[counter]; [all...] |
/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/drivers/input/joystick/ |
H A D | walkera0701.c | 54 int counter; member in struct:walkera_dev 142 w->counter = NO_SYNC; 146 if (w->counter < NO_SYNC) { 149 w->buf[w->counter] = 8; 152 w->buf[w->counter] = 0; 154 if (w->counter == 24) { /* full frame */ 156 w->counter = NO_SYNC; 158 w->counter = 0; 164 w->buf[w->counter++] |= (pulse_time & 7); 166 w->counter [all...] |
/netgear-R7000-V1.0.7.12_1.2.5/ap/gpl/timemachine/openssl-0.9.8e/crypto/dsa/ |
H A D | dsagen.c | 99 int counter,h; local 106 dsa=DSA_generate_parameters(1024,seed,20,&counter,&h,cb,bio_err);
|