• Home
  • Raw
  • Download

Lines Matching refs:max_packet_size

586 	size_t max_packet_size;  member
672 s->max_packet_size = (ECRYPTFS_TAG_70_MAX_METADATA_SIZE in ecryptfs_write_tag_70_packet()
675 (*packet_size) = s->max_packet_size; in ecryptfs_write_tag_70_packet()
678 if (s->max_packet_size > (*remaining_bytes)) { in ecryptfs_write_tag_70_packet()
680 "[%zd] available\n", __func__, s->max_packet_size, in ecryptfs_write_tag_70_packet()
857 size_t max_packet_size; member
894 char *data, size_t max_packet_size) in ecryptfs_parse_tag_70_packet() argument
907 if (max_packet_size < ECRYPTFS_TAG_70_MIN_METADATA_SIZE) { in ecryptfs_parse_tag_70_packet()
909 "at least [%d]\n", __func__, max_packet_size, in ecryptfs_parse_tag_70_packet()
940 > max_packet_size) { in ecryptfs_parse_tag_70_packet()
942 "size is [%zd]\n", __func__, max_packet_size, in ecryptfs_parse_tag_70_packet()
1226 size_t *packet_size, size_t max_packet_size) in parse_tag_1_packet() argument
1248 if (unlikely(max_packet_size < 12)) { in parse_tag_1_packet()
1283 if (unlikely((*packet_size) + body_size > max_packet_size)) { in parse_tag_1_packet()
1358 size_t *packet_size, size_t max_packet_size) in parse_tag_3_packet() argument
1383 if (max_packet_size < (ECRYPTFS_SALT_SIZE + 7)) { in parse_tag_3_packet()
1417 if (unlikely((*packet_size) + body_size > max_packet_size)) { in parse_tag_3_packet()
1531 size_t *packet_size, size_t max_packet_size) in parse_tag_11_packet() argument
1553 if (max_packet_size < 16) { in parse_tag_11_packet()
1576 if (unlikely((*packet_size) + body_size + 1 > max_packet_size)) { in parse_tag_11_packet()
1777 size_t max_packet_size = ((PAGE_SIZE - 8) - i); in ecryptfs_parse_packet_set() local
1784 &packet_size, max_packet_size); in ecryptfs_parse_packet_set()
1797 max_packet_size); in ecryptfs_parse_packet_set()
1828 &packet_size, max_packet_size); in ecryptfs_parse_packet_set()
2026 size_t max_packet_size; in write_tag_1_packet() local
2061 max_packet_size = (1 /* Tag 1 identifier */ in write_tag_1_packet()
2067 if (max_packet_size > (*remaining_bytes)) { in write_tag_1_packet()
2070 "available\n", max_packet_size, (*remaining_bytes)); in write_tag_1_packet()
2076 (max_packet_size - 4), in write_tag_1_packet()
2114 size_t max_packet_size; in write_tag_11_packet() local
2120 max_packet_size = (1 /* Tag 11 identifier */ in write_tag_11_packet()
2127 if (max_packet_size > (*remaining_bytes)) { in write_tag_11_packet()
2130 "available\n", max_packet_size, (*remaining_bytes)); in write_tag_11_packet()
2136 (max_packet_size - 4), in write_tag_11_packet()
2186 size_t max_packet_size; in write_tag_3_packet() local
2323 max_packet_size = (1 /* Tag 3 identifier */ in write_tag_3_packet()
2332 if (max_packet_size > (*remaining_bytes)) { in write_tag_3_packet()
2334 "there are only [%td] available\n", max_packet_size, in write_tag_3_packet()
2343 (max_packet_size - 4), in write_tag_3_packet()