Searched refs:ring_head (Results 1 – 1 of 1) sorted by relevance
418 uint32_t ring_head = UINT32_MAX, ring_tail = UINT32_MAX; in read_data_file() local535 sscanf(line, " HEAD: 0x%08x [0x%08X]\n", ®, &ring_head); in read_data_file()631 if (ring_head == UINT32_MAX) { in read_data_file()632 ring_head = 0; in read_data_file()636 ring_tail = (ring_head - sizeof(uint32_t)) % in read_data_file()638 if (ring_head > ring_tail) { in read_data_file()640 ring_head + ring_tail; in read_data_file()643 memcpy(new_data, (uint8_t *)sections[s].data + ring_head, size1); in read_data_file()647 ring_head = 0; in read_data_file()651 sections[s].data_offset = ring_head; in read_data_file()[all …]