Home
last modified time | relevance | path

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

/linux-4.4.14/arch/mips/cavium-octeon/crypto/
Docteon-sha256.c36 static void octeon_sha256_store_hash(struct sha256_state *sctx) in octeon_sha256_store_hash()
46 static void octeon_sha256_read_hash(struct sha256_state *sctx) in octeon_sha256_read_hash()
72 struct sha256_state *sctx = shash_desc_ctx(desc); in octeon_sha224_init() local
89 struct sha256_state *sctx = shash_desc_ctx(desc); in octeon_sha256_init() local
104 static void __octeon_sha256_update(struct sha256_state *sctx, const u8 *data, in __octeon_sha256_update()
138 struct sha256_state *sctx = shash_desc_ctx(desc); in octeon_sha256_update() local
163 struct sha256_state *sctx = shash_desc_ctx(desc); in octeon_sha256_final() local
215 struct sha256_state *sctx = shash_desc_ctx(desc); in octeon_sha256_export() local
223 struct sha256_state *sctx = shash_desc_ctx(desc); in octeon_sha256_import() local
Docteon-sha1.c35 static void octeon_sha1_store_hash(struct sha1_state *sctx) in octeon_sha1_store_hash()
49 static void octeon_sha1_read_hash(struct sha1_state *sctx) in octeon_sha1_read_hash()
80 struct sha1_state *sctx = shash_desc_ctx(desc); in octeon_sha1_init() local
92 static void __octeon_sha1_update(struct sha1_state *sctx, const u8 *data, in __octeon_sha1_update()
126 struct sha1_state *sctx = shash_desc_ctx(desc); in octeon_sha1_update() local
151 struct sha1_state *sctx = shash_desc_ctx(desc); in octeon_sha1_final() local
191 struct sha1_state *sctx = shash_desc_ctx(desc); in octeon_sha1_export() local
199 struct sha1_state *sctx = shash_desc_ctx(desc); in octeon_sha1_import() local
Docteon-sha512.c35 static void octeon_sha512_store_hash(struct sha512_state *sctx) in octeon_sha512_store_hash()
47 static void octeon_sha512_read_hash(struct sha512_state *sctx) in octeon_sha512_read_hash()
83 struct sha512_state *sctx = shash_desc_ctx(desc); in octeon_sha512_init() local
100 struct sha512_state *sctx = shash_desc_ctx(desc); in octeon_sha384_init() local
115 static void __octeon_sha512_update(struct sha512_state *sctx, const u8 *data, in __octeon_sha512_update()
152 struct sha512_state *sctx = shash_desc_ctx(desc); in octeon_sha512_update() local
177 struct sha512_state *sctx = shash_desc_ctx(desc); in octeon_sha512_final() local
/linux-4.4.14/drivers/md/
Ddm-switch.c62 struct switch_ctx *sctx; in alloc_switch_ctx() local
79 struct switch_ctx *sctx = ti->private; in alloc_region_table() local
126 static void switch_get_position(struct switch_ctx *sctx, unsigned long region_nr, in switch_get_position()
140 static unsigned switch_region_table_read(struct switch_ctx *sctx, unsigned long region_nr) in switch_region_table_read()
154 static unsigned switch_get_path_nr(struct switch_ctx *sctx, sector_t offset) in switch_get_path_nr()
174 static void switch_region_table_write(struct switch_ctx *sctx, unsigned long region_nr, in switch_region_table_write()
192 static void initialise_region_table(struct switch_ctx *sctx) in initialise_region_table()
206 struct switch_ctx *sctx = ti->private; in parse_path() local
235 struct switch_ctx *sctx = ti->private; in switch_dtr() local
260 struct switch_ctx *sctx; in switch_ctr() local
[all …]
/linux-4.4.14/fs/btrfs/
Dsend.c283 static int need_send_hole(struct send_ctx *sctx) in need_send_hole()
542 static int tlv_put(struct send_ctx *sctx, u16 attr, const void *data, int len) in tlv_put()
570 static int tlv_put_string(struct send_ctx *sctx, u16 attr, in tlv_put_string()
578 static int tlv_put_uuid(struct send_ctx *sctx, u16 attr, in tlv_put_uuid()
584 static int tlv_put_btrfs_timespec(struct send_ctx *sctx, u16 attr, in tlv_put_btrfs_timespec()
594 #define TLV_PUT(sctx, attrtype, attrlen, data) \ argument
601 #define TLV_PUT_INT(sctx, attrtype, bits, value) \ argument
608 #define TLV_PUT_U8(sctx, attrtype, data) TLV_PUT_INT(sctx, attrtype, 8, data) argument
609 #define TLV_PUT_U16(sctx, attrtype, data) TLV_PUT_INT(sctx, attrtype, 16, data) argument
610 #define TLV_PUT_U32(sctx, attrtype, data) TLV_PUT_INT(sctx, attrtype, 32, data) argument
[all …]
Dscrub.c95 struct scrub_ctx *sctx; member
116 struct scrub_ctx *sctx; member
133 struct scrub_ctx *sctx; member
209 struct scrub_ctx *sctx; member
225 struct scrub_ctx *sctx; member
308 static void scrub_pending_bio_inc(struct scrub_ctx *sctx) in scrub_pending_bio_inc()
314 static void scrub_pending_bio_dec(struct scrub_ctx *sctx) in scrub_pending_bio_dec()
357 static void scrub_pending_trans_workers_inc(struct scrub_ctx *sctx) in scrub_pending_trans_workers_inc()
389 static void scrub_pending_trans_workers_dec(struct scrub_ctx *sctx) in scrub_pending_trans_workers_dec()
407 static void scrub_free_csums(struct scrub_ctx *sctx) in scrub_free_csums()
[all …]
/linux-4.4.14/arch/powerpc/crypto/
Dsha256-spe-glue.c54 static inline void ppc_sha256_clear_context(struct sha256_state *sctx) in ppc_sha256_clear_context()
66 struct sha256_state *sctx = shash_desc_ctx(desc); in ppc_spe_sha256_init() local
83 struct sha256_state *sctx = shash_desc_ctx(desc); in ppc_spe_sha224_init() local
101 struct sha256_state *sctx = shash_desc_ctx(desc); in ppc_spe_sha256_update() local
145 struct sha256_state *sctx = shash_desc_ctx(desc); in ppc_spe_sha256_final() local
206 struct sha256_state *sctx = shash_desc_ctx(desc); in ppc_spe_sha256_export() local
214 struct sha256_state *sctx = shash_desc_ctx(desc); in ppc_spe_sha256_import() local
Dmd5-glue.c26 static inline void ppc_md5_clear_context(struct md5_state *sctx) in ppc_md5_clear_context()
38 struct md5_state *sctx = shash_desc_ctx(desc); in ppc_md5_init() local
52 struct md5_state *sctx = shash_desc_ctx(desc); in ppc_md5_update() local
83 struct md5_state *sctx = shash_desc_ctx(desc); in ppc_md5_final() local
115 struct md5_state *sctx = shash_desc_ctx(desc); in ppc_md5_export() local
123 struct md5_state *sctx = shash_desc_ctx(desc); in ppc_md5_import() local
Dsha1-spe-glue.c53 static inline void ppc_sha1_clear_context(struct sha1_state *sctx) in ppc_sha1_clear_context()
65 struct sha1_state *sctx = shash_desc_ctx(desc); in ppc_spe_sha1_init() local
80 struct sha1_state *sctx = shash_desc_ctx(desc); in ppc_spe_sha1_update() local
123 struct sha1_state *sctx = shash_desc_ctx(desc); in ppc_spe_sha1_final() local
160 struct sha1_state *sctx = shash_desc_ctx(desc); in ppc_spe_sha1_export() local
168 struct sha1_state *sctx = shash_desc_ctx(desc); in ppc_spe_sha1_import() local
Dsha1.c33 struct sha1_state *sctx = shash_desc_ctx(desc); in sha1_init() local
45 struct sha1_state *sctx = shash_desc_ctx(desc); in sha1_update() local
81 struct sha1_state *sctx = shash_desc_ctx(desc); in sha1_final() local
109 struct sha1_state *sctx = shash_desc_ctx(desc); in sha1_export() local
117 struct sha1_state *sctx = shash_desc_ctx(desc); in sha1_import() local
/linux-4.4.14/arch/sparc/crypto/
Dsha256_glue.c31 struct sha256_state *sctx = shash_desc_ctx(desc); in sha224_sparc64_init() local
47 struct sha256_state *sctx = shash_desc_ctx(desc); in sha256_sparc64_init() local
61 static void __sha256_sparc64_update(struct sha256_state *sctx, const u8 *data, in __sha256_sparc64_update()
85 struct sha256_state *sctx = shash_desc_ctx(desc); in sha256_sparc64_update() local
100 struct sha256_state *sctx = shash_desc_ctx(desc); in sha256_sparc64_final() local
145 struct sha256_state *sctx = shash_desc_ctx(desc); in sha256_sparc64_export() local
153 struct sha256_state *sctx = shash_desc_ctx(desc); in sha256_sparc64_import() local
Dsha1_glue.c31 struct sha1_state *sctx = shash_desc_ctx(desc); in sha1_sparc64_init() local
40 static void __sha1_sparc64_update(struct sha1_state *sctx, const u8 *data, in __sha1_sparc64_update()
64 struct sha1_state *sctx = shash_desc_ctx(desc); in sha1_sparc64_update() local
80 struct sha1_state *sctx = shash_desc_ctx(desc); in sha1_sparc64_final() local
113 struct sha1_state *sctx = shash_desc_ctx(desc); in sha1_sparc64_export() local
122 struct sha1_state *sctx = shash_desc_ctx(desc); in sha1_sparc64_import() local
Dmd5_glue.c45 static void __md5_sparc64_update(struct md5_state *sctx, const u8 *data, in __md5_sparc64_update()
69 struct md5_state *sctx = shash_desc_ctx(desc); in md5_sparc64_update() local
85 struct md5_state *sctx = shash_desc_ctx(desc); in md5_sparc64_final() local
118 struct md5_state *sctx = shash_desc_ctx(desc); in md5_sparc64_export() local
127 struct md5_state *sctx = shash_desc_ctx(desc); in md5_sparc64_import() local
Dsha512_glue.c30 struct sha512_state *sctx = shash_desc_ctx(desc); in sha512_sparc64_init() local
46 struct sha512_state *sctx = shash_desc_ctx(desc); in sha384_sparc64_init() local
60 static void __sha512_sparc64_update(struct sha512_state *sctx, const u8 *data, in __sha512_sparc64_update()
85 struct sha512_state *sctx = shash_desc_ctx(desc); in sha512_sparc64_update() local
101 struct sha512_state *sctx = shash_desc_ctx(desc); in sha512_sparc64_final() local
/linux-4.4.14/include/crypto/
Dsha256_base.h23 struct sha256_state *sctx = shash_desc_ctx(desc); in sha224_base_init() local
40 struct sha256_state *sctx = shash_desc_ctx(desc); in sha256_base_init() local
60 struct sha256_state *sctx = shash_desc_ctx(desc); in sha256_base_do_update() local
97 struct sha256_state *sctx = shash_desc_ctx(desc); in sha256_base_do_finalize() local
119 struct sha256_state *sctx = shash_desc_ctx(desc); in sha256_base_finish() local
Dsha512_base.h23 struct sha512_state *sctx = shash_desc_ctx(desc); in sha384_base_init() local
40 struct sha512_state *sctx = shash_desc_ctx(desc); in sha512_base_init() local
60 struct sha512_state *sctx = shash_desc_ctx(desc); in sha512_base_do_update() local
99 struct sha512_state *sctx = shash_desc_ctx(desc); in sha512_base_do_finalize() local
122 struct sha512_state *sctx = shash_desc_ctx(desc); in sha512_base_finish() local
Dsha1_base.h22 struct sha1_state *sctx = shash_desc_ctx(desc); in sha1_base_init() local
39 struct sha1_state *sctx = shash_desc_ctx(desc); in sha1_base_do_update() local
76 struct sha1_state *sctx = shash_desc_ctx(desc); in sha1_base_do_finalize() local
97 struct sha1_state *sctx = shash_desc_ctx(desc); in sha1_base_finish() local
/linux-4.4.14/arch/s390/crypto/
Daes_s390.c98 struct s390_aes_ctx *sctx = crypto_tfm_ctx(tfm); in setkey_fallback_cip() local
117 struct s390_aes_ctx *sctx = crypto_tfm_ctx(tfm); in aes_set_key() local
138 struct s390_aes_ctx *sctx = crypto_tfm_ctx(tfm); in aes_encrypt() local
163 struct s390_aes_ctx *sctx = crypto_tfm_ctx(tfm); in aes_decrypt() local
189 struct s390_aes_ctx *sctx = crypto_tfm_ctx(tfm); in fallback_init_cip() local
205 struct s390_aes_ctx *sctx = crypto_tfm_ctx(tfm); in fallback_exit_cip() local
236 struct s390_aes_ctx *sctx = crypto_tfm_ctx(tfm); in setkey_fallback_blk() local
258 struct s390_aes_ctx *sctx = crypto_blkcipher_ctx(desc->tfm); in fallback_blk_dec() local
275 struct s390_aes_ctx *sctx = crypto_blkcipher_ctx(desc->tfm); in fallback_blk_enc() local
289 struct s390_aes_ctx *sctx = crypto_tfm_ctx(tfm); in ecb_aes_set_key() local
[all …]
Dsha256_s390.c27 struct s390_sha_ctx *sctx = shash_desc_ctx(desc); in sha256_init() local
45 struct s390_sha_ctx *sctx = shash_desc_ctx(desc); in sha256_export() local
56 struct s390_sha_ctx *sctx = shash_desc_ctx(desc); in sha256_import() local
87 struct s390_sha_ctx *sctx = shash_desc_ctx(desc); in sha224_init() local
Dsha1_s390.c37 struct s390_sha_ctx *sctx = shash_desc_ctx(desc); in sha1_init() local
52 struct s390_sha_ctx *sctx = shash_desc_ctx(desc); in sha1_export() local
63 struct s390_sha_ctx *sctx = shash_desc_ctx(desc); in sha1_import() local
Dsha512_s390.c46 struct s390_sha_ctx *sctx = shash_desc_ctx(desc); in sha512_export() local
58 struct s390_sha_ctx *sctx = shash_desc_ctx(desc); in sha512_import() local
/linux-4.4.14/drivers/staging/skein/
Dskein_generic.c44 struct skein_256_ctx *sctx = shash_desc_ctx(desc); in skein256_export() local
52 struct skein_256_ctx *sctx = shash_desc_ctx(desc); in skein256_import() local
79 struct skein_512_ctx *sctx = shash_desc_ctx(desc); in skein512_export() local
87 struct skein_512_ctx *sctx = shash_desc_ctx(desc); in skein512_import() local
114 struct skein_1024_ctx *sctx = shash_desc_ctx(desc); in skein1024_export() local
122 struct skein_1024_ctx *sctx = shash_desc_ctx(desc); in skein1024_import() local
/linux-4.4.14/drivers/crypto/nx/
Dnx-sha256.c51 struct sha256_state *sctx = shash_desc_ctx(desc); in nx_sha256_init() local
71 struct sha256_state *sctx = shash_desc_ctx(desc); in nx_sha256_update() local
191 struct sha256_state *sctx = shash_desc_ctx(desc); in nx_sha256_final() local
262 struct sha256_state *sctx = shash_desc_ctx(desc); in nx_sha256_export() local
271 struct sha256_state *sctx = shash_desc_ctx(desc); in nx_sha256_import() local
Dnx-sha512.c51 struct sha512_state *sctx = shash_desc_ctx(desc); in nx_sha512_init() local
71 struct sha512_state *sctx = shash_desc_ctx(desc); in nx_sha512_update() local
194 struct sha512_state *sctx = shash_desc_ctx(desc); in nx_sha512_final() local
268 struct sha512_state *sctx = shash_desc_ctx(desc); in nx_sha512_export() local
277 struct sha512_state *sctx = shash_desc_ctx(desc); in nx_sha512_import() local
Dnx-aes-xcbc.c172 struct xcbc_state *sctx = shash_desc_ctx(desc); in nx_xcbc_init() local
183 struct xcbc_state *sctx = shash_desc_ctx(desc); in nx_xcbc_update() local
309 struct xcbc_state *sctx = shash_desc_ctx(desc); in nx_xcbc_final() local
/linux-4.4.14/arch/arm64/crypto/
Dsha2-ce-glue.c38 struct sha256_ce_state *sctx = shash_desc_ctx(desc); in sha256_ce_update() local
52 struct sha256_ce_state *sctx = shash_desc_ctx(desc); in sha256_ce_finup() local
78 struct sha256_ce_state *sctx = shash_desc_ctx(desc); in sha256_ce_final() local
Dsha1-ce-glue.c38 struct sha1_ce_state *sctx = shash_desc_ctx(desc); in sha1_ce_update() local
52 struct sha1_ce_state *sctx = shash_desc_ctx(desc); in sha1_ce_finup() local
77 struct sha1_ce_state *sctx = shash_desc_ctx(desc); in sha1_ce_final() local
/linux-4.4.14/drivers/crypto/
Dpadlock-sha.c296 struct sha1_state *sctx = shash_desc_ctx(desc); in padlock_sha1_init_nano() local
308 struct sha1_state *sctx = shash_desc_ctx(desc); in padlock_sha1_update_nano() local
384 struct sha256_state *sctx = shash_desc_ctx(desc); in padlock_sha256_init_nano() local
397 struct sha256_state *sctx = shash_desc_ctx(desc); in padlock_sha256_update_nano() local
476 void *sctx = shash_desc_ctx(desc); in padlock_sha_export_nano() local
486 void *sctx = shash_desc_ctx(desc); in padlock_sha_import_nano() local
/linux-4.4.14/arch/x86/purgatory/
Dsha256.c211 int sha256_init(struct sha256_state *sctx) in sha256_init()
226 int sha256_update(struct sha256_state *sctx, const u8 *data, unsigned int len) in sha256_update()
256 int sha256_final(struct sha256_state *sctx, u8 *out) in sha256_final()
Dpurgatory.c46 struct sha256_state sctx; in verify_sha256_digest() local
/linux-4.4.14/arch/x86/crypto/
Dpoly1305_glue.c46 struct poly1305_simd_desc_ctx *sctx = shash_desc_ctx(desc); in poly1305_simd_init() local
70 struct poly1305_simd_desc_ctx *sctx; in poly1305_simd_blocks() local
Dsha512_ssse3_glue.c50 struct sha512_state *sctx = shash_desc_ctx(desc); in sha512_update() local
Dsha256_ssse3_glue.c50 struct sha256_state *sctx = shash_desc_ctx(desc); in sha256_update() local
Dsha1_ssse3_glue.c40 struct sha1_state *sctx = shash_desc_ctx(desc); in sha1_update() local
/linux-4.4.14/arch/x86/crypto/sha-mb/
Dsha1_mb.c348 struct sha1_hash_ctx *sctx = shash_desc_ctx(desc); in sha1_mb_init() local
366 struct sha1_hash_ctx *sctx = shash_desc_ctx(&rctx->desc); in sha1_mb_set_results() local
659 struct sha1_hash_ctx *sctx = shash_desc_ctx(desc); in sha1_mb_export() local
668 struct sha1_hash_ctx *sctx = shash_desc_ctx(desc); in sha1_mb_import() local
/linux-4.4.14/arch/arm/crypto/
Dsha512-neon-glue.c31 struct sha512_state *sctx = shash_desc_ctx(desc); in sha512_neon_update() local
Dsha256_neon_glue.c35 struct sha256_state *sctx = shash_desc_ctx(desc); in sha256_update() local
Dsha1-ce-glue.c33 struct sha1_state *sctx = shash_desc_ctx(desc); in sha1_ce_update() local
Dsha2-ce-glue.c34 struct sha256_state *sctx = shash_desc_ctx(desc); in sha2_ce_update() local
Dsha1_neon_glue.c40 struct sha1_state *sctx = shash_desc_ctx(desc); in sha1_neon_update() local
/linux-4.4.14/drivers/staging/rtl8188eu/core/
Drtw_xmit.c2134 void rtw_sctx_init(struct submit_ctx *sctx, int timeout_ms) in rtw_sctx_init()
2142 int rtw_sctx_wait(struct submit_ctx *sctx) in rtw_sctx_wait()
2178 void rtw_sctx_done_err(struct submit_ctx **sctx, int status) in rtw_sctx_done_err()
2189 void rtw_sctx_done(struct submit_ctx **sctx) in rtw_sctx_done()
Drtw_mlme_ext.c248 struct submit_ctx sctx; in dump_mgntframe_and_wait() local
/linux-4.4.14/drivers/staging/rtl8723au/core/
Drtw_xmit.c2314 void rtw_sctx_init23a(struct submit_ctx *sctx, int timeout_ms) in rtw_sctx_init23a()
2321 int rtw_sctx_wait23a(struct submit_ctx *sctx) in rtw_sctx_wait23a()
2357 void rtw23a_sctx_done_err(struct submit_ctx **sctx, int status) in rtw23a_sctx_done_err()
Drtw_mlme_ext.c2270 struct submit_ctx sctx; in dump_mgntframe23a_and_wait() local
/linux-4.4.14/arch/powerpc/perf/
Dcallchain.c352 struct sigcontext32 sctx; member
/linux-4.4.14/arch/powerpc/kernel/
Dsignal_32.c219 struct sigcontext sctx; /* the sigcontext */ member
/linux-4.4.14/drivers/staging/rtl8188eu/include/
Drtw_xmit.h212 struct submit_ctx *sctx; member
/linux-4.4.14/drivers/staging/rtl8723au/include/
Drtw_xmit.h212 struct submit_ctx *sctx; member