Lines Matching refs:message_size
329 u16 message_size = (u16)(sizeof(*header) + payload_size); in gb_operation_message_init() local
340 header->size = cpu_to_le16(message_size); in gb_operation_message_init()
367 size_t message_size = payload_size + sizeof(*header); in gb_operation_message_alloc() local
369 if (message_size > hd->buffer_size_max) { in gb_operation_message_alloc()
371 message_size, hd->buffer_size_max); in gb_operation_message_alloc()
380 message->buffer = kzalloc(message_size, gfp_flags); in gb_operation_message_alloc()
964 size_t message_size; in gb_connection_recv_response() local
987 message_size = sizeof(*header) + message->payload_size; in gb_connection_recv_response()
988 if (!errno && size > message_size) { in gb_connection_recv_response()
992 size, message_size); in gb_connection_recv_response()
994 } else if (!errno && size < message_size) { in gb_connection_recv_response()
1001 size, message_size); in gb_connection_recv_response()