XenevaOS
Loading...
Searching...
No Matches
list_sort.h
Go to the documentation of this file.
1/* SPDX-License-Identifier: GPL-2.0 */
2#ifndef _LINUX_LIST_SORT_H
3#define _LINUX_LIST_SORT_H
4
5#include <linux/types.h>
6
7struct list_head;
8
9typedef int __attribute__((nonnull(2,3))) (*list_cmp_func_t)(void *,
10 const struct list_head *, const struct list_head *);
11
12__attribute__((nonnull(2,3)))
13void list_sort(void *priv, struct list_head *head, list_cmp_func_t cmp);
14#endif
int const struct list_head const struct list_head struct list_head list_cmp_func_t cmp
Definition list_sort.h:13
int __attribute__((nonnull(2, 3)))(*list_cmp_func_t)(void *
Definition list_sort.h:9
int const struct list_head const struct list_head struct list_head * head
Definition list_sort.h:13
Definition list.h:11