Home
last modified time | relevance | path

Searched defs:sctx (Results 1 – 25 of 26) sorted by relevance

12

/linux/drivers/md/
H A Ddm-switch.c63 struct switch_ctx *sctx; in alloc_switch_ctx() local
79 struct switch_ctx *sctx = ti->private; in alloc_region_table() local
127 static void switch_get_position(struct switch_ctx *sctx, unsigned long region_nr, in switch_get_position()
141 static unsigned int switch_region_table_read(struct switch_ctx *sctx, unsigned long region_nr) in switch_region_table_read()
155 static unsigned int switch_get_path_nr(struct switch_ctx *sctx, sector_t offset) in switch_get_path_nr()
175 static void switch_region_table_write(struct switch_ctx *sctx, unsigned long region_nr, in switch_region_table_write()
193 static void initialise_region_table(struct switch_ctx *sctx) in initialise_region_table()
207 struct switch_ctx *sctx = ti->private; in parse_path() local
236 struct switch_ctx *sctx = ti->private; in switch_dtr() local
261 struct switch_ctx *sctx; in switch_ctr() local
[all …]
/linux/arch/s390/crypto/
H A Daes_s390.c79 struct s390_aes_ctx *sctx = crypto_tfm_ctx(tfm); in setkey_fallback_cip() local
91 struct s390_aes_ctx *sctx = crypto_tfm_ctx(tfm); in aes_set_key() local
111 struct s390_aes_ctx *sctx = crypto_tfm_ctx(tfm); in crypto_aes_encrypt() local
122 struct s390_aes_ctx *sctx = crypto_tfm_ctx(tfm); in crypto_aes_decrypt() local
135 struct s390_aes_ctx *sctx = crypto_tfm_ctx(tfm); in fallback_init_cip() local
151 struct s390_aes_ctx *sctx = crypto_tfm_ctx(tfm); in fallback_exit_cip() local
182 struct s390_aes_ctx *sctx = crypto_skcipher_ctx(tfm); in setkey_fallback_skcipher() local
192 static int fallback_skcipher_crypt(struct s390_aes_ctx *sctx, in fallback_skcipher_crypt()
208 struct s390_aes_ctx *sctx = crypto_skcipher_ctx(tfm); in ecb_aes_set_key() local
229 struct s390_aes_ctx *sctx = crypto_skcipher_ctx(tfm); in ecb_aes_crypt() local
[all …]
/linux/drivers/crypto/nx/
H A Dnx-sha512.c47 struct sha512_state_be *sctx = shash_desc_ctx(desc); in nx_sha512_init() local
67 struct sha512_state_be *sctx = shash_desc_ctx(desc); in nx_sha512_update() local
147 struct sha512_state_be *sctx = shash_desc_ctx(desc); in nx_sha512_finup() local
213 struct sha512_state_be *sctx = shash_desc_ctx(desc); in nx_sha512_export() local
230 struct sha512_state_be *sctx = shash_desc_ctx(desc); in nx_sha512_import() local
H A Dnx-sha256.c47 struct sha256_state_be *sctx = shash_desc_ctx(desc); in nx_sha256_init() local
66 struct sha256_state_be *sctx = shash_desc_ctx(desc); in nx_sha256_update() local
145 struct sha256_state_be *sctx = shash_desc_ctx(desc); in nx_sha256_finup() local
208 struct sha256_state_be *sctx = shash_desc_ctx(desc); in nx_sha256_export() local
225 struct sha256_state_be *sctx = shash_desc_ctx(desc); in nx_sha256_import() local
H A Dnx-aes-xcbc.c157 struct xcbc_state *sctx = shash_desc_ctx(desc); in nx_xcbc_init() local
169 struct xcbc_state *sctx = shash_desc_ctx(desc); in nx_xcbc_update() local
248 struct xcbc_state *sctx = shash_desc_ctx(desc); in nx_xcbc_finup() local
/linux/arch/powerpc/crypto/
H A Dmd5-glue.c20 struct md5_state *sctx = shash_desc_ctx(desc); in ppc_md5_init() local
34 struct md5_state *sctx = shash_desc_ctx(desc); in ppc_md5_update() local
44 struct md5_state *sctx = shash_desc_ctx(desc); in ppc_md5_finup() local
/linux/arch/sparc/crypto/
H A Dmd5_glue.c52 struct sparc_md5_state *sctx = shash_desc_ctx(desc); in md5_sparc64_update() local
63 struct sparc_md5_state *sctx = shash_desc_ctx(desc); in md5_sparc64_finup() local
88 struct sparc_md5_state *sctx = shash_desc_ctx(desc); in md5_sparc64_export() local
104 struct sparc_md5_state *sctx = shash_desc_ctx(desc); in md5_sparc64_import() local
/linux/fs/btrfs/
H A Dscrub.c139 struct scrub_ctx *sctx; member
429 static noinline_for_stack void scrub_free_ctx(struct scrub_ctx *sctx) in scrub_free_ctx()
442 static void scrub_put_ctx(struct scrub_ctx *sctx) in scrub_put_ctx()
451 struct scrub_ctx *sctx; in scrub_setup_ctx() local
666 static int fill_writer_pointer_gap(struct scrub_ctx *sctx, u64 physical) in fill_writer_pointer_gap()
972 static void scrub_stripe_report_errors(struct scrub_ctx *sctx, in scrub_stripe_report_errors()
1135 struct scrub_ctx *sctx = stripe->sctx; in scrub_stripe_read_repair_worker() local
1280 static void scrub_submit_write_bio(struct scrub_ctx *sctx, in scrub_submit_write_bio()
1322 static void scrub_write_sectors(struct scrub_ctx *sctx, struct scrub_stripe *stripe, in scrub_write_sectors()
1355 static void scrub_throttle_dev_io(struct scrub_ctx *sctx, struct btrfs_device *device, in scrub_throttle_dev_io()
[all …]
/linux/include/crypto/
H A Dsm3_base.h33 struct sm3_state *sctx = shash_desc_ctx(desc); in sm3_base_do_update_blocks() local
45 struct sm3_state *sctx = shash_desc_ctx(desc); in sm3_base_do_finup() local
73 struct sm3_state *sctx = shash_desc_ctx(desc); in sm3_base_finish() local
H A Dsm3.h49 static inline void sm3_init(struct sm3_state *sctx) in sm3_init()
H A Dsha2.h74 static inline void sha224_block_init(struct crypto_sha256_state *sctx) in sha224_block_init()
87 static inline void sha256_block_init(struct crypto_sha256_state *sctx) in sha256_block_init()
/linux/crypto/
H A Dsha3_generic.c163 struct sha3_state *sctx = shash_desc_ctx(desc); in crypto_sha3_init() local
174 struct sha3_state *sctx = shash_desc_ctx(desc); in crypto_sha3_update() local
195 struct sha3_state *sctx = shash_desc_ctx(desc); in crypto_sha3_finup() local
H A Dhmac.c163 struct hmac_ctx *sctx = crypto_shash_ctx(src); in hmac_clone_tfm() local
429 struct ahash_hmac_ctx *sctx = crypto_ahash_ctx(src); in hmac_clone_ahash_tfm() local
/linux/drivers/char/tpm/
H A Dtpm2-sessions.c393 static void tpm2_hmac_init(struct sha256_ctx *sctx, u8 *key, u32 key_len) in tpm2_hmac_init()
409 static void tpm2_hmac_final(struct sha256_ctx *sctx, u8 *key, u32 key_len, in tpm2_hmac_final()
443 struct sha256_ctx sctx; in tpm2_KDFa() local
470 struct sha256_ctx sctx; in tpm2_KDFe() local
595 struct sha256_ctx sctx; in tpm_buf_fill_hmac_session() local
753 struct sha256_ctx sctx; in tpm_buf_check_hmac_response() local
/linux/arch/s390/purgatory/
H A Dpurgatory.c19 struct sha256_ctx sctx; in verify_sha256_digest() local
/linux/arch/riscv/purgatory/
H A Dpurgatory.c23 struct sha256_ctx sctx; in verify_sha256_digest() local
/linux/lib/crypto/
H A Dsm3.c75 static void sm3_transform(struct sm3_state *sctx, u8 const *data, u32 W[16]) in sm3_transform()
172 void sm3_block_generic(struct sm3_state *sctx, u8 const *data, int blocks) in sm3_block_generic()
/linux/arch/x86/purgatory/
H A Dpurgatory.c28 struct sha256_ctx sctx; in verify_sha256_digest() local
/linux/security/apparmor/
H A Dcrypto.c39 struct sha256_ctx sctx; in aa_calc_profile_hash() local
/linux/drivers/crypto/
H A Dpadlock-sha.c34 struct sha1_state *sctx = padlock_shash_desc_ctx(desc); in padlock_sha1_init() local
45 struct crypto_sha256_state *sctx = padlock_shash_desc_ctx(desc); in padlock_sha256_init() local
/linux/arch/powerpc/perf/
H A Dcallchain_32.c43 struct sigcontext32 sctx; member
/linux/arch/powerpc/kernel/
H A Dsignal_32.c195 struct sigcontext sctx; /* the sigcontext */ member
/linux/kernel/
H A Dkexec_file.c803 struct sha256_ctx sctx; in kexec_calculate_store_digests() local
/linux/drivers/staging/rtl8723bs/core/
H A Drtw_cmd.c630 struct submit_ctx sctx; in rtw_startbss_cmd() local
/linux/drivers/misc/
H A Dfastrpc.c299 struct fastrpc_session_ctx *sctx; member
1108 static int fastrpc_invoke_send(struct fastrpc_session_ctx *sctx, in fastrpc_invoke_send()

12