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

Function get_offset_next_file

src/phbf.c:109–122  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

107}
108
109static uint64_t get_offset_next_file(const struct td_list_head *search_walker, const alloc_data_t *list_search_space)
110{
111 const struct td_list_head *tmp_walker;
112 for(tmp_walker=search_walker->next;
113 tmp_walker!=&list_search_space->list;
114 tmp_walker=tmp_walker->next)
115 {
116 const alloc_data_t *tmp;
117 tmp=td_list_entry_const(tmp_walker, const alloc_data_t, list);
118 if(tmp->file_stat!=NULL && tmp->file_stat->file_hint!=NULL)
119 return tmp->start;
120 }
121 return 0;
122}
123
124pstatus_t photorec_bf(struct ph_param *params, const struct ph_options *options, alloc_data_t *list_search_space)
125{

Callers 1

photorec_bfFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected