/* Generated by the protocol buffer compiler.  DO NOT EDIT! */
/* Generated from: criu-amdgpu.proto */

/* Do not generate deprecated warnings for self */
#ifndef PROTOBUF_C__NO_DEPRECATED
#define PROTOBUF_C__NO_DEPRECATED
#endif

#include "criu-amdgpu.pb-c.h"
void   dev_iolink__init
                     (DevIolink         *message)
{
  static const DevIolink init_value = DEV_IOLINK__INIT;
  *message = init_value;
}
size_t dev_iolink__get_packed_size
                     (const DevIolink *message)
{
  assert(message->base.descriptor == &dev_iolink__descriptor);
  return protobuf_c_message_get_packed_size ((const ProtobufCMessage*)(message));
}
size_t dev_iolink__pack
                     (const DevIolink *message,
                      uint8_t       *out)
{
  assert(message->base.descriptor == &dev_iolink__descriptor);
  return protobuf_c_message_pack ((const ProtobufCMessage*)message, out);
}
size_t dev_iolink__pack_to_buffer
                     (const DevIolink *message,
                      ProtobufCBuffer *buffer)
{
  assert(message->base.descriptor == &dev_iolink__descriptor);
  return protobuf_c_message_pack_to_buffer ((const ProtobufCMessage*)message, buffer);
}
DevIolink *
       dev_iolink__unpack
                     (ProtobufCAllocator  *allocator,
                      size_t               len,
                      const uint8_t       *data)
{
  return (DevIolink *)
     protobuf_c_message_unpack (&dev_iolink__descriptor,
                                allocator, len, data);
}
void   dev_iolink__free_unpacked
                     (DevIolink *message,
                      ProtobufCAllocator *allocator)
{
  if(!message)
    return;
  assert(message->base.descriptor == &dev_iolink__descriptor);
  protobuf_c_message_free_unpacked ((ProtobufCMessage*)message, allocator);
}
void   kfd_device_entry__init
                     (KfdDeviceEntry         *message)
{
  static const KfdDeviceEntry init_value = KFD_DEVICE_ENTRY__INIT;
  *message = init_value;
}
size_t kfd_device_entry__get_packed_size
                     (const KfdDeviceEntry *message)
{
  assert(message->base.descriptor == &kfd_device_entry__descriptor);
  return protobuf_c_message_get_packed_size ((const ProtobufCMessage*)(message));
}
size_t kfd_device_entry__pack
                     (const KfdDeviceEntry *message,
                      uint8_t       *out)
{
  assert(message->base.descriptor == &kfd_device_entry__descriptor);
  return protobuf_c_message_pack ((const ProtobufCMessage*)message, out);
}
size_t kfd_device_entry__pack_to_buffer
                     (const KfdDeviceEntry *message,
                      ProtobufCBuffer *buffer)
{
  assert(message->base.descriptor == &kfd_device_entry__descriptor);
  return protobuf_c_message_pack_to_buffer ((const ProtobufCMessage*)message, buffer);
}
KfdDeviceEntry *
       kfd_device_entry__unpack
                     (ProtobufCAllocator  *allocator,
                      size_t               len,
                      const uint8_t       *data)
{
  return (KfdDeviceEntry *)
     protobuf_c_message_unpack (&kfd_device_entry__descriptor,
                                allocator, len, data);
}
void   kfd_device_entry__free_unpacked
                     (KfdDeviceEntry *message,
                      ProtobufCAllocator *allocator)
{
  if(!message)
    return;
  assert(message->base.descriptor == &kfd_device_entry__descriptor);
  protobuf_c_message_free_unpacked ((ProtobufCMessage*)message, allocator);
}
void   kfd_bo_entry__init
                     (KfdBoEntry         *message)
{
  static const KfdBoEntry init_value = KFD_BO_ENTRY__INIT;
  *message = init_value;
}
size_t kfd_bo_entry__get_packed_size
                     (const KfdBoEntry *message)
{
  assert(message->base.descriptor == &kfd_bo_entry__descriptor);
  return protobuf_c_message_get_packed_size ((const ProtobufCMessage*)(message));
}
size_t kfd_bo_entry__pack
                     (const KfdBoEntry *message,
                      uint8_t       *out)
{
  assert(message->base.descriptor == &kfd_bo_entry__descriptor);
  return protobuf_c_message_pack ((const ProtobufCMessage*)message, out);
}
size_t kfd_bo_entry__pack_to_buffer
                     (const KfdBoEntry *message,
                      ProtobufCBuffer *buffer)
{
  assert(message->base.descriptor == &kfd_bo_entry__descriptor);
  return protobuf_c_message_pack_to_buffer ((const ProtobufCMessage*)message, buffer);
}
KfdBoEntry *
       kfd_bo_entry__unpack
                     (ProtobufCAllocator  *allocator,
                      size_t               len,
                      const uint8_t       *data)
{
  return (KfdBoEntry *)
     protobuf_c_message_unpack (&kfd_bo_entry__descriptor,
                                allocator, len, data);
}
void   kfd_bo_entry__free_unpacked
                     (KfdBoEntry *message,
                      ProtobufCAllocator *allocator)
{
  if(!message)
    return;
  assert(message->base.descriptor == &kfd_bo_entry__descriptor);
  protobuf_c_message_free_unpacked ((ProtobufCMessage*)message, allocator);
}
void   criu_kfd__init
                     (CriuKfd         *message)
{
  static const CriuKfd init_value = CRIU_KFD__INIT;
  *message = init_value;
}
size_t criu_kfd__get_packed_size
                     (const CriuKfd *message)
{
  assert(message->base.descriptor == &criu_kfd__descriptor);
  return protobuf_c_message_get_packed_size ((const ProtobufCMessage*)(message));
}
size_t criu_kfd__pack
                     (const CriuKfd *message,
                      uint8_t       *out)
{
  assert(message->base.descriptor == &criu_kfd__descriptor);
  return protobuf_c_message_pack ((const ProtobufCMessage*)message, out);
}
size_t criu_kfd__pack_to_buffer
                     (const CriuKfd *message,
                      ProtobufCBuffer *buffer)
{
  assert(message->base.descriptor == &criu_kfd__descriptor);
  return protobuf_c_message_pack_to_buffer ((const ProtobufCMessage*)message, buffer);
}
CriuKfd *
       criu_kfd__unpack
                     (ProtobufCAllocator  *allocator,
                      size_t               len,
                      const uint8_t       *data)
{
  return (CriuKfd *)
     protobuf_c_message_unpack (&criu_kfd__descriptor,
                                allocator, len, data);
}
void   criu_kfd__free_unpacked
                     (CriuKfd *message,
                      ProtobufCAllocator *allocator)
{
  if(!message)
    return;
  assert(message->base.descriptor == &criu_kfd__descriptor);
  protobuf_c_message_free_unpacked ((ProtobufCMessage*)message, allocator);
}
void   criu_render_node__init
                     (CriuRenderNode         *message)
{
  static const CriuRenderNode init_value = CRIU_RENDER_NODE__INIT;
  *message = init_value;
}
size_t criu_render_node__get_packed_size
                     (const CriuRenderNode *message)
{
  assert(message->base.descriptor == &criu_render_node__descriptor);
  return protobuf_c_message_get_packed_size ((const ProtobufCMessage*)(message));
}
size_t criu_render_node__pack
                     (const CriuRenderNode *message,
                      uint8_t       *out)
{
  assert(message->base.descriptor == &criu_render_node__descriptor);
  return protobuf_c_message_pack ((const ProtobufCMessage*)message, out);
}
size_t criu_render_node__pack_to_buffer
                     (const CriuRenderNode *message,
                      ProtobufCBuffer *buffer)
{
  assert(message->base.descriptor == &criu_render_node__descriptor);
  return protobuf_c_message_pack_to_buffer ((const ProtobufCMessage*)message, buffer);
}
CriuRenderNode *
       criu_render_node__unpack
                     (ProtobufCAllocator  *allocator,
                      size_t               len,
                      const uint8_t       *data)
{
  return (CriuRenderNode *)
     protobuf_c_message_unpack (&criu_render_node__descriptor,
                                allocator, len, data);
}
void   criu_render_node__free_unpacked
                     (CriuRenderNode *message,
                      ProtobufCAllocator *allocator)
{
  if(!message)
    return;
  assert(message->base.descriptor == &criu_render_node__descriptor);
  protobuf_c_message_free_unpacked ((ProtobufCMessage*)message, allocator);
}
static const ProtobufCFieldDescriptor dev_iolink__field_descriptors[2] =
{
  {
    "type",
    1,
    PROTOBUF_C_LABEL_REQUIRED,
    PROTOBUF_C_TYPE_UINT32,
    0,   /* quantifier_offset */
    offsetof(DevIolink, type),
    NULL,
    NULL,
    0,             /* flags */
    0,NULL,NULL    /* reserved1,reserved2, etc */
  },
  {
    "node_to_id",
    2,
    PROTOBUF_C_LABEL_REQUIRED,
    PROTOBUF_C_TYPE_UINT32,
    0,   /* quantifier_offset */
    offsetof(DevIolink, node_to_id),
    NULL,
    NULL,
    0,             /* flags */
    0,NULL,NULL    /* reserved1,reserved2, etc */
  },
};
static const unsigned dev_iolink__field_indices_by_name[] = {
  1,   /* field[1] = node_to_id */
  0,   /* field[0] = type */
};
static const ProtobufCIntRange dev_iolink__number_ranges[1 + 1] =
{
  { 1, 0 },
  { 0, 2 }
};
const ProtobufCMessageDescriptor dev_iolink__descriptor =
{
  PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC,
  "dev_iolink",
  "DevIolink",
  "DevIolink",
  "",
  sizeof(DevIolink),
  2,
  dev_iolink__field_descriptors,
  dev_iolink__field_indices_by_name,
  1,  dev_iolink__number_ranges,
  (ProtobufCMessageInit) dev_iolink__init,
  NULL,NULL,NULL    /* reserved[123] */
};
static const ProtobufCFieldDescriptor kfd_device_entry__field_descriptors[32] =
{
  {
    "node_id",
    1,
    PROTOBUF_C_LABEL_REQUIRED,
    PROTOBUF_C_TYPE_UINT32,
    0,   /* quantifier_offset */
    offsetof(KfdDeviceEntry, node_id),
    NULL,
    NULL,
    0,             /* flags */
    0,NULL,NULL    /* reserved1,reserved2, etc */
  },
  {
    "gpu_id",
    2,
    PROTOBUF_C_LABEL_REQUIRED,
    PROTOBUF_C_TYPE_UINT32,
    0,   /* quantifier_offset */
    offsetof(KfdDeviceEntry, gpu_id),
    NULL,
    NULL,
    0,             /* flags */
    0,NULL,NULL    /* reserved1,reserved2, etc */
  },
  {
    "cpu_cores_count",
    3,
    PROTOBUF_C_LABEL_REQUIRED,
    PROTOBUF_C_TYPE_UINT32,
    0,   /* quantifier_offset */
    offsetof(KfdDeviceEntry, cpu_cores_count),
    NULL,
    NULL,
    0,             /* flags */
    0,NULL,NULL    /* reserved1,reserved2, etc */
  },
  {
    "simd_count",
    4,
    PROTOBUF_C_LABEL_REQUIRED,
    PROTOBUF_C_TYPE_UINT32,
    0,   /* quantifier_offset */
    offsetof(KfdDeviceEntry, simd_count),
    NULL,
    NULL,
    0,             /* flags */
    0,NULL,NULL    /* reserved1,reserved2, etc */
  },
  {
    "mem_banks_count",
    5,
    PROTOBUF_C_LABEL_REQUIRED,
    PROTOBUF_C_TYPE_UINT32,
    0,   /* quantifier_offset */
    offsetof(KfdDeviceEntry, mem_banks_count),
    NULL,
    NULL,
    0,             /* flags */
    0,NULL,NULL    /* reserved1,reserved2, etc */
  },
  {
    "caches_count",
    6,
    PROTOBUF_C_LABEL_REQUIRED,
    PROTOBUF_C_TYPE_UINT32,
    0,   /* quantifier_offset */
    offsetof(KfdDeviceEntry, caches_count),
    NULL,
    NULL,
    0,             /* flags */
    0,NULL,NULL    /* reserved1,reserved2, etc */
  },
  {
    "io_links_count",
    7,
    PROTOBUF_C_LABEL_REQUIRED,
    PROTOBUF_C_TYPE_UINT32,
    0,   /* quantifier_offset */
    offsetof(KfdDeviceEntry, io_links_count),
    NULL,
    NULL,
    0,             /* flags */
    0,NULL,NULL    /* reserved1,reserved2, etc */
  },
  {
    "max_waves_per_simd",
    8,
    PROTOBUF_C_LABEL_REQUIRED,
    PROTOBUF_C_TYPE_UINT32,
    0,   /* quantifier_offset */
    offsetof(KfdDeviceEntry, max_waves_per_simd),
    NULL,
    NULL,
    0,             /* flags */
    0,NULL,NULL    /* reserved1,reserved2, etc */
  },
  {
    "lds_size_in_kb",
    9,
    PROTOBUF_C_LABEL_REQUIRED,
    PROTOBUF_C_TYPE_UINT32,
    0,   /* quantifier_offset */
    offsetof(KfdDeviceEntry, lds_size_in_kb),
    NULL,
    NULL,
    0,             /* flags */
    0,NULL,NULL    /* reserved1,reserved2, etc */
  },
  {
    "gds_size_in_kb",
    10,
    PROTOBUF_C_LABEL_REQUIRED,
    PROTOBUF_C_TYPE_UINT32,
    0,   /* quantifier_offset */
    offsetof(KfdDeviceEntry, gds_size_in_kb),
    NULL,
    NULL,
    0,             /* flags */
    0,NULL,NULL    /* reserved1,reserved2, etc */
  },
  {
    "num_gws",
    11,
    PROTOBUF_C_LABEL_REQUIRED,
    PROTOBUF_C_TYPE_UINT32,
    0,   /* quantifier_offset */
    offsetof(KfdDeviceEntry, num_gws),
    NULL,
    NULL,
    0,             /* flags */
    0,NULL,NULL    /* reserved1,reserved2, etc */
  },
  {
    "wave_front_size",
    12,
    PROTOBUF_C_LABEL_REQUIRED,
    PROTOBUF_C_TYPE_UINT32,
    0,   /* quantifier_offset */
    offsetof(KfdDeviceEntry, wave_front_size),
    NULL,
    NULL,
    0,             /* flags */
    0,NULL,NULL    /* reserved1,reserved2, etc */
  },
  {
    "array_count",
    13,
    PROTOBUF_C_LABEL_REQUIRED,
    PROTOBUF_C_TYPE_UINT32,
    0,   /* quantifier_offset */
    offsetof(KfdDeviceEntry, array_count),
    NULL,
    NULL,
    0,             /* flags */
    0,NULL,NULL    /* reserved1,reserved2, etc */
  },
  {
    "simd_arrays_per_engine",
    14,
    PROTOBUF_C_LABEL_REQUIRED,
    PROTOBUF_C_TYPE_UINT32,
    0,   /* quantifier_offset */
    offsetof(KfdDeviceEntry, simd_arrays_per_engine),
    NULL,
    NULL,
    0,             /* flags */
    0,NULL,NULL    /* reserved1,reserved2, etc */
  },
  {
    "cu_per_simd_array",
    15,
    PROTOBUF_C_LABEL_REQUIRED,
    PROTOBUF_C_TYPE_UINT32,
    0,   /* quantifier_offset */
    offsetof(KfdDeviceEntry, cu_per_simd_array),
    NULL,
    NULL,
    0,             /* flags */
    0,NULL,NULL    /* reserved1,reserved2, etc */
  },
  {
    "simd_per_cu",
    16,
    PROTOBUF_C_LABEL_REQUIRED,
    PROTOBUF_C_TYPE_UINT32,
    0,   /* quantifier_offset */
    offsetof(KfdDeviceEntry, simd_per_cu),
    NULL,
    NULL,
    0,             /* flags */
    0,NULL,NULL    /* reserved1,reserved2, etc */
  },
  {
    "max_slots_scratch_cu",
    17,
    PROTOBUF_C_LABEL_REQUIRED,
    PROTOBUF_C_TYPE_UINT32,
    0,   /* quantifier_offset */
    offsetof(KfdDeviceEntry, max_slots_scratch_cu),
    NULL,
    NULL,
    0,             /* flags */
    0,NULL,NULL    /* reserved1,reserved2, etc */
  },
  {
    "vendor_id",
    18,
    PROTOBUF_C_LABEL_REQUIRED,
    PROTOBUF_C_TYPE_UINT32,
    0,   /* quantifier_offset */
    offsetof(KfdDeviceEntry, vendor_id),
    NULL,
    NULL,
    0,             /* flags */
    0,NULL,NULL    /* reserved1,reserved2, etc */
  },
  {
    "device_id",
    19,
    PROTOBUF_C_LABEL_REQUIRED,
    PROTOBUF_C_TYPE_UINT32,
    0,   /* quantifier_offset */
    offsetof(KfdDeviceEntry, device_id),
    NULL,
    NULL,
    0,             /* flags */
    0,NULL,NULL    /* reserved1,reserved2, etc */
  },
  {
    "domain",
    20,
    PROTOBUF_C_LABEL_REQUIRED,
    PROTOBUF_C_TYPE_UINT32,
    0,   /* quantifier_offset */
    offsetof(KfdDeviceEntry, domain),
    NULL,
    NULL,
    0,             /* flags */
    0,NULL,NULL    /* reserved1,reserved2, etc */
  },
  {
    "drm_render_minor",
    21,
    PROTOBUF_C_LABEL_REQUIRED,
    PROTOBUF_C_TYPE_UINT32,
    0,   /* quantifier_offset */
    offsetof(KfdDeviceEntry, drm_render_minor),
    NULL,
    NULL,
    0,             /* flags */
    0,NULL,NULL    /* reserved1,reserved2, etc */
  },
  {
    "hive_id",
    22,
    PROTOBUF_C_LABEL_REQUIRED,
    PROTOBUF_C_TYPE_UINT64,
    0,   /* quantifier_offset */
    offsetof(KfdDeviceEntry, hive_id),
    NULL,
    NULL,
    0,             /* flags */
    0,NULL,NULL    /* reserved1,reserved2, etc */
  },
  {
    "num_sdma_engines",
    23,
    PROTOBUF_C_LABEL_REQUIRED,
    PROTOBUF_C_TYPE_UINT32,
    0,   /* quantifier_offset */
    offsetof(KfdDeviceEntry, num_sdma_engines),
    NULL,
    NULL,
    0,             /* flags */
    0,NULL,NULL    /* reserved1,reserved2, etc */
  },
  {
    "num_sdma_xgmi_engines",
    24,
    PROTOBUF_C_LABEL_REQUIRED,
    PROTOBUF_C_TYPE_UINT32,
    0,   /* quantifier_offset */
    offsetof(KfdDeviceEntry, num_sdma_xgmi_engines),
    NULL,
    NULL,
    0,             /* flags */
    0,NULL,NULL    /* reserved1,reserved2, etc */
  },
  {
    "num_sdma_queues_per_engine",
    25,
    PROTOBUF_C_LABEL_REQUIRED,
    PROTOBUF_C_TYPE_UINT32,
    0,   /* quantifier_offset */
    offsetof(KfdDeviceEntry, num_sdma_queues_per_engine),
    NULL,
    NULL,
    0,             /* flags */
    0,NULL,NULL    /* reserved1,reserved2, etc */
  },
  {
    "num_cp_queues",
    26,
    PROTOBUF_C_LABEL_REQUIRED,
    PROTOBUF_C_TYPE_UINT32,
    0,   /* quantifier_offset */
    offsetof(KfdDeviceEntry, num_cp_queues),
    NULL,
    NULL,
    0,             /* flags */
    0,NULL,NULL    /* reserved1,reserved2, etc */
  },
  {
    "fw_version",
    27,
    PROTOBUF_C_LABEL_REQUIRED,
    PROTOBUF_C_TYPE_UINT32,
    0,   /* quantifier_offset */
    offsetof(KfdDeviceEntry, fw_version),
    NULL,
    NULL,
    0,             /* flags */
    0,NULL,NULL    /* reserved1,reserved2, etc */
  },
  {
    "capability",
    28,
    PROTOBUF_C_LABEL_REQUIRED,
    PROTOBUF_C_TYPE_UINT32,
    0,   /* quantifier_offset */
    offsetof(KfdDeviceEntry, capability),
    NULL,
    NULL,
    0,             /* flags */
    0,NULL,NULL    /* reserved1,reserved2, etc */
  },
  {
    "sdma_fw_version",
    29,
    PROTOBUF_C_LABEL_REQUIRED,
    PROTOBUF_C_TYPE_UINT32,
    0,   /* quantifier_offset */
    offsetof(KfdDeviceEntry, sdma_fw_version),
    NULL,
    NULL,
    0,             /* flags */
    0,NULL,NULL    /* reserved1,reserved2, etc */
  },
  {
    "vram_public",
    30,
    PROTOBUF_C_LABEL_REQUIRED,
    PROTOBUF_C_TYPE_UINT32,
    0,   /* quantifier_offset */
    offsetof(KfdDeviceEntry, vram_public),
    NULL,
    NULL,
    0,             /* flags */
    0,NULL,NULL    /* reserved1,reserved2, etc */
  },
  {
    "vram_size",
    31,
    PROTOBUF_C_LABEL_REQUIRED,
    PROTOBUF_C_TYPE_UINT64,
    0,   /* quantifier_offset */
    offsetof(KfdDeviceEntry, vram_size),
    NULL,
    NULL,
    0,             /* flags */
    0,NULL,NULL    /* reserved1,reserved2, etc */
  },
  {
    "iolinks",
    32,
    PROTOBUF_C_LABEL_REPEATED,
    PROTOBUF_C_TYPE_MESSAGE,
    offsetof(KfdDeviceEntry, n_iolinks),
    offsetof(KfdDeviceEntry, iolinks),
    &dev_iolink__descriptor,
    NULL,
    0,             /* flags */
    0,NULL,NULL    /* reserved1,reserved2, etc */
  },
};
static const unsigned kfd_device_entry__field_indices_by_name[] = {
  12,   /* field[12] = array_count */
  5,   /* field[5] = caches_count */
  27,   /* field[27] = capability */
  2,   /* field[2] = cpu_cores_count */
  14,   /* field[14] = cu_per_simd_array */
  18,   /* field[18] = device_id */
  19,   /* field[19] = domain */
  20,   /* field[20] = drm_render_minor */
  26,   /* field[26] = fw_version */
  9,   /* field[9] = gds_size_in_kb */
  1,   /* field[1] = gpu_id */
  21,   /* field[21] = hive_id */
  6,   /* field[6] = io_links_count */
  31,   /* field[31] = iolinks */
  8,   /* field[8] = lds_size_in_kb */
  16,   /* field[16] = max_slots_scratch_cu */
  7,   /* field[7] = max_waves_per_simd */
  4,   /* field[4] = mem_banks_count */
  0,   /* field[0] = node_id */
  25,   /* field[25] = num_cp_queues */
  10,   /* field[10] = num_gws */
  22,   /* field[22] = num_sdma_engines */
  24,   /* field[24] = num_sdma_queues_per_engine */
  23,   /* field[23] = num_sdma_xgmi_engines */
  28,   /* field[28] = sdma_fw_version */
  13,   /* field[13] = simd_arrays_per_engine */
  3,   /* field[3] = simd_count */
  15,   /* field[15] = simd_per_cu */
  17,   /* field[17] = vendor_id */
  29,   /* field[29] = vram_public */
  30,   /* field[30] = vram_size */
  11,   /* field[11] = wave_front_size */
};
static const ProtobufCIntRange kfd_device_entry__number_ranges[1 + 1] =
{
  { 1, 0 },
  { 0, 32 }
};
const ProtobufCMessageDescriptor kfd_device_entry__descriptor =
{
  PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC,
  "kfd_device_entry",
  "KfdDeviceEntry",
  "KfdDeviceEntry",
  "",
  sizeof(KfdDeviceEntry),
  32,
  kfd_device_entry__field_descriptors,
  kfd_device_entry__field_indices_by_name,
  1,  kfd_device_entry__number_ranges,
  (ProtobufCMessageInit) kfd_device_entry__init,
  NULL,NULL,NULL    /* reserved[123] */
};
static const ProtobufCFieldDescriptor kfd_bo_entry__field_descriptors[5] =
{
  {
    "addr",
    1,
    PROTOBUF_C_LABEL_REQUIRED,
    PROTOBUF_C_TYPE_UINT64,
    0,   /* quantifier_offset */
    offsetof(KfdBoEntry, addr),
    NULL,
    NULL,
    0,             /* flags */
    0,NULL,NULL    /* reserved1,reserved2, etc */
  },
  {
    "size",
    2,
    PROTOBUF_C_LABEL_REQUIRED,
    PROTOBUF_C_TYPE_UINT64,
    0,   /* quantifier_offset */
    offsetof(KfdBoEntry, size),
    NULL,
    NULL,
    0,             /* flags */
    0,NULL,NULL    /* reserved1,reserved2, etc */
  },
  {
    "offset",
    3,
    PROTOBUF_C_LABEL_REQUIRED,
    PROTOBUF_C_TYPE_UINT64,
    0,   /* quantifier_offset */
    offsetof(KfdBoEntry, offset),
    NULL,
    NULL,
    0,             /* flags */
    0,NULL,NULL    /* reserved1,reserved2, etc */
  },
  {
    "alloc_flags",
    4,
    PROTOBUF_C_LABEL_REQUIRED,
    PROTOBUF_C_TYPE_UINT32,
    0,   /* quantifier_offset */
    offsetof(KfdBoEntry, alloc_flags),
    NULL,
    NULL,
    0,             /* flags */
    0,NULL,NULL    /* reserved1,reserved2, etc */
  },
  {
    "gpu_id",
    5,
    PROTOBUF_C_LABEL_REQUIRED,
    PROTOBUF_C_TYPE_UINT32,
    0,   /* quantifier_offset */
    offsetof(KfdBoEntry, gpu_id),
    NULL,
    NULL,
    0,             /* flags */
    0,NULL,NULL    /* reserved1,reserved2, etc */
  },
};
static const unsigned kfd_bo_entry__field_indices_by_name[] = {
  0,   /* field[0] = addr */
  3,   /* field[3] = alloc_flags */
  4,   /* field[4] = gpu_id */
  2,   /* field[2] = offset */
  1,   /* field[1] = size */
};
static const ProtobufCIntRange kfd_bo_entry__number_ranges[1 + 1] =
{
  { 1, 0 },
  { 0, 5 }
};
const ProtobufCMessageDescriptor kfd_bo_entry__descriptor =
{
  PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC,
  "kfd_bo_entry",
  "KfdBoEntry",
  "KfdBoEntry",
  "",
  sizeof(KfdBoEntry),
  5,
  kfd_bo_entry__field_descriptors,
  kfd_bo_entry__field_indices_by_name,
  1,  kfd_bo_entry__number_ranges,
  (ProtobufCMessageInit) kfd_bo_entry__init,
  NULL,NULL,NULL    /* reserved[123] */
};
static const ProtobufCFieldDescriptor criu_kfd__field_descriptors[10] =
{
  {
    "pid",
    1,
    PROTOBUF_C_LABEL_REQUIRED,
    PROTOBUF_C_TYPE_UINT32,
    0,   /* quantifier_offset */
    offsetof(CriuKfd, pid),
    NULL,
    NULL,
    0,             /* flags */
    0,NULL,NULL    /* reserved1,reserved2, etc */
  },
  {
    "num_of_gpus",
    2,
    PROTOBUF_C_LABEL_REQUIRED,
    PROTOBUF_C_TYPE_UINT32,
    0,   /* quantifier_offset */
    offsetof(CriuKfd, num_of_gpus),
    NULL,
    NULL,
    0,             /* flags */
    0,NULL,NULL    /* reserved1,reserved2, etc */
  },
  {
    "num_of_cpus",
    3,
    PROTOBUF_C_LABEL_REQUIRED,
    PROTOBUF_C_TYPE_UINT32,
    0,   /* quantifier_offset */
    offsetof(CriuKfd, num_of_cpus),
    NULL,
    NULL,
    0,             /* flags */
    0,NULL,NULL    /* reserved1,reserved2, etc */
  },
  {
    "device_entries",
    4,
    PROTOBUF_C_LABEL_REPEATED,
    PROTOBUF_C_TYPE_MESSAGE,
    offsetof(CriuKfd, n_device_entries),
    offsetof(CriuKfd, device_entries),
    &kfd_device_entry__descriptor,
    NULL,
    0,             /* flags */
    0,NULL,NULL    /* reserved1,reserved2, etc */
  },
  {
    "num_of_bos",
    5,
    PROTOBUF_C_LABEL_REQUIRED,
    PROTOBUF_C_TYPE_UINT64,
    0,   /* quantifier_offset */
    offsetof(CriuKfd, num_of_bos),
    NULL,
    NULL,
    0,             /* flags */
    0,NULL,NULL    /* reserved1,reserved2, etc */
  },
  {
    "bo_entries",
    6,
    PROTOBUF_C_LABEL_REPEATED,
    PROTOBUF_C_TYPE_MESSAGE,
    offsetof(CriuKfd, n_bo_entries),
    offsetof(CriuKfd, bo_entries),
    &kfd_bo_entry__descriptor,
    NULL,
    0,             /* flags */
    0,NULL,NULL    /* reserved1,reserved2, etc */
  },
  {
    "num_of_objects",
    7,
    PROTOBUF_C_LABEL_REQUIRED,
    PROTOBUF_C_TYPE_UINT32,
    0,   /* quantifier_offset */
    offsetof(CriuKfd, num_of_objects),
    NULL,
    NULL,
    0,             /* flags */
    0,NULL,NULL    /* reserved1,reserved2, etc */
  },
  {
    "shared_mem_size",
    8,
    PROTOBUF_C_LABEL_REQUIRED,
    PROTOBUF_C_TYPE_UINT64,
    0,   /* quantifier_offset */
    offsetof(CriuKfd, shared_mem_size),
    NULL,
    NULL,
    0,             /* flags */
    0,NULL,NULL    /* reserved1,reserved2, etc */
  },
  {
    "shared_mem_magic",
    9,
    PROTOBUF_C_LABEL_REQUIRED,
    PROTOBUF_C_TYPE_UINT32,
    0,   /* quantifier_offset */
    offsetof(CriuKfd, shared_mem_magic),
    NULL,
    NULL,
    0,             /* flags */
    0,NULL,NULL    /* reserved1,reserved2, etc */
  },
  {
    "priv_data",
    10,
    PROTOBUF_C_LABEL_REQUIRED,
    PROTOBUF_C_TYPE_BYTES,
    0,   /* quantifier_offset */
    offsetof(CriuKfd, priv_data),
    NULL,
    NULL,
    0,             /* flags */
    0,NULL,NULL    /* reserved1,reserved2, etc */
  },
};
static const unsigned criu_kfd__field_indices_by_name[] = {
  5,   /* field[5] = bo_entries */
  3,   /* field[3] = device_entries */
  4,   /* field[4] = num_of_bos */
  2,   /* field[2] = num_of_cpus */
  1,   /* field[1] = num_of_gpus */
  6,   /* field[6] = num_of_objects */
  0,   /* field[0] = pid */
  9,   /* field[9] = priv_data */
  8,   /* field[8] = shared_mem_magic */
  7,   /* field[7] = shared_mem_size */
};
static const ProtobufCIntRange criu_kfd__number_ranges[1 + 1] =
{
  { 1, 0 },
  { 0, 10 }
};
const ProtobufCMessageDescriptor criu_kfd__descriptor =
{
  PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC,
  "criu_kfd",
  "CriuKfd",
  "CriuKfd",
  "",
  sizeof(CriuKfd),
  10,
  criu_kfd__field_descriptors,
  criu_kfd__field_indices_by_name,
  1,  criu_kfd__number_ranges,
  (ProtobufCMessageInit) criu_kfd__init,
  NULL,NULL,NULL    /* reserved[123] */
};
static const ProtobufCFieldDescriptor criu_render_node__field_descriptors[1] =
{
  {
    "gpu_id",
    1,
    PROTOBUF_C_LABEL_REQUIRED,
    PROTOBUF_C_TYPE_UINT32,
    0,   /* quantifier_offset */
    offsetof(CriuRenderNode, gpu_id),
    NULL,
    NULL,
    0,             /* flags */
    0,NULL,NULL    /* reserved1,reserved2, etc */
  },
};
static const unsigned criu_render_node__field_indices_by_name[] = {
  0,   /* field[0] = gpu_id */
};
static const ProtobufCIntRange criu_render_node__number_ranges[1 + 1] =
{
  { 1, 0 },
  { 0, 1 }
};
const ProtobufCMessageDescriptor criu_render_node__descriptor =
{
  PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC,
  "criu_render_node",
  "CriuRenderNode",
  "CriuRenderNode",
  "",
  sizeof(CriuRenderNode),
  1,
  criu_render_node__field_descriptors,
  criu_render_node__field_indices_by_name,
  1,  criu_render_node__number_ranges,
  (ProtobufCMessageInit) criu_render_node__init,
  NULL,NULL,NULL    /* reserved[123] */
};
