/linux-2.6.39/arch/arm/mach-msm/include/mach/ |
D | iommu_hw-8xxx.h | 33 #define SET_GLOBAL_REG_N(b, n, r, v) SET_GLOBAL_REG(b, ((r) + (n << 2)), (v)) argument 34 #define GET_GLOBAL_REG_N(b, n, r) GET_GLOBAL_REG(b, ((r) + (n << 2))) argument 37 #define GET_GLOBAL_FIELD(b, r, F) GET_FIELD(((b) + (r)), F##_MASK, F##_SHIFT) argument 38 #define GET_CONTEXT_FIELD(b, c, r, F) \ argument 39 GET_FIELD(((b) + (r) + ((c) << CTX_SHIFT)), F##_MASK, F##_SHIFT) 41 #define SET_GLOBAL_FIELD(b, r, F, v) \ argument 42 SET_FIELD(((b) + (r)), F##_MASK, F##_SHIFT, (v)) 43 #define SET_CONTEXT_FIELD(b, c, r, F, v) \ argument 44 SET_FIELD(((b) + (r) + ((c) << CTX_SHIFT)), F##_MASK, F##_SHIFT, (v)) 97 #define SET_M2VCBR_N(b, N, v) SET_GLOBAL_REG_N(M2VCBR_N, N, (b), (v)) argument [all …]
|
/linux-2.6.39/arch/powerpc/lib/ |
D | copyuser_64.S | 71 bdnz 21b 122 b 2f 149 bdnz 1b 201 b .Ldst_aligned 236 b 1f 287 bdnz 43b 303 bne 1b 312 bdnz 91b 317 bdnz 92b 327 b 1f [all …]
|
D | copy_32.S | 47 b 104f; \ 50 b 105f; \ 53 .long 8 ## n ## 0b,9 ## n ## 0b; \ 54 .long 8 ## n ## 1b,9 ## n ## 0b; \ 55 .long 8 ## n ## 2b,9 ## n ## 0b; \ 56 .long 8 ## n ## 3b,9 ## n ## 0b; \ 57 .long 8 ## n ## 4b,9 ## n ## 1b; \ 58 .long 8 ## n ## 5b,9 ## n ## 1b; \ 59 .long 8 ## n ## 6b,9 ## n ## 1b; \ 60 .long 8 ## n ## 7b,9 ## n ## 1b; \ [all …]
|
/linux-2.6.39/net/ceph/crush/ |
D | crush.c | 29 int crush_get_bucket_item_weight(struct crush_bucket *b, int p) in crush_get_bucket_item_weight() argument 31 if (p >= b->size) in crush_get_bucket_item_weight() 34 switch (b->alg) { in crush_get_bucket_item_weight() 36 return ((struct crush_bucket_uniform *)b)->item_weight; in crush_get_bucket_item_weight() 38 return ((struct crush_bucket_list *)b)->item_weights[p]; in crush_get_bucket_item_weight() 41 return ((struct crush_bucket_tree *)b)->node_weights[p]; in crush_get_bucket_item_weight() 44 return ((struct crush_bucket_straw *)b)->item_weights[p]; in crush_get_bucket_item_weight() 55 int i, b, c; in crush_calc_parents() local 57 for (b = 0; b < map->max_buckets; b++) { in crush_calc_parents() 58 if (map->buckets[b] == NULL) in crush_calc_parents() [all …]
|
D | hash.c | 10 #define crush_hashmix(a, b, c) do { \ argument 11 a = a-b; a = a-c; a = a^(c>>13); \ 12 b = b-c; b = b-a; b = b^(a<<8); \ 13 c = c-a; c = c-b; c = c^(b>>13); \ 14 a = a-b; a = a-c; a = a^(c>>12); \ 15 b = b-c; b = b-a; b = b^(a<<16); \ 16 c = c-a; c = c-b; c = c^(b>>5); \ 17 a = a-b; a = a-c; a = a^(c>>3); \ 18 b = b-c; b = b-a; b = b^(a<<10); \ 19 c = c-a; c = c-b; c = c^(b>>15); \ [all …]
|
/linux-2.6.39/drivers/misc/ |
D | vmw_balloon.c | 224 static bool vmballoon_send_start(struct vmballoon *b) in vmballoon_send_start() argument 228 STATS_INC(b->stats.start); in vmballoon_send_start() 235 STATS_INC(b->stats.start_fail); in vmballoon_send_start() 239 static bool vmballoon_check_status(struct vmballoon *b, unsigned long status) in vmballoon_check_status() argument 246 b->reset_required = true; in vmballoon_check_status() 260 static bool vmballoon_send_guest_id(struct vmballoon *b) in vmballoon_send_guest_id() argument 266 STATS_INC(b->stats.guest_type); in vmballoon_send_guest_id() 268 if (vmballoon_check_status(b, status)) in vmballoon_send_guest_id() 272 STATS_INC(b->stats.guest_type_fail); in vmballoon_send_guest_id() 279 static bool vmballoon_send_get_target(struct vmballoon *b, u32 *new_target) in vmballoon_send_get_target() argument [all …]
|
/linux-2.6.39/arch/x86/lib/ |
D | copy_user_nocache_64.S | 32 jnz 100b 41 .quad 100b,103b 42 .quad 101b,103b 79 jnz 1b 89 jnz 18b 98 jnz 21b 115 .quad 1b,30b 116 .quad 2b,30b 117 .quad 3b,30b 118 .quad 4b,30b [all …]
|
D | copy_user_64.S | 26 .long \alt-1b /* offset */ /* or alternatively to alt */ 30 .quad 0b 31 .quad 2b 52 jnz 100b 61 .quad 100b,103b 62 .quad 101b,103b 150 jnz 1b 160 jnz 18b 169 jnz 21b 185 .quad 1b,30b [all …]
|
/linux-2.6.39/arch/avr32/lib/ |
D | copy_user.S | 56 brge 2b 67 21: st.b r12++, r8 71 23: st.b r12++, r8 75 25: st.b r12++, r8 80 brlt 4b 84 31: st.b r12++, r8 87 breq 1b 89 33: st.b r12++, r8 92 breq 1b 94 35: st.b r12++, r8 [all …]
|
/linux-2.6.39/net/ceph/ |
D | ceph_hash.c | 10 #define mix(a, b, c) \ argument 12 a = a - b; a = a - c; a = a ^ (c >> 13); \ 13 b = b - c; b = b - a; b = b ^ (a << 8); \ 14 c = c - a; c = c - b; c = c ^ (b >> 13); \ 15 a = a - b; a = a - c; a = a ^ (c >> 12); \ 16 b = b - c; b = b - a; b = b ^ (a << 16); \ 17 c = c - a; c = c - b; c = c ^ (b >> 5); \ 18 a = a - b; a = a - c; a = a ^ (c >> 3); \ 19 b = b - c; b = b - a; b = b ^ (a << 10); \ 20 c = c - a; c = c - b; c = c ^ (b >> 15); \ [all …]
|
D | buffer.c | 12 struct ceph_buffer *b; in ceph_buffer_new() local 14 b = kmalloc(sizeof(*b), gfp); in ceph_buffer_new() 15 if (!b) in ceph_buffer_new() 18 b->vec.iov_base = kmalloc(len, gfp | __GFP_NOWARN); in ceph_buffer_new() 19 if (b->vec.iov_base) { in ceph_buffer_new() 20 b->is_vmalloc = false; in ceph_buffer_new() 22 b->vec.iov_base = __vmalloc(len, gfp | __GFP_HIGHMEM, PAGE_KERNEL); in ceph_buffer_new() 23 if (!b->vec.iov_base) { in ceph_buffer_new() 24 kfree(b); in ceph_buffer_new() 27 b->is_vmalloc = true; in ceph_buffer_new() [all …]
|
/linux-2.6.39/drivers/block/drbd/ |
D | drbd_bitmap.c | 121 struct drbd_bitmap *b = mdev->bitmap; in __bm_print_lock_info() local 128 func, b->bm_why ?: "?", in __bm_print_lock_info() 129 b->bm_task == mdev->receiver.task ? "receiver" : in __bm_print_lock_info() 130 b->bm_task == mdev->asender.task ? "asender" : in __bm_print_lock_info() 131 b->bm_task == mdev->worker.task ? "worker" : "?"); in __bm_print_lock_info() 136 struct drbd_bitmap *b = mdev->bitmap; in drbd_bm_lock() local 139 if (!b) { in drbd_bm_lock() 144 trylock_failed = !mutex_trylock(&b->bm_change); in drbd_bm_lock() 151 why, b->bm_why ?: "?", in drbd_bm_lock() 152 b->bm_task == mdev->receiver.task ? "receiver" : in drbd_bm_lock() [all …]
|
/linux-2.6.39/arch/s390/lib/ |
D | uaccess_std.c | 67 EX_TABLE(0b,3b) EX_TABLE(2b,3b) EX_TABLE(4b,5b) in copy_from_user_std() 68 EX_TABLE(10b,3b) EX_TABLE(11b,3b) EX_TABLE(12b,5b) in copy_from_user_std() 107 EX_TABLE(0b,3b) EX_TABLE(2b,3b) EX_TABLE(4b,6b) in copy_to_user_std() 108 EX_TABLE(7b,3b) EX_TABLE(8b,3b) EX_TABLE(9b,6b) in copy_to_user_std() 147 EX_TABLE(1b,6b) EX_TABLE(2b,0b) EX_TABLE(4b,0b) in copy_in_user_std() 182 EX_TABLE(1b,6b) EX_TABLE(2b,0b) EX_TABLE(4b,0b) in clear_user_std() 203 EX_TABLE(0b,1b) in strnlen_user_std() 237 EX_TABLE(0b,7b) EX_TABLE(2b,8b) EX_TABLE(4b,8b) in strncpy_from_user_std() 252 EX_TABLE(0b,4b) EX_TABLE(2b,4b) EX_TABLE(3b,4b) \ 300 EX_TABLE(0b,2b) EX_TABLE(1b,2b) in futex_atomic_cmpxchg_std()
|
/linux-2.6.39/include/linux/ |
D | jhash.h | 35 #define __jhash_mix(a, b, c) \ argument 37 a -= c; a ^= rol32(c, 4); c += b; \ 38 b -= a; b ^= rol32(a, 6); a += c; \ 39 c -= b; c ^= rol32(b, 8); b += a; \ 40 a -= c; a ^= rol32(c, 16); c += b; \ 41 b -= a; b ^= rol32(a, 19); a += c; \ 42 c -= b; c ^= rol32(b, 4); b += a; \ 46 #define __jhash_final(a, b, c) \ argument 48 c ^= b; c -= rol32(b, 14); \ 50 b ^= a; b -= rol32(a, 25); \ [all …]
|
/linux-2.6.39/drivers/staging/rt2860/common/ |
D | crypt_md5.c | 41 #define ROUND1(a, b, c, d, x, s, ac) { \ argument 42 (a) += F((b),(c),(d)) + (x) + (u32)(ac); \ 44 (a) += (b); \ 46 #define ROUND2(a, b, c, d, x, s, ac) { \ argument 47 (a) += G((b),(c),(d)) + (x) + (u32)(ac); \ 49 (a) += (b); \ 51 #define ROUND3(a, b, c, d, x, s, ac) { \ argument 52 (a) += H((b),(c),(d)) + (x) + (u32)(ac); \ 54 (a) += (b); \ 56 #define ROUND4(a, b, c, d, x, s, ac) { \ argument [all …]
|
/linux-2.6.39/arch/x86/xen/ |
D | multicalls.c | 127 struct mc_buffer *b = &__get_cpu_var(mc_buffer); in xen_mc_flush() local 138 mc_add_stats(b); in xen_mc_flush() 140 if (b->mcidx) { in xen_mc_flush() 142 memcpy(b->debug, b->entries, in xen_mc_flush() 143 b->mcidx * sizeof(struct multicall_entry)); in xen_mc_flush() 146 if (HYPERVISOR_multicall(b->entries, b->mcidx) != 0) in xen_mc_flush() 148 for (i = 0; i < b->mcidx; i++) in xen_mc_flush() 149 if (b->entries[i].result < 0) in xen_mc_flush() 157 for (i = 0; i < b->mcidx; i++) { in xen_mc_flush() 159 i+1, b->mcidx, in xen_mc_flush() [all …]
|
/linux-2.6.39/crypto/ |
D | des_generic.c | 617 #define DES_PC2(a, b, c, d) (T4(d) | T3(c) | T2(b) | T1(a)) argument 634 unsigned long a, b, c, d, w; in des_ekey() local 639 b = k[6]; b &= 0x0e; b <<= 4; b |= k[2] & 0x1e; b = pc1[b]; in des_ekey() 642 pe[15 * 2 + 0] = DES_PC2(a, b, c, d); d = rs[d]; in des_ekey() 643 pe[14 * 2 + 0] = DES_PC2(d, a, b, c); c = rs[c]; b = rs[b]; in des_ekey() 644 pe[13 * 2 + 0] = DES_PC2(b, c, d, a); a = rs[a]; d = rs[d]; in des_ekey() 645 pe[12 * 2 + 0] = DES_PC2(d, a, b, c); c = rs[c]; b = rs[b]; in des_ekey() 646 pe[11 * 2 + 0] = DES_PC2(b, c, d, a); a = rs[a]; d = rs[d]; in des_ekey() 647 pe[10 * 2 + 0] = DES_PC2(d, a, b, c); c = rs[c]; b = rs[b]; in des_ekey() 648 pe[ 9 * 2 + 0] = DES_PC2(b, c, d, a); a = rs[a]; d = rs[d]; in des_ekey() [all …]
|
D | md5.c | 36 u32 a, b, c, d; in md5_transform() local 39 b = hash[1]; in md5_transform() 43 MD5STEP(F1, a, b, c, d, in[0] + 0xd76aa478, 7); in md5_transform() 44 MD5STEP(F1, d, a, b, c, in[1] + 0xe8c7b756, 12); in md5_transform() 45 MD5STEP(F1, c, d, a, b, in[2] + 0x242070db, 17); in md5_transform() 46 MD5STEP(F1, b, c, d, a, in[3] + 0xc1bdceee, 22); in md5_transform() 47 MD5STEP(F1, a, b, c, d, in[4] + 0xf57c0faf, 7); in md5_transform() 48 MD5STEP(F1, d, a, b, c, in[5] + 0x4787c62a, 12); in md5_transform() 49 MD5STEP(F1, c, d, a, b, in[6] + 0xa8304613, 17); in md5_transform() 50 MD5STEP(F1, b, c, d, a, in[7] + 0xfd469501, 22); in md5_transform() [all …]
|
D | md4.c | 62 #define ROUND1(a,b,c,d,k,s) (a = lshift(a + F(b,c,d) + k, s)) argument 63 #define ROUND2(a,b,c,d,k,s) (a = lshift(a + G(b,c,d) + k + (u32)0x5A827999,s)) argument 64 #define ROUND3(a,b,c,d,k,s) (a = lshift(a + H(b,c,d) + k + (u32)0x6ED9EBA1,s)) argument 85 u32 a, b, c, d; in md4_transform() local 88 b = hash[1]; in md4_transform() 92 ROUND1(a, b, c, d, in[0], 3); in md4_transform() 93 ROUND1(d, a, b, c, in[1], 7); in md4_transform() 94 ROUND1(c, d, a, b, in[2], 11); in md4_transform() 95 ROUND1(b, c, d, a, in[3], 19); in md4_transform() 96 ROUND1(a, b, c, d, in[4], 3); in md4_transform() [all …]
|
/linux-2.6.39/arch/x86/kernel/cpu/mcheck/ |
D | mce_amd.c | 82 struct threshold_block *b; member 89 static int lvt_off_valid(struct threshold_block *b, int apic, u32 lo, u32 hi) in lvt_off_valid() argument 95 "for bank %d, block %d (MSR%08X=0x%x%08x)\n", b->cpu, in lvt_off_valid() 96 b->bank, b->block, b->address, hi, lo); in lvt_off_valid() 103 b->cpu, apic, b->bank, b->block, b->address, hi, lo); in lvt_off_valid() 117 rdmsr(tr->b->address, lo, hi); in threshold_restart_bank() 119 if (tr->b->threshold_limit < (hi & THRESHOLD_MAX)) in threshold_restart_bank() 125 (THRESHOLD_MAX - tr->b->threshold_limit); in threshold_restart_bank() 128 (tr->old_limit - tr->b->threshold_limit); in threshold_restart_bank() 135 if (lvt_off_valid(tr->b, tr->lvt_off, lo, hi)) { in threshold_restart_bank() [all …]
|
/linux-2.6.39/arch/powerpc/include/asm/ |
D | ppc-opcode.h | 61 #define __PPC_RB(b) (((b) & 0x1f) << 11) argument 65 #define __PPC_XB(b) ((((b) & 0x1f) << 11) | (((b) & 0x20) >> 4)) argument 81 #define PPC_DCBAL(a, b) stringify_in_c(.long PPC_INST_DCBAL | \ argument 82 __PPC_RA(a) | __PPC_RB(b)) 83 #define PPC_DCBZL(a, b) stringify_in_c(.long PPC_INST_DCBZL | \ argument 84 __PPC_RA(a) | __PPC_RB(b)) 85 #define PPC_LDARX(t, a, b, eh) stringify_in_c(.long PPC_INST_LDARX | \ argument 87 __PPC_RB(b) | __PPC_EH(eh)) 88 #define PPC_LWARX(t, a, b, eh) stringify_in_c(.long PPC_INST_LWARX | \ argument 90 __PPC_RB(b) | __PPC_EH(eh)) [all …]
|
D | ppc_asm.h | 113 #define SAVE_VR(n,b,base) li b,THREAD_VR0+(16*(n)); stvx n,base,b argument 114 #define SAVE_2VRS(n,b,base) SAVE_VR(n,b,base); SAVE_VR(n+1,b,base) argument 115 #define SAVE_4VRS(n,b,base) SAVE_2VRS(n,b,base); SAVE_2VRS(n+2,b,base) argument 116 #define SAVE_8VRS(n,b,base) SAVE_4VRS(n,b,base); SAVE_4VRS(n+4,b,base) argument 117 #define SAVE_16VRS(n,b,base) SAVE_8VRS(n,b,base); SAVE_8VRS(n+8,b,base) argument 118 #define SAVE_32VRS(n,b,base) SAVE_16VRS(n,b,base); SAVE_16VRS(n+16,b,base) argument 119 #define REST_VR(n,b,base) li b,THREAD_VR0+(16*(n)); lvx n,base,b argument 120 #define REST_2VRS(n,b,base) REST_VR(n,b,base); REST_VR(n+1,b,base) argument 121 #define REST_4VRS(n,b,base) REST_2VRS(n,b,base); REST_2VRS(n+2,b,base) argument 122 #define REST_8VRS(n,b,base) REST_4VRS(n,b,base); REST_4VRS(n+4,b,base) argument [all …]
|
/linux-2.6.39/lib/ |
D | decompress_unxz.c | 177 static bool memeq(const void *a, const void *b, size_t size) in memeq() argument 180 const uint8_t *y = b; in memeq() 194 uint8_t *b = buf; in memzero() local 195 uint8_t *e = b + size; in memzero() 197 while (b != e) in memzero() 198 *b++ = '\0'; in memzero() 257 struct xz_buf b; in unxz() local 278 b.out = out; in unxz() 279 b.out_size = (size_t)-1; in unxz() 281 b.out_size = XZ_IOBUF_SIZE; in unxz() [all …]
|
/linux-2.6.39/drivers/staging/brcm80211/util/ |
D | bcmsrom.c | 70 static void _initvars_srom_pci(u8 sromrev, u16 *srom, uint off, varbuf_t *b); 92 static void varbuf_init(varbuf_t *b, char *buf, uint size) in varbuf_init() argument 94 b->size = size; in varbuf_init() 95 b->base = b->buf = buf; in varbuf_init() 99 static int varbuf_append(varbuf_t *b, const char *fmt, ...) in varbuf_append() argument 106 if (b->size < 2) in varbuf_append() 110 r = vsnprintf(b->buf, b->size, fmt, ap); in varbuf_append() 120 if ((r == -1) || (r > (int)(b->size - 2))) { in varbuf_append() 121 b->size = 0; in varbuf_append() 126 s = strchr(b->buf, '='); in varbuf_append() [all …]
|
/linux-2.6.39/drivers/video/matrox/ |
D | i2c-matroxfb.c | 72 struct i2c_bit_adapter* b = data; in matroxfb_gpio_setsda() local 73 matroxfb_i2c_set(b->minfo, b->mask.data, state); in matroxfb_gpio_setsda() 77 struct i2c_bit_adapter* b = data; in matroxfb_gpio_setscl() local 78 matroxfb_i2c_set(b->minfo, b->mask.clock, state); in matroxfb_gpio_setscl() 82 struct i2c_bit_adapter* b = data; in matroxfb_gpio_getsda() local 83 return (matroxfb_read_gpio(b->minfo) & b->mask.data) ? 1 : 0; in matroxfb_gpio_getsda() 87 struct i2c_bit_adapter* b = data; in matroxfb_gpio_getscl() local 88 return (matroxfb_read_gpio(b->minfo) & b->mask.clock) ? 1 : 0; in matroxfb_gpio_getscl() 101 static int i2c_bus_reg(struct i2c_bit_adapter* b, struct matrox_fb_info* minfo, in i2c_bus_reg() argument 107 b->minfo = minfo; in i2c_bus_reg() [all …]
|