Lines Matching refs:message_size
328 u16 message_size = (u16)(sizeof(*header) + payload_size); in gb_operation_message_init() local
339 header->size = cpu_to_le16(message_size); in gb_operation_message_init()
366 size_t message_size = payload_size + sizeof(*header); in gb_operation_message_alloc() local
368 if (message_size > hd->buffer_size_max) { in gb_operation_message_alloc()
370 message_size, hd->buffer_size_max); in gb_operation_message_alloc()
379 message->buffer = kzalloc(message_size, gfp_flags); in gb_operation_message_alloc()
963 size_t message_size; in gb_connection_recv_response() local
986 message_size = sizeof(*header) + message->payload_size; in gb_connection_recv_response()
987 if (!errno && size > message_size) { in gb_connection_recv_response()
991 size, message_size); in gb_connection_recv_response()
993 } else if (!errno && size < message_size) { in gb_connection_recv_response()
1000 size, message_size); in gb_connection_recv_response()