sys_dlist_range_prepend

Function sys_dlist_range_prepend 

Source
pub unsafe extern "C" fn sys_dlist_range_prepend(
    dest: *mut _dnode,
    start: *mut _dnode,
    last: *mut _dnode,
)
Expand description

@brief Move a range of nodes to the head of the specified list

This routine moves a range of nodes from their current list to the head of the list @a dest. The range of nodes is defined by the pointers @a start and @a last, which point to the first and last nodes in the range, respectively.

This and other sys_dlist_*() functions are not thread safe.

@param dest the list into which the range of nodes will be moved @param start the first node in the range to be moved @param last the last node in the range to be moved