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)
284 * @size: Length of data
292 struct scatterlist *src_sg, int size,
302 ecryptfs_printk(KERN_DEBUG, "Key size [%zd]; key:\n",
336 skcipher_request_set_crypt(req, src_sg, dst_sg, size, iv);
427 * if the file was created on a machine with an 8K page size
429 * host with a 32K page size, then when reading page 0 of the eCryptfs
496 * if the file was created on a machine with an 8K page size
498 * host with a 32K page size, then when reading page 0 of the eCryptfs
1021 * @max: The size of memory allocated at page_virt
1022 * @size: Set to the number of bytes written by this function
1029 * Octets 0-7: Unencrypted file size (big-endian)
1037 * Octets 20-23: Header extent size (big-endian)
1050 size_t *size,
1073 if (size) {
1075 *size = offset;
1099 char *page_virt, size_t size)
1112 page_virt, size, 0);
1152 size_t size = 0;
1177 rc = ecryptfs_write_headers_virt(virt, virt_len, &size, crypt_stat,
1186 virt, size);
1221 printk(KERN_WARNING "Invalid header size: [%zd]\n",
1264 * @validate_header_size: Whether to validate the header size while reading
1331 ssize_t size;
1334 size = ecryptfs_getxattr_lower(lower_dentry,
1338 if (size < 0) {
1342 "[%zd]\n", ECRYPTFS_XATTR_NAME, size);
1478 "size for tag 72; rc = [%d]\n", __func__,
1557 printk(KERN_ERR "Requested key size is [%zd] bytes; maximum "
1578 printk(KERN_ERR "Error attempting to set key of size [%zd] for "
1828 * @dst_size: Set to the size of the decoded string.
1830 * @src_size: The size of the encoded set of octets to decode.
1992 * @plaintext_name_size: The plaintext name size
1995 * @name_size: The cipher text name size
2100 /* Since this is the max decoded size, subtract 1 "decoded block" len */
2104 /* Worst case is that the filename is padded nearly a full block size */