Searched refs:cudbg_hdr (Results 1 – 5 of 5) sorted by relevance
106 struct cudbg_hdr *cudbg_hdr; in update_headers() local115 sizeof(struct cudbg_hdr); in update_headers()121 cudbg_hdr = (struct cudbg_hdr *)dbg_buff->data; in update_headers()145 flash_hdr->data_len = cudbg_hdr->data_len - sec_info->skip_size; in update_headers()154 cudbg_hdr = (struct cudbg_hdr *)((char *)sec_hdr + in update_headers()156 cudbg_hdr->data_len = flash_hdr->data_len; in update_headers()184 sizeof(struct cudbg_hdr); in cudbg_write_flash()323 sizeof(struct cudbg_hdr); in cudbg_read_flash_data()366 sizeof(struct cudbg_hdr); in cudbg_read_flash()
232 struct cudbg_hdr *cudbg_hdr; in compress_buff() local250 cudbg_hdr = (struct cudbg_hdr *) pout_buff->data; in compress_buff()259 if ((chunk_size > 62000) && (cudbg_hdr->reserved[7] < (u32) in compress_buff()261 cudbg_hdr->reserved[7] = (u32) chunk_size; in compress_buff()
177 struct cudbg_hdr *cudbg_hdr = (struct cudbg_hdr *)outbuf; in get_next_ext_entity_hdr() local179 u32 ext_offset = cudbg_hdr->data_len; in get_next_ext_entity_hdr()189 ((char *)outbuf + cudbg_hdr->data_len); in get_next_ext_entity_hdr()236 u32 cur_entity_hdr_offset = sizeof(struct cudbg_hdr); in wr_entity_to_flash()243 sizeof(struct cudbg_hdr); in wr_entity_to_flash()291 struct cudbg_hdr *cudbg_hdr; in cudbg_collect() local312 cudbg_hdr = (struct cudbg_hdr *)dbg_buff.data; in cudbg_collect()313 cudbg_hdr->signature = CUDBG_SIGNATURE; in cudbg_collect()314 cudbg_hdr->hdr_len = sizeof(struct cudbg_hdr); in cudbg_collect()315 cudbg_hdr->major_ver = CUDBG_MAJOR_VERSION; in cudbg_collect()[all …]
70 struct cudbg_hdr { struct
236 struct cudbg_hdr *cudbg_hdr; in validate_next_rec_offset() local241 cudbg_hdr = (struct cudbg_hdr *)((char *)pinbuf + next_rec_offset); in validate_next_rec_offset()242 if ((cudbg_hdr->signature != CUDBG_SIGNATURE) && in validate_next_rec_offset()243 (cudbg_hdr->signature != CUDBG_LEGACY_SIGNATURE)) in validate_next_rec_offset()312 cudbg_print_cudbg_header(struct cudbg_hdr *hdr) in cudbg_print_cudbg_header()364 struct cudbg_hdr *tmp_hdr; in cudbg_view()375 sizeof(struct cudbg_hdr))) { in cudbg_view()380 tmp_hdr = (struct cudbg_hdr *)pinbuf; in cudbg_view()