Home
last modified time | relevance | path

Searched refs:src_size (Results 1 – 5 of 5) sorted by relevance

/fs/pstore/
Dftrace.c146 size_t dest_size, src_size, total, dest_off, src_off; in pstore_ftrace_combine_log() local
156 src_size = src_log_size - src_off; in pstore_ftrace_combine_log()
158 total = dest_size + src_size; in pstore_ftrace_combine_log()
167 while (dest_size > 0 && src_size > 0) { in pstore_ftrace_combine_log()
174 src_size -= record_size; in pstore_ftrace_combine_log()
183 while (src_size > 0) { in pstore_ftrace_combine_log()
185 src_size -= record_size; in pstore_ftrace_combine_log()
/fs/ecryptfs/
Dcrypto.c1754 unsigned char *src, size_t src_size) in ecryptfs_encode_for_filename() argument
1761 if (src_size == 0) { in ecryptfs_encode_for_filename()
1765 num_blocks = (src_size / 3); in ecryptfs_encode_for_filename()
1766 if ((src_size % 3) == 0) { in ecryptfs_encode_for_filename()
1767 memcpy(last_block, (&src[src_size - 3]), 3); in ecryptfs_encode_for_filename()
1771 switch (src_size % 3) { in ecryptfs_encode_for_filename()
1773 last_block[0] = src[src_size - 1]; in ecryptfs_encode_for_filename()
1777 last_block[0] = src[src_size - 2]; in ecryptfs_encode_for_filename()
1778 last_block[1] = src[src_size - 1]; in ecryptfs_encode_for_filename()
1830 const unsigned char *src, size_t src_size) in ecryptfs_decode_from_filename() argument
[all …]
Decryptfs_kernel.h42 ecryptfs_to_hex(char *dst, char *src, size_t src_size) in ecryptfs_to_hex() argument
44 char *end = bin2hex(dst, src, src_size); in ecryptfs_to_hex()
/fs/f2fs/
Dcompress.c368 int src_size = cc->rlen; in zstd_compress_pages() local
369 int dst_size = src_size - PAGE_SIZE - COMPRESS_HEADER_SIZE; in zstd_compress_pages()
374 inbuf.size = src_size; in zstd_compress_pages()
/fs/cifs/
Dsmb2ops.c1102 struct smb2_file_full_ea_info *src, size_t src_size, in move_smb2_ea_to_cifs() argument
1111 while (src_size > 0) { in move_smb2_ea_to_cifs()
1118 if (src_size < 8 + name_len + 1 + value_len) { in move_smb2_ea_to_cifs()
1166 if (src_size < le32_to_cpu(src->next_entry_offset)) { in move_smb2_ea_to_cifs()
1171 src_size -= le32_to_cpu(src->next_entry_offset); in move_smb2_ea_to_cifs()