/arch/powerpc/platforms/cell/spufs/ |
D | backing_ops.c | 47 static void gen_spu_event(struct spu_context *ctx, u32 event) in gen_spu_event() 62 static int spu_backing_mbox_read(struct spu_context *ctx, u32 * data) in spu_backing_mbox_read() 84 static u32 spu_backing_mbox_stat_read(struct spu_context *ctx) in spu_backing_mbox_stat_read() 89 static unsigned int spu_backing_mbox_stat_poll(struct spu_context *ctx, in spu_backing_mbox_stat_poll() 128 static int spu_backing_ibox_read(struct spu_context *ctx, u32 * data) in spu_backing_ibox_read() 152 static int spu_backing_wbox_write(struct spu_context *ctx, u32 data) in spu_backing_wbox_write() 183 static u32 spu_backing_signal1_read(struct spu_context *ctx) in spu_backing_signal1_read() 188 static void spu_backing_signal1_write(struct spu_context *ctx, u32 data) in spu_backing_signal1_write() 200 static u32 spu_backing_signal2_read(struct spu_context *ctx) in spu_backing_signal2_read() 205 static void spu_backing_signal2_write(struct spu_context *ctx, u32 data) in spu_backing_signal2_write() [all …]
|
D | hw_ops.c | 37 static int spu_hw_mbox_read(struct spu_context *ctx, u32 * data) in spu_hw_mbox_read() 54 static u32 spu_hw_mbox_stat_read(struct spu_context *ctx) in spu_hw_mbox_stat_read() 59 static unsigned int spu_hw_mbox_stat_poll(struct spu_context *ctx, in spu_hw_mbox_stat_poll() 96 static int spu_hw_ibox_read(struct spu_context *ctx, u32 * data) in spu_hw_ibox_read() 117 static int spu_hw_wbox_write(struct spu_context *ctx, u32 data) in spu_hw_wbox_write() 138 static void spu_hw_signal1_write(struct spu_context *ctx, u32 data) in spu_hw_signal1_write() 143 static void spu_hw_signal2_write(struct spu_context *ctx, u32 data) in spu_hw_signal2_write() 148 static void spu_hw_signal1_type_set(struct spu_context *ctx, u64 val) in spu_hw_signal1_type_set() 164 static u64 spu_hw_signal1_type_get(struct spu_context *ctx) in spu_hw_signal1_type_get() 169 static void spu_hw_signal2_type_set(struct spu_context *ctx, u64 val) in spu_hw_signal2_type_set() [all …]
|
D | context.c | 40 struct spu_context *ctx; in alloc_spu_context() local 84 struct spu_context *ctx; in destroy_spu_context() local 101 struct spu_context * get_spu_context(struct spu_context *ctx) in get_spu_context() 107 int put_spu_context(struct spu_context *ctx) in put_spu_context() 113 void spu_forget(struct spu_context *ctx) in spu_forget() 132 void spu_unmap_mappings(struct spu_context *ctx) in spu_unmap_mappings() 156 int spu_acquire_saved(struct spu_context *ctx) in spu_acquire_saved() 178 void spu_release_saved(struct spu_context *ctx) in spu_release_saved()
|
D | sched.c | 98 void spu_set_timeslice(struct spu_context *ctx) in spu_set_timeslice() 109 void __spu_update_sched_info(struct spu_context *ctx) in __spu_update_sched_info() 150 void spu_update_sched_info(struct spu_context *ctx) in spu_update_sched_info() 168 static int __node_allowed(struct spu_context *ctx, int node) in __node_allowed() 180 static int node_allowed(struct spu_context *ctx, int node) in node_allowed() 207 struct spu_context *ctx = spu->ctx; in do_notify_spus_active() local 223 static void spu_bind_context(struct spu *spu, struct spu_context *ctx) in spu_bind_context() 273 struct spu_context *ctx; in aff_merge_remaining_ctxs() local 284 struct spu_context *ctx; in aff_set_offsets() local 305 static struct spu *aff_ref_location(struct spu_context *ctx, int mem_aff, in aff_ref_location() [all …]
|
D | file.c | 164 struct spu_context *ctx = i->i_ctx; in spufs_mem_open() local 178 struct spu_context *ctx = i->i_ctx; in spufs_mem_release() local 188 __spufs_mem_read(struct spu_context *ctx, char __user *buffer, in __spufs_mem_read() 200 struct spu_context *ctx = file->private_data; in spufs_mem_read() local 216 struct spu_context *ctx = file->private_data; in spufs_mem_write() local 239 struct spu_context *ctx = vma->vm_file->private_data; in spufs_mem_mmap_fault() local 270 struct spu_context *ctx = vma->vm_file->private_data; in spufs_mem_mmap_access() local 319 struct spu_context *ctx = vmf->vma->vm_file->private_data; in spufs_ps_fault() local 399 struct spu_context *ctx = data; in spufs_cntl_get() local 413 struct spu_context *ctx = data; in spufs_cntl_set() local [all …]
|
D | run.c | 17 struct spu_context *ctx = spu->ctx; in spufs_stop_callback() local 49 int spu_stopped(struct spu_context *ctx, u32 *stat) in spu_stopped() 82 static int spu_setup_isolated(struct spu_context *ctx) in spu_setup_isolated() 176 static int spu_run_init(struct spu_context *ctx, u32 *npc) in spu_run_init() 244 static int spu_run_fini(struct spu_context *ctx, u32 *npc, in spu_run_fini() 273 static int spu_handle_restartsys(struct spu_context *ctx, long *spu_ret, in spu_handle_restartsys() 309 static int spu_process_callback(struct spu_context *ctx) in spu_process_callback() 353 long spufs_run_spu(struct spu_context *ctx, u32 *npc, u32 *event) in spufs_run_spu()
|
D | fault.c | 36 static void spufs_handle_event(struct spu_context *ctx, in spufs_handle_event() 77 int spufs_handle_class0(struct spu_context *ctx) in spufs_handle_class0() 110 int spufs_handle_class1(struct spu_context *ctx) in spufs_handle_class1()
|
D | coredump.c | 37 static ssize_t do_coredump_read(int num, struct spu_context *ctx, void *buffer, in do_coredump_read() 53 static int spufs_ctx_note_size(struct spu_context *ctx, int dfd) in spufs_ctx_note_size() 75 struct spu_context *ctx; in match_context() local 109 struct spu_context *ctx; in spufs_coredump_extra_notes_size() local 131 static int spufs_arch_write_note(struct spu_context *ctx, int i, in spufs_arch_write_note() 190 struct spu_context *ctx; in spufs_coredump_extra_notes_write() local
|
/arch/mips/net/ |
D | bpf_jit.c | 121 #define emit_instr(ctx, func, ...) \ argument 134 #define emit_long_instr(ctx, func, ...) \ argument 150 unsigned int src2, struct jit_ctx *ctx) in emit_addu() 155 static inline void emit_nop(struct jit_ctx *ctx) in emit_nop() 161 static inline void emit_load_imm(unsigned int dst, u32 imm, struct jit_ctx *ctx) in emit_load_imm() 182 unsigned int src2, struct jit_ctx *ctx) in emit_or() 188 struct jit_ctx *ctx) in emit_ori() 199 int imm, struct jit_ctx *ctx) in emit_daddiu() 209 u32 imm, struct jit_ctx *ctx) in emit_addiu() 220 unsigned int src2, struct jit_ctx *ctx) in emit_and() [all …]
|
/arch/x86/include/asm/crypto/ |
D | serpent-sse2.h | 17 static inline void serpent_enc_blk_xway(struct serpent_ctx *ctx, u8 *dst, in serpent_enc_blk_xway() 23 static inline void serpent_enc_blk_xway_xor(struct serpent_ctx *ctx, u8 *dst, in serpent_enc_blk_xway_xor() 29 static inline void serpent_dec_blk_xway(struct serpent_ctx *ctx, u8 *dst, in serpent_dec_blk_xway() 44 static inline void serpent_enc_blk_xway(struct serpent_ctx *ctx, u8 *dst, in serpent_enc_blk_xway() 50 static inline void serpent_enc_blk_xway_xor(struct serpent_ctx *ctx, u8 *dst, in serpent_enc_blk_xway_xor() 56 static inline void serpent_dec_blk_xway(struct serpent_ctx *ctx, u8 *dst, in serpent_dec_blk_xway()
|
/arch/powerpc/net/ |
D | bpf_jit_comp64.c | 35 static inline bool bpf_is_seen_register(struct codegen_context *ctx, int i) in bpf_is_seen_register() 40 static inline void bpf_set_seen_register(struct codegen_context *ctx, int i) in bpf_set_seen_register() 45 static inline bool bpf_has_stack_frame(struct codegen_context *ctx) in bpf_has_stack_frame() 67 static int bpf_jit_stack_local(struct codegen_context *ctx) in bpf_jit_stack_local() 75 static int bpf_jit_stack_tailcallcnt(struct codegen_context *ctx) in bpf_jit_stack_tailcallcnt() 80 static int bpf_jit_stack_offsetof(struct codegen_context *ctx, int reg) in bpf_jit_stack_offsetof() 90 static void bpf_jit_emit_skb_loads(u32 *image, struct codegen_context *ctx) in bpf_jit_emit_skb_loads() 105 static void bpf_jit_build_prologue(u32 *image, struct codegen_context *ctx) in bpf_jit_build_prologue() 165 static void bpf_jit_emit_common_epilogue(u32 *image, struct codegen_context *ctx) in bpf_jit_emit_common_epilogue() 192 static void bpf_jit_build_epilogue(u32 *image, struct codegen_context *ctx) in bpf_jit_build_epilogue() [all …]
|
/arch/x86/crypto/ |
D | aesni-intel_glue.c | 170 static void aesni_gcm_enc_avx(void *ctx, u8 *out, in aesni_gcm_enc_avx() 186 static void aesni_gcm_dec_avx(void *ctx, u8 *out, in aesni_gcm_dec_avx() 221 static void aesni_gcm_enc_avx2(void *ctx, u8 *out, in aesni_gcm_enc_avx2() 241 static void aesni_gcm_dec_avx2(void *ctx, u8 *out, in aesni_gcm_dec_avx2() 306 struct crypto_aes_ctx *ctx = aes_ctx(raw_ctx); in aes_set_key_common() local 335 struct crypto_aes_ctx *ctx = aes_ctx(crypto_tfm_ctx(tfm)); in aes_encrypt() local 348 struct crypto_aes_ctx *ctx = aes_ctx(crypto_tfm_ctx(tfm)); in aes_decrypt() local 361 struct crypto_aes_ctx *ctx = aes_ctx(crypto_tfm_ctx(tfm)); in __aes_encrypt() local 368 struct crypto_aes_ctx *ctx = aes_ctx(crypto_tfm_ctx(tfm)); in __aes_decrypt() local 383 struct crypto_aes_ctx *ctx = aes_ctx(crypto_skcipher_ctx(tfm)); in ecb_encrypt() local [all …]
|
D | twofish_glue_3way.c | 39 static inline void twofish_enc_blk_3way(struct twofish_ctx *ctx, u8 *dst, in twofish_enc_blk_3way() 45 static inline void twofish_enc_blk_xor_3way(struct twofish_ctx *ctx, u8 *dst, in twofish_enc_blk_xor_3way() 51 void twofish_dec_blk_cbc_3way(void *ctx, u128 *dst, const u128 *src) in twofish_dec_blk_cbc_3way() 65 void twofish_enc_blk_ctr(void *ctx, u128 *dst, const u128 *src, le128 *iv) in twofish_enc_blk_ctr() 80 void twofish_enc_blk_ctr_3way(void *ctx, u128 *dst, const u128 *src, in twofish_enc_blk_ctr_3way() 189 struct twofish_ctx *ctx = priv; in encrypt_callback() local 204 struct twofish_ctx *ctx = priv; in decrypt_callback() local 219 struct twofish_lrw_ctx *ctx = crypto_tfm_ctx(tfm); in lrw_twofish_setkey() local 234 struct twofish_lrw_ctx *ctx = crypto_blkcipher_ctx(desc->tfm); in lrw_encrypt() local 251 struct twofish_lrw_ctx *ctx = crypto_blkcipher_ctx(desc->tfm); in lrw_decrypt() local [all …]
|
D | serpent_avx_glue.c | 68 void __serpent_crypt_ctr(void *ctx, u128 *dst, const u128 *src, le128 *iv) in __serpent_crypt_ctr() 80 void serpent_xts_enc(void *ctx, u128 *dst, const u128 *src, le128 *iv) in serpent_xts_enc() 87 void serpent_xts_dec(void *ctx, u128 *dst, const u128 *src, le128 *iv) in serpent_xts_dec() 217 struct serpent_ctx *ctx; member 224 struct crypt_priv *ctx = priv; in encrypt_callback() local 241 struct crypt_priv *ctx = priv; in decrypt_callback() local 258 struct serpent_lrw_ctx *ctx = crypto_tfm_ctx(tfm); in lrw_serpent_setkey() local 274 struct serpent_lrw_ctx *ctx = crypto_blkcipher_ctx(desc->tfm); in lrw_encrypt() local 300 struct serpent_lrw_ctx *ctx = crypto_blkcipher_ctx(desc->tfm); in lrw_decrypt() local 325 struct serpent_lrw_ctx *ctx = crypto_tfm_ctx(tfm); in lrw_serpent_exit_tfm() local [all …]
|
D | ghash-clmulni-intel_glue.c | 58 struct ghash_ctx *ctx = crypto_shash_ctx(tfm); in ghash_setkey() local 84 struct ghash_ctx *ctx = crypto_shash_ctx(desc->tfm); in ghash_update() local 116 static void ghash_flush(struct ghash_ctx *ctx, struct ghash_desc_ctx *dctx) in ghash_flush() 137 struct ghash_ctx *ctx = crypto_shash_ctx(desc->tfm); in ghash_final() local 168 struct ghash_async_ctx *ctx = crypto_ahash_ctx(tfm); in ghash_async_init() local 183 struct ghash_async_ctx *ctx = crypto_ahash_ctx(tfm); in ghash_async_update() local 201 struct ghash_async_ctx *ctx = crypto_ahash_ctx(tfm); in ghash_async_final() local 241 struct ghash_async_ctx *ctx = crypto_ahash_ctx(tfm); in ghash_async_digest() local 263 struct ghash_async_ctx *ctx = crypto_ahash_ctx(tfm); in ghash_async_setkey() local 280 struct ghash_async_ctx *ctx = crypto_tfm_ctx(tfm); in ghash_async_init_tfm() local [all …]
|
/arch/arm/net/ |
D | bpf_jit_32.c | 179 static inline void _emit(int cond, u32 inst, struct jit_ctx *ctx) in _emit() 193 static inline void emit(u32 inst, struct jit_ctx *ctx) in emit() 252 static u16 imm_offset(u32 k, struct jit_ctx *ctx) in imm_offset() 298 const struct jit_ctx *ctx) { in bpf2a32_offset() 312 static inline void emit_mov_i_no8m(const u8 rd, u32 val, struct jit_ctx *ctx) in emit_mov_i_no8m() 323 static inline void emit_mov_i(const u8 rd, u32 val, struct jit_ctx *ctx) in emit_mov_i() 333 static void emit_bx_r(u8 tgt_reg, struct jit_ctx *ctx) in emit_bx_r() 341 static inline void emit_blx_r(u8 tgt_reg, struct jit_ctx *ctx) in emit_blx_r() 351 static inline int epilogue_offset(const struct jit_ctx *ctx) in epilogue_offset() 363 static inline void emit_udivmod(u8 rd, u8 rm, u8 rn, struct jit_ctx *ctx, u8 op) in emit_udivmod() [all …]
|
/arch/arm/crypto/ |
D | aes-ce-glue.c | 53 static int num_rounds(struct crypto_aes_ctx *ctx) in num_rounds() 65 static int ce_aes_expandkey(struct crypto_aes_ctx *ctx, const u8 *in_key, in ce_aes_expandkey() 140 struct crypto_aes_ctx *ctx = crypto_skcipher_ctx(tfm); in ce_aes_setkey() local 159 struct crypto_aes_xts_ctx *ctx = crypto_skcipher_ctx(tfm); in xts_set_key() local 180 struct crypto_aes_ctx *ctx = crypto_skcipher_ctx(tfm); in ecb_encrypt() local 200 struct crypto_aes_ctx *ctx = crypto_skcipher_ctx(tfm); in ecb_decrypt() local 220 struct crypto_aes_ctx *ctx = crypto_skcipher_ctx(tfm); in cbc_encrypt() local 241 struct crypto_aes_ctx *ctx = crypto_skcipher_ctx(tfm); in cbc_decrypt() local 262 struct crypto_aes_ctx *ctx = crypto_skcipher_ctx(tfm); in ctr_encrypt() local 299 struct crypto_aes_xts_ctx *ctx = crypto_skcipher_ctx(tfm); in xts_encrypt() local [all …]
|
D | aes-neonbs-glue.c | 63 struct aesbs_ctx *ctx = crypto_skcipher_ctx(tfm); in aesbs_setkey() local 85 struct aesbs_ctx *ctx = crypto_skcipher_ctx(tfm); in __ecb_crypt() local 122 struct aesbs_cbc_ctx *ctx = crypto_skcipher_ctx(tfm); in aesbs_cbc_setkey() local 141 struct aesbs_cbc_ctx *ctx = crypto_skcipher_ctx(tfm); in cbc_encrypt_one() local 154 struct aesbs_cbc_ctx *ctx = crypto_skcipher_ctx(tfm); in cbc_decrypt() local 181 struct aesbs_cbc_ctx *ctx = crypto_tfm_ctx(tfm); in cbc_init() local 191 struct aesbs_cbc_ctx *ctx = crypto_tfm_ctx(tfm); in cbc_exit() local 199 struct aesbs_ctx *ctx = crypto_skcipher_ctx(tfm); in ctr_encrypt() local 241 struct aesbs_xts_ctx *ctx = crypto_skcipher_ctx(tfm); in aesbs_xts_setkey() local 258 struct aesbs_xts_ctx *ctx = crypto_tfm_ctx(tfm); in xts_init() local [all …]
|
D | ghash-ce-glue.c | 59 struct ghash_desc_ctx *ctx = shash_desc_ctx(desc); in ghash_init() local 68 struct ghash_desc_ctx *ctx = shash_desc_ctx(desc); in ghash_update() local 102 struct ghash_desc_ctx *ctx = shash_desc_ctx(desc); in ghash_final() local 165 struct ghash_async_ctx *ctx = crypto_ahash_ctx(tfm); in ghash_async_init() local 180 struct ghash_async_ctx *ctx = crypto_ahash_ctx(tfm); in ghash_async_update() local 198 struct ghash_async_ctx *ctx = crypto_ahash_ctx(tfm); in ghash_async_final() local 215 struct ghash_async_ctx *ctx = crypto_ahash_ctx(tfm); in ghash_async_digest() local 238 struct ghash_async_ctx *ctx = crypto_ahash_ctx(tfm); in ghash_async_import() local 258 struct ghash_async_ctx *ctx = crypto_ahash_ctx(tfm); in ghash_async_setkey() local 275 struct ghash_async_ctx *ctx = crypto_tfm_ctx(tfm); in ghash_async_init_tfm() local [all …]
|
/arch/x86/crypto/sha512-mb/ |
D | sha512_mb_ctx.h | 78 #define hash_ctx_user_data(ctx) ((ctx)->user_data) argument 79 #define hash_ctx_digest(ctx) ((ctx)->job.result_digest) argument 80 #define hash_ctx_processing(ctx) ((ctx)->status & HASH_CTX_STS_PROCESSING) argument 81 #define hash_ctx_complete(ctx) ((ctx)->status == HASH_CTX_STS_COMPLETE) argument 82 #define hash_ctx_status(ctx) ((ctx)->status) argument 83 #define hash_ctx_error(ctx) ((ctx)->error) argument 84 #define hash_ctx_init(ctx) \ argument
|
/arch/powerpc/platforms/cell/ |
D | spu_notify.c | 31 void spu_switch_notify(struct spu *spu, struct spu_context *ctx) in spu_switch_notify() 54 void spu_set_profile_private_kref(struct spu_context *ctx, in spu_set_profile_private_kref() 63 void *spu_get_profile_private_kref(struct spu_context *ctx) in spu_get_profile_private_kref()
|
/arch/x86/crypto/sha1-mb/ |
D | sha1_mb_ctx.h | 83 #define hash_ctx_user_data(ctx) ((ctx)->user_data) argument 84 #define hash_ctx_digest(ctx) ((ctx)->job.result_digest) argument 85 #define hash_ctx_processing(ctx) ((ctx)->status & HASH_CTX_STS_PROCESSING) argument 86 #define hash_ctx_complete(ctx) ((ctx)->status == HASH_CTX_STS_COMPLETE) argument 87 #define hash_ctx_status(ctx) ((ctx)->status) argument 88 #define hash_ctx_error(ctx) ((ctx)->error) argument 89 #define hash_ctx_init(ctx) \ argument
|
/arch/x86/crypto/sha256-mb/ |
D | sha256_mb_ctx.h | 83 #define hash_ctx_user_data(ctx) ((ctx)->user_data) argument 84 #define hash_ctx_digest(ctx) ((ctx)->job.result_digest) argument 85 #define hash_ctx_processing(ctx) ((ctx)->status & HASH_CTX_STS_PROCESSING) argument 86 #define hash_ctx_complete(ctx) ((ctx)->status == HASH_CTX_STS_COMPLETE) argument 87 #define hash_ctx_status(ctx) ((ctx)->status) argument 88 #define hash_ctx_error(ctx) ((ctx)->error) argument 89 #define hash_ctx_init(ctx) \ argument
|
/arch/arm64/crypto/ |
D | aes-ce-glue.c | 39 static int num_rounds(struct crypto_aes_ctx *ctx) in num_rounds() 53 struct crypto_aes_ctx *ctx = crypto_tfm_ctx(tfm); in aes_cipher_encrypt() local 67 struct crypto_aes_ctx *ctx = crypto_tfm_ctx(tfm); in aes_cipher_decrypt() local 79 int ce_aes_expandkey(struct crypto_aes_ctx *ctx, const u8 *in_key, in ce_aes_expandkey() 150 struct crypto_aes_ctx *ctx = crypto_tfm_ctx(tfm); in ce_aes_setkey() local
|
/arch/powerpc/crypto/ |
D | aes-spe-glue.c | 97 struct ppc_aes_ctx *ctx = crypto_tfm_ctx(tfm); in ppc_aes_setkey() local 129 struct ppc_xts_ctx *ctx = crypto_tfm_ctx(tfm); in ppc_xts_setkey() local 170 struct ppc_aes_ctx *ctx = crypto_tfm_ctx(tfm); in ppc_aes_encrypt() local 179 struct ppc_aes_ctx *ctx = crypto_tfm_ctx(tfm); in ppc_aes_decrypt() local 189 struct ppc_aes_ctx *ctx = crypto_blkcipher_ctx(desc->tfm); in ppc_ecb_encrypt() local 217 struct ppc_aes_ctx *ctx = crypto_blkcipher_ctx(desc->tfm); in ppc_ecb_decrypt() local 245 struct ppc_aes_ctx *ctx = crypto_blkcipher_ctx(desc->tfm); in ppc_cbc_encrypt() local 273 struct ppc_aes_ctx *ctx = crypto_blkcipher_ctx(desc->tfm); in ppc_cbc_decrypt() local 301 struct ppc_aes_ctx *ctx = crypto_blkcipher_ctx(desc->tfm); in ppc_ctr_crypt() local 331 struct ppc_xts_ctx *ctx = crypto_blkcipher_ctx(desc->tfm); in ppc_xts_encrypt() local [all …]
|