Searched refs:counter (Results 51 - 75 of 531) sorted by relevance

1234567891011>>

/netgear-R7000-V1.0.7.12_1.2.5/ap/gpl/curl/curl-7.36.0/tests/libtest/
H A Dlib555.c45 int *counter = (int *)clientp; local
47 if(*counter) {
52 (*counter)++; /* bump */
66 int *counter = (int *)clientp; local
70 *counter = 0; /* clear counter to make the read callback restart */
80 int counter=0; local
96 easy_setopt(curl, CURLOPT_IOCTLDATA, &counter);
98 easy_setopt(curl, CURLOPT_READDATA, &counter);
H A Dlib510.c36 int counter; member in struct:WriteThis
47 data = post[pooh->counter];
52 pooh->counter++; /* advance pointer */
64 pooh.counter = 0;
H A Dlib579.c36 int counter; member in struct:WriteThis
76 data = post[pooh->counter];
81 pooh->counter++; /* advance pointer */
93 pooh.counter = 0;
/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/include/asm-generic/
H A Datomic.h2 * Generic C implementation of atomic counter operations
35 #define atomic_read(v) (*(volatile int *)&(v)->counter)
44 #define atomic_set(v, i) (((v)->counter) = (i))
61 temp = v->counter;
63 v->counter = temp;
82 temp = v->counter;
84 v->counter = temp;
143 #define atomic_xchg(ptr, v) (xchg(&(ptr)->counter, (v)))
144 #define atomic_cmpxchg(v, old, new) (cmpxchg(&((v)->counter), (old), (new)))
/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/include/linux/
H A Dres_counter.h13 * info about what this counter is.
20 * resource may include this counter into its structures and use
30 * the maximal value of the usage from the counter creation
51 * Parent counter, used for hierarchial resource accounting
64 * @counter: the counter in question
71 u64 res_counter_read_u64(struct res_counter *counter, int member);
73 ssize_t res_counter_read(struct res_counter *counter, int member,
82 int res_counter_write(struct res_counter *counter, int member,
101 void res_counter_init(struct res_counter *counter, struc
[all...]
/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/drivers/net/wireless/prism54/
H A Dislpci_dev.c555 unsigned counter; local
573 for (counter = 0; counter < ISL38XX_CB_QCOUNT; counter++) {
574 cb->driver_curr_frag[counter] = cpu_to_le32(0);
575 cb->device_curr_frag[counter] = cpu_to_le32(0);
579 for (counter = 0; counter < ISL38XX_CB_MGMT_QSIZE; counter++) {
580 isl38xx_fragment *frag = &cb->rx_data_mgmt[counter];
627 int counter; local
732 int counter; local
[all...]
/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/arch/sparc/include/asm/
H A Dcpudata_32.h18 unsigned int counter; member in struct:__anon10304
H A Datomic_32.h24 #define atomic_xchg(v, new) (xchg(&((v)->counter), new))
28 #define atomic_read(v) (*(volatile int *)&(v)->counter)
60 typedef struct { volatile int counter; } atomic24_t; member in struct:__anon10303
65 #define atomic24_read(v) ((v)->counter)
66 #define atomic24_set(v, i) (((v)->counter) = i)
78 * | signed 24-bit counter value | lock | atomic_t
87 int ret = v->counter;
90 ret = v->counter;
95 #define atomic24_set(v, i) (((v)->counter) = ((i) << 8))
106 ptr = &v->counter;
[all...]
H A Datomic_64.h16 #define atomic_read(v) (*(volatile int *)&(v)->counter)
17 #define atomic64_read(v) (*(volatile long *)&(v)->counter)
19 #define atomic_set(v, i) (((v)->counter) = i)
20 #define atomic64_set(v, i) (((v)->counter) = i)
70 #define atomic_cmpxchg(v, o, n) (cmpxchg(&((v)->counter), (o), (n)))
71 #define atomic_xchg(v, new) (xchg(&((v)->counter), new))
91 ((__typeof__((v)->counter))cmpxchg(&((v)->counter), (o), (n)))
92 #define atomic64_xchg(v, new) (xchg(&((v)->counter), new))
/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/arch/x86/oprofile/
H A Dop_x86_model.h60 static inline void op_x86_warn_in_use(int counter) argument
63 * The warning indicates an already running counter. If
65 * performance counter on your platform to monitor the desired
66 * event. Delete counter #%d from the desired event by editing
68 * cannot be monitored by any other counter, contact your
71 pr_warning("oprofile: counter #%d on cpu #%d may already be used\n",
72 counter, smp_processor_id());
75 static inline void op_x86_warn_reserved(int counter) argument
77 pr_warning("oprofile: counter #%d is already reserved\n", counter);
[all...]
/netgear-R7000-V1.0.7.12_1.2.5/ap/gpl/iserver/libkqueue-1.0.6/src/linux/
H A Deventfd.c65 uint64_t counter; local
69 counter = 1;
70 if (write(e->fd, &counter, sizeof(counter)) < 0) {
94 /* Reset the counter */
/netgear-R7000-V1.0.7.12_1.2.5/ap/gpl/iserver/libiconv-1.10/lib/
H A Dgenaliases2.c26 static unsigned int counter = 0; local
27 fprintf(out2," (int)(long)&((struct stringpool2_t *)0)->stringpool_%s_%u,\n",tag,counter);
28 for (; n > 0; names++, n--, counter++) {
29 fprintf(out1," S(%s_%u, \"",tag,counter);
/netgear-R7000-V1.0.7.12_1.2.5/ap/gpl/timemachine/libiconv-1.11/lib/
H A Dgenaliases2.c26 static unsigned int counter = 0; local
27 fprintf(out2," (int)(long)&((struct stringpool2_t *)0)->stringpool_%s_%u,\n",tag,counter);
28 for (; n > 0; names++, n--, counter++) {
29 fprintf(out1," S(%s_%u, \"",tag,counter);
/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/arch/avr32/oprofile/
H A Dop_model_avr32.c41 static struct avr32_perf_counter counter[NR_counter] = { variable in typeref:struct:avr32_perf_counter
56 /* Reset all counter and disable/clear all interrupts */
113 &counter[i].enabled);
115 &counter[i].event);
117 &counter[i].count);
121 &counter[i].kernel);
123 &counter[i].user);
125 &counter[i].unit_mask);
142 "oprofile: setup: perf counter already enabled\n");
148 "oprofile", counter);
[all...]
/netgear-R7000-V1.0.7.12_1.2.5/ap/gpl/openssl/crypto/modes/
H A Dctr128.c63 * NOTE: the IV/counter CTR mode is big-endian. The code itself is
67 /* increment counter (128-bit int) by 1 */
68 static void ctr128_inc(unsigned char *counter) argument
74 c += counter[n];
75 counter[n] = (u8)c;
81 static void ctr128_inc_aligned(unsigned char *counter) argument
91 if (is_endian.little || ((size_t)counter % sizeof(size_t)) != 0) {
92 ctr128_inc(counter);
96 data = (size_t *)counter;
109 * The input encrypted as though 128bit counter mod
186 ctr96_inc(unsigned char *counter) argument
[all...]
/netgear-R7000-V1.0.7.12_1.2.5/ap/gpl/openssl-1.0.2h/crypto/modes/
H A Dctr128.c63 * NOTE: the IV/counter CTR mode is big-endian. The code itself is
67 /* increment counter (128-bit int) by 1 */
68 static void ctr128_inc(unsigned char *counter) argument
74 c += counter[n];
75 counter[n] = (u8)c;
81 static void ctr128_inc_aligned(unsigned char *counter) argument
91 if (is_endian.little || ((size_t)counter % sizeof(size_t)) != 0) {
92 ctr128_inc(counter);
96 data = (size_t *)counter;
109 * The input encrypted as though 128bit counter mod
186 ctr96_inc(unsigned char *counter) argument
[all...]
/netgear-R7000-V1.0.7.12_1.2.5/ap/gpl/samba-3.0.25b/examples/perfcounter/
H A Dperf_writer_util.c213 void init_perf_counter(PerfCounter *counter, argument
221 counter->index = index;
222 memcpy(counter->name, name, strlen(name));
223 memcpy(counter->help, help, strlen(help));
224 counter->counter_type = counter_type;
225 counter->record_type = record_type;
230 sprintf(counter->relationships, "p");
233 sprintf(counter->relationships, "c[%d]", parent->index);
236 sprintf(counter->relationships, "i[%d]", parent->index);
H A Dperf_writer.c52 void output_perf_desc(PerfCounter counter, RuntimeSettings rt) argument
57 /* First insert the counter name */
58 make_key(key, NAME_LEN, counter.index, NULL);
59 add_key(rt.cnames, key, counter.name, TDB_INSERT);
61 make_key(key, NAME_LEN, counter.index + 1, NULL);
62 add_key(rt.cnames, key, counter.help, TDB_INSERT);
64 make_key(key, NAME_LEN, counter.index, "rel");
65 add_key(rt.cnames, key, counter.relationships, TDB_INSERT);
67 if(counter.record_type == PERF_COUNTER)
69 make_key(key, NAME_LEN, counter
109 output_perf_counter(PerfCounter counter, unsigned long long data, RuntimeSettings rt, int tdb_flags) argument
[all...]
/netgear-R7000-V1.0.7.12_1.2.5/ap/gpl/ppp-2.4.4/scripts/
H A Dsecure-card38 set counter 0
100 incr counter
101 if { $counter > 8 } {
/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/arch/sparc/lib/
H A Datomic32.c36 ret = (v->counter += i);
49 ret = v->counter;
51 v->counter = new;
64 ret = v->counter;
66 v->counter += a;
78 v->counter = i;
/netgear-R7000-V1.0.7.12_1.2.5/src/router/ppp/scripts/
H A Dsecure-card38 set counter 0
100 incr counter
101 if { $counter > 8 } {
/netgear-R7000-V1.0.7.12_1.2.5/ap/gpl/amule/libcryptoxx-5.6.0/
H A Ddsa.h28 inline bool GenerateDSAPrimes(const byte *seed, size_t seedLength, int &counter, Integer &p, unsigned int primeLength, Integer &q) argument
29 {return DSA::GeneratePrimes(seed, seedLength, counter, p, primeLength, q);}
/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/arch/m32r/include/asm/
H A Datomic.h29 #define atomic_read(v) (*(volatile int *)&(v)->counter)
38 #define atomic_set(v,i) (((v)->counter) = (i))
60 : "r" (&v->counter), "r" (i)
91 : "r" (&v->counter), "r" (i)
150 : "r" (&v->counter)
180 : "r" (&v->counter)
238 #define atomic_cmpxchg(v, o, n) ((int)cmpxchg(&((v)->counter), (o), (n)))
239 #define atomic_xchg(v, new) (xchg(&((v)->counter), new))
/netgear-R7000-V1.0.7.12_1.2.5/ap/gpl/minidlna/minidlna/
H A Dsql.c69 int counter, result; local
91 for (counter = 0;
92 ((result = sqlite3_step(stmt)) == SQLITE_BUSY || result == SQLITE_LOCKED) && counter < 2;
93 counter++) {
/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/arch/sh/include/asm/
H A Datomic.h16 #define atomic_read(v) (*(volatile int *)&(v)->counter)
17 #define atomic_set(v,i) ((v)->counter = (i))
38 #define atomic_xchg(v, new) (xchg(&((v)->counter), new))
39 #define atomic_cmpxchg(v, o, n) (cmpxchg(&((v)->counter), (o), (n)))

Completed in 215 milliseconds

1234567891011>>