/openbmc/linux/include/crypto/ |
H A D | scatterwalk.h | 29 static inline unsigned int scatterwalk_pagelen(struct scatter_walk *walk) in scatterwalk_pagelen() 36 static inline unsigned int scatterwalk_clamp(struct scatter_walk *walk, in scatterwalk_clamp() 43 static inline void scatterwalk_advance(struct scatter_walk *walk, in scatterwalk_advance() 49 static inline struct page *scatterwalk_page(struct scatter_walk *walk) in scatterwalk_page() 59 static inline void scatterwalk_start(struct scatter_walk *walk, in scatterwalk_start() 66 static inline void *scatterwalk_map(struct scatter_walk *walk) in scatterwalk_map() 72 static inline void scatterwalk_pagedone(struct scatter_walk *walk, int out, in scatterwalk_pagedone() 86 static inline void scatterwalk_done(struct scatter_walk *walk, int out, in scatterwalk_done()
|
/openbmc/linux/mm/ |
H A D | pagewalk.c | 24 unsigned long end, struct mm_walk *walk) in walk_pte_range_inner() 42 struct mm_walk *walk) in walk_pte_range() 78 unsigned long end, struct mm_walk *walk, int pdshift) in walk_hugepd_range() 109 unsigned long end, struct mm_walk *walk, int pdshift) in walk_hugepd_range() 116 struct mm_walk *walk) in walk_pmd_range() 178 struct mm_walk *walk) in walk_pud_range() 230 struct mm_walk *walk) in walk_p4d_range() 265 struct mm_walk *walk) in walk_pgd_range() 310 struct mm_walk *walk) in walk_hugetlb_range() 339 struct mm_walk *walk) in walk_hugetlb_range() [all …]
|
H A D | ptdump.c | 15 static inline int note_kasan_page_table(struct mm_walk *walk, in note_kasan_page_table() 29 unsigned long next, struct mm_walk *walk) in ptdump_pgd_entry() 52 unsigned long next, struct mm_walk *walk) in ptdump_p4d_entry() 75 unsigned long next, struct mm_walk *walk) in ptdump_pud_entry() 98 unsigned long next, struct mm_walk *walk) in ptdump_pmd_entry() 119 unsigned long next, struct mm_walk *walk) in ptdump_pte_entry() 133 int depth, struct mm_walk *walk) in ptdump_hole()
|
H A D | mapping_dirty_helpers.c | 35 struct mm_walk *walk) in wp_pte() 90 unsigned long end, struct mm_walk *walk) in clean_record_pte() 127 struct mm_walk *walk) in wp_clean_pmd_entry() 149 struct mm_walk *walk) in wp_clean_pud_entry() 170 struct mm_walk *walk) in wp_clean_pre_vma() 198 static void wp_clean_post_vma(struct mm_walk *walk) in wp_clean_post_vma() 219 struct mm_walk *walk) in wp_clean_test_walk()
|
H A D | hugetlb_vmemmap.c | 93 struct vmemmap_remap_walk *walk) in vmemmap_pte_range() 120 struct vmemmap_remap_walk *walk) in vmemmap_pmd_range() 142 struct vmemmap_remap_walk *walk) in vmemmap_pud_range() 162 struct vmemmap_remap_walk *walk) in vmemmap_p4d_range() 181 struct vmemmap_remap_walk *walk) in vmemmap_remap_range() 229 struct vmemmap_remap_walk *walk) in vmemmap_remap_pte() 277 struct vmemmap_remap_walk *walk) in vmemmap_restore_pte() 316 struct vmemmap_remap_walk walk = { in vmemmap_remap_free() local 418 struct vmemmap_remap_walk walk = { in vmemmap_remap_alloc() local
|
H A D | hmm.c | 64 unsigned int required_fault, struct mm_walk *walk) in hmm_vma_fault() 148 __always_unused int depth, struct mm_walk *walk) in hmm_vma_walk_hole() 187 static int hmm_vma_handle_pmd(struct mm_walk *walk, unsigned long addr, in hmm_vma_handle_pmd() 223 static int hmm_vma_handle_pte(struct mm_walk *walk, unsigned long addr, in hmm_vma_handle_pte() 323 struct mm_walk *walk) in hmm_vma_walk_pmd() 412 struct mm_walk *walk) in hmm_vma_walk_pud() 475 struct mm_walk *walk) in hmm_vma_walk_hugetlb_entry() 526 struct mm_walk *walk) in hmm_vma_walk_test()
|
H A D | mincore.c | 26 unsigned long end, struct mm_walk *walk) in mincore_hugetlb() 93 struct mm_walk *walk) in mincore_unmapped_range() 101 struct mm_walk *walk) in mincore_pte_range()
|
/openbmc/linux/crypto/ |
H A D | skcipher.c | 48 static inline void skcipher_map_src(struct skcipher_walk *walk) in skcipher_map_src() 53 static inline void skcipher_map_dst(struct skcipher_walk *walk) in skcipher_map_dst() 58 static inline void skcipher_unmap_src(struct skcipher_walk *walk) in skcipher_unmap_src() 63 static inline void skcipher_unmap_dst(struct skcipher_walk *walk) in skcipher_unmap_dst() 68 static inline gfp_t skcipher_walk_gfp(struct skcipher_walk *walk) in skcipher_walk_gfp() 112 static int skcipher_done_slow(struct skcipher_walk *walk, unsigned int bsize) in skcipher_done_slow() 123 int skcipher_walk_done(struct skcipher_walk *walk, int err) in skcipher_walk_done() 200 void skcipher_walk_complete(struct skcipher_walk *walk, int err) in skcipher_walk_complete() 236 static void skcipher_queue_write(struct skcipher_walk *walk, in skcipher_queue_write() 243 static int skcipher_next_slow(struct skcipher_walk *walk, unsigned int bsize) in skcipher_next_slow() [all …]
|
H A D | cfb.c | 43 static void crypto_cfb_final(struct skcipher_walk *walk, in crypto_cfb_final() 58 static int crypto_cfb_encrypt_segment(struct skcipher_walk *walk, in crypto_cfb_encrypt_segment() 81 static int crypto_cfb_encrypt_inplace(struct skcipher_walk *walk, in crypto_cfb_encrypt_inplace() 106 struct skcipher_walk walk; in crypto_cfb_encrypt() local 128 static int crypto_cfb_decrypt_segment(struct skcipher_walk *walk, in crypto_cfb_decrypt_segment() 151 static int crypto_cfb_decrypt_inplace(struct skcipher_walk *walk, in crypto_cfb_decrypt_inplace() 170 static int crypto_cfb_decrypt_blocks(struct skcipher_walk *walk, in crypto_cfb_decrypt_blocks() 182 struct skcipher_walk walk; in crypto_cfb_decrypt() local
|
H A D | cbc.c | 17 static int crypto_cbc_encrypt_segment(struct skcipher_walk *walk, in crypto_cbc_encrypt_segment() 45 static int crypto_cbc_encrypt_inplace(struct skcipher_walk *walk, in crypto_cbc_encrypt_inplace() 76 struct skcipher_walk walk; in crypto_cbc_encrypt() local 92 static int crypto_cbc_decrypt_segment(struct skcipher_walk *walk, in crypto_cbc_decrypt_segment() 122 static int crypto_cbc_decrypt_inplace(struct skcipher_walk *walk, in crypto_cbc_decrypt_inplace() 158 struct skcipher_walk walk; in crypto_cbc_decrypt() local
|
H A D | pcbc.c | 21 struct skcipher_walk *walk, in crypto_pcbc_encrypt_segment() 43 struct skcipher_walk *walk, in crypto_pcbc_encrypt_inplace() 68 struct skcipher_walk walk; in crypto_pcbc_encrypt() local 88 struct skcipher_walk *walk, in crypto_pcbc_decrypt_segment() 110 struct skcipher_walk *walk, in crypto_pcbc_decrypt_inplace() 135 struct skcipher_walk walk; in crypto_pcbc_decrypt() local
|
H A D | xctr.c | 34 static void crypto_xctr_crypt_final(struct skcipher_walk *walk, in crypto_xctr_crypt_final() 49 static int crypto_xctr_crypt_segment(struct skcipher_walk *walk, in crypto_xctr_crypt_segment() 74 static int crypto_xctr_crypt_inplace(struct skcipher_walk *walk, in crypto_xctr_crypt_inplace() 104 struct skcipher_walk walk; in crypto_xctr_crypt() local
|
H A D | aegis128-core.c | 281 struct scatter_walk walk; in crypto_aegis128_process_ad() local 324 struct skcipher_walk *walk, in crypto_aegis128_process_crypt() 395 struct skcipher_walk walk; in crypto_aegis128_encrypt_generic() local 418 struct skcipher_walk walk; in crypto_aegis128_decrypt_generic() local 456 struct skcipher_walk walk; in crypto_aegis128_encrypt_simd() local 481 struct skcipher_walk walk; in crypto_aegis128_decrypt_simd() local
|
/openbmc/linux/arch/arm/crypto/ |
H A D | aes-ce-glue.c | 171 struct skcipher_walk walk; in ecb_encrypt() local 191 struct skcipher_walk walk; in ecb_decrypt() local 208 struct skcipher_walk *walk) in cbc_encrypt_walk() 228 struct skcipher_walk walk; in cbc_encrypt() local 238 struct skcipher_walk *walk) in cbc_decrypt_walk() 258 struct skcipher_walk walk; in cbc_decrypt() local 275 struct skcipher_walk walk; in cts_cbc_encrypt() local 333 struct skcipher_walk walk; in cts_cbc_decrypt() local 387 struct skcipher_walk walk; in ctr_encrypt() local 453 struct skcipher_walk walk; in xts_encrypt() local [all …]
|
/openbmc/linux/arch/arm64/crypto/ |
H A D | sm4-neon-glue.c | 40 struct skcipher_walk walk; in sm4_ecb_do_crypt() local 86 struct skcipher_walk walk; in sm4_cbc_encrypt() local 118 struct skcipher_walk walk; in sm4_cbc_decrypt() local 149 struct skcipher_walk walk; in sm4_cfb_encrypt() local 189 struct skcipher_walk walk; in sm4_cfb_decrypt() local 233 struct skcipher_walk walk; in sm4_ctr_crypt() local
|
H A D | aes-glue.c | 184 struct skcipher_walk walk; in ecb_encrypt() local 204 struct skcipher_walk walk; in ecb_decrypt() local 220 struct skcipher_walk *walk) in cbc_encrypt_walk() 239 struct skcipher_walk walk; in cbc_encrypt() local 249 struct skcipher_walk *walk) in cbc_decrypt_walk() 268 struct skcipher_walk walk; in cbc_decrypt() local 286 struct skcipher_walk walk; in cts_cbc_encrypt() local 343 struct skcipher_walk walk; in cts_cbc_decrypt() local 412 struct skcipher_walk walk; in essiv_cbc_encrypt() local 434 struct skcipher_walk walk; in essiv_cbc_decrypt() local [all …]
|
H A D | sm4-ce-gcm-glue.c | 79 struct scatter_walk walk; in gcm_calculate_auth_mac() local 137 static int gcm_crypt(struct aead_request *req, struct skcipher_walk *walk, in gcm_crypt() 202 struct skcipher_walk walk; in gcm_encrypt() local 223 struct skcipher_walk walk; in gcm_decrypt() local
|
H A D | sm4-ce-ccm-glue.c | 97 struct scatter_walk walk; in ccm_calculate_auth_mac() local 162 static int ccm_crypt(struct aead_request *req, struct skcipher_walk *walk, in ccm_crypt() 218 struct skcipher_walk walk; in ccm_encrypt() local 247 struct skcipher_walk walk; in ccm_decrypt() local
|
H A D | sm4-ce-glue.c | 116 struct skcipher_walk walk; in sm4_ecb_do_crypt() local 162 struct skcipher_walk walk; in sm4_cbc_crypt() local 219 struct skcipher_walk walk; in sm4_cbc_cts_crypt() local 287 struct skcipher_walk walk; in sm4_cfb_encrypt() local 329 struct skcipher_walk walk; in sm4_cfb_decrypt() local 371 struct skcipher_walk walk; in sm4_ctr_crypt() local 419 struct skcipher_walk walk; in sm4_xts_crypt() local
|
H A D | aes-neonbs-glue.c | 100 struct skcipher_walk walk; in __ecb_crypt() local 160 struct skcipher_walk walk; in cbc_encrypt() local 183 struct skcipher_walk walk; in cbc_decrypt() local 211 struct skcipher_walk walk; in ctr_encrypt() local 286 struct skcipher_walk walk; in __xts_crypt() local
|
/openbmc/linux/arch/x86/crypto/ |
H A D | sm4_aesni_avx_glue.c | 43 struct skcipher_walk walk; in ecb_do_crypt() local 97 struct skcipher_walk walk; in sm4_cbc_encrypt() local 131 struct skcipher_walk walk; in sm4_avx_cbc_decrypt() local 195 struct skcipher_walk walk; in sm4_cfb_encrypt() local 237 struct skcipher_walk walk; in sm4_avx_cfb_decrypt() local 306 struct skcipher_walk walk; in sm4_avx_ctr_crypt() local
|
H A D | des3_ede_glue.c | 69 struct skcipher_walk walk; in ecb_crypt() local 127 struct skcipher_walk *walk) in __cbc_encrypt() 153 struct skcipher_walk walk; in cbc_encrypt() local 168 struct skcipher_walk *walk) in __cbc_decrypt() 232 struct skcipher_walk walk; in cbc_decrypt() local
|
H A D | aesni-intel_glue.c | 295 struct skcipher_walk walk; in ecb_encrypt() local 317 struct skcipher_walk walk; in ecb_decrypt() local 339 struct skcipher_walk walk; in cbc_encrypt() local 361 struct skcipher_walk walk; in cbc_decrypt() local 387 struct skcipher_walk walk; in cts_cbc_encrypt() local 443 struct skcipher_walk walk; in cts_cbc_decrypt() local 514 struct skcipher_walk walk; in ctr_crypt() local 563 struct skcipher_walk walk; in xctr_crypt() local 678 struct skcipher_walk walk; in gcmaes_crypt_by_sg() local 909 struct skcipher_walk walk; in xts_crypt() local
|
/openbmc/linux/arch/sparc/crypto/ |
H A D | aes_glue.c | 223 struct skcipher_walk walk; in ecb_encrypt() local 247 struct skcipher_walk walk; in ecb_decrypt() local 272 struct skcipher_walk walk; in cbc_encrypt() local 297 struct skcipher_walk walk; in cbc_decrypt() local 320 struct skcipher_walk *walk) in ctr_crypt_final() 338 struct skcipher_walk walk; in ctr_crypt() local
|
/openbmc/linux/arch/riscv/mm/ |
H A D | pageattr.c | 18 static unsigned long set_pageattr_masks(unsigned long val, struct mm_walk *walk) in set_pageattr_masks() 30 unsigned long next, struct mm_walk *walk) in pageattr_p4d_entry() 43 unsigned long next, struct mm_walk *walk) in pageattr_pud_entry() 56 unsigned long next, struct mm_walk *walk) in pageattr_pmd_entry() 69 unsigned long next, struct mm_walk *walk) in pageattr_pte_entry() 80 int depth, struct mm_walk *walk) in pageattr_pte_hole()
|