MCPcopy Create free account
hub / github.com/cgsecurity/testdisk / next_file

Function next_file

src/phbf.c:94–107  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

92}
93
94static struct td_list_head *next_file(struct td_list_head *search_walker, const alloc_data_t *list_search_space)
95{
96 struct td_list_head *tmp_walker;
97 for(tmp_walker=search_walker->next;
98 tmp_walker!=&list_search_space->list;
99 tmp_walker=tmp_walker->next)
100 {
101 const alloc_data_t *tmp;
102 tmp=td_list_entry_const(tmp_walker, const alloc_data_t, list);
103 if(tmp->file_stat!=NULL && tmp->file_stat->file_hint!=NULL)
104 return tmp_walker;
105 }
106 return search_walker;
107}
108
109static uint64_t get_offset_next_file(const struct td_list_head *search_walker, const alloc_data_t *list_search_space)
110{

Callers 1

photorec_bfFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected