Lines Matching refs:record_number
105 unsigned int record_number; in probe_chapter_slots() local
109 record_number = open_chapter->slots[slot].record_number; in probe_chapter_slots()
115 if (record_number == 0) in probe_chapter_slots()
122 record = &open_chapter->records[record_number]; in probe_chapter_slots()
124 !open_chapter->slots[record_number].deleted) in probe_chapter_slots()
140 unsigned int record_number; in uds_search_open_chapter() local
143 record_number = open_chapter->slots[slot].record_number; in uds_search_open_chapter()
144 if (record_number == 0) { in uds_search_open_chapter()
148 *metadata = open_chapter->records[record_number].data; in uds_search_open_chapter()
158 unsigned int record_number; in uds_put_open_chapter() local
165 record_number = open_chapter->slots[slot].record_number; in uds_put_open_chapter()
167 if (record_number == 0) { in uds_put_open_chapter()
168 record_number = ++open_chapter->size; in uds_put_open_chapter()
169 open_chapter->slots[slot].record_number = record_number; in uds_put_open_chapter()
172 record = &open_chapter->records[record_number]; in uds_put_open_chapter()
183 unsigned int record_number; in uds_remove_from_open_chapter() local
186 record_number = open_chapter->slots[slot].record_number; in uds_remove_from_open_chapter()
188 if (record_number > 0) { in uds_remove_from_open_chapter()
189 open_chapter->slots[record_number].deleted = true; in uds_remove_from_open_chapter()