Lines Matching refs:body_size

1228 	size_t body_size;  in parse_tag_1_packet()  local
1270 rc = ecryptfs_parse_packet_length(&data[(*packet_size)], &body_size, in parse_tag_1_packet()
1277 if (unlikely(body_size < (ECRYPTFS_SIG_SIZE + 2))) { in parse_tag_1_packet()
1278 printk(KERN_WARNING "Invalid body size ([%td])\n", body_size); in parse_tag_1_packet()
1283 if (unlikely((*packet_size) + body_size > max_packet_size)) { in parse_tag_1_packet()
1301 body_size - (ECRYPTFS_SIG_SIZE + 2); in parse_tag_1_packet()
1310 &data[(*packet_size)], (body_size - (ECRYPTFS_SIG_SIZE + 2))); in parse_tag_1_packet()
1360 size_t body_size; in parse_tag_3_packet() local
1404 rc = ecryptfs_parse_packet_length(&data[(*packet_size)], &body_size, in parse_tag_3_packet()
1411 if (unlikely(body_size < (ECRYPTFS_SALT_SIZE + 5))) { in parse_tag_3_packet()
1412 printk(KERN_WARNING "Invalid body size ([%td])\n", body_size); in parse_tag_3_packet()
1417 if (unlikely((*packet_size) + body_size > max_packet_size)) { in parse_tag_3_packet()
1423 (body_size - (ECRYPTFS_SALT_SIZE + 5)); in parse_tag_3_packet()
1533 size_t body_size; in parse_tag_11_packet() local
1563 rc = ecryptfs_parse_packet_length(&data[(*packet_size)], &body_size, in parse_tag_11_packet()
1569 if (body_size < 14) { in parse_tag_11_packet()
1570 printk(KERN_WARNING "Invalid body size ([%td])\n", body_size); in parse_tag_11_packet()
1575 (*tag_11_contents_size) = (body_size - 14); in parse_tag_11_packet()
1576 if (unlikely((*packet_size) + body_size + 1 > max_packet_size)) { in parse_tag_11_packet()