X-Git-Url: https://git.sesse.net/?a=blobdiff_plain;f=include%2Flinux%2Ftypes.h;h=6ae97c421c3b870b6f6e48bf77b0a6ee68ae2ac8;hb=f3f005c76eb5636542a8f5b137bd1904d57e8f86;hp=ce454e2661e9f70a1a5e53135f762751d454ab71;hpb=1ef396b684a419b5a50ab215103486d189068800;p=bcachefs-tools-debian diff --git a/include/linux/types.h b/include/linux/types.h index ce454e2..6ae97c4 100644 --- a/include/linux/types.h +++ b/include/linux/types.h @@ -8,6 +8,7 @@ #include #include #include +#include #define __SANE_USERSPACE_TYPES__ /* For PPC64, to get LL64 types */ #include @@ -77,6 +78,10 @@ typedef __u64 __bitwise __be64; typedef u64 sector_t; +typedef void (*swap_r_func_t)(void *a, void *b, int size, const void *priv); +typedef void (*swap_func_t)(void *a, void *b, int size); + +typedef int (*cmp_r_func_t)(const void *a, const void *b, const void *priv); typedef int (*cmp_func_t)(const void *a, const void *b); typedef unsigned int __bitwise slab_flags_t;