cudbg_entity_hdr
sizeof(struct cudbg_entity_hdr));
entity_hdr = (struct cudbg_entity_hdr *)((char *)sec_hdr +
data_hdr_size = CUDBG_MAX_ENTITY * sizeof(struct cudbg_entity_hdr) +
cur_entity_size += sizeof(struct cudbg_entity_hdr);
data_header_size = CUDBG_MAX_ENTITY * sizeof(struct cudbg_entity_hdr) +
data_hdr_size = CUDBG_MAX_ENTITY * sizeof(struct cudbg_entity_hdr) +
struct cudbg_entity_hdr *entity_hdr;
data_hdr_size = CUDBG_MAX_ENTITY * sizeof(struct cudbg_entity_hdr) +
sizeof(struct cudbg_entity_hdr)) {
*entity_hdr = (struct cudbg_entity_hdr *)
ext_offset += sizeof(struct cudbg_entity_hdr) +
sizeof(struct cudbg_entity_hdr);
sizeof(struct cudbg_entity_hdr)) {
ext_offset -= sizeof(struct cudbg_entity_hdr) +
*entity_hdr = (struct cudbg_entity_hdr *)
data_hdr_size = CUDBG_MAX_ENTITY * sizeof(struct cudbg_entity_hdr) +
(sizeof(struct cudbg_entity_hdr) *
struct cudbg_entity_hdr *entity_hdr = NULL;
struct cudbg_entity_hdr *ext_entity_hdr = NULL;
if (sizeof(struct cudbg_entity_hdr) * CUDBG_MAX_ENTITY >
ext_entity_hdr = (struct cudbg_entity_hdr *)
(sizeof(struct cudbg_entity_hdr) *
sizeof(struct cudbg_entity_hdr);
sizeof(struct cudbg_entity_hdr);
ext_size += (sizeof(struct cudbg_entity_hdr) +
sizeof(struct cudbg_entity_hdr);
ext_size += (sizeof(struct cudbg_entity_hdr) +
struct cudbg_entity_hdr *entity_hdr)
struct cudbg_entity_hdr **entity_hdr)
if (cudbg_hdr->hdr_len + (sizeof(struct cudbg_entity_hdr)*i) > size)
*entity_hdr = (struct cudbg_entity_hdr *)
(sizeof(struct cudbg_entity_hdr)*(i-1)));
struct cudbg_entity_hdr **entity_hdr)
int get_entity_hdr(void *outbuf, int i, u32 size, struct cudbg_entity_hdr **);