Lines Matching refs:entity_hdr
57 struct cudbg_entity_hdr *entity_hdr)
62 remain = (dbg_buff->offset - entity_hdr->start_offset) % 4;
68 entity_hdr->num_pad = padding;
71 entity_hdr->size = dbg_buff->offset - entity_hdr->start_offset;
97 struct cudbg_entity_hdr **entity_hdr)
110 *entity_hdr = (struct cudbg_entity_hdr *)
114 while ((*entity_hdr)->size) {
117 (*entity_hdr)->size;
119 *ext_size += (*entity_hdr)->size +
128 if (ext_offset != (*entity_hdr)->next_ext_offset) {
130 (*entity_hdr)->size;
134 (*entity_hdr)->next_ext_offset = *ext_size;
136 *entity_hdr = (struct cudbg_entity_hdr *)
205 struct cudbg_entity_hdr *entity_hdr = NULL;
303 &entity_hdr);
309 &entity_hdr);
318 entity_hdr->entity_type = i;
319 entity_hdr->start_offset = dbg_buff.offset;
357 entity_hdr->size = 0;
358 dbg_buff.offset = entity_hdr->start_offset;
360 align_debug_buffer(&dbg_buff, entity_hdr);
365 entity_hdr->hdr_flags = rc;
366 entity_hdr->sys_err = cudbg_err.sys_err;
367 entity_hdr->sys_warn = cudbg_err.sys_warn;
373 total_size += entity_hdr->size;
383 entity_hdr->size);
384 entity_hdr->start_offset -= cudbg_hdr->data_len;
386 entity_hdr->next_ext_offset = ext_size;
387 entity_hdr->flag |= CUDBG_EXT_DATA_VALID;
396 entity_hdr->
404 entity_hdr->\
406 entity_hdr->size,
418 dbg_buff.size, &entity_hdr);
424 &entity_hdr);
447 entity_hdr->entity_type = large_entity_code;
448 entity_hdr->start_offset = dbg_buff.offset;
458 entity_hdr->size = 0;
459 dbg_buff.offset = entity_hdr->start_offset;
461 align_debug_buffer(&dbg_buff, entity_hdr);
466 entity_hdr->hdr_flags = rc;
467 entity_hdr->sys_err = cudbg_err.sys_err;
468 entity_hdr->sys_warn = cudbg_err.sys_warn;
474 total_size += entity_hdr->size;
484 entity_hdr->size);
485 entity_hdr->start_offset -=
488 entity_hdr->flag |= CUDBG_EXT_DATA_VALID;
497 entity_hdr->size,
503 entity_hdr->
505 entity_hdr->
556 struct cudbg_entity_hdr **entity_hdr)
564 *entity_hdr = (struct cudbg_entity_hdr *)