Searched refs:counter (Results 1 - 25 of 317) sorted by relevance

1234567891011>>

/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/drivers/net/
H A Dstarfire_firmware.pl11 $counter = 0;
15 $counter++;
21 printf(FWH "};\t/* %d Rx instructions */\n#define FIRMWARE_RX_SIZE %d\n\nstatic u32 firmware_tx[] = {\n", $counter, $counter);
22 $counter = 0;
26 $counter++;
30 printf(FWH "};\t/* %d Tx instructions */\n#define FIRMWARE_TX_SIZE %d\n", $counter, $counter);
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/ap/gpl/timemachine/db-4.7.25.NC/php_db4/samples/
H A Dsimple_counter.php9 // Get the current value of "counter"
10 $counter = $db->get("counter"); variable
11 print "Counter Value is $counter\n";
13 // Increment $counter and put() it.
14 $db->put("counter", $counter+1);
H A Dtransactional_counter.php15 $counter = $db->get("counter"); variable
22 print "Current value of counter is $counter\n";
24 // Increment and reset counter, protect it with $txn
25 $db->put("counter", $counter+1, $txn);
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/include/asm/
H A Datomic.h23 typedef struct { volatile int counter; } atomic_t; member in struct:__anon7773
33 #define atomic_read(v) ((v)->counter)
42 #define atomic_set(v,i) ((v)->counter = (i))
63 : "=&r" (temp), "=m" (v->counter)
64 : "Ir" (i), "m" (v->counter));
78 : "=&r" (temp), "=m" (v->counter)
79 : "Ir" (i), "m" (v->counter));
84 v->counter += i;
108 : "=&r" (temp), "=m" (v->counter)
109 : "Ir" (i), "m" (v->counter));
407 typedef struct { volatile long counter; } atomic64_t; member in struct:__anon7774
[all...]
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/include/asm-mips/
H A Datomic.h23 typedef struct { volatile int counter; } atomic_t; member in struct:__anon9144
33 #define atomic_read(v) ((v)->counter)
42 #define atomic_set(v,i) ((v)->counter = (i))
63 : "=&r" (temp), "=m" (v->counter)
64 : "Ir" (i), "m" (v->counter));
78 : "=&r" (temp), "=m" (v->counter)
79 : "Ir" (i), "m" (v->counter));
84 v->counter += i;
108 : "=&r" (temp), "=m" (v->counter)
109 : "Ir" (i), "m" (v->counter));
407 typedef struct { volatile long counter; } atomic64_t; member in struct:__anon9145
[all...]
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/include/asm-x86_64/
H A Datomic.h25 typedef struct { int counter; } atomic_t; member in struct:__anon9592
35 #define atomic_read(v) ((v)->counter)
44 #define atomic_set(v,i) (((v)->counter) = (i))
57 :"=m" (v->counter)
58 :"ir" (i), "m" (v->counter));
72 :"=m" (v->counter)
73 :"ir" (i), "m" (v->counter));
91 :"=m" (v->counter), "=qm" (c)
92 :"ir" (i), "m" (v->counter) : "memory");
106 :"=m" (v->counter)
209 typedef struct { volatile long counter; } atomic64_t; member in struct:__anon9593
[all...]
H A Dlocal.h21 :"=m" (l->a.counter)
22 :"m" (l->a.counter));
29 :"=m" (l->a.counter)
30 :"m" (l->a.counter));
37 :"=m" (l->a.counter)
38 :"ir" (i), "m" (l->a.counter));
45 :"=m" (l->a.counter)
46 :"ir" (i), "m" (l->a.counter));
64 :"=m" (l->a.counter), "=qm" (c)
65 :"ir" (i), "m" (l->a.counter)
[all...]
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/ap/gpl/openssl/crypto/aes/
H A Daes_ctr.c62 /* NOTE: the IV/counter CTR mode is big-endian. The rest of the AES code
65 /* increment counter (128-bit int) by 1 */
66 static void AES_ctr128_inc(unsigned char *counter) { argument
69 /* Grab bottom dword of counter and increment */
70 c = GETU32(counter + 12);
72 PUTU32(counter + 12, c);
78 /* Grab 1st dword of counter and increment */
79 c = GETU32(counter + 8);
81 PUTU32(counter + 8, c);
87 /* Grab 2nd dword of counter an
[all...]
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/ap/gpl/timemachine/openssl-0.9.8e/crypto/aes/
H A Daes_ctr.c62 /* NOTE: the IV/counter CTR mode is big-endian. The rest of the AES code
65 /* increment counter (128-bit int) by 1 */
66 static void AES_ctr128_inc(unsigned char *counter) { argument
69 /* Grab bottom dword of counter and increment */
70 c = GETU32(counter + 12);
72 PUTU32(counter + 12, c);
78 /* Grab 1st dword of counter and increment */
79 c = GETU32(counter + 8);
81 PUTU32(counter + 8, c);
87 /* Grab 2nd dword of counter an
[all...]
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/ap/gpl/timemachine/openssl-0.9.8e/crypto/camellia/
H A Dcmll_ctr.c62 /* NOTE: the IV/counter CTR mode is big-endian. The rest of the Camellia code
64 /* increment counter (128-bit int) by 1 */
65 static void Camellia_ctr128_inc(unsigned char *counter) argument
69 /* Grab bottom dword of counter and increment */
70 c = GETU32(counter + 12);
72 PUTU32(counter + 12, c);
78 /* Grab 1st dword of counter and increment */
79 c = GETU32(counter + 8);
81 PUTU32(counter + 8, c);
87 /* Grab 2nd dword of counter an
[all...]
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/include/asm-powerpc/
H A Datomic.h8 typedef struct { volatile int counter; } atomic_t; member in struct:__anon9272
18 #define atomic_read(v) ((v)->counter)
19 #define atomic_set(v,i) (((v)->counter) = (i))
31 : "=&r" (t), "+m" (v->counter)
32 : "r" (a), "r" (&v->counter)
49 : "r" (a), "r" (&v->counter)
67 : "=&r" (t), "+m" (v->counter)
68 : "r" (a), "r" (&v->counter)
85 : "r" (a), "r" (&v->counter)
101 : "=&r" (t), "+m" (v->counter)
243 typedef struct { volatile long counter; } atomic64_t; member in struct:__anon9273
[all...]
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/include/asm-sh/
H A Datomic-llsc.h19 : "r" (i), "r" (&v->counter)
33 : "r" (i), "r" (&v->counter)
56 : "r" (i), "r" (&v->counter)
73 : "r" (i), "r" (&v->counter)
89 : "r" (~mask), "r" (&v->counter)
103 : "r" (mask), "r" (&v->counter)
H A Dspinlock.h66 atomic_inc(&rw->counter);
75 atomic_dec(&rw->counter);
83 atomic_set(&rw->counter, -1);
88 atomic_set(&rw->counter, 0);
94 return (atomic_read(&rw->counter) == RW_LOCK_BIAS);
108 if (atomic_sub_and_test(RW_LOCK_BIAS, &rw->counter))
111 atomic_add(RW_LOCK_BIAS, &rw->counter);
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/include/asm-parisc/
H A Dspinlock_types.h16 volatile int counter; member in struct:__anon9271
H A Dspinlock.h63 * In the PA-RISC implementation, we have a spinlock and a counter.
64 * Readers use the lock to serialise their access to the counter (which
77 rw->counter++;
89 rw->counter--;
102 rw->counter++;
110 if (rw->counter < 0)
114 while (__raw_spin_is_locked(&rw->lock) && rw->counter >= 0)
129 if (rw->counter != 0) {
133 while (rw->counter != 0)
139 rw->counter
[all...]
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/include/asm-h8300/
H A Datomic.h9 typedef struct { int counter; } atomic_t; member in struct:__anon8720
12 #define atomic_read(v) ((v)->counter)
13 #define atomic_set(v, i) (((v)->counter) = i)
22 ret = v->counter += i;
34 ret = v->counter -= i;
46 v->counter++;
47 ret = v->counter;
68 --v->counter;
69 ret = v->counter;
80 --v->counter;
[all...]
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/include/asm-avr32/
H A Datomic.h19 typedef struct { volatile int counter; } atomic_t; member in struct:__anon8039
22 #define atomic_read(v) ((v)->counter)
23 #define atomic_set(v, i) (((v)->counter) = i)
43 : "=&r"(result), "=o"(v->counter)
44 : "m"(v->counter), "rKs21"(i)
71 : "=&r"(result), "=o"(v->counter)
72 : "m"(v->counter), "r"(i)
103 : "=&r"(tmp), "=&r"(result), "=o"(v->counter)
104 : "m"(v->counter), "rKs21"(a), "rKs21"(u)
139 : "=&r"(tmp), "=&r"(result), "=o"(v->counter)
[all...]
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/include/asm-blackfin/
H A Datomic.h17 int counter; member in struct:__anon8049
21 #define atomic_read(v) ((v)->counter)
22 #define atomic_set(v, i) (((v)->counter) = i)
29 v->counter += i;
38 v->counter -= i;
49 v->counter += i;
50 __temp = v->counter;
64 v->counter -= i;
65 __temp = v->counter;
76 v->counter
[all...]
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/arch/arm/oprofile/
H A Dop_model_arm11_core.h24 #define PMCR_C (1 << 2) /* Cycle counter reset */
25 #define PMCR_D (1 << 3) /* Cycle counter counts every 64th cpu cycle */
28 #define PMCR_IEN_CCNT (1 << 6) /* Interrupt enable cycle counter */
31 #define PMCR_OFL_CCNT (1 << 10) /* Cycle counter overflow */
37 #define CPU_COUNTER(cpu, counter) ((cpu) * 3 + (counter))
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/include/asm-cris/
H A Datomic.h14 typedef struct { volatile int counter; } atomic_t; member in struct:__anon8677
18 #define atomic_read(v) ((v)->counter)
19 #define atomic_set(v,i) (((v)->counter) = (i))
27 v->counter += i;
35 v->counter -= i;
44 retval = (v->counter += i);
56 retval = (v->counter -= i);
66 retval = (v->counter -= i) == 0;
75 (v->counter)++;
83 (v->counter)
[all...]
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/include/asm-cris/arch-v32/
H A Dspinlock.h52 volatile int counter; member in struct:__anon8675
66 #define read_can_lock(x) ((int)(x)->counter >= 0)
72 #define write_can_lock(x) ((x)->counter == 0)
85 rw->counter++;
97 rw->counter--;
117 if(rw->counter != 0) {
121 while(rw->counter != 0);
127 rw->counter = -1; /* remember we are locked */
134 rw->counter = 0;
141 if (rw->counter !
[all...]
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/include/asm-s390/
H A Datomic.h27 volatile int counter; member in struct:__anon9347
36 typeof(ptr->counter) old_val, new_val; \
44 "=Q" (((atomic_t *)(ptr))->counter) \
45 : "d" (op_val), "Q" (((atomic_t *)(ptr))->counter) \
53 typeof(ptr->counter) old_val, new_val; \
61 "=m" (((atomic_t *)(ptr))->counter) \
63 "m" (((atomic_t *)(ptr))->counter) \
70 #define atomic_read(v) ((v)->counter)
71 #define atomic_set(v,i) (((v)->counter) = (i))
103 #define atomic_xchg(v, new) (xchg(&((v)->counter), ne
144 volatile long long counter; member in struct:__anon9348
[all...]
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/include/asm-v850/
H A Datomic.h24 typedef struct { int counter; } atomic_t; member in struct:__anon9535
30 #define atomic_read(v) ((v)->counter)
31 #define atomic_set(v,i) (((v)->counter) = (i))
39 res = v->counter + i;
40 v->counter = res;
52 res = v->counter - i;
53 v->counter = res;
98 ret = v->counter;
100 v->counter = new;
106 #define atomic_xchg(v, new) (xchg(&((v)->counter), ne
[all...]
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/include/asm-arm26/
H A Datomic.h9 typedef struct { volatile int counter; } atomic_t; member in struct:__anon8019
16 #define atomic_read(v) ((v)->counter)
17 #define atomic_set(v,i) (((v)->counter) = (i))
25 val = v->counter;
26 v->counter = val += i;
38 val = v->counter;
39 v->counter = val -= i;
51 ret = v->counter;
53 v->counter = new;
59 #define atomic_xchg(v, new) (xchg(&((v)->counter), ne
[all...]
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/include/asm-alpha/
H A Datomic.h21 typedef struct { volatile int counter; } atomic_t; member in struct:__anon7889
22 typedef struct { volatile long counter; } atomic64_t; member in struct:__anon7890
27 #define atomic_read(v) ((v)->counter + 0)
28 #define atomic64_read(v) ((v)->counter + 0)
30 #define atomic_set(v,i) ((v)->counter = (i))
31 #define atomic64_set(v,i) ((v)->counter = (i))
50 :"=&r" (temp), "=m" (v->counter)
51 :"Ir" (i), "m" (v->counter));
65 :"=&r" (temp), "=m" (v->counter)
66 :"Ir" (i), "m" (v->counter));
[all...]

Completed in 118 milliseconds

1234567891011>>