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

Function td_list_move_tail

src/list.h:285–290  ·  view source on GitHub ↗

* td_list_move_tail - delete from one list and add as another's tail * @list: the entry to move * @head: the head that will follow our entry */

Source from the content-addressed store, hash-verified

283 * @head: the head that will follow our entry
284 */
285static inline void td_list_move_tail(struct td_list_head *list,
286 struct td_list_head *head)
287{
288 __td_list_del(list->prev, list->next);
289 td_list_add_tail(list, head);
290}
291#endif
292
293/**

Callers

nothing calls this directly

Calls 2

__td_list_delFunction · 0.85
td_list_add_tailFunction · 0.85

Tested by

no test coverage detected