/arch/sparc/mm/ |
H A D | extable.c | 19 const struct exception_table_entry *walk; local 39 for (walk = start; walk <= last; walk++) { 40 if (walk->fixup == 0) { 42 walk++; 47 if (walk->fixup == -1) 50 if (walk->insn == value) 51 return walk; 55 for (walk [all...] |
/arch/x86/crypto/ |
H A D | salsa20_glue.c | 52 struct blkcipher_walk walk; local 57 blkcipher_walk_init(&walk, dst, src, nbytes); 58 err = blkcipher_walk_virt_block(desc, &walk, 64); 60 salsa20_ivsetup(ctx, walk.iv); 62 if (likely(walk.nbytes == nbytes)) 64 salsa20_encrypt_bytes(ctx, walk.src.virt.addr, 65 walk.dst.virt.addr, nbytes); 66 return blkcipher_walk_done(desc, &walk, 0); 69 while (walk.nbytes >= 64) { 70 salsa20_encrypt_bytes(ctx, walk [all...] |
H A D | blowfish_glue.c | 80 static int ecb_crypt(struct blkcipher_desc *desc, struct blkcipher_walk *walk, argument 89 err = blkcipher_walk_virt(desc, walk); 91 while ((nbytes = walk->nbytes)) { 92 u8 *wsrc = walk->src.virt.addr; 93 u8 *wdst = walk->dst.virt.addr; 119 err = blkcipher_walk_done(desc, walk, nbytes); 128 struct blkcipher_walk walk; local 130 blkcipher_walk_init(&walk, dst, src, nbytes); 131 return ecb_crypt(desc, &walk, blowfish_enc_blk, blowfish_enc_blk_4way); 137 struct blkcipher_walk walk; local 143 __cbc_encrypt(struct blkcipher_desc *desc, struct blkcipher_walk *walk) argument 170 struct blkcipher_walk walk; local 184 __cbc_decrypt(struct blkcipher_desc *desc, struct blkcipher_walk *walk) argument 251 struct blkcipher_walk walk; local 265 ctr_crypt_final(struct bf_ctx *ctx, struct blkcipher_walk *walk) argument 280 __ctr_crypt(struct blkcipher_desc *desc, struct blkcipher_walk *walk) argument 339 struct blkcipher_walk walk; local [all...] |
H A D | cast5_avx_glue.c | 60 static int ecb_crypt(struct blkcipher_desc *desc, struct blkcipher_walk *walk, argument 72 err = blkcipher_walk_virt(desc, walk); 75 while ((nbytes = walk->nbytes)) { 76 u8 *wsrc = walk->src.virt.addr; 77 u8 *wdst = walk->dst.virt.addr; 107 err = blkcipher_walk_done(desc, walk, nbytes); 117 struct blkcipher_walk walk; local 119 blkcipher_walk_init(&walk, dst, src, nbytes); 120 return ecb_crypt(desc, &walk, true); 126 struct blkcipher_walk walk; local 132 __cbc_encrypt(struct blkcipher_desc *desc, struct blkcipher_walk *walk) argument 159 struct blkcipher_walk walk; local 173 __cbc_decrypt(struct blkcipher_desc *desc, struct blkcipher_walk *walk) argument 232 struct blkcipher_walk walk; local 249 ctr_crypt_final(struct blkcipher_desc *desc, struct blkcipher_walk *walk) argument 266 __ctr_crypt(struct blkcipher_desc *desc, struct blkcipher_walk *walk) argument 316 struct blkcipher_walk walk; local [all...] |
H A D | glue_helper.c | 37 struct blkcipher_walk *walk) 45 err = blkcipher_walk_virt(desc, walk); 47 while ((nbytes = walk->nbytes)) { 48 u8 *wsrc = walk->src.virt.addr; 49 u8 *wdst = walk->dst.virt.addr; 74 err = blkcipher_walk_done(desc, walk, nbytes); 85 struct blkcipher_walk walk; local 87 blkcipher_walk_init(&walk, dst, src, nbytes); 88 return __glue_ecb_crypt_128bit(gctx, desc, &walk); 94 struct blkcipher_walk *walk) 35 __glue_ecb_crypt_128bit(const struct common_glue_ctx *gctx, struct blkcipher_desc *desc, struct blkcipher_walk *walk) argument 92 __glue_cbc_encrypt_128bit(const common_glue_func_t fn, struct blkcipher_desc *desc, struct blkcipher_walk *walk) argument 122 struct blkcipher_walk walk; local 138 __glue_cbc_decrypt_128bit(const struct common_glue_ctx *gctx, struct blkcipher_desc *desc, struct blkcipher_walk *walk) argument 198 struct blkcipher_walk walk; local 216 glue_ctr_crypt_final_128bit(const common_glue_ctr_func_t fn_ctr, struct blkcipher_desc *desc, struct blkcipher_walk *walk) argument 237 __glue_ctr_crypt_128bit(const struct common_glue_ctx *gctx, struct blkcipher_desc *desc, struct blkcipher_walk *walk) argument 282 struct blkcipher_walk walk; local 307 __glue_xts_crypt_128bit(const struct common_glue_ctx *gctx, void *ctx, struct blkcipher_desc *desc, struct blkcipher_walk *walk) argument 352 struct blkcipher_walk walk; local [all...] |
H A D | des3_ede_glue.c | 86 static int ecb_crypt(struct blkcipher_desc *desc, struct blkcipher_walk *walk, argument 93 err = blkcipher_walk_virt(desc, walk); 95 while ((nbytes = walk->nbytes)) { 96 u8 *wsrc = walk->src.virt.addr; 97 u8 *wdst = walk->dst.virt.addr; 124 err = blkcipher_walk_done(desc, walk, nbytes); 134 struct blkcipher_walk walk; local 136 blkcipher_walk_init(&walk, dst, src, nbytes); 137 return ecb_crypt(desc, &walk, ctx->enc_expkey); 144 struct blkcipher_walk walk; local 150 __cbc_encrypt(struct blkcipher_desc *desc, struct blkcipher_walk *walk) argument 177 struct blkcipher_walk walk; local 191 __cbc_decrypt(struct blkcipher_desc *desc, struct blkcipher_walk *walk) argument 256 struct blkcipher_walk walk; local 270 ctr_crypt_final(struct des3_ede_x86_ctx *ctx, struct blkcipher_walk *walk) argument 286 __ctr_crypt(struct blkcipher_desc *desc, struct blkcipher_walk *walk) argument 340 struct blkcipher_walk walk; local [all...] |
H A D | aesni-intel_glue.c | 377 struct blkcipher_walk walk; local 380 blkcipher_walk_init(&walk, dst, src, nbytes); 381 err = blkcipher_walk_virt(desc, &walk); 385 while ((nbytes = walk.nbytes)) { 386 aesni_ecb_enc(ctx, walk.dst.virt.addr, walk.src.virt.addr, 389 err = blkcipher_walk_done(desc, &walk, nbytes); 401 struct blkcipher_walk walk; local 404 blkcipher_walk_init(&walk, dst, src, nbytes); 405 err = blkcipher_walk_virt(desc, &walk); 425 struct blkcipher_walk walk; local 449 struct blkcipher_walk walk; local 469 ctr_crypt_final(struct crypto_aes_ctx *ctx, struct blkcipher_walk *walk) argument 508 struct blkcipher_walk walk; local [all...] |
/arch/arm64/crypto/ |
H A D | aes-ce-ccm-glue.c | 109 struct scatter_walk walk; local 125 scatterwalk_start(&walk, req->assoc); 128 u32 n = scatterwalk_clamp(&walk, len); 132 scatterwalk_start(&walk, sg_next(walk.sg)); 133 n = scatterwalk_clamp(&walk, len); 135 p = scatterwalk_map(&walk); 141 scatterwalk_advance(&walk, n); 142 scatterwalk_done(&walk, 0, len); 151 struct blkcipher_walk walk; local 207 struct blkcipher_walk walk; local [all...] |
H A D | aes-glue.c | 98 struct blkcipher_walk walk; local 102 blkcipher_walk_init(&walk, dst, src, nbytes); 103 err = blkcipher_walk_virt(desc, &walk); 106 for (first = 1; (blocks = (walk.nbytes / AES_BLOCK_SIZE)); first = 0) { 107 aes_ecb_encrypt(walk.dst.virt.addr, walk.src.virt.addr, 109 err = blkcipher_walk_done(desc, &walk, walk.nbytes % AES_BLOCK_SIZE); 120 struct blkcipher_walk walk; local 124 blkcipher_walk_init(&walk, ds 142 struct blkcipher_walk walk; local 165 struct blkcipher_walk walk; local 188 struct blkcipher_walk walk; local 234 struct blkcipher_walk walk; local 258 struct blkcipher_walk walk; local [all...] |
/arch/openrisc/kernel/ |
H A D | dma.c | 33 unsigned long next, struct mm_walk *walk) 54 unsigned long next, struct mm_walk *walk) 90 struct mm_walk walk = { local 109 if (walk_page_range(va, va + size, &walk)) { 123 struct mm_walk walk = { local 130 WARN_ON(walk_page_range(va, va + size, &walk)); 32 page_set_nocache(pte_t *pte, unsigned long addr, unsigned long next, struct mm_walk *walk) argument 53 page_clear_nocache(pte_t *pte, unsigned long addr, unsigned long next, struct mm_walk *walk) argument
|
/arch/powerpc/mm/ |
H A D | subpage-prot.c | 135 unsigned long end, struct mm_walk *walk) 137 struct vm_area_struct *vma = walk->private; 134 subpage_walk_pmd_entry(pmd_t *pmd, unsigned long addr, unsigned long end, struct mm_walk *walk) argument
|
/arch/arm/crypto/ |
H A D | aesbs-glue.c | 109 struct blkcipher_walk walk; local 112 blkcipher_walk_init(&walk, dst, src, nbytes); 113 err = blkcipher_walk_virt(desc, &walk); 115 while (walk.nbytes) { 116 u32 blocks = walk.nbytes / AES_BLOCK_SIZE; 117 u8 *src = walk.src.virt.addr; 119 if (walk.dst.virt.addr == walk.src.virt.addr) { 120 u8 *iv = walk.iv; 128 memcpy(walk 150 struct blkcipher_walk walk; local 208 struct blkcipher_walk walk; local 257 struct blkcipher_walk walk; local 281 struct blkcipher_walk walk; local [all...] |
/arch/s390/crypto/ |
H A D | des_s390.c | 86 u8 *key, struct blkcipher_walk *walk) 88 int ret = blkcipher_walk_virt(desc, walk); 91 while ((nbytes = walk->nbytes)) { 94 u8 *out = walk->dst.virt.addr; 95 u8 *in = walk->src.virt.addr; 102 ret = blkcipher_walk_done(desc, walk, nbytes); 109 struct blkcipher_walk *walk) 112 int ret = blkcipher_walk_virt(desc, walk); 113 unsigned int nbytes = walk->nbytes; 122 memcpy(param.iv, walk 85 ecb_desall_crypt(struct blkcipher_desc *desc, long func, u8 *key, struct blkcipher_walk *walk) argument 108 cbc_desall_crypt(struct blkcipher_desc *desc, long func, struct blkcipher_walk *walk) argument 148 struct blkcipher_walk walk; local 159 struct blkcipher_walk walk; local 189 struct blkcipher_walk walk; local 199 struct blkcipher_walk walk; local 294 struct blkcipher_walk walk; local 305 struct blkcipher_walk walk; local 335 struct blkcipher_walk walk; local 345 struct blkcipher_walk walk; local 385 ctr_desall_crypt(struct blkcipher_desc *desc, long func, struct s390_des_ctx *ctx, struct blkcipher_walk *walk) argument 457 struct blkcipher_walk walk; local 468 struct blkcipher_walk walk; local 500 struct blkcipher_walk walk; local 511 struct blkcipher_walk walk; local [all...] |
H A D | aes_s390.c | 316 struct blkcipher_walk *walk) 318 int ret = blkcipher_walk_virt(desc, walk); 321 while ((nbytes = walk->nbytes)) { 324 u8 *out = walk->dst.virt.addr; 325 u8 *in = walk->src.virt.addr; 332 ret = blkcipher_walk_done(desc, walk, nbytes); 343 struct blkcipher_walk walk; local 348 blkcipher_walk_init(&walk, dst, src, nbytes); 349 return ecb_aes_crypt(desc, sctx->enc, sctx->key, &walk); 357 struct blkcipher_walk walk; local 315 ecb_aes_crypt(struct blkcipher_desc *desc, long func, void *param, struct blkcipher_walk *walk) argument 444 cbc_aes_crypt(struct blkcipher_desc *desc, long func, struct blkcipher_walk *walk) argument 484 struct blkcipher_walk walk; local 498 struct blkcipher_walk walk; local 616 xts_aes_crypt(struct blkcipher_desc *desc, long func, struct s390_xts_ctx *xts_ctx, struct blkcipher_walk *walk) argument 667 struct blkcipher_walk walk; local 681 struct blkcipher_walk walk; local 777 ctr_aes_crypt(struct blkcipher_desc *desc, long func, struct s390_aes_ctx *sctx, struct blkcipher_walk *walk) argument 851 struct blkcipher_walk walk; local 862 struct blkcipher_walk walk; local [all...] |
/arch/sparc/crypto/ |
H A D | aes_glue.c | 220 struct blkcipher_walk walk; local 223 blkcipher_walk_init(&walk, dst, src, nbytes); 224 err = blkcipher_walk_virt(desc, &walk); 228 while ((nbytes = walk.nbytes)) { 233 (const u64 *)walk.src.virt.addr, 234 (u64 *) walk.dst.virt.addr, 238 err = blkcipher_walk_done(desc, &walk, nbytes); 249 struct blkcipher_walk walk; local 253 blkcipher_walk_init(&walk, dst, src, nbytes); 254 err = blkcipher_walk_virt(desc, &walk); 280 struct blkcipher_walk walk; local 309 struct blkcipher_walk walk; local 336 ctr_crypt_final(struct crypto_sparc64_aes_ctx *ctx, struct blkcipher_walk *walk) argument 357 struct blkcipher_walk walk; local [all...] |
H A D | camellia_glue.c | 90 struct blkcipher_walk walk; local 99 blkcipher_walk_init(&walk, dst, src, nbytes); 100 err = blkcipher_walk_virt(desc, &walk); 108 while ((nbytes = walk.nbytes)) { 115 src64 = (const u64 *)walk.src.virt.addr; 116 dst64 = (u64 *) walk.dst.virt.addr; 120 err = blkcipher_walk_done(desc, &walk, nbytes); 153 struct blkcipher_walk walk; local 162 blkcipher_walk_init(&walk, dst, src, nbytes); 163 err = blkcipher_walk_virt(desc, &walk); 192 struct blkcipher_walk walk; local [all...] |
H A D | des_glue.c | 98 struct blkcipher_walk walk; local 101 blkcipher_walk_init(&walk, dst, src, nbytes); 102 err = blkcipher_walk_virt(desc, &walk); 109 while ((nbytes = walk.nbytes)) { 113 des_sparc64_ecb_crypt((const u64 *)walk.src.virt.addr, 114 (u64 *) walk.dst.virt.addr, 118 err = blkcipher_walk_done(desc, &walk, nbytes); 146 struct blkcipher_walk walk; local 149 blkcipher_walk_init(&walk, dst, src, nbytes); 150 err = blkcipher_walk_virt(desc, &walk); 177 struct blkcipher_walk walk; local 266 struct blkcipher_walk walk; local 318 struct blkcipher_walk walk; local 354 struct blkcipher_walk walk; local [all...] |
/arch/ia64/kernel/ |
H A D | efi.c | 305 walk (efi_freemem_callback_t callback, void *arg, u64 attr) function 329 walk(callback, arg, EFI_MEMORY_WB); 339 walk(callback, arg, EFI_MEMORY_UC);
|