Home
last modified time | relevance | path

Searched refs:structname (Results 1 – 3 of 3) sorted by relevance

/kernel/linux/linux-5.10/include/linux/
Dvirtio_config.h325 #define __virtio_native_type(structname, member) \ argument
326 typeof(virtio_to_cpu(NULL, ((structname*)0)->member))
329 #define virtio_cread(vdev, structname, member, ptr) \ argument
331 typeof(((structname*)0)->member) virtio_cread_v; \
342 offsetof(structname, member), \
348 offsetof(structname, member), \
358 #define virtio_cwrite(vdev, structname, member, ptr) \ argument
360 typeof(((structname*)0)->member) virtio_cwrite_v = \
361 cpu_to_virtio(vdev, *(ptr), ((structname*)0)->member); \
367 vdev->config->set((vdev), offsetof(structname, member), \
[all …]
/kernel/linux/linux-5.10/fs/xfs/
Dxfs_ondisk.h9 #define XFS_CHECK_STRUCT_SIZE(structname, size) \ argument
10 BUILD_BUG_ON_MSG(sizeof(structname) != (size), "XFS: sizeof(" \
11 #structname ") is wrong, expected " #size)
13 #define XFS_CHECK_OFFSET(structname, member, off) \ argument
14 BUILD_BUG_ON_MSG(offsetof(structname, member) != (off), \
15 "XFS: offsetof(" #structname ", " #member ") is wrong, " \
/kernel/linux/linux-5.10/scripts/gcc-plugins/
Drandomize_layout_plugin.c261 const unsigned char *structname; in shuffle() local
268 structname = ORIG_TYPE_NAME(type); in shuffle()
271 fprintf(stderr, "Shuffling struct %s %p\n", (const char *)structname, type); in shuffle()
279 seed[i] ^= name_hash(structname); in shuffle()