Home
last modified time | relevance | path

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

/Linux-v5.10/include/linux/
Dvirtio_config.h324 #define __virtio_native_type(structname, member) \ argument
325 typeof(virtio_to_cpu(NULL, ((structname*)0)->member))
328 #define virtio_cread(vdev, structname, member, ptr) \ argument
330 typeof(((structname*)0)->member) virtio_cread_v; \
341 offsetof(structname, member), \
347 offsetof(structname, member), \
357 #define virtio_cwrite(vdev, structname, member, ptr) \ argument
359 typeof(((structname*)0)->member) virtio_cwrite_v = \
360 cpu_to_virtio(vdev, *(ptr), ((structname*)0)->member); \
366 vdev->config->set((vdev), offsetof(structname, member), \
[all …]
/Linux-v5.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, " \
/Linux-v5.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()