Searched refs:nbits (Results 1 - 25 of 88) sorted by relevance

1234

/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/include/linux/
H A Dbitmap.h27 * Note that nbits should be always a compile time evaluable constant.
30 * bitmap_zero(dst, nbits) *dst = 0UL
31 * bitmap_fill(dst, nbits) *dst = ~0UL
32 * bitmap_copy(dst, src, nbits) *dst = *src
33 * bitmap_and(dst, src1, src2, nbits) *dst = *src1 & *src2
34 * bitmap_or(dst, src1, src2, nbits) *dst = *src1 | *src2
35 * bitmap_xor(dst, src1, src2, nbits) *dst = *src1 ^ *src2
36 * bitmap_andnot(dst, src1, src2, nbits) *dst = *src1 & ~(*src2)
37 * bitmap_complement(dst, src, nbits) *dst = ~(*src)
38 * bitmap_equal(src1, src2, nbits) Ar
132 bitmap_zero(unsigned long *dst, int nbits) argument
142 bitmap_fill(unsigned long *dst, int nbits) argument
152 bitmap_copy(unsigned long *dst, const unsigned long *src, int nbits) argument
163 bitmap_and(unsigned long *dst, const unsigned long *src1, const unsigned long *src2, int nbits) argument
172 bitmap_or(unsigned long *dst, const unsigned long *src1, const unsigned long *src2, int nbits) argument
181 bitmap_xor(unsigned long *dst, const unsigned long *src1, const unsigned long *src2, int nbits) argument
190 bitmap_andnot(unsigned long *dst, const unsigned long *src1, const unsigned long *src2, int nbits) argument
199 bitmap_complement(unsigned long *dst, const unsigned long *src, int nbits) argument
208 bitmap_equal(const unsigned long *src1, const unsigned long *src2, int nbits) argument
217 bitmap_intersects(const unsigned long *src1, const unsigned long *src2, int nbits) argument
226 bitmap_subset(const unsigned long *src1, const unsigned long *src2, int nbits) argument
235 bitmap_empty(const unsigned long *src, int nbits) argument
243 bitmap_full(const unsigned long *src, int nbits) argument
251 bitmap_weight(const unsigned long *src, int nbits) argument
258 bitmap_shift_right(unsigned long *dst, const unsigned long *src, int n, int nbits) argument
267 bitmap_shift_left(unsigned long *dst, const unsigned long *src, int n, int nbits) argument
[all...]
H A Dcpumask.h104 static inline void __cpus_setall(cpumask_t *dstp, int nbits) argument
106 bitmap_fill(dstp->bits, nbits);
110 static inline void __cpus_clear(cpumask_t *dstp, int nbits) argument
112 bitmap_zero(dstp->bits, nbits);
126 const cpumask_t *src2p, int nbits)
128 bitmap_and(dstp->bits, src1p->bits, src2p->bits, nbits);
133 const cpumask_t *src2p, int nbits)
135 bitmap_or(dstp->bits, src1p->bits, src2p->bits, nbits);
140 const cpumask_t *src2p, int nbits)
142 bitmap_xor(dstp->bits, src1p->bits, src2p->bits, nbits);
125 __cpus_and(cpumask_t *dstp, const cpumask_t *src1p, const cpumask_t *src2p, int nbits) argument
132 __cpus_or(cpumask_t *dstp, const cpumask_t *src1p, const cpumask_t *src2p, int nbits) argument
139 __cpus_xor(cpumask_t *dstp, const cpumask_t *src1p, const cpumask_t *src2p, int nbits) argument
147 __cpus_andnot(cpumask_t *dstp, const cpumask_t *src1p, const cpumask_t *src2p, int nbits) argument
154 __cpus_complement(cpumask_t *dstp, const cpumask_t *srcp, int nbits) argument
161 __cpus_equal(const cpumask_t *src1p, const cpumask_t *src2p, int nbits) argument
168 __cpus_intersects(const cpumask_t *src1p, const cpumask_t *src2p, int nbits) argument
175 __cpus_subset(const cpumask_t *src1p, const cpumask_t *src2p, int nbits) argument
182 __cpus_empty(const cpumask_t *srcp, int nbits) argument
188 __cpus_full(const cpumask_t *srcp, int nbits) argument
194 __cpus_weight(const cpumask_t *srcp, int nbits) argument
201 __cpus_shift_right(cpumask_t *dstp, const cpumask_t *srcp, int n, int nbits) argument
209 __cpus_shift_left(cpumask_t *dstp, const cpumask_t *srcp, int n, int nbits) argument
270 __cpumask_scnprintf(char *buf, int len, const cpumask_t *srcp, int nbits) argument
278 __cpumask_parse_user(const char __user *buf, int len, cpumask_t *dstp, int nbits) argument
286 __cpulist_scnprintf(char *buf, int len, const cpumask_t *srcp, int nbits) argument
293 __cpulist_parse(const char *buf, cpumask_t *dstp, int nbits) argument
300 __cpu_remap(int oldbit, const cpumask_t *oldp, const cpumask_t *newp, int nbits) argument
308 __cpus_remap(cpumask_t *dstp, const cpumask_t *srcp, const cpumask_t *oldp, const cpumask_t *newp, int nbits) argument
[all...]
H A Dnodemask.h104 static inline void __nodes_setall(nodemask_t *dstp, int nbits) argument
106 bitmap_fill(dstp->bits, nbits);
110 static inline void __nodes_clear(nodemask_t *dstp, int nbits) argument
112 bitmap_zero(dstp->bits, nbits);
128 const nodemask_t *src2p, int nbits)
130 bitmap_and(dstp->bits, src1p->bits, src2p->bits, nbits);
136 const nodemask_t *src2p, int nbits)
138 bitmap_or(dstp->bits, src1p->bits, src2p->bits, nbits);
144 const nodemask_t *src2p, int nbits)
146 bitmap_xor(dstp->bits, src1p->bits, src2p->bits, nbits);
127 __nodes_and(nodemask_t *dstp, const nodemask_t *src1p, const nodemask_t *src2p, int nbits) argument
135 __nodes_or(nodemask_t *dstp, const nodemask_t *src1p, const nodemask_t *src2p, int nbits) argument
143 __nodes_xor(nodemask_t *dstp, const nodemask_t *src1p, const nodemask_t *src2p, int nbits) argument
151 __nodes_andnot(nodemask_t *dstp, const nodemask_t *src1p, const nodemask_t *src2p, int nbits) argument
159 __nodes_complement(nodemask_t *dstp, const nodemask_t *srcp, int nbits) argument
167 __nodes_equal(const nodemask_t *src1p, const nodemask_t *src2p, int nbits) argument
175 __nodes_intersects(const nodemask_t *src1p, const nodemask_t *src2p, int nbits) argument
183 __nodes_subset(const nodemask_t *src1p, const nodemask_t *src2p, int nbits) argument
190 __nodes_empty(const nodemask_t *srcp, int nbits) argument
196 __nodes_full(const nodemask_t *srcp, int nbits) argument
202 __nodes_weight(const nodemask_t *srcp, int nbits) argument
209 __nodes_shift_right(nodemask_t *dstp, const nodemask_t *srcp, int n, int nbits) argument
217 __nodes_shift_left(nodemask_t *dstp, const nodemask_t *srcp, int n, int nbits) argument
283 __nodemask_scnprintf(char *buf, int len, const nodemask_t *srcp, int nbits) argument
291 __nodemask_parse_user(const char __user *buf, int len, nodemask_t *dstp, int nbits) argument
299 __nodelist_scnprintf(char *buf, int len, const nodemask_t *srcp, int nbits) argument
306 __nodelist_parse(const char *buf, nodemask_t *dstp, int nbits) argument
313 __node_remap(int oldbit, const nodemask_t *oldp, const nodemask_t *newp, int nbits) argument
321 __nodes_remap(nodemask_t *dstp, const nodemask_t *srcp, const nodemask_t *oldp, const nodemask_t *newp, int nbits) argument
[all...]
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/arch/x86_64/lib/
H A Dbitstr.c6 find_next_zero_string(unsigned long *bitmap, long start, long nbits, int len) argument
11 n = find_next_zero_bit(bitmap, nbits, start);
17 if (end >= nbits)
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/ap/gpl/timemachine/libgcrypt-1.5.0/tests/
H A Dcurves.c99 unsigned int nbits; local
101 for (idx=0; (name = gcry_pk_get_curve (NULL, idx, &nbits)); idx++)
104 printf ("%s - %u bits\n", name, nbits);
119 unsigned int nbits; local
124 name = gcry_pk_get_curve (key, 0, &nbits);
130 else if (nbits != sample_key_1_nbits)
132 sample_key_1_nbits, nbits);
139 name = gcry_pk_get_curve (key, 0, &nbits);
145 else if (nbits != sample_key_2_nbits)
147 sample_key_2_nbits, nbits);
[all...]
H A Dtestapi.c41 int rc, nbits; local
54 /* get nbits from a key */
66 nbits = gcry_pk_get_nbits( sexp );
67 printf ( "elg_testkey1 - nbits=%d\n", nbits );
80 int rc, nbits = 1024; local
84 rc = gcry_sexp_build ( &s_parms, NULL, "(genkey(dsa(nbits %d)))", nbits );
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/arch/ia64/mm/
H A Dtlb.c88 unsigned long end, unsigned long nbits)
104 ia64_ptcga(start, (nbits<<2));
106 start += (1UL << nbits);
141 unsigned long nbits; local
150 nbits = ia64_fls(size + 0xfff);
151 while (unlikely (((1UL << nbits) & purge.mask) == 0) &&
152 (nbits < purge.max_bits))
153 ++nbits;
154 if (nbits > purge.max_bits)
155 nbits
87 ia64_global_tlb_purge(struct mm_struct *mm, unsigned long start, unsigned long end, unsigned long nbits) argument
[all...]
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/lib/
H A Dgenalloc.c53 int nbits = size >> pool->min_alloc_order; local
55 (nbits + BITS_PER_BYTE - 1) / BITS_PER_BYTE;
119 int nbits, bit, start_bit, end_bit; local
124 nbits = (size + (1UL << order) - 1) >> order;
131 end_bit -= nbits + 1;
141 if (nbits > 1) {
142 bit = find_next_bit(chunk->bits, bit + nbits,
144 if (bit - start_bit < nbits)
150 while (nbits--)
177 int bit, nbits; local
[all...]
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/ap/gpl/minidlna/ffmpeg-0.5.1/libavcodec/x86/
H A Dfft_sse.c28 void ff_fft_dispatch_sse(FFTComplex *z, int nbits);
29 void ff_fft_dispatch_interleave_sse(FFTComplex *z, int nbits);
33 int n = 1 << s->nbits;
35 ff_fft_dispatch_interleave_sse(z, s->nbits);
58 int n = 1 << s->nbits;
76 long n = 1 << s->nbits;
131 ff_fft_dispatch_sse(z, s->fft.nbits);
177 long n = 1 << s->nbits;
H A Dfft_3dn2.c41 void ff_fft_dispatch_3dn2(FFTComplex *z, int nbits);
42 void ff_fft_dispatch_interleave_3dn2(FFTComplex *z, int nbits);
46 int n = 1<<s->nbits;
48 ff_fft_dispatch_interleave_3dn2(z, s->nbits);
58 long n = 1 << s->nbits;
103 ff_fft_dispatch_3dn2(z, s->fft.nbits);
149 long n = 1 << s->nbits;
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/ap/gpl/minidlna/ffmpeg-0.5.1/libavformat/
H A Dswfenc.c86 int nbits, mask; local
90 nbits = 0;
91 max_nbits(&nbits, xmin);
92 max_nbits(&nbits, xmax);
93 max_nbits(&nbits, ymin);
94 max_nbits(&nbits, ymax);
95 mask = (1 << nbits) - 1;
98 put_bits(&p, 5, nbits);
99 put_bits(&p, nbits, xmin & mask);
100 put_bits(&p, nbits, xma
110 int nbits, mask; local
142 int nbits; local
[all...]
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/ap/gpl/minidlna/ffmpeg-0.5.1/libavcodec/
H A Drdft.c48 av_cold int ff_rdft_init(RDFTContext *s, int nbits, enum RDFTransformType trans) argument
50 int n = 1 << nbits;
54 s->nbits = nbits;
58 if (nbits < 4 || nbits > 16)
61 if (ff_fft_init(&s->fft, nbits-1, trans == IRDFT || trans == RIDFT) < 0)
64 s->tcos = ff_cos_tabs[nbits-4];
65 s->tsin = ff_sin_tabs[nbits-4]+(trans == RDFT || trans == IRIDFT)*(n>>2);
81 const int n = 1 << s->nbits;
[all...]
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/ap/gpl/openssl/crypto/aes/
H A Daes_cfb.c159 /* This expects a single block of size nbits for both in and out. Note that
162 const int nbits,const AES_KEY *key,
168 if (nbits<=0 || nbits>128) return;
174 num = (nbits+7)/8;
182 rem = nbits%8;
183 num = nbits/8;
161 AES_cfbr_encrypt_block(const unsigned char *in,unsigned char *out, const int nbits,const AES_KEY *key, unsigned char *ivec,const int enc) argument
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/ap/gpl/timemachine/openssl-0.9.8e/crypto/aes/
H A Daes_cfb.c159 /* This expects a single block of size nbits for both in and out. Note that
162 const int nbits,const AES_KEY *key,
168 if (nbits<=0 || nbits>128) return;
174 num = (nbits+7)/8;
182 rem = nbits%8;
183 num = nbits/8;
161 AES_cfbr_encrypt_block(const unsigned char *in,unsigned char *out, const int nbits,const AES_KEY *key, unsigned char *ivec,const int enc) argument
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/ap/gpl/timemachine/openssl-0.9.8e/crypto/camellia/
H A Dcmll_cfb.c169 /* This expects a single block of size nbits for both in and out. Note that
172 const int nbits,const CAMELLIA_KEY *key,
178 if (nbits<=0 || nbits>128) return;
184 num = (nbits+7)/8;
192 rem = nbits%8;
193 num = nbits/8;
171 Camellia_cfbr_encrypt_block(const unsigned char *in,unsigned char *out, const int nbits,const CAMELLIA_KEY *key, unsigned char *ivec,const int enc) argument
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/ap/gpl/timemachine/libgcrypt-1.5.0/cipher/
H A Drsa.c88 static int test_keys (RSA_secret_key *sk, unsigned nbits);
96 test_keys (RSA_secret_key *sk, unsigned int nbits)
100 gcry_mpi_t plaintext = gcry_mpi_new (nbits);
101 gcry_mpi_t ciphertext = gcry_mpi_new (nbits);
102 gcry_mpi_t decr_plaintext = gcry_mpi_new (nbits);
103 gcry_mpi_t signature = gcry_mpi_new (nbits);
110 gcry_mpi_randomize (plaintext, nbits, GCRY_WEAK_RANDOM);
127 gcry_mpi_randomize (plaintext, nbits, GCRY_WEAK_RANDOM);
182 generate_std (RSA_secret_key *sk, unsigned int nbits, unsigned long use_e,
198 if (nbits < 102
95 test_keys(RSA_secret_key *sk, unsigned int nbits) argument
181 generate_std(RSA_secret_key *sk, unsigned int nbits, unsigned long use_e, int transient_key) argument
333 gen_x931_parm_xp(unsigned int nbits) argument
376 generate_x931(RSA_secret_key *sk, unsigned int nbits, unsigned long e_value, gcry_sexp_t deriveparms, int *swapped) argument
786 rsa_generate_ext(int algo, unsigned int nbits, unsigned long evalue, const gcry_sexp_t genparms, gcry_mpi_t *skey, gcry_mpi_t **retfactors, gcry_sexp_t *r_extrainfo) argument
863 rsa_generate(int algo, unsigned int nbits, unsigned long evalue, gcry_mpi_t *skey, gcry_mpi_t **retfactors) argument
1195 const unsigned int nbits = 1000; /* Encrypt 1000 random bits. */ local
[all...]
H A Delgamal.c50 static int test_keys (ELG_secret_key *sk, unsigned int nbits, int nodie);
52 static void generate (ELG_secret_key *sk, unsigned nbits, gcry_mpi_t **factors);
128 test_keys ( ELG_secret_key *sk, unsigned int nbits, int nodie ) argument
132 gcry_mpi_t out1_a = gcry_mpi_new ( nbits );
133 gcry_mpi_t out1_b = gcry_mpi_new ( nbits );
134 gcry_mpi_t out2 = gcry_mpi_new ( nbits );
141 gcry_mpi_randomize ( test, nbits, GCRY_WEAK_RANDOM );
182 unsigned int nbits, nbytes; local
190 nbits = wiener_map( orig_nbits ) * 3 / 2;
191 if( nbits >
259 generate( ELG_secret_key *sk, unsigned int nbits, gcry_mpi_t **ret_factors ) argument
361 generate_using_x(ELG_secret_key *sk, unsigned int nbits, gcry_mpi_t x, gcry_mpi_t **ret_factors ) argument
616 elg_generate_ext(int algo, unsigned int nbits, unsigned long evalue, const gcry_sexp_t genparms, gcry_mpi_t *skey, gcry_mpi_t **retfactors, gcry_sexp_t *r_extrainfo) argument
661 elg_generate(int algo, unsigned int nbits, unsigned long evalue, gcry_mpi_t *skey, gcry_mpi_t **retfactors) argument
[all...]
H A Ddsa.c102 unsigned int nbits,
141 unsigned int nbits = mpi_get_nbits(q);
142 unsigned int nbytes = (nbits+7)/8;
157 if ( !rndbuf || nbits < 32 )
160 rndbuf = gcry_random_bytes_secure( (nbits+7)/8, GCRY_STRONG_RANDOM );
179 if ( mpi_test_bit( k, nbits-1 ) )
180 mpi_set_highbit( k, nbits-1 );
183 mpi_set_highbit( k, nbits-1 );
184 mpi_clear_bit( k, nbits-1 );
260 generate (DSA_secret_key *sk, unsigned int nbits, unsigne
140 unsigned int nbits = mpi_get_nbits(q); local
259 generate(DSA_secret_key *sk, unsigned int nbits, unsigned int qbits, int transient_key, dsa_domain_t *domain, gcry_mpi_t **ret_factors ) argument
409 generate_fips186(DSA_secret_key *sk, unsigned int nbits, unsigned int qbits, gcry_sexp_t deriveparms, int use_fips186_2, dsa_domain_t *domain, int *r_counter, void **r_seed, size_t *r_seedlen, gcry_mpi_t *r_h) argument
691 dsa_generate_ext(int algo, unsigned int nbits, unsigned long evalue, const gcry_sexp_t genparms, gcry_mpi_t *skey, gcry_mpi_t **retfactors, gcry_sexp_t *r_extrainfo) argument
941 dsa_generate(int algo, unsigned int nbits, unsigned long evalue, gcry_mpi_t *skey, gcry_mpi_t **retfactors) argument
[all...]
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/drivers/media/video/pwc/
H A Dpwc-dec23.h33 unsigned int nbitsmask, nbits; /* Number of bits of a color in the compressed stream */ member in struct:pwc_dec23_private
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/ap/gpl/timemachine/libgcrypt-1.5.0/mpi/
H A Dmpi-bit.c222 unsigned int nbits = (n%BITS_PER_MPI_LIMB); local
241 if ( x->nlimbs && nbits )
242 _gcry_mpih_rshift ( x->d, x->d, x->nlimbs, nbits );
269 if ( x->nlimbs && nbits )
270 _gcry_mpih_rshift ( x->d, x->d, x->nlimbs, nbits );
282 if (nbits )
283 _gcry_mpih_rshift (x->d, a->d, x->nlimbs, nbits );
329 unsigned int nbits = (n%BITS_PER_MPI_LIMB); local
350 if (nlimbs && !nbits)
360 gcry_mpi_rshift (x, x, BITS_PER_MPI_LIMB - nbits);
[all...]
H A Dmpiutil.c208 gcry_mpi_set_opaque( gcry_mpi_t a, void *p, unsigned int nbits )
221 a->sign = nbits;
228 gcry_mpi_get_opaque( gcry_mpi_t a, unsigned int *nbits )
232 if( nbits )
233 *nbits = a->sign;
383 gcry_mpi_new( unsigned int nbits )
385 return _gcry_mpi_alloc ( (nbits+BITS_PER_MPI_LIMB-1)
391 gcry_mpi_snew( unsigned int nbits )
393 return _gcry_mpi_alloc_secure ( (nbits+BITS_PER_MPI_LIMB-1)
405 unsigned int nbits, enu
404 gcry_mpi_randomize( gcry_mpi_t w, unsigned int nbits, enum gcry_random_level level ) argument
[all...]
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/ap/gpl/minidlna/ffmpeg-0.5.1/libavcodec/ppc/
H A Dfft_altivec.c42 POWERPC_PERF_DECLARE(altivec_fft_num, s->nbits >= 6);
45 int ln = s->nbits;
52 POWERPC_PERF_START_COUNT(altivec_fft_num, s->nbits >= 6);
137 POWERPC_PERF_STOP_COUNT(altivec_fft_num, s->nbits >= 6);
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/drivers/isdn/i4l/
H A Disdn_audio.h18 int nbits; member in struct:adpcm_state
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/include/asm-parisc/
H A Dirq.h45 extern int txn_alloc_irq(unsigned int nbits);
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/ap/gpl/minidlna/jpeg-7/
H A Djchuff.c439 unsigned int nbits)
444 while (nbits > 0) {
447 nbits--;
459 register int temp, nbits; local
463 nbits = 0;
465 nbits++;
467 if (nbits > 14)
470 emit_symbol(entropy, entropy->ac_tbl_no, nbits << 4);
471 if (nbits)
472 emit_bits_e(entropy, entropy->EOBRUN, nbits);
438 emit_buffered_bits(huff_entropy_ptr entropy, char * bufstart, unsigned int nbits) argument
543 register int nbits; local
630 register int nbits; local
910 register int nbits; local
1114 register int nbits; local
[all...]

Completed in 167 milliseconds

1234