Changeset View
Changeset View
Standalone View
Standalone View
head/sys/compat/linuxkpi/common/include/linux/types.h
Show First 20 Lines • Show All 59 Lines • ▼ Show 20 Lines | |||||
typedef uint16_t __bitwise__ __sum16; | typedef uint16_t __bitwise__ __sum16; | ||||
typedef unsigned long pgoff_t; | typedef unsigned long pgoff_t; | ||||
typedef u64 phys_addr_t; | typedef u64 phys_addr_t; | ||||
#define DECLARE_BITMAP(n, bits) \ | #define DECLARE_BITMAP(n, bits) \ | ||||
unsigned long n[howmany(bits, sizeof(long) * 8)] | unsigned long n[howmany(bits, sizeof(long) * 8)] | ||||
typedef unsigned long irq_hw_number_t; | |||||
struct rcu_head { | struct rcu_head { | ||||
void *raw[2]; | void *raw[2]; | ||||
} __aligned(sizeof(void *)); | } __aligned(sizeof(void *)); | ||||
typedef void (*rcu_callback_t)(struct rcu_head *head); | typedef void (*rcu_callback_t)(struct rcu_head *head); | ||||
typedef void (*call_rcu_func_t)(struct rcu_head *head, rcu_callback_t func); | typedef void (*call_rcu_func_t)(struct rcu_head *head, rcu_callback_t func); | ||||
typedef int linux_task_fn_t(void *data); | typedef int linux_task_fn_t(void *data); | ||||
#endif /* _LINUX_TYPES_H_ */ | #endif /* _LINUX_TYPES_H_ */ |