Lines Matching refs:size
35 * size (src_size / 2)
37 * @dst_size: size of dst buffer, or number of hex characters pairs to convert
222 * @size: Size of data; should be an even multiple of the block size
225 * @sg_size: Max array size
232 int virt_to_scatterlist(const void *addr, int size, struct scatterlist *sg,
242 while (size > 0 && i < sg_size) {
247 if (size >= remainder_of_page) {
250 size -= remainder_of_page;
252 sg[i].length = size;
253 addr += size;
254 size = 0;
258 if (size > 0)
268 * @size: Length of data
276 struct scatterlist *src_sg, int size,
284 ecryptfs_printk(KERN_DEBUG, "Key size [%zd]; key:\n",
316 skcipher_request_set_crypt(req, src_sg, dst_sg, size, iv);
401 * if the file was created on a machine with an 8K page size
403 * host with a 32K page size, then when reading page 0 of the eCryptfs
470 * if the file was created on a machine with an 8K page size
472 * host with a 32K page size, then when reading page 0 of the eCryptfs
994 * @max: The size of memory allocated at page_virt
995 * @size: Set to the number of bytes written by this function
1002 * Octets 0-7: Unencrypted file size (big-endian)
1010 * Octets 20-23: Header extent size (big-endian)
1023 size_t *size,
1046 if (size) {
1048 *size = offset;
1072 char *page_virt, size_t size)
1085 ECRYPTFS_XATTR_NAME, page_virt, size, 0);
1125 size_t size = 0;
1150 rc = ecryptfs_write_headers_virt(virt, virt_len, &size, crypt_stat,
1159 virt, size);
1194 printk(KERN_WARNING "Invalid header size: [%zd]\n",
1237 * @validate_header_size: Whether to validate the header size while reading
1304 ssize_t size;
1307 size = ecryptfs_getxattr_lower(lower_dentry,
1311 if (size < 0) {
1315 "[%zd]\n", ECRYPTFS_XATTR_NAME, size);
1451 "size for tag 72; rc = [%d]\n", __func__,
1530 printk(KERN_ERR "Requested key size is [%zd] bytes; maximum "
1551 printk(KERN_ERR "Error attempting to set key of size [%zd] for "
1800 * @dst_size: Set to the size of the decoded string.
1802 * @src_size: The size of the encoded set of octets to decode.
1965 * @plaintext_name_size: The plaintext name size
1968 * @name_size: The cipher text name size
2073 /* Since this is the max decoded size, subtract 1 "decoded block" len */
2077 /* Worst case is that the filename is padded nearly a full block size */