Go to the source code of this file.
#define offsetofend |
( |
|
TYPE, |
|
|
|
MEMBER |
|
) |
| |
Value:({ \
offsetof(
TYPE, MEMBER) +
sizeof(tmp.MEMBER); }) \
offsetofend(TYPE, MEMBER)
: The type of the structure : The member within the structure to get the end offset of
Simple helper macro for dealing with variable sized structures passed from user space. This allows us to easily determine if the provided structure is sized to include various fields.
Definition at line 86 of file vfio.h.
VFIO driver API
Definition at line 597 of file vfio.c.
IOMMU driver registration
Definition at line 91 of file vfio.c.