Lines Matching refs:result

19 	int result;  in uds_make_open_chapter_index()  local
23 result = vdo_allocate(1, struct open_chapter_index, "open chapter index", &index); in uds_make_open_chapter_index()
24 if (result != VDO_SUCCESS) in uds_make_open_chapter_index()
25 return result; in uds_make_open_chapter_index()
34 result = uds_initialize_delta_index(&index->delta_index, 1, in uds_make_open_chapter_index()
39 if (result != UDS_SUCCESS) { in uds_make_open_chapter_index()
41 return result; in uds_make_open_chapter_index()
76 int result; in uds_put_open_chapter_index_record() local
86 result = VDO_ASSERT(page_number < record_pages, in uds_put_open_chapter_index_record()
89 if (result != VDO_SUCCESS) in uds_put_open_chapter_index_record()
94 result = uds_get_delta_index_entry(&chapter_index->delta_index, list_number, in uds_put_open_chapter_index_record()
96 if (result != UDS_SUCCESS) in uds_put_open_chapter_index_record()
97 return result; in uds_put_open_chapter_index_record()
100 result = VDO_ASSERT(!(found && entry.is_collision), in uds_put_open_chapter_index_record()
103 if (result != VDO_SUCCESS) in uds_put_open_chapter_index_record()
126 int result; in uds_pack_open_chapter_index_page() local
139 result = uds_pack_delta_index_page(delta_index, nonce, memory, in uds_pack_open_chapter_index_page()
143 if (result != UDS_SUCCESS) in uds_pack_open_chapter_index_page()
144 return result; in uds_pack_open_chapter_index_page()
181 result = uds_start_delta_index_search(delta_index, next_list, 0, in uds_pack_open_chapter_index_page()
183 if (result != UDS_SUCCESS) in uds_pack_open_chapter_index_page()
184 return result; in uds_pack_open_chapter_index_page()
186 result = uds_next_delta_index_entry(&entry); in uds_pack_open_chapter_index_page()
187 if (result != UDS_SUCCESS) in uds_pack_open_chapter_index_page()
188 return result; in uds_pack_open_chapter_index_page()
192 result = uds_remove_delta_index_entry(&entry); in uds_pack_open_chapter_index_page()
193 if (result != UDS_SUCCESS) in uds_pack_open_chapter_index_page()
194 return result; in uds_pack_open_chapter_index_page()
223 int result; in uds_validate_chapter_index_page() local
233 result = uds_start_delta_index_search(delta_index, list_number - first, in uds_validate_chapter_index_page()
235 if (result != UDS_SUCCESS) in uds_validate_chapter_index_page()
236 return result; in uds_validate_chapter_index_page()
239 result = uds_next_delta_index_entry(&entry); in uds_validate_chapter_index_page()
240 if (result != UDS_SUCCESS) { in uds_validate_chapter_index_page()
245 return result; in uds_validate_chapter_index_page()
275 int result; in uds_search_chapter_index_page() local
282 result = uds_get_delta_index_entry(delta_index, sub_list_number, address, in uds_search_chapter_index_page()
284 if (result != UDS_SUCCESS) in uds_search_chapter_index_page()
285 return result; in uds_search_chapter_index_page()