Lines Matching refs:body_size

1242 	size_t body_size;  in parse_tag_1_packet()  local
1284 rc = ecryptfs_parse_packet_length(&data[(*packet_size)], &body_size, in parse_tag_1_packet()
1291 if (unlikely(body_size < (ECRYPTFS_SIG_SIZE + 2))) { in parse_tag_1_packet()
1292 printk(KERN_WARNING "Invalid body size ([%td])\n", body_size); in parse_tag_1_packet()
1297 if (unlikely((*packet_size) + body_size > max_packet_size)) { in parse_tag_1_packet()
1315 body_size - (ECRYPTFS_SIG_SIZE + 2); in parse_tag_1_packet()
1324 &data[(*packet_size)], (body_size - (ECRYPTFS_SIG_SIZE + 2))); in parse_tag_1_packet()
1374 size_t body_size; in parse_tag_3_packet() local
1418 rc = ecryptfs_parse_packet_length(&data[(*packet_size)], &body_size, in parse_tag_3_packet()
1425 if (unlikely(body_size < (ECRYPTFS_SALT_SIZE + 5))) { in parse_tag_3_packet()
1426 printk(KERN_WARNING "Invalid body size ([%td])\n", body_size); in parse_tag_3_packet()
1431 if (unlikely((*packet_size) + body_size > max_packet_size)) { in parse_tag_3_packet()
1437 (body_size - (ECRYPTFS_SALT_SIZE + 5)); in parse_tag_3_packet()
1547 size_t body_size; in parse_tag_11_packet() local
1577 rc = ecryptfs_parse_packet_length(&data[(*packet_size)], &body_size, in parse_tag_11_packet()
1583 if (body_size < 14) { in parse_tag_11_packet()
1584 printk(KERN_WARNING "Invalid body size ([%td])\n", body_size); in parse_tag_11_packet()
1589 (*tag_11_contents_size) = (body_size - 14); in parse_tag_11_packet()
1590 if (unlikely((*packet_size) + body_size + 1 > max_packet_size)) { in parse_tag_11_packet()