Lines Matching refs:body_size

1247 	size_t body_size;  in parse_tag_1_packet()  local
1289 rc = ecryptfs_parse_packet_length(&data[(*packet_size)], &body_size, in parse_tag_1_packet()
1296 if (unlikely(body_size < (ECRYPTFS_SIG_SIZE + 2))) { in parse_tag_1_packet()
1297 printk(KERN_WARNING "Invalid body size ([%td])\n", body_size); in parse_tag_1_packet()
1302 if (unlikely((*packet_size) + body_size > max_packet_size)) { in parse_tag_1_packet()
1320 body_size - (ECRYPTFS_SIG_SIZE + 2); in parse_tag_1_packet()
1329 &data[(*packet_size)], (body_size - (ECRYPTFS_SIG_SIZE + 2))); in parse_tag_1_packet()
1379 size_t body_size; in parse_tag_3_packet() local
1423 rc = ecryptfs_parse_packet_length(&data[(*packet_size)], &body_size, in parse_tag_3_packet()
1430 if (unlikely(body_size < (ECRYPTFS_SALT_SIZE + 5))) { in parse_tag_3_packet()
1431 printk(KERN_WARNING "Invalid body size ([%td])\n", body_size); in parse_tag_3_packet()
1436 if (unlikely((*packet_size) + body_size > max_packet_size)) { in parse_tag_3_packet()
1442 (body_size - (ECRYPTFS_SALT_SIZE + 5)); in parse_tag_3_packet()
1552 size_t body_size; in parse_tag_11_packet() local
1582 rc = ecryptfs_parse_packet_length(&data[(*packet_size)], &body_size, in parse_tag_11_packet()
1588 if (body_size < 14) { in parse_tag_11_packet()
1589 printk(KERN_WARNING "Invalid body size ([%td])\n", body_size); in parse_tag_11_packet()
1594 (*tag_11_contents_size) = (body_size - 14); in parse_tag_11_packet()
1595 if (unlikely((*packet_size) + body_size + 1 > max_packet_size)) { in parse_tag_11_packet()