/kernel/linux/linux-6.6/include/crypto/ |
H A D | sha512_base.h | 24 struct sha512_state *sctx = shash_desc_ctx(desc); in sha384_base_init() local 26 sctx->state[0] = SHA384_H0; in sha384_base_init() 27 sctx->state[1] = SHA384_H1; in sha384_base_init() 28 sctx->state[2] = SHA384_H2; in sha384_base_init() 29 sctx->state[3] = SHA384_H3; in sha384_base_init() 30 sctx->state[4] = SHA384_H4; in sha384_base_init() 31 sctx->state[5] = SHA384_H5; in sha384_base_init() 32 sctx->state[6] = SHA384_H6; in sha384_base_init() 33 sctx->state[7] = SHA384_H7; in sha384_base_init() 34 sctx in sha384_base_init() 41 struct sha512_state *sctx = shash_desc_ctx(desc); sha512_base_init() local 61 struct sha512_state *sctx = shash_desc_ctx(desc); sha512_base_do_update() local 100 struct sha512_state *sctx = shash_desc_ctx(desc); sha512_base_do_finalize() local 123 struct sha512_state *sctx = shash_desc_ctx(desc); sha512_base_finish() local [all...] |
H A D | sha256_base.h | 23 struct sha256_state *sctx = shash_desc_ctx(desc); in sha224_base_init() local 25 sha224_init(sctx); in sha224_base_init() 31 struct sha256_state *sctx = shash_desc_ctx(desc); in sha256_base_init() local 33 sha256_init(sctx); in sha256_base_init() 37 static inline int lib_sha256_base_do_update(struct sha256_state *sctx, in lib_sha256_base_do_update() argument 42 unsigned int partial = sctx->count % SHA256_BLOCK_SIZE; in lib_sha256_base_do_update() 44 sctx->count += len; in lib_sha256_base_do_update() 52 memcpy(sctx->buf + partial, data, p); in lib_sha256_base_do_update() 56 block_fn(sctx, sctx in lib_sha256_base_do_update() 79 struct sha256_state *sctx = shash_desc_ctx(desc); sha256_base_do_update() local 84 lib_sha256_base_do_finalize(struct sha256_state *sctx, sha256_block_fn *block_fn) lib_sha256_base_do_finalize() argument 109 struct sha256_state *sctx = shash_desc_ctx(desc); sha256_base_do_finalize() local 114 lib_sha256_base_finish(struct sha256_state *sctx, u8 *out, unsigned int digest_size) lib_sha256_base_finish() argument 130 struct sha256_state *sctx = shash_desc_ctx(desc); sha256_base_finish() local [all...] |
H A D | sm3_base.h | 23 struct sm3_state *sctx = shash_desc_ctx(desc); in sm3_base_init() local 25 sctx->state[0] = SM3_IVA; in sm3_base_init() 26 sctx->state[1] = SM3_IVB; in sm3_base_init() 27 sctx->state[2] = SM3_IVC; in sm3_base_init() 28 sctx->state[3] = SM3_IVD; in sm3_base_init() 29 sctx->state[4] = SM3_IVE; in sm3_base_init() 30 sctx->state[5] = SM3_IVF; in sm3_base_init() 31 sctx->state[6] = SM3_IVG; in sm3_base_init() 32 sctx->state[7] = SM3_IVH; in sm3_base_init() 33 sctx in sm3_base_init() 43 struct sm3_state *sctx = shash_desc_ctx(desc); sm3_base_do_update() local 80 struct sm3_state *sctx = shash_desc_ctx(desc); sm3_base_do_finalize() local 101 struct sm3_state *sctx = shash_desc_ctx(desc); sm3_base_finish() local [all...] |
H A D | sha1_base.h | 23 struct sha1_state *sctx = shash_desc_ctx(desc); in sha1_base_init() local 25 sctx->state[0] = SHA1_H0; in sha1_base_init() 26 sctx->state[1] = SHA1_H1; in sha1_base_init() 27 sctx->state[2] = SHA1_H2; in sha1_base_init() 28 sctx->state[3] = SHA1_H3; in sha1_base_init() 29 sctx->state[4] = SHA1_H4; in sha1_base_init() 30 sctx->count = 0; in sha1_base_init() 40 struct sha1_state *sctx = shash_desc_ctx(desc); in sha1_base_do_update() local 41 unsigned int partial = sctx->count % SHA1_BLOCK_SIZE; in sha1_base_do_update() 43 sctx in sha1_base_do_update() 77 struct sha1_state *sctx = shash_desc_ctx(desc); sha1_base_do_finalize() local 98 struct sha1_state *sctx = shash_desc_ctx(desc); sha1_base_finish() local [all...] |
/kernel/linux/linux-5.10/include/crypto/ |
H A D | sha512_base.h | 23 struct sha512_state *sctx = shash_desc_ctx(desc); in sha384_base_init() local 25 sctx->state[0] = SHA384_H0; in sha384_base_init() 26 sctx->state[1] = SHA384_H1; in sha384_base_init() 27 sctx->state[2] = SHA384_H2; in sha384_base_init() 28 sctx->state[3] = SHA384_H3; in sha384_base_init() 29 sctx->state[4] = SHA384_H4; in sha384_base_init() 30 sctx->state[5] = SHA384_H5; in sha384_base_init() 31 sctx->state[6] = SHA384_H6; in sha384_base_init() 32 sctx->state[7] = SHA384_H7; in sha384_base_init() 33 sctx in sha384_base_init() 40 struct sha512_state *sctx = shash_desc_ctx(desc); sha512_base_init() local 60 struct sha512_state *sctx = shash_desc_ctx(desc); sha512_base_do_update() local 99 struct sha512_state *sctx = shash_desc_ctx(desc); sha512_base_do_finalize() local 122 struct sha512_state *sctx = shash_desc_ctx(desc); sha512_base_finish() local [all...] |
H A D | sm3_base.h | 22 struct sm3_state *sctx = shash_desc_ctx(desc); in sm3_base_init() local 24 sctx->state[0] = SM3_IVA; in sm3_base_init() 25 sctx->state[1] = SM3_IVB; in sm3_base_init() 26 sctx->state[2] = SM3_IVC; in sm3_base_init() 27 sctx->state[3] = SM3_IVD; in sm3_base_init() 28 sctx->state[4] = SM3_IVE; in sm3_base_init() 29 sctx->state[5] = SM3_IVF; in sm3_base_init() 30 sctx->state[6] = SM3_IVG; in sm3_base_init() 31 sctx->state[7] = SM3_IVH; in sm3_base_init() 32 sctx in sm3_base_init() 42 struct sm3_state *sctx = shash_desc_ctx(desc); sm3_base_do_update() local 79 struct sm3_state *sctx = shash_desc_ctx(desc); sm3_base_do_finalize() local 100 struct sm3_state *sctx = shash_desc_ctx(desc); sm3_base_finish() local [all...] |
H A D | sha1_base.h | 22 struct sha1_state *sctx = shash_desc_ctx(desc); in sha1_base_init() local 24 sctx->state[0] = SHA1_H0; in sha1_base_init() 25 sctx->state[1] = SHA1_H1; in sha1_base_init() 26 sctx->state[2] = SHA1_H2; in sha1_base_init() 27 sctx->state[3] = SHA1_H3; in sha1_base_init() 28 sctx->state[4] = SHA1_H4; in sha1_base_init() 29 sctx->count = 0; in sha1_base_init() 39 struct sha1_state *sctx = shash_desc_ctx(desc); in sha1_base_do_update() local 40 unsigned int partial = sctx->count % SHA1_BLOCK_SIZE; in sha1_base_do_update() 42 sctx in sha1_base_do_update() 76 struct sha1_state *sctx = shash_desc_ctx(desc); sha1_base_do_finalize() local 97 struct sha1_state *sctx = shash_desc_ctx(desc); sha1_base_finish() local [all...] |
/kernel/linux/linux-5.10/arch/mips/cavium-octeon/crypto/ |
H A D | octeon-sha512.c | 31 static void octeon_sha512_store_hash(struct sha512_state *sctx) in octeon_sha512_store_hash() argument 33 write_octeon_64bit_hash_sha512(sctx->state[0], 0); in octeon_sha512_store_hash() 34 write_octeon_64bit_hash_sha512(sctx->state[1], 1); in octeon_sha512_store_hash() 35 write_octeon_64bit_hash_sha512(sctx->state[2], 2); in octeon_sha512_store_hash() 36 write_octeon_64bit_hash_sha512(sctx->state[3], 3); in octeon_sha512_store_hash() 37 write_octeon_64bit_hash_sha512(sctx->state[4], 4); in octeon_sha512_store_hash() 38 write_octeon_64bit_hash_sha512(sctx->state[5], 5); in octeon_sha512_store_hash() 39 write_octeon_64bit_hash_sha512(sctx->state[6], 6); in octeon_sha512_store_hash() 40 write_octeon_64bit_hash_sha512(sctx->state[7], 7); in octeon_sha512_store_hash() 43 static void octeon_sha512_read_hash(struct sha512_state *sctx) in octeon_sha512_read_hash() argument 79 struct sha512_state *sctx = shash_desc_ctx(desc); octeon_sha512_init() local 96 struct sha512_state *sctx = shash_desc_ctx(desc); octeon_sha384_init() local 111 __octeon_sha512_update(struct sha512_state *sctx, const u8 *data, unsigned int len) __octeon_sha512_update() argument 148 struct sha512_state *sctx = shash_desc_ctx(desc); octeon_sha512_update() local 173 struct sha512_state *sctx = shash_desc_ctx(desc); octeon_sha512_final() local [all...] |
H A D | octeon-sha256.c | 32 static void octeon_sha256_store_hash(struct sha256_state *sctx) in octeon_sha256_store_hash() argument 34 u64 *hash = (u64 *)sctx->state; in octeon_sha256_store_hash() 42 static void octeon_sha256_read_hash(struct sha256_state *sctx) in octeon_sha256_read_hash() argument 44 u64 *hash = (u64 *)sctx->state; in octeon_sha256_read_hash() 68 struct sha256_state *sctx = shash_desc_ctx(desc); in octeon_sha224_init() local 70 sctx->state[0] = SHA224_H0; in octeon_sha224_init() 71 sctx->state[1] = SHA224_H1; in octeon_sha224_init() 72 sctx->state[2] = SHA224_H2; in octeon_sha224_init() 73 sctx->state[3] = SHA224_H3; in octeon_sha224_init() 74 sctx in octeon_sha224_init() 85 struct sha256_state *sctx = shash_desc_ctx(desc); octeon_sha256_init() local 100 __octeon_sha256_update(struct sha256_state *sctx, const u8 *data, unsigned int len) __octeon_sha256_update() argument 134 struct sha256_state *sctx = shash_desc_ctx(desc); octeon_sha256_update() local 159 struct sha256_state *sctx = shash_desc_ctx(desc); octeon_sha256_final() local 211 struct sha256_state *sctx = shash_desc_ctx(desc); octeon_sha256_export() local 219 struct sha256_state *sctx = shash_desc_ctx(desc); octeon_sha256_import() local [all...] |
H A D | octeon-sha1.c | 31 static void octeon_sha1_store_hash(struct sha1_state *sctx) in octeon_sha1_store_hash() argument 33 u64 *hash = (u64 *)sctx->state; in octeon_sha1_store_hash() 37 } hash_tail = { { sctx->state[4], } }; in octeon_sha1_store_hash() 45 static void octeon_sha1_read_hash(struct sha1_state *sctx) in octeon_sha1_read_hash() argument 47 u64 *hash = (u64 *)sctx->state; in octeon_sha1_read_hash() 56 sctx->state[4] = hash_tail.word[0]; in octeon_sha1_read_hash() 76 struct sha1_state *sctx = shash_desc_ctx(desc); in octeon_sha1_init() local 78 sctx->state[0] = SHA1_H0; in octeon_sha1_init() 79 sctx->state[1] = SHA1_H1; in octeon_sha1_init() 80 sctx in octeon_sha1_init() 88 __octeon_sha1_update(struct sha1_state *sctx, const u8 *data, unsigned int len) __octeon_sha1_update() argument 122 struct sha1_state *sctx = shash_desc_ctx(desc); octeon_sha1_update() local 147 struct sha1_state *sctx = shash_desc_ctx(desc); octeon_sha1_final() local 187 struct sha1_state *sctx = shash_desc_ctx(desc); octeon_sha1_export() local 195 struct sha1_state *sctx = shash_desc_ctx(desc); octeon_sha1_import() local [all...] |
/kernel/linux/linux-5.10/drivers/md/ |
H A D | dm-switch.c | 62 struct switch_ctx *sctx; in alloc_switch_ctx() local 64 sctx = kzalloc(struct_size(sctx, path_list, nr_paths), GFP_KERNEL); in alloc_switch_ctx() 65 if (!sctx) in alloc_switch_ctx() 68 sctx->ti = ti; in alloc_switch_ctx() 69 sctx->region_size = region_size; in alloc_switch_ctx() 71 ti->private = sctx; in alloc_switch_ctx() 73 return sctx; in alloc_switch_ctx() 78 struct switch_ctx *sctx = ti->private; in alloc_region_table() local 82 if (!(sctx in alloc_region_table() 126 switch_get_position(struct switch_ctx *sctx, unsigned long region_nr, unsigned long *region_index, unsigned *bit) switch_get_position() argument 140 switch_region_table_read(struct switch_ctx *sctx, unsigned long region_nr) switch_region_table_read() argument 154 switch_get_path_nr(struct switch_ctx *sctx, sector_t offset) switch_get_path_nr() argument 174 switch_region_table_write(struct switch_ctx *sctx, unsigned long region_nr, unsigned value) switch_region_table_write() argument 192 initialise_region_table(struct switch_ctx *sctx) initialise_region_table() argument 206 struct switch_ctx *sctx = ti->private; parse_path() local 235 struct switch_ctx *sctx = ti->private; switch_dtr() local 260 struct switch_ctx *sctx; switch_ctr() local 321 struct switch_ctx *sctx = ti->private; switch_map() local 373 process_set_region_mappings(struct switch_ctx *sctx, unsigned argc, char **argv) process_set_region_mappings() argument 474 struct switch_ctx *sctx = ti->private; switch_message() local 492 struct switch_ctx *sctx = ti->private; switch_status() local 517 struct switch_ctx *sctx = ti->private; switch_prepare_ioctl() local 536 struct switch_ctx *sctx = ti->private; switch_iterate_devices() local [all...] |
/kernel/linux/linux-6.6/drivers/md/ |
H A D | dm-switch.c | 63 struct switch_ctx *sctx; in alloc_switch_ctx() local 65 sctx = kzalloc(struct_size(sctx, path_list, nr_paths), GFP_KERNEL); in alloc_switch_ctx() 66 if (!sctx) in alloc_switch_ctx() 69 sctx->ti = ti; in alloc_switch_ctx() 70 sctx->region_size = region_size; in alloc_switch_ctx() 72 ti->private = sctx; in alloc_switch_ctx() 74 return sctx; in alloc_switch_ctx() 79 struct switch_ctx *sctx = ti->private; in alloc_region_table() local 83 if (!(sctx in alloc_region_table() 127 switch_get_position(struct switch_ctx *sctx, unsigned long region_nr, unsigned long *region_index, unsigned int *bit) switch_get_position() argument 141 switch_region_table_read(struct switch_ctx *sctx, unsigned long region_nr) switch_region_table_read() argument 155 switch_get_path_nr(struct switch_ctx *sctx, sector_t offset) switch_get_path_nr() argument 175 switch_region_table_write(struct switch_ctx *sctx, unsigned long region_nr, unsigned int value) switch_region_table_write() argument 193 initialise_region_table(struct switch_ctx *sctx) initialise_region_table() argument 207 struct switch_ctx *sctx = ti->private; parse_path() local 236 struct switch_ctx *sctx = ti->private; switch_dtr() local 261 struct switch_ctx *sctx; switch_ctr() local 322 struct switch_ctx *sctx = ti->private; switch_map() local 374 process_set_region_mappings(struct switch_ctx *sctx, unsigned int argc, char **argv) process_set_region_mappings() argument 475 struct switch_ctx *sctx = ti->private; switch_message() local 493 struct switch_ctx *sctx = ti->private; switch_status() local 522 struct switch_ctx *sctx = ti->private; switch_prepare_ioctl() local 541 struct switch_ctx *sctx = ti->private; switch_iterate_devices() local [all...] |
/kernel/linux/linux-5.10/arch/powerpc/crypto/ |
H A D | sha256-spe-glue.c | 49 static inline void ppc_sha256_clear_context(struct sha256_state *sctx) in ppc_sha256_clear_context() argument 52 u32 *ptr = (u32 *)sctx; in ppc_sha256_clear_context() 61 struct sha256_state *sctx = shash_desc_ctx(desc); in ppc_spe_sha256_init() local 63 sctx->state[0] = SHA256_H0; in ppc_spe_sha256_init() 64 sctx->state[1] = SHA256_H1; in ppc_spe_sha256_init() 65 sctx->state[2] = SHA256_H2; in ppc_spe_sha256_init() 66 sctx->state[3] = SHA256_H3; in ppc_spe_sha256_init() 67 sctx->state[4] = SHA256_H4; in ppc_spe_sha256_init() 68 sctx->state[5] = SHA256_H5; in ppc_spe_sha256_init() 69 sctx in ppc_spe_sha256_init() 78 struct sha256_state *sctx = shash_desc_ctx(desc); ppc_spe_sha224_init() local 96 struct sha256_state *sctx = shash_desc_ctx(desc); ppc_spe_sha256_update() local 140 struct sha256_state *sctx = shash_desc_ctx(desc); ppc_spe_sha256_final() local 201 struct sha256_state *sctx = shash_desc_ctx(desc); ppc_spe_sha256_export() local 209 struct sha256_state *sctx = shash_desc_ctx(desc); ppc_spe_sha256_import() local [all...] |
H A D | sha1-spe-glue.c | 48 static inline void ppc_sha1_clear_context(struct sha1_state *sctx) in ppc_sha1_clear_context() argument 51 u32 *ptr = (u32 *)sctx; in ppc_sha1_clear_context() 60 struct sha1_state *sctx = shash_desc_ctx(desc); in ppc_spe_sha1_init() local 62 sctx->state[0] = SHA1_H0; in ppc_spe_sha1_init() 63 sctx->state[1] = SHA1_H1; in ppc_spe_sha1_init() 64 sctx->state[2] = SHA1_H2; in ppc_spe_sha1_init() 65 sctx->state[3] = SHA1_H3; in ppc_spe_sha1_init() 66 sctx->state[4] = SHA1_H4; in ppc_spe_sha1_init() 67 sctx->count = 0; in ppc_spe_sha1_init() 75 struct sha1_state *sctx in ppc_spe_sha1_update() local 118 struct sha1_state *sctx = shash_desc_ctx(desc); ppc_spe_sha1_final() local 155 struct sha1_state *sctx = shash_desc_ctx(desc); ppc_spe_sha1_export() local 163 struct sha1_state *sctx = shash_desc_ctx(desc); ppc_spe_sha1_import() local [all...] |
H A D | md5-glue.c | 20 static inline void ppc_md5_clear_context(struct md5_state *sctx) in ppc_md5_clear_context() argument 23 u32 *ptr = (u32 *)sctx; in ppc_md5_clear_context() 32 struct md5_state *sctx = shash_desc_ctx(desc); in ppc_md5_init() local 34 sctx->hash[0] = MD5_H0; in ppc_md5_init() 35 sctx->hash[1] = MD5_H1; in ppc_md5_init() 36 sctx->hash[2] = MD5_H2; in ppc_md5_init() 37 sctx->hash[3] = MD5_H3; in ppc_md5_init() 38 sctx->byte_count = 0; in ppc_md5_init() 46 struct md5_state *sctx = shash_desc_ctx(desc); in ppc_md5_update() local 47 const unsigned int offset = sctx in ppc_md5_update() 77 struct md5_state *sctx = shash_desc_ctx(desc); ppc_md5_final() local 109 struct md5_state *sctx = shash_desc_ctx(desc); ppc_md5_export() local 117 struct md5_state *sctx = shash_desc_ctx(desc); ppc_md5_import() local [all...] |
/kernel/linux/linux-6.6/fs/btrfs/ |
H A D | send.c | 368 static void inconsistent_snapshot_error(struct send_ctx *sctx, in inconsistent_snapshot_error() argument 393 btrfs_err(sctx->send_root->fs_info, in inconsistent_snapshot_error() 395 result_string, what, sctx->cmp_key->objectid, in inconsistent_snapshot_error() 396 sctx->send_root->root_key.objectid, in inconsistent_snapshot_error() 397 (sctx->parent_root ? in inconsistent_snapshot_error() 398 sctx->parent_root->root_key.objectid : 0)); in inconsistent_snapshot_error() 402 static bool proto_cmd_ok(const struct send_ctx *sctx, int cmd) in proto_cmd_ok() argument 404 switch (sctx->proto) { in proto_cmd_ok() 412 static int is_waiting_for_move(struct send_ctx *sctx, u64 ino); 415 get_waiting_dir_move(struct send_ctx *sctx, u6 419 need_send_hole(struct send_ctx *sctx) need_send_hole() argument 659 tlv_put(struct send_ctx *sctx, u16 attr, const void *data, int len) tlv_put() argument 692 tlv_put_string(struct send_ctx *sctx, u16 attr, const char *str, int len) tlv_put_string() argument 700 tlv_put_uuid(struct send_ctx *sctx, u16 attr, const u8 *uuid) tlv_put_uuid() argument 706 tlv_put_btrfs_timespec(struct send_ctx *sctx, u16 attr, struct extent_buffer *eb, struct btrfs_timespec *ts) tlv_put_btrfs_timespec() argument 760 send_header(struct send_ctx *sctx) send_header() argument 773 begin_cmd(struct send_ctx *sctx, int cmd) begin_cmd() argument 789 send_cmd(struct send_ctx *sctx) send_cmd() argument 814 send_rename(struct send_ctx *sctx, struct fs_path *from, struct fs_path *to) send_rename() argument 839 send_link(struct send_ctx *sctx, struct fs_path *path, struct fs_path *lnk) send_link() argument 864 send_unlink(struct send_ctx *sctx, struct fs_path *path) send_unlink() argument 887 send_rmdir(struct send_ctx *sctx, struct fs_path *path) send_rmdir() argument 1279 struct send_ctx *sctx; global() member 1403 struct send_ctx *sctx = bctx->sctx; lookup_backref_cache() local 1443 struct send_ctx *sctx = bctx->sctx; store_backref_cache() local 1516 const struct send_ctx *sctx = bctx->sctx; check_extent_item() local 1569 find_extent_clone(struct send_ctx *sctx, struct btrfs_path *path, u64 ino, u64 data_offset, u64 ino_size, struct clone_root **found) find_extent_clone() argument 1807 gen_unique_name(struct send_ctx *sctx, u64 ino, u64 gen, struct fs_path *dest) gen_unique_name() argument 1883 get_cur_inode_state(struct send_ctx *sctx, u64 ino, u64 gen, u64 *send_gen, u64 *parent_gen) get_cur_inode_state() argument 1955 is_inode_existent(struct send_ctx *sctx, u64 ino, u64 gen, u64 *send_gen, u64 *parent_gen) is_inode_existent() argument 2120 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) will_overwrite_ref() argument 2182 did_overwrite_ref(struct send_ctx *sctx, u64 dir, u64 dir_gen, u64 ino, u64 ino_gen, const char *name, int name_len) did_overwrite_ref() argument 2253 did_overwrite_first_ref(struct send_ctx *sctx, u64 ino, u64 gen) did_overwrite_first_ref() argument 2279 name_cache_search(struct send_ctx *sctx, u64 ino, u64 gen) name_cache_search() argument 2299 __get_cur_name_and_parent(struct send_ctx *sctx, u64 ino, u64 gen, u64 *parent_ino, u64 *parent_gen, struct fs_path *dest) __get_cur_name_and_parent() argument 2434 get_cur_path(struct send_ctx *sctx, u64 ino, u64 gen, struct fs_path *dest) get_cur_path() argument 2501 send_subvol_begin(struct send_ctx *sctx) send_subvol_begin() argument 2589 send_truncate(struct send_ctx *sctx, u64 ino, u64 gen, u64 size) send_truncate() argument 2619 send_chmod(struct send_ctx *sctx, u64 ino, u64 gen, u64 mode) send_chmod() argument 2649 send_fileattr(struct send_ctx *sctx, u64 ino, u64 gen, u64 fileattr) send_fileattr() argument 2682 send_chown(struct send_ctx *sctx, u64 ino, u64 gen, u64 uid, u64 gid) send_chown() argument 2714 send_utimes(struct send_ctx *sctx, u64 ino, u64 gen) send_utimes() argument 2783 cache_dir_utimes(struct send_ctx *sctx, u64 dir, u64 gen) cache_dir_utimes() argument 2810 trim_dir_utimes_cache(struct send_ctx *sctx) trim_dir_utimes_cache() argument 2835 send_create_inode(struct send_ctx *sctx, u64 ino) send_create_inode() argument 2918 cache_dir_created(struct send_ctx *sctx, u64 dir) cache_dir_created() argument 2940 did_create_dir(struct send_ctx *sctx, u64 dir) did_create_dir() argument 2994 send_create_inode_if_needed(struct send_ctx *sctx) send_create_inode_if_needed() argument 3079 free_recorded_refs(struct send_ctx *sctx) free_recorded_refs() argument 3090 orphanize_inode(struct send_ctx *sctx, u64 ino, u64 gen, struct fs_path *path) orphanize_inode() argument 3111 add_orphan_dir_info(struct send_ctx *sctx, u64 dir_ino, u64 dir_gen) add_orphan_dir_info() argument 3146 get_orphan_dir_info(struct send_ctx *sctx, u64 dir_ino, u64 gen) get_orphan_dir_info() argument 3168 is_waiting_for_rm(struct send_ctx *sctx, u64 dir_ino, u64 gen) is_waiting_for_rm() argument 3175 free_orphan_dir_info(struct send_ctx *sctx, struct orphan_dir_info *odi) free_orphan_dir_info() argument 3189 can_rmdir(struct send_ctx *sctx, u64 dir, u64 dir_gen) can_rmdir() argument 3321 is_waiting_for_move(struct send_ctx *sctx, u64 ino) is_waiting_for_move() argument 3328 add_waiting_dir_move(struct send_ctx *sctx, u64 ino, bool orphanized) add_waiting_dir_move() argument 3361 get_waiting_dir_move(struct send_ctx *sctx, u64 ino) get_waiting_dir_move() argument 3378 free_waiting_dir_move(struct send_ctx *sctx, struct waiting_dir_move *dm) free_waiting_dir_move() argument 3387 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) add_pending_dir_move() argument 3455 get_pending_dir_moves(struct send_ctx *sctx, u64 parent_ino) get_pending_dir_moves() argument 3473 path_loop(struct send_ctx *sctx, struct fs_path *name, u64 ino, u64 gen, u64 *ancestor_ino) path_loop() argument 3515 apply_dir_move(struct send_ctx *sctx, struct pending_dir_move *pm) apply_dir_move() argument 3657 free_pending_move(struct send_ctx *sctx, struct pending_dir_move *m) free_pending_move() argument 3667 tail_append_pending_moves(struct send_ctx *sctx, struct pending_dir_move *moves, struct list_head *stack) tail_append_pending_moves() argument 3685 apply_children_dir_moves(struct send_ctx *sctx) apply_children_dir_moves() argument 3755 wait_for_dest_dir_move(struct send_ctx *sctx, struct recorded_ref *parent_ref, const bool is_orphan) wait_for_dest_dir_move() argument 3961 wait_for_parent_move(struct send_ctx *sctx, struct recorded_ref *parent_ref, const bool is_orphan) wait_for_parent_move() argument 4062 update_ref_path(struct send_ctx *sctx, struct recorded_ref *ref) update_ref_path() argument 4133 refresh_ref_path(struct send_ctx *sctx, struct recorded_ref *ref) refresh_ref_path() argument 4161 process_recorded_refs(struct send_ctx *sctx, int *pending_move) process_recorded_refs() argument 4651 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) record_ref_in_tree() argument 4697 struct send_ctx *sctx = ctx; record_new_ref_if_needed() local 4727 struct send_ctx *sctx = ctx; record_deleted_ref_if_needed() local 4753 record_new_ref(struct send_ctx *sctx) record_new_ref() argument 4767 record_deleted_ref(struct send_ctx *sctx) record_deleted_ref() argument 4782 record_changed_ref(struct send_ctx *sctx) record_changed_ref() argument 4804 process_all_refs(struct send_ctx *sctx, enum btrfs_compare_tree_result cmd) process_all_refs() argument 4864 send_set_xattr(struct send_ctx *sctx, struct fs_path *path, const char *name, int name_len, const char *data, int data_len) send_set_xattr() argument 4886 send_remove_xattr(struct send_ctx *sctx, struct fs_path *path, const char *name, int name_len) send_remove_xattr() argument 4911 struct send_ctx *sctx = ctx; __process_new_xattr() local 4955 struct send_ctx *sctx = ctx; __process_deleted_xattr() local 4973 process_new_xattr(struct send_ctx *sctx) process_new_xattr() argument 4983 process_deleted_xattr(struct send_ctx *sctx) process_deleted_xattr() argument 5051 struct send_ctx *sctx = ctx; __process_changed_new_xattr() local 5081 struct send_ctx *sctx = ctx; __process_changed_deleted_xattr() local 5094 process_changed_xattr(struct send_ctx *sctx) process_changed_xattr() argument 5109 process_all_new_xattrs(struct send_ctx *sctx) process_all_new_xattrs() argument 5146 send_verity(struct send_ctx *sctx, struct fs_path *path, struct fsverity_descriptor *desc) send_verity() argument 5172 process_verity(struct send_ctx *sctx) process_verity() argument 5224 max_send_read_size(const struct send_ctx *sctx) max_send_read_size() argument 5229 put_data_header(struct send_ctx *sctx, u32 len) put_data_header() argument 5256 put_file_data(struct send_ctx *sctx, u64 offset, u32 len) put_file_data() argument 5327 send_write(struct send_ctx *sctx, u64 offset, u32 len) send_write() argument 5364 send_clone(struct send_ctx *sctx, u64 offset, u32 len, struct clone_root *clone_root) send_clone() argument 5436 send_update_extent(struct send_ctx *sctx, u64 offset, u32 len) send_update_extent() argument 5466 send_hole(struct send_ctx *sctx, u64 end) send_hole() argument 5521 send_encoded_inline_extent(struct send_ctx *sctx, struct btrfs_path *path, u64 offset, u64 len) send_encoded_inline_extent() argument 5587 send_encoded_extent(struct send_ctx *sctx, struct btrfs_path *path, u64 offset, u64 len) send_encoded_extent() argument 5692 send_extent_data(struct send_ctx *sctx, struct btrfs_path *path, const u64 offset, const u64 len) send_extent_data() argument 5815 send_capabilities(struct send_ctx *sctx) send_capabilities() argument 5866 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) clone_range() argument 6135 send_write_or_clone(struct send_ctx *sctx, struct btrfs_path *path, struct btrfs_key *key, struct clone_root *clone_root) send_write_or_clone() argument 6167 is_extent_unchanged(struct send_ctx *sctx, struct btrfs_path *left_path, struct btrfs_key *ekey) is_extent_unchanged() argument 6357 get_last_extent(struct send_ctx *sctx, u64 offset) get_last_extent() argument 6387 range_is_hole_in_parent(struct send_ctx *sctx, const u64 start, const u64 end) range_is_hole_in_parent() argument 6453 maybe_send_hole(struct send_ctx *sctx, struct btrfs_path *path, struct btrfs_key *key) maybe_send_hole() argument 6496 process_extent(struct send_ctx *sctx, struct btrfs_path *path, struct btrfs_key *key) process_extent() argument 6556 process_all_extents(struct send_ctx *sctx) process_all_extents() argument 6592 process_recorded_refs_if_needed(struct send_ctx *sctx, int at_end, int *pending_move, int *refs_processed) process_recorded_refs_if_needed() argument 6615 finish_inode_if_needed(struct send_ctx *sctx, int at_end) finish_inode_if_needed() argument 6802 close_current_inode(struct send_ctx *sctx) close_current_inode() argument 6826 changed_inode(struct send_ctx *sctx, enum btrfs_compare_tree_result result) changed_inode() argument 7044 changed_ref(struct send_ctx *sctx, enum btrfs_compare_tree_result result) changed_ref() argument 7072 changed_xattr(struct send_ctx *sctx, enum btrfs_compare_tree_result result) changed_xattr() argument 7099 changed_extent(struct send_ctx *sctx, enum btrfs_compare_tree_result result) changed_extent() argument 7129 changed_verity(struct send_ctx *sctx, enum btrfs_compare_tree_result result) changed_verity() argument 7140 dir_changed(struct send_ctx *sctx, u64 dir) dir_changed() argument 7156 compare_refs(struct send_ctx *sctx, struct btrfs_path *path, struct btrfs_key *key) compare_refs() argument 7200 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) changed_cb() argument 7301 search_key_again(const struct send_ctx *sctx, struct btrfs_root *root, struct btrfs_path *path, const struct btrfs_key *key) search_key_again() argument 7334 full_send_tree(struct send_ctx *sctx) full_send_tree() argument 7569 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) restart_after_relocation() argument 7654 btrfs_compare_trees(struct btrfs_root *left_root, struct btrfs_root *right_root, struct send_ctx *sctx) btrfs_compare_trees() argument 7940 send_subvol(struct send_ctx *sctx) send_subvol() argument 7985 ensure_commit_roots_uptodate(struct send_ctx *sctx) ensure_commit_roots_uptodate() argument 8025 flush_delalloc_roots(struct send_ctx *sctx) flush_delalloc_roots() argument 8077 struct send_ctx *sctx = NULL; btrfs_ioctl_send() local [all...] |
/kernel/linux/linux-5.10/arch/sparc/crypto/ |
H A D | sha512_glue.c | 30 struct sha512_state *sctx = shash_desc_ctx(desc); in sha512_sparc64_init() local 31 sctx->state[0] = SHA512_H0; in sha512_sparc64_init() 32 sctx->state[1] = SHA512_H1; in sha512_sparc64_init() 33 sctx->state[2] = SHA512_H2; in sha512_sparc64_init() 34 sctx->state[3] = SHA512_H3; in sha512_sparc64_init() 35 sctx->state[4] = SHA512_H4; in sha512_sparc64_init() 36 sctx->state[5] = SHA512_H5; in sha512_sparc64_init() 37 sctx->state[6] = SHA512_H6; in sha512_sparc64_init() 38 sctx->state[7] = SHA512_H7; in sha512_sparc64_init() 39 sctx in sha512_sparc64_init() 46 struct sha512_state *sctx = shash_desc_ctx(desc); sha384_sparc64_init() local 60 __sha512_sparc64_update(struct sha512_state *sctx, const u8 *data, unsigned int len, unsigned int partial) __sha512_sparc64_update() argument 85 struct sha512_state *sctx = shash_desc_ctx(desc); sha512_sparc64_update() local 101 struct sha512_state *sctx = shash_desc_ctx(desc); sha512_sparc64_final() local [all...] |
H A D | sha256_glue.c | 31 struct sha256_state *sctx = shash_desc_ctx(desc); in sha224_sparc64_init() local 32 sctx->state[0] = SHA224_H0; in sha224_sparc64_init() 33 sctx->state[1] = SHA224_H1; in sha224_sparc64_init() 34 sctx->state[2] = SHA224_H2; in sha224_sparc64_init() 35 sctx->state[3] = SHA224_H3; in sha224_sparc64_init() 36 sctx->state[4] = SHA224_H4; in sha224_sparc64_init() 37 sctx->state[5] = SHA224_H5; in sha224_sparc64_init() 38 sctx->state[6] = SHA224_H6; in sha224_sparc64_init() 39 sctx->state[7] = SHA224_H7; in sha224_sparc64_init() 40 sctx in sha224_sparc64_init() 47 struct sha256_state *sctx = shash_desc_ctx(desc); sha256_sparc64_init() local 61 __sha256_sparc64_update(struct sha256_state *sctx, const u8 *data, unsigned int len, unsigned int partial) __sha256_sparc64_update() argument 85 struct sha256_state *sctx = shash_desc_ctx(desc); sha256_sparc64_update() local 100 struct sha256_state *sctx = shash_desc_ctx(desc); sha256_sparc64_final() local 145 struct sha256_state *sctx = shash_desc_ctx(desc); sha256_sparc64_export() local 153 struct sha256_state *sctx = shash_desc_ctx(desc); sha256_sparc64_import() local [all...] |
/kernel/linux/linux-6.6/arch/powerpc/crypto/ |
H A D | md5-glue.c | 20 static inline void ppc_md5_clear_context(struct md5_state *sctx) in ppc_md5_clear_context() argument 23 u32 *ptr = (u32 *)sctx; in ppc_md5_clear_context() 32 struct md5_state *sctx = shash_desc_ctx(desc); in ppc_md5_init() local 34 sctx->hash[0] = MD5_H0; in ppc_md5_init() 35 sctx->hash[1] = MD5_H1; in ppc_md5_init() 36 sctx->hash[2] = MD5_H2; in ppc_md5_init() 37 sctx->hash[3] = MD5_H3; in ppc_md5_init() 38 sctx->byte_count = 0; in ppc_md5_init() 46 struct md5_state *sctx = shash_desc_ctx(desc); in ppc_md5_update() local 47 const unsigned int offset = sctx in ppc_md5_update() 77 struct md5_state *sctx = shash_desc_ctx(desc); ppc_md5_final() local 109 struct md5_state *sctx = shash_desc_ctx(desc); ppc_md5_export() local 117 struct md5_state *sctx = shash_desc_ctx(desc); ppc_md5_import() local [all...] |
H A D | sha1-spe-glue.c | 49 static inline void ppc_sha1_clear_context(struct sha1_state *sctx) in ppc_sha1_clear_context() argument 52 u32 *ptr = (u32 *)sctx; in ppc_sha1_clear_context() 62 struct sha1_state *sctx = shash_desc_ctx(desc); in ppc_spe_sha1_update() local 63 const unsigned int offset = sctx->count & 0x3f; in ppc_spe_sha1_update() 69 sctx->count += len; in ppc_spe_sha1_update() 70 memcpy((char *)sctx->buffer + offset, src, len); in ppc_spe_sha1_update() 74 sctx->count += len; in ppc_spe_sha1_update() 77 memcpy((char *)sctx->buffer + offset, src, avail); in ppc_spe_sha1_update() 80 ppc_spe_sha1_transform(sctx->state, (const u8 *)sctx in ppc_spe_sha1_update() 105 struct sha1_state *sctx = shash_desc_ctx(desc); ppc_spe_sha1_final() local 142 struct sha1_state *sctx = shash_desc_ctx(desc); ppc_spe_sha1_export() local 150 struct sha1_state *sctx = shash_desc_ctx(desc); ppc_spe_sha1_import() local [all...] |
/kernel/linux/linux-5.10/arch/s390/crypto/ |
H A D | sha256_s390.c | 22 struct s390_sha_ctx *sctx = shash_desc_ctx(desc); in s390_sha256_init() local 24 sctx->state[0] = SHA256_H0; in s390_sha256_init() 25 sctx->state[1] = SHA256_H1; in s390_sha256_init() 26 sctx->state[2] = SHA256_H2; in s390_sha256_init() 27 sctx->state[3] = SHA256_H3; in s390_sha256_init() 28 sctx->state[4] = SHA256_H4; in s390_sha256_init() 29 sctx->state[5] = SHA256_H5; in s390_sha256_init() 30 sctx->state[6] = SHA256_H6; in s390_sha256_init() 31 sctx->state[7] = SHA256_H7; in s390_sha256_init() 32 sctx in s390_sha256_init() 40 struct s390_sha_ctx *sctx = shash_desc_ctx(desc); sha256_export() local 51 struct s390_sha_ctx *sctx = shash_desc_ctx(desc); sha256_import() local 81 struct s390_sha_ctx *sctx = shash_desc_ctx(desc); s390_sha224_init() local [all...] |
/kernel/linux/linux-6.6/arch/s390/crypto/ |
H A D | sha256_s390.c | 22 struct s390_sha_ctx *sctx = shash_desc_ctx(desc); in s390_sha256_init() local 24 sctx->state[0] = SHA256_H0; in s390_sha256_init() 25 sctx->state[1] = SHA256_H1; in s390_sha256_init() 26 sctx->state[2] = SHA256_H2; in s390_sha256_init() 27 sctx->state[3] = SHA256_H3; in s390_sha256_init() 28 sctx->state[4] = SHA256_H4; in s390_sha256_init() 29 sctx->state[5] = SHA256_H5; in s390_sha256_init() 30 sctx->state[6] = SHA256_H6; in s390_sha256_init() 31 sctx->state[7] = SHA256_H7; in s390_sha256_init() 32 sctx in s390_sha256_init() 40 struct s390_sha_ctx *sctx = shash_desc_ctx(desc); sha256_export() local 51 struct s390_sha_ctx *sctx = shash_desc_ctx(desc); sha256_import() local 81 struct s390_sha_ctx *sctx = shash_desc_ctx(desc); s390_sha224_init() local [all...] |
/kernel/linux/linux-5.10/fs/btrfs/ |
H A D | send.c | 282 static void inconsistent_snapshot_error(struct send_ctx *sctx, in inconsistent_snapshot_error() argument 307 btrfs_err(sctx->send_root->fs_info, in inconsistent_snapshot_error() 309 result_string, what, sctx->cmp_key->objectid, in inconsistent_snapshot_error() 310 sctx->send_root->root_key.objectid, in inconsistent_snapshot_error() 311 (sctx->parent_root ? in inconsistent_snapshot_error() 312 sctx->parent_root->root_key.objectid : 0)); in inconsistent_snapshot_error() 315 static int is_waiting_for_move(struct send_ctx *sctx, u64 ino); 318 get_waiting_dir_move(struct send_ctx *sctx, u64 ino); 320 static int is_waiting_for_rm(struct send_ctx *sctx, u64 dir_ino, u64 gen); 322 static int need_send_hole(struct send_ctx *sctx) in need_send_hole() argument 571 tlv_put(struct send_ctx *sctx, u16 attr, const void *data, int len) tlv_put() argument 599 tlv_put_string(struct send_ctx *sctx, u16 attr, const char *str, int len) tlv_put_string() argument 607 tlv_put_uuid(struct send_ctx *sctx, u16 attr, const u8 *uuid) tlv_put_uuid() argument 613 tlv_put_btrfs_timespec(struct send_ctx *sctx, u16 attr, struct extent_buffer *eb, struct btrfs_timespec *ts) tlv_put_btrfs_timespec() argument 667 send_header(struct send_ctx *sctx) send_header() argument 681 begin_cmd(struct send_ctx *sctx, int cmd) begin_cmd() argument 697 send_cmd(struct send_ctx *sctx) send_cmd() argument 723 send_rename(struct send_ctx *sctx, struct fs_path *from, struct fs_path *to) send_rename() argument 748 send_link(struct send_ctx *sctx, struct fs_path *path, struct fs_path *lnk) send_link() argument 773 send_unlink(struct send_ctx *sctx, struct fs_path *path) send_unlink() argument 796 send_rmdir(struct send_ctx *sctx, struct fs_path *path) send_rmdir() argument 1179 struct send_ctx *sctx; global() member 1297 find_extent_clone(struct send_ctx *sctx, struct btrfs_path *path, u64 ino, u64 data_offset, u64 ino_size, struct clone_root **found) find_extent_clone() argument 1541 gen_unique_name(struct send_ctx *sctx, u64 ino, u64 gen, struct fs_path *dest) gen_unique_name() argument 1613 get_cur_inode_state(struct send_ctx *sctx, u64 ino, u64 gen) get_cur_inode_state() argument 1679 is_inode_existent(struct send_ctx *sctx, u64 ino, u64 gen) is_inode_existent() argument 1846 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) will_overwrite_ref() argument 1918 did_overwrite_ref(struct send_ctx *sctx, u64 dir, u64 dir_gen, u64 ino, u64 ino_gen, const char *name, int name_len) did_overwrite_ref() argument 1991 did_overwrite_first_ref(struct send_ctx *sctx, u64 ino, u64 gen) did_overwrite_first_ref() argument 2023 name_cache_insert(struct send_ctx *sctx, struct name_cache_entry *nce) name_cache_insert() argument 2053 name_cache_delete(struct send_ctx *sctx, struct name_cache_entry *nce) name_cache_delete() argument 2079 name_cache_search(struct send_ctx *sctx, u64 ino, u64 gen) name_cache_search() argument 2100 name_cache_used(struct send_ctx *sctx, struct name_cache_entry *nce) name_cache_used() argument 2109 name_cache_clean_unused(struct send_ctx *sctx) name_cache_clean_unused() argument 2124 name_cache_free(struct send_ctx *sctx) name_cache_free() argument 2144 __get_cur_name_and_parent(struct send_ctx *sctx, u64 ino, u64 gen, u64 *parent_ino, u64 *parent_gen, struct fs_path *dest) __get_cur_name_and_parent() argument 2280 get_cur_path(struct send_ctx *sctx, u64 ino, u64 gen, struct fs_path *dest) get_cur_path() argument 2347 send_subvol_begin(struct send_ctx *sctx) send_subvol_begin() argument 2435 send_truncate(struct send_ctx *sctx, u64 ino, u64 gen, u64 size) send_truncate() argument 2465 send_chmod(struct send_ctx *sctx, u64 ino, u64 gen, u64 mode) send_chmod() argument 2495 send_chown(struct send_ctx *sctx, u64 ino, u64 gen, u64 uid, u64 gid) send_chown() argument 2527 send_utimes(struct send_ctx *sctx, u64 ino, u64 gen) send_utimes() argument 2590 send_create_inode(struct send_ctx *sctx, u64 ino) send_create_inode() argument 2675 did_create_dir(struct send_ctx *sctx, u64 dir) did_create_dir() argument 2743 send_create_inode_if_needed(struct send_ctx *sctx) send_create_inode_if_needed() argument 2830 free_recorded_refs(struct send_ctx *sctx) free_recorded_refs() argument 2841 orphanize_inode(struct send_ctx *sctx, u64 ino, u64 gen, struct fs_path *path) orphanize_inode() argument 2862 add_orphan_dir_info(struct send_ctx *sctx, u64 dir_ino, u64 dir_gen) add_orphan_dir_info() argument 2896 get_orphan_dir_info(struct send_ctx *sctx, u64 dir_ino, u64 gen) get_orphan_dir_info() argument 2918 is_waiting_for_rm(struct send_ctx *sctx, u64 dir_ino, u64 gen) is_waiting_for_rm() argument 2925 free_orphan_dir_info(struct send_ctx *sctx, struct orphan_dir_info *odi) free_orphan_dir_info() argument 2939 can_rmdir(struct send_ctx *sctx, u64 dir, u64 dir_gen, u64 send_progress) can_rmdir() argument 3032 is_waiting_for_move(struct send_ctx *sctx, u64 ino) is_waiting_for_move() argument 3039 add_waiting_dir_move(struct send_ctx *sctx, u64 ino, bool orphanized) add_waiting_dir_move() argument 3072 get_waiting_dir_move(struct send_ctx *sctx, u64 ino) get_waiting_dir_move() argument 3089 free_waiting_dir_move(struct send_ctx *sctx, struct waiting_dir_move *dm) free_waiting_dir_move() argument 3098 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) add_pending_dir_move() argument 3166 get_pending_dir_moves(struct send_ctx *sctx, u64 parent_ino) get_pending_dir_moves() argument 3184 path_loop(struct send_ctx *sctx, struct fs_path *name, u64 ino, u64 gen, u64 *ancestor_ino) path_loop() argument 3226 apply_dir_move(struct send_ctx *sctx, struct pending_dir_move *pm) apply_dir_move() argument 3369 free_pending_move(struct send_ctx *sctx, struct pending_dir_move *m) free_pending_move() argument 3379 tail_append_pending_moves(struct send_ctx *sctx, struct pending_dir_move *moves, struct list_head *stack) tail_append_pending_moves() argument 3397 apply_children_dir_moves(struct send_ctx *sctx) apply_children_dir_moves() argument 3468 wait_for_dest_dir_move(struct send_ctx *sctx, struct recorded_ref *parent_ref, const bool is_orphan) wait_for_dest_dir_move() argument 3688 wait_for_parent_move(struct send_ctx *sctx, struct recorded_ref *parent_ref, const bool is_orphan) wait_for_parent_move() argument 3791 update_ref_path(struct send_ctx *sctx, struct recorded_ref *ref) update_ref_path() argument 3862 refresh_ref_path(struct send_ctx *sctx, struct recorded_ref *ref) refresh_ref_path() argument 3890 process_recorded_refs(struct send_ctx *sctx, int *pending_move) process_recorded_refs() argument 4358 struct send_ctx *sctx = ctx; record_ref() local 4390 struct send_ctx *sctx = ctx; __record_new_ref() local 4399 struct send_ctx *sctx = ctx; __record_deleted_ref() local 4404 record_new_ref(struct send_ctx *sctx) record_new_ref() argument 4418 record_deleted_ref(struct send_ctx *sctx) record_deleted_ref() argument 4496 struct send_ctx *sctx = ctx; __record_changed_new_ref() local 4519 struct send_ctx *sctx = ctx; __record_changed_deleted_ref() local 4536 record_changed_ref(struct send_ctx *sctx) record_changed_ref() argument 4558 process_all_refs(struct send_ctx *sctx, enum btrfs_compare_tree_result cmd) process_all_refs() argument 4633 send_set_xattr(struct send_ctx *sctx, struct fs_path *path, const char *name, int name_len, const char *data, int data_len) send_set_xattr() argument 4655 send_remove_xattr(struct send_ctx *sctx, struct fs_path *path, const char *name, int name_len) send_remove_xattr() argument 4681 struct send_ctx *sctx = ctx; __process_new_xattr() local 4726 struct send_ctx *sctx = ctx; __process_deleted_xattr() local 4744 process_new_xattr(struct send_ctx *sctx) process_new_xattr() argument 4754 process_deleted_xattr(struct send_ctx *sctx) process_deleted_xattr() argument 4824 struct send_ctx *sctx = ctx; __process_changed_new_xattr() local 4854 struct send_ctx *sctx = ctx; __process_changed_deleted_xattr() local 4867 process_changed_xattr(struct send_ctx *sctx) process_changed_xattr() argument 4882 process_all_new_xattrs(struct send_ctx *sctx) process_all_new_xattrs() argument 4938 max_send_read_size(const struct send_ctx *sctx) max_send_read_size() argument 4943 put_data_header(struct send_ctx *sctx, u32 len) put_data_header() argument 4956 put_file_data(struct send_ctx *sctx, u64 offset, u32 len) put_file_data() argument 5038 send_write(struct send_ctx *sctx, u64 offset, u32 len) send_write() argument 5075 send_clone(struct send_ctx *sctx, u64 offset, u32 len, struct clone_root *clone_root) send_clone() argument 5148 send_update_extent(struct send_ctx *sctx, u64 offset, u32 len) send_update_extent() argument 5178 send_hole(struct send_ctx *sctx, u64 end) send_hole() argument 5233 send_extent_data(struct send_ctx *sctx, const u64 offset, const u64 len) send_extent_data() argument 5262 send_capabilities(struct send_ctx *sctx) send_capabilities() argument 5313 clone_range(struct send_ctx *sctx, struct clone_root *clone_root, const u64 disk_byte, u64 data_offset, u64 offset, u64 len) clone_range() argument 5581 send_write_or_clone(struct send_ctx *sctx, struct btrfs_path *path, struct btrfs_key *key, struct clone_root *clone_root) send_write_or_clone() argument 5613 is_extent_unchanged(struct send_ctx *sctx, struct btrfs_path *left_path, struct btrfs_key *ekey) is_extent_unchanged() argument 5803 get_last_extent(struct send_ctx *sctx, u64 offset) get_last_extent() argument 5833 range_is_hole_in_parent(struct send_ctx *sctx, const u64 start, const u64 end) range_is_hole_in_parent() argument 5899 maybe_send_hole(struct send_ctx *sctx, struct btrfs_path *path, struct btrfs_key *key) maybe_send_hole() argument 5942 process_extent(struct send_ctx *sctx, struct btrfs_path *path, struct btrfs_key *key) process_extent() argument 6002 process_all_extents(struct send_ctx *sctx) process_all_extents() argument 6059 process_recorded_refs_if_needed(struct send_ctx *sctx, int at_end, int *pending_move, int *refs_processed) process_recorded_refs_if_needed() argument 6082 finish_inode_if_needed(struct send_ctx *sctx, int at_end) finish_inode_if_needed() argument 6224 struct send_ctx *sctx; global() member 6240 btrfs_unlink_all_paths(struct send_ctx *sctx) btrfs_unlink_all_paths() argument 6309 changed_inode(struct send_ctx *sctx, enum btrfs_compare_tree_result result) changed_inode() argument 6496 changed_ref(struct send_ctx *sctx, enum btrfs_compare_tree_result result) changed_ref() argument 6524 changed_xattr(struct send_ctx *sctx, enum btrfs_compare_tree_result result) changed_xattr() argument 6551 changed_extent(struct send_ctx *sctx, enum btrfs_compare_tree_result result) changed_extent() argument 6581 dir_changed(struct send_ctx *sctx, u64 dir) dir_changed() argument 6599 compare_refs(struct send_ctx *sctx, struct btrfs_path *path, struct btrfs_key *key) compare_refs() argument 6650 struct send_ctx *sctx = ctx; changed_cb() local 6698 full_send_tree(struct send_ctx *sctx) full_send_tree() argument 7107 send_subvol(struct send_ctx *sctx) send_subvol() argument 7152 ensure_commit_roots_uptodate(struct send_ctx *sctx) ensure_commit_roots_uptodate() argument 7192 flush_delalloc_roots(struct send_ctx *sctx) flush_delalloc_roots() argument 7244 struct send_ctx *sctx = NULL; btrfs_ioctl_send() local [all...] |
/kernel/linux/linux-6.6/arch/mips/cavium-octeon/crypto/ |
H A D | octeon-sha512.c | 32 static void octeon_sha512_store_hash(struct sha512_state *sctx) in octeon_sha512_store_hash() argument 34 write_octeon_64bit_hash_sha512(sctx->state[0], 0); in octeon_sha512_store_hash() 35 write_octeon_64bit_hash_sha512(sctx->state[1], 1); in octeon_sha512_store_hash() 36 write_octeon_64bit_hash_sha512(sctx->state[2], 2); in octeon_sha512_store_hash() 37 write_octeon_64bit_hash_sha512(sctx->state[3], 3); in octeon_sha512_store_hash() 38 write_octeon_64bit_hash_sha512(sctx->state[4], 4); in octeon_sha512_store_hash() 39 write_octeon_64bit_hash_sha512(sctx->state[5], 5); in octeon_sha512_store_hash() 40 write_octeon_64bit_hash_sha512(sctx->state[6], 6); in octeon_sha512_store_hash() 41 write_octeon_64bit_hash_sha512(sctx->state[7], 7); in octeon_sha512_store_hash() 44 static void octeon_sha512_read_hash(struct sha512_state *sctx) in octeon_sha512_read_hash() argument 78 __octeon_sha512_update(struct sha512_state *sctx, const u8 *data, unsigned int len) __octeon_sha512_update() argument 115 struct sha512_state *sctx = shash_desc_ctx(desc); octeon_sha512_update() local 140 struct sha512_state *sctx = shash_desc_ctx(desc); octeon_sha512_final() local [all...] |
H A D | octeon-sha1.c | 32 static void octeon_sha1_store_hash(struct sha1_state *sctx) in octeon_sha1_store_hash() argument 34 u64 *hash = (u64 *)sctx->state; in octeon_sha1_store_hash() 38 } hash_tail = { { sctx->state[4], } }; in octeon_sha1_store_hash() 46 static void octeon_sha1_read_hash(struct sha1_state *sctx) in octeon_sha1_read_hash() argument 48 u64 *hash = (u64 *)sctx->state; in octeon_sha1_read_hash() 57 sctx->state[4] = hash_tail.word[0]; in octeon_sha1_read_hash() 75 static void __octeon_sha1_update(struct sha1_state *sctx, const u8 *data, in __octeon_sha1_update() argument 82 partial = sctx->count % SHA1_BLOCK_SIZE; in __octeon_sha1_update() 83 sctx->count += len; in __octeon_sha1_update() 90 memcpy(sctx in __octeon_sha1_update() 109 struct sha1_state *sctx = shash_desc_ctx(desc); octeon_sha1_update() local 134 struct sha1_state *sctx = shash_desc_ctx(desc); octeon_sha1_final() local 174 struct sha1_state *sctx = shash_desc_ctx(desc); octeon_sha1_export() local 182 struct sha1_state *sctx = shash_desc_ctx(desc); octeon_sha1_import() local [all...] |