Searched refs:sctx (Results 1 - 25 of 70) sorted by relevance

123

/linux-master/include/crypto/
H A Dsha512_base.h24 struct sha512_state *sctx = shash_desc_ctx(desc); local
26 sctx->state[0] = SHA384_H0;
27 sctx->state[1] = SHA384_H1;
28 sctx->state[2] = SHA384_H2;
29 sctx->state[3] = SHA384_H3;
30 sctx->state[4] = SHA384_H4;
31 sctx->state[5] = SHA384_H5;
32 sctx->state[6] = SHA384_H6;
33 sctx->state[7] = SHA384_H7;
34 sctx
41 struct sha512_state *sctx = shash_desc_ctx(desc); local
61 struct sha512_state *sctx = shash_desc_ctx(desc); local
100 struct sha512_state *sctx = shash_desc_ctx(desc); local
123 struct sha512_state *sctx = shash_desc_ctx(desc); local
[all...]
H A Dsm3.h48 static inline void sm3_init(struct sm3_state *sctx) argument
50 sctx->state[0] = SM3_IVA;
51 sctx->state[1] = SM3_IVB;
52 sctx->state[2] = SM3_IVC;
53 sctx->state[3] = SM3_IVD;
54 sctx->state[4] = SM3_IVE;
55 sctx->state[5] = SM3_IVF;
56 sctx->state[6] = SM3_IVG;
57 sctx->state[7] = SM3_IVH;
58 sctx
[all...]
H A Dsm3_base.h23 struct sm3_state *sctx = shash_desc_ctx(desc); local
25 sctx->state[0] = SM3_IVA;
26 sctx->state[1] = SM3_IVB;
27 sctx->state[2] = SM3_IVC;
28 sctx->state[3] = SM3_IVD;
29 sctx->state[4] = SM3_IVE;
30 sctx->state[5] = SM3_IVF;
31 sctx->state[6] = SM3_IVG;
32 sctx->state[7] = SM3_IVH;
33 sctx
43 struct sm3_state *sctx = shash_desc_ctx(desc); local
80 struct sm3_state *sctx = shash_desc_ctx(desc); local
101 struct sm3_state *sctx = shash_desc_ctx(desc); local
[all...]
H A Dsha256_base.h23 struct sha256_state *sctx = shash_desc_ctx(desc); local
25 sha224_init(sctx);
31 struct sha256_state *sctx = shash_desc_ctx(desc); local
33 sha256_init(sctx);
37 static inline int lib_sha256_base_do_update(struct sha256_state *sctx, argument
42 unsigned int partial = sctx->count % SHA256_BLOCK_SIZE;
44 sctx->count += len;
52 memcpy(sctx->buf + partial, data, p);
56 block_fn(sctx, sctx
79 struct sha256_state *sctx = shash_desc_ctx(desc); local
84 lib_sha256_base_do_finalize(struct sha256_state *sctx, sha256_block_fn *block_fn) argument
109 struct sha256_state *sctx = shash_desc_ctx(desc); local
114 lib_sha256_base_finish(struct sha256_state *sctx, u8 *out, unsigned int digest_size) argument
130 struct sha256_state *sctx = shash_desc_ctx(desc); local
[all...]
H A Dsha1_base.h23 struct sha1_state *sctx = shash_desc_ctx(desc); local
25 sctx->state[0] = SHA1_H0;
26 sctx->state[1] = SHA1_H1;
27 sctx->state[2] = SHA1_H2;
28 sctx->state[3] = SHA1_H3;
29 sctx->state[4] = SHA1_H4;
30 sctx->count = 0;
40 struct sha1_state *sctx = shash_desc_ctx(desc); local
41 unsigned int partial = sctx->count % SHA1_BLOCK_SIZE;
43 sctx
77 struct sha1_state *sctx = shash_desc_ctx(desc); local
98 struct sha1_state *sctx = shash_desc_ctx(desc); local
[all...]
H A Dsha2.h103 static inline void sha256_init(struct sha256_state *sctx) argument
105 sctx->state[0] = SHA256_H0;
106 sctx->state[1] = SHA256_H1;
107 sctx->state[2] = SHA256_H2;
108 sctx->state[3] = SHA256_H3;
109 sctx->state[4] = SHA256_H4;
110 sctx->state[5] = SHA256_H5;
111 sctx->state[6] = SHA256_H6;
112 sctx->state[7] = SHA256_H7;
113 sctx
119 sha224_init(struct sha256_state *sctx) argument
[all...]
/linux-master/drivers/md/
H A Ddm-switch.c63 struct switch_ctx *sctx; local
65 sctx = kzalloc(struct_size(sctx, path_list, nr_paths), GFP_KERNEL);
66 if (!sctx)
69 sctx->ti = ti;
70 sctx->region_size = region_size;
72 ti->private = sctx;
74 return sctx;
79 struct switch_ctx *sctx = ti->private; local
83 if (!(sctx
127 switch_get_position(struct switch_ctx *sctx, unsigned long region_nr, unsigned long *region_index, unsigned int *bit) argument
141 switch_region_table_read(struct switch_ctx *sctx, unsigned long region_nr) argument
155 switch_get_path_nr(struct switch_ctx *sctx, sector_t offset) argument
175 switch_region_table_write(struct switch_ctx *sctx, unsigned long region_nr, unsigned int value) argument
193 initialise_region_table(struct switch_ctx *sctx) argument
207 struct switch_ctx *sctx = ti->private; local
236 struct switch_ctx *sctx = ti->private; local
261 struct switch_ctx *sctx; local
322 struct switch_ctx *sctx = ti->private; local
374 process_set_region_mappings(struct switch_ctx *sctx, unsigned int argc, char **argv) argument
475 struct switch_ctx *sctx = ti->private; local
493 struct switch_ctx *sctx = ti->private; local
522 struct switch_ctx *sctx = ti->private; local
541 struct switch_ctx *sctx = ti->private; local
[all...]
/linux-master/arch/powerpc/crypto/
H A Dmd5-glue.c20 static inline void ppc_md5_clear_context(struct md5_state *sctx) argument
23 u32 *ptr = (u32 *)sctx;
32 struct md5_state *sctx = shash_desc_ctx(desc); local
34 sctx->hash[0] = MD5_H0;
35 sctx->hash[1] = MD5_H1;
36 sctx->hash[2] = MD5_H2;
37 sctx->hash[3] = MD5_H3;
38 sctx->byte_count = 0;
46 struct md5_state *sctx = shash_desc_ctx(desc); local
47 const unsigned int offset = sctx
77 struct md5_state *sctx = shash_desc_ctx(desc); local
109 struct md5_state *sctx = shash_desc_ctx(desc); local
117 struct md5_state *sctx = shash_desc_ctx(desc); local
[all...]
H A Dsha1-spe-glue.c49 static inline void ppc_sha1_clear_context(struct sha1_state *sctx) argument
52 u32 *ptr = (u32 *)sctx;
62 struct sha1_state *sctx = shash_desc_ctx(desc); local
63 const unsigned int offset = sctx->count & 0x3f;
69 sctx->count += len;
70 memcpy((char *)sctx->buffer + offset, src, len);
74 sctx->count += len;
77 memcpy((char *)sctx->buffer + offset, src, avail);
80 ppc_spe_sha1_transform(sctx->state, (const u8 *)sctx
105 struct sha1_state *sctx = shash_desc_ctx(desc); local
142 struct sha1_state *sctx = shash_desc_ctx(desc); local
150 struct sha1_state *sctx = shash_desc_ctx(desc); local
[all...]
H A Dsha1.c29 struct sha1_state *sctx = shash_desc_ctx(desc); local
33 partial = sctx->count & 0x3f;
34 sctx->count += len;
42 memcpy(sctx->buffer + partial, data, done + 64);
43 src = sctx->buffer;
47 powerpc_sha_transform(sctx->state, src);
54 memcpy(sctx->buffer + partial, src, len - done);
63 struct sha1_state *sctx = shash_desc_ctx(desc); local
69 bits = cpu_to_be64(sctx->count << 3);
72 index = sctx
91 struct sha1_state *sctx = shash_desc_ctx(desc); local
99 struct sha1_state *sctx = shash_desc_ctx(desc); local
[all...]
H A Dsha256-spe-glue.c50 static inline void ppc_sha256_clear_context(struct sha256_state *sctx) argument
53 u32 *ptr = (u32 *)sctx;
63 struct sha256_state *sctx = shash_desc_ctx(desc); local
64 const unsigned int offset = sctx->count & 0x3f;
70 sctx->count += len;
71 memcpy((char *)sctx->buf + offset, src, len);
75 sctx->count += len;
78 memcpy((char *)sctx->buf + offset, src, avail);
81 ppc_spe_sha256_transform(sctx->state, (const u8 *)sctx
107 struct sha256_state *sctx = shash_desc_ctx(desc); local
168 struct sha256_state *sctx = shash_desc_ctx(desc); local
176 struct sha256_state *sctx = shash_desc_ctx(desc); local
[all...]
/linux-master/arch/s390/crypto/
H A Dsha1_s390.c32 struct s390_sha_ctx *sctx = shash_desc_ctx(desc); local
34 sctx->state[0] = SHA1_H0;
35 sctx->state[1] = SHA1_H1;
36 sctx->state[2] = SHA1_H2;
37 sctx->state[3] = SHA1_H3;
38 sctx->state[4] = SHA1_H4;
39 sctx->count = 0;
40 sctx->func = CPACF_KIMD_SHA_1;
47 struct s390_sha_ctx *sctx = shash_desc_ctx(desc); local
50 octx->count = sctx
58 struct s390_sha_ctx *sctx = shash_desc_ctx(desc); local
[all...]
H A Dsha256_s390.c22 struct s390_sha_ctx *sctx = shash_desc_ctx(desc); local
24 sctx->state[0] = SHA256_H0;
25 sctx->state[1] = SHA256_H1;
26 sctx->state[2] = SHA256_H2;
27 sctx->state[3] = SHA256_H3;
28 sctx->state[4] = SHA256_H4;
29 sctx->state[5] = SHA256_H5;
30 sctx->state[6] = SHA256_H6;
31 sctx->state[7] = SHA256_H7;
32 sctx
40 struct s390_sha_ctx *sctx = shash_desc_ctx(desc); local
51 struct s390_sha_ctx *sctx = shash_desc_ctx(desc); local
81 struct s390_sha_ctx *sctx = shash_desc_ctx(desc); local
[all...]
H A Dsha3_512_s390.c21 struct s390_sha_ctx *sctx = shash_desc_ctx(desc); local
23 memset(sctx->state, 0, sizeof(sctx->state));
24 sctx->count = 0;
25 sctx->func = CPACF_KIMD_SHA3_512;
32 struct s390_sha_ctx *sctx = shash_desc_ctx(desc); local
35 octx->rsiz = sctx->count;
36 octx->rsizw = sctx->count >> 32;
38 memcpy(octx->st, sctx->state, sizeof(octx->st));
39 memcpy(octx->buf, sctx
46 struct s390_sha_ctx *sctx = shash_desc_ctx(desc); local
62 struct s390_sha_ctx *sctx = shash_desc_ctx(desc); local
98 struct s390_sha_ctx *sctx = shash_desc_ctx(desc); local
[all...]
H A Dsha3_256_s390.c22 struct s390_sha_ctx *sctx = shash_desc_ctx(desc); local
24 memset(sctx->state, 0, sizeof(sctx->state));
25 sctx->count = 0;
26 sctx->func = CPACF_KIMD_SHA3_256;
33 struct s390_sha_ctx *sctx = shash_desc_ctx(desc); local
36 octx->rsiz = sctx->count;
37 memcpy(octx->st, sctx->state, sizeof(octx->st));
38 memcpy(octx->buf, sctx->buf, sizeof(octx->buf));
45 struct s390_sha_ctx *sctx local
58 struct s390_sha_ctx *sctx = shash_desc_ctx(desc); local
89 struct s390_sha_ctx *sctx = shash_desc_ctx(desc); local
[all...]
/linux-master/arch/arm64/crypto/
H A Dsha3-ce-glue.c37 struct sha3_state *sctx = shash_desc_ctx(desc); local
43 if ((sctx->partial + len) >= sctx->rsiz) {
46 if (sctx->partial) {
47 int p = sctx->rsiz - sctx->partial;
49 memcpy(sctx->buf + sctx->partial, data, p);
51 sha3_ce_transform(sctx->st, sctx
83 struct sha3_state *sctx = shash_desc_ctx(desc); local
[all...]
/linux-master/arch/sparc/crypto/
H A Dmd5_glue.c46 static void __md5_sparc64_update(struct md5_state *sctx, const u8 *data, argument
51 sctx->byte_count += len;
54 memcpy((u8 *)sctx->block + partial, data, done);
55 md5_sparc64_transform(sctx->hash, (u8 *)sctx->block, 1);
60 md5_sparc64_transform(sctx->hash, data + done, rounds);
64 memcpy(sctx->block, data + done, len - done);
70 struct md5_state *sctx = shash_desc_ctx(desc); local
71 unsigned int partial = sctx->byte_count % MD5_HMAC_BLOCK_SIZE;
75 sctx
86 struct md5_state *sctx = shash_desc_ctx(desc); local
119 struct md5_state *sctx = shash_desc_ctx(desc); local
128 struct md5_state *sctx = shash_desc_ctx(desc); local
[all...]
H A Dsha256_glue.c30 static void __sha256_sparc64_update(struct sha256_state *sctx, const u8 *data, argument
35 sctx->count += len;
38 memcpy(sctx->buf + partial, data, done);
39 sha256_sparc64_transform(sctx->state, sctx->buf, 1);
44 sha256_sparc64_transform(sctx->state, data + done, rounds);
48 memcpy(sctx->buf, data + done, len - done);
54 struct sha256_state *sctx = shash_desc_ctx(desc); local
55 unsigned int partial = sctx->count % SHA256_BLOCK_SIZE;
59 sctx
69 struct sha256_state *sctx = shash_desc_ctx(desc); local
114 struct sha256_state *sctx = shash_desc_ctx(desc); local
122 struct sha256_state *sctx = shash_desc_ctx(desc); local
[all...]
H A Dsha1_glue.c30 static void __sha1_sparc64_update(struct sha1_state *sctx, const u8 *data, argument
35 sctx->count += len;
38 memcpy(sctx->buffer + partial, data, done);
39 sha1_sparc64_transform(sctx->state, sctx->buffer, 1);
44 sha1_sparc64_transform(sctx->state, data + done, rounds);
48 memcpy(sctx->buffer, data + done, len - done);
54 struct sha1_state *sctx = shash_desc_ctx(desc); local
55 unsigned int partial = sctx->count % SHA1_BLOCK_SIZE;
59 sctx
70 struct sha1_state *sctx = shash_desc_ctx(desc); local
103 struct sha1_state *sctx = shash_desc_ctx(desc); local
112 struct sha1_state *sctx = shash_desc_ctx(desc); local
[all...]
H A Dsha512_glue.c29 static void __sha512_sparc64_update(struct sha512_state *sctx, const u8 *data, argument
34 if ((sctx->count[0] += len) < len)
35 sctx->count[1]++;
38 memcpy(sctx->buf + partial, data, done);
39 sha512_sparc64_transform(sctx->state, sctx->buf, 1);
44 sha512_sparc64_transform(sctx->state, data + done, rounds);
48 memcpy(sctx->buf, data + done, len - done);
54 struct sha512_state *sctx = shash_desc_ctx(desc); local
55 unsigned int partial = sctx
70 struct sha512_state *sctx = shash_desc_ctx(desc); local
[all...]
/linux-master/fs/btrfs/
H A Dsend.c367 static void inconsistent_snapshot_error(struct send_ctx *sctx, argument
392 btrfs_err(sctx->send_root->fs_info,
394 result_string, what, sctx->cmp_key->objectid,
395 sctx->send_root->root_key.objectid,
396 (sctx->parent_root ?
397 sctx->parent_root->root_key.objectid : 0));
401 static bool proto_cmd_ok(const struct send_ctx *sctx, int cmd) argument
403 switch (sctx->proto) {
411 static int is_waiting_for_move(struct send_ctx *sctx, u64 ino);
414 get_waiting_dir_move(struct send_ctx *sctx, u6
418 need_send_hole(struct send_ctx *sctx) argument
658 tlv_put(struct send_ctx *sctx, u16 attr, const void *data, int len) argument
691 tlv_put_string(struct send_ctx *sctx, u16 attr, const char *str, int len) argument
699 tlv_put_uuid(struct send_ctx *sctx, u16 attr, const u8 *uuid) argument
705 tlv_put_btrfs_timespec(struct send_ctx *sctx, u16 attr, struct extent_buffer *eb, struct btrfs_timespec *ts) argument
759 send_header(struct send_ctx *sctx) argument
772 begin_cmd(struct send_ctx *sctx, int cmd) argument
793 send_cmd(struct send_ctx *sctx) argument
818 send_rename(struct send_ctx *sctx, struct fs_path *from, struct fs_path *to) argument
843 send_link(struct send_ctx *sctx, struct fs_path *path, struct fs_path *lnk) argument
868 send_unlink(struct send_ctx *sctx, struct fs_path *path) argument
891 send_rmdir(struct send_ctx *sctx, struct fs_path *path) argument
1291 struct send_ctx *sctx; member in struct:backref_ctx
1415 struct send_ctx *sctx = bctx->sctx; local
1455 struct send_ctx *sctx = bctx->sctx; local
1528 const struct send_ctx *sctx = bctx->sctx; local
1581 find_extent_clone(struct send_ctx *sctx, struct btrfs_path *path, u64 ino, u64 data_offset, u64 ino_size, struct clone_root **found) argument
1819 gen_unique_name(struct send_ctx *sctx, u64 ino, u64 gen, struct fs_path *dest) argument
1895 get_cur_inode_state(struct send_ctx *sctx, u64 ino, u64 gen, u64 *send_gen, u64 *parent_gen) argument
1967 is_inode_existent(struct send_ctx *sctx, u64 ino, u64 gen, u64 *send_gen, u64 *parent_gen) argument
2132 will_overwrite_ref(struct send_ctx *sctx, u64 dir, u64 dir_gen, const char *name, int name_len, u64 *who_ino, u64 *who_gen, u64 *who_mode) argument
2194 did_overwrite_ref(struct send_ctx *sctx, u64 dir, u64 dir_gen, u64 ino, u64 ino_gen, const char *name, int name_len) argument
2265 did_overwrite_first_ref(struct send_ctx *sctx, u64 ino, u64 gen) argument
2291 name_cache_search(struct send_ctx *sctx, u64 ino, u64 gen) argument
2311 __get_cur_name_and_parent(struct send_ctx *sctx, u64 ino, u64 gen, u64 *parent_ino, u64 *parent_gen, struct fs_path *dest) argument
2446 get_cur_path(struct send_ctx *sctx, u64 ino, u64 gen, struct fs_path *dest) argument
2513 send_subvol_begin(struct send_ctx *sctx) argument
2601 send_truncate(struct send_ctx *sctx, u64 ino, u64 gen, u64 size) argument
2631 send_chmod(struct send_ctx *sctx, u64 ino, u64 gen, u64 mode) argument
2661 send_fileattr(struct send_ctx *sctx, u64 ino, u64 gen, u64 fileattr) argument
2694 send_chown(struct send_ctx *sctx, u64 ino, u64 gen, u64 uid, u64 gid) argument
2726 send_utimes(struct send_ctx *sctx, u64 ino, u64 gen) argument
2795 cache_dir_utimes(struct send_ctx *sctx, u64 dir, u64 gen) argument
2822 trim_dir_utimes_cache(struct send_ctx *sctx) argument
2846 send_create_inode(struct send_ctx *sctx, u64 ino) argument
2929 cache_dir_created(struct send_ctx *sctx, u64 dir) argument
2951 did_create_dir(struct send_ctx *sctx, u64 dir) argument
3005 send_create_inode_if_needed(struct send_ctx *sctx) argument
3090 free_recorded_refs(struct send_ctx *sctx) argument
3101 orphanize_inode(struct send_ctx *sctx, u64 ino, u64 gen, struct fs_path *path) argument
3122 add_orphan_dir_info(struct send_ctx *sctx, u64 dir_ino, u64 dir_gen) argument
3157 get_orphan_dir_info(struct send_ctx *sctx, u64 dir_ino, u64 gen) argument
3179 is_waiting_for_rm(struct send_ctx *sctx, u64 dir_ino, u64 gen) argument
3186 free_orphan_dir_info(struct send_ctx *sctx, struct orphan_dir_info *odi) argument
3200 can_rmdir(struct send_ctx *sctx, u64 dir, u64 dir_gen) argument
3332 is_waiting_for_move(struct send_ctx *sctx, u64 ino) argument
3339 add_waiting_dir_move(struct send_ctx *sctx, u64 ino, bool orphanized) argument
3372 get_waiting_dir_move(struct send_ctx *sctx, u64 ino) argument
3389 free_waiting_dir_move(struct send_ctx *sctx, struct waiting_dir_move *dm) argument
3398 add_pending_dir_move(struct send_ctx *sctx, u64 ino, u64 ino_gen, u64 parent_ino, struct list_head *new_refs, struct list_head *deleted_refs, const bool is_orphan) argument
3466 get_pending_dir_moves(struct send_ctx *sctx, u64 parent_ino) argument
3484 path_loop(struct send_ctx *sctx, struct fs_path *name, u64 ino, u64 gen, u64 *ancestor_ino) argument
3526 apply_dir_move(struct send_ctx *sctx, struct pending_dir_move *pm) argument
3668 free_pending_move(struct send_ctx *sctx, struct pending_dir_move *m) argument
3678 tail_append_pending_moves(struct send_ctx *sctx, struct pending_dir_move *moves, struct list_head *stack) argument
3696 apply_children_dir_moves(struct send_ctx *sctx) argument
3766 wait_for_dest_dir_move(struct send_ctx *sctx, struct recorded_ref *parent_ref, const bool is_orphan) argument
3972 wait_for_parent_move(struct send_ctx *sctx, struct recorded_ref *parent_ref, const bool is_orphan) argument
4073 update_ref_path(struct send_ctx *sctx, struct recorded_ref *ref) argument
4144 refresh_ref_path(struct send_ctx *sctx, struct recorded_ref *ref) argument
4172 process_recorded_refs(struct send_ctx *sctx, int *pending_move) argument
4668 record_ref_in_tree(struct rb_root *root, struct list_head *refs, struct fs_path *name, u64 dir, u64 dir_gen, struct send_ctx *sctx) argument
4714 struct send_ctx *sctx = ctx; local
4744 struct send_ctx *sctx = ctx; local
4770 record_new_ref(struct send_ctx *sctx) argument
4784 record_deleted_ref(struct send_ctx *sctx) argument
4799 record_changed_ref(struct send_ctx *sctx) argument
4821 process_all_refs(struct send_ctx *sctx, enum btrfs_compare_tree_result cmd) argument
4881 send_set_xattr(struct send_ctx *sctx, struct fs_path *path, const char *name, int name_len, const char *data, int data_len) argument
4903 send_remove_xattr(struct send_ctx *sctx, struct fs_path *path, const char *name, int name_len) argument
4928 struct send_ctx *sctx = ctx; local
4972 struct send_ctx *sctx = ctx; local
4990 process_new_xattr(struct send_ctx *sctx) argument
5000 process_deleted_xattr(struct send_ctx *sctx) argument
5068 struct send_ctx *sctx = ctx; local
5098 struct send_ctx *sctx = ctx; local
5111 process_changed_xattr(struct send_ctx *sctx) argument
5126 process_all_new_xattrs(struct send_ctx *sctx) argument
5163 send_verity(struct send_ctx *sctx, struct fs_path *path, struct fsverity_descriptor *desc) argument
5189 process_verity(struct send_ctx *sctx) argument
5241 max_send_read_size(const struct send_ctx *sctx) argument
5246 put_data_header(struct send_ctx *sctx, u32 len) argument
5273 put_file_data(struct send_ctx *sctx, u64 offset, u32 len) argument
5344 send_write(struct send_ctx *sctx, u64 offset, u32 len) argument
5381 send_clone(struct send_ctx *sctx, u64 offset, u32 len, struct clone_root *clone_root) argument
5453 send_update_extent(struct send_ctx *sctx, u64 offset, u32 len) argument
5483 send_hole(struct send_ctx *sctx, u64 end) argument
5538 send_encoded_inline_extent(struct send_ctx *sctx, struct btrfs_path *path, u64 offset, u64 len) argument
5604 send_encoded_extent(struct send_ctx *sctx, struct btrfs_path *path, u64 offset, u64 len) argument
5709 send_extent_data(struct send_ctx *sctx, struct btrfs_path *path, const u64 offset, const u64 len) argument
5832 send_capabilities(struct send_ctx *sctx) argument
5883 clone_range(struct send_ctx *sctx, struct btrfs_path *dst_path, struct clone_root *clone_root, const u64 disk_byte, u64 data_offset, u64 offset, u64 len) argument
6152 send_write_or_clone(struct send_ctx *sctx, struct btrfs_path *path, struct btrfs_key *key, struct clone_root *clone_root) argument
6184 is_extent_unchanged(struct send_ctx *sctx, struct btrfs_path *left_path, struct btrfs_key *ekey) argument
6374 get_last_extent(struct send_ctx *sctx, u64 offset) argument
6404 range_is_hole_in_parent(struct send_ctx *sctx, const u64 start, const u64 end) argument
6470 maybe_send_hole(struct send_ctx *sctx, struct btrfs_path *path, struct btrfs_key *key) argument
6510 process_extent(struct send_ctx *sctx, struct btrfs_path *path, struct btrfs_key *key) argument
6570 process_all_extents(struct send_ctx *sctx) argument
6606 process_recorded_refs_if_needed(struct send_ctx *sctx, int at_end, int *pending_move, int *refs_processed) argument
6629 finish_inode_if_needed(struct send_ctx *sctx, int at_end) argument
6816 close_current_inode(struct send_ctx *sctx) argument
6840 changed_inode(struct send_ctx *sctx, enum btrfs_compare_tree_result result) argument
7058 changed_ref(struct send_ctx *sctx, enum btrfs_compare_tree_result result) argument
7086 changed_xattr(struct send_ctx *sctx, enum btrfs_compare_tree_result result) argument
7113 changed_extent(struct send_ctx *sctx, enum btrfs_compare_tree_result result) argument
7143 changed_verity(struct send_ctx *sctx, enum btrfs_compare_tree_result result) argument
7154 dir_changed(struct send_ctx *sctx, u64 dir) argument
7170 compare_refs(struct send_ctx *sctx, struct btrfs_path *path, struct btrfs_key *key) argument
7214 changed_cb(struct btrfs_path *left_path, struct btrfs_path *right_path, struct btrfs_key *key, enum btrfs_compare_tree_result result, struct send_ctx *sctx) argument
7315 search_key_again(const struct send_ctx *sctx, struct btrfs_root *root, struct btrfs_path *path, const struct btrfs_key *key) argument
7348 full_send_tree(struct send_ctx *sctx) argument
7583 restart_after_relocation(struct btrfs_path *left_path, struct btrfs_path *right_path, const struct btrfs_key *left_key, const struct btrfs_key *right_key, int left_level, int right_level, const struct send_ctx *sctx) argument
7668 btrfs_compare_trees(struct btrfs_root *left_root, struct btrfs_root *right_root, struct send_ctx *sctx) argument
7954 send_subvol(struct send_ctx *sctx) argument
7999 ensure_commit_roots_uptodate(struct send_ctx *sctx) argument
8039 flush_delalloc_roots(struct send_ctx *sctx) argument
8091 struct send_ctx *sctx = NULL; local
[all...]
/linux-master/arch/mips/cavium-octeon/crypto/
H A Docteon-sha512.c32 static void octeon_sha512_store_hash(struct sha512_state *sctx) argument
34 write_octeon_64bit_hash_sha512(sctx->state[0], 0);
35 write_octeon_64bit_hash_sha512(sctx->state[1], 1);
36 write_octeon_64bit_hash_sha512(sctx->state[2], 2);
37 write_octeon_64bit_hash_sha512(sctx->state[3], 3);
38 write_octeon_64bit_hash_sha512(sctx->state[4], 4);
39 write_octeon_64bit_hash_sha512(sctx->state[5], 5);
40 write_octeon_64bit_hash_sha512(sctx->state[6], 6);
41 write_octeon_64bit_hash_sha512(sctx->state[7], 7);
44 static void octeon_sha512_read_hash(struct sha512_state *sctx) argument
78 __octeon_sha512_update(struct sha512_state *sctx, const u8 *data, unsigned int len) argument
115 struct sha512_state *sctx = shash_desc_ctx(desc); local
140 struct sha512_state *sctx = shash_desc_ctx(desc); local
[all...]
H A Docteon-sha1.c32 static void octeon_sha1_store_hash(struct sha1_state *sctx) argument
34 u64 *hash = (u64 *)sctx->state;
38 } hash_tail = { { sctx->state[4], } };
46 static void octeon_sha1_read_hash(struct sha1_state *sctx) argument
48 u64 *hash = (u64 *)sctx->state;
57 sctx->state[4] = hash_tail.word[0];
75 static void __octeon_sha1_update(struct sha1_state *sctx, const u8 *data, argument
82 partial = sctx->count % SHA1_BLOCK_SIZE;
83 sctx->count += len;
90 memcpy(sctx
109 struct sha1_state *sctx = shash_desc_ctx(desc); local
134 struct sha1_state *sctx = shash_desc_ctx(desc); local
174 struct sha1_state *sctx = shash_desc_ctx(desc); local
182 struct sha1_state *sctx = shash_desc_ctx(desc); local
[all...]
H A Docteon-sha256.c33 static void octeon_sha256_store_hash(struct sha256_state *sctx) argument
35 u64 *hash = (u64 *)sctx->state;
43 static void octeon_sha256_read_hash(struct sha256_state *sctx) argument
45 u64 *hash = (u64 *)sctx->state;
67 static void __octeon_sha256_update(struct sha256_state *sctx, const u8 *data, argument
74 partial = sctx->count % SHA256_BLOCK_SIZE;
75 sctx->count += len;
82 memcpy(sctx->buf + partial, data,
84 src = sctx->buf;
95 memcpy(sctx
101 struct sha256_state *sctx = shash_desc_ctx(desc); local
126 struct sha256_state *sctx = shash_desc_ctx(desc); local
178 struct sha256_state *sctx = shash_desc_ctx(desc); local
186 struct sha256_state *sctx = shash_desc_ctx(desc); local
[all...]
/linux-master/arch/s390/purgatory/
H A Dpurgatory.c19 struct sha256_state sctx; local
21 sha256_init(&sctx);
25 sha256_update(&sctx, (uint8_t *)(ptr->start), ptr->len);
27 sha256_final(&sctx, digest);

Completed in 493 milliseconds

123