#ifndef _LINUX_KDEV_T_H
#define _LINUX_KDEV_T_H
#include <uapi/linux/kdev_t.h>
#define MINORBITS …
#define MINORMASK …
#define MAJOR(dev) …
#define MINOR(dev) …
#define MKDEV(ma,mi) …
#define print_dev_t(buffer, dev) …
#define format_dev_t(buffer, dev) …
static __always_inline bool old_valid_dev(dev_t dev)
{ … }
static __always_inline u16 old_encode_dev(dev_t dev)
{ … }
static __always_inline dev_t old_decode_dev(u16 val)
{ … }
static __always_inline u32 new_encode_dev(dev_t dev)
{ … }
static __always_inline dev_t new_decode_dev(u32 dev)
{ … }
static __always_inline u64 huge_encode_dev(dev_t dev)
{ … }
static __always_inline dev_t huge_decode_dev(u64 dev)
{ … }
static __always_inline int sysv_valid_dev(dev_t dev)
{ … }
static __always_inline u32 sysv_encode_dev(dev_t dev)
{ … }
static __always_inline unsigned sysv_major(u32 dev)
{ … }
static __always_inline unsigned sysv_minor(u32 dev)
{ … }
#endif