Home
last modified time | relevance | path

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

/linux-6.6.21/include/linux/
Dvirtio_config.h388 #define __virtio_native_type(structname, member) \ argument
389 typeof(virtio_to_cpu(NULL, ((structname*)0)->member))
392 #define virtio_cread(vdev, structname, member, ptr) \ argument
394 typeof(((structname*)0)->member) virtio_cread_v; \
405 offsetof(structname, member), \
411 offsetof(structname, member), \
421 #define virtio_cwrite(vdev, structname, member, ptr) \ argument
423 typeof(((structname*)0)->member) virtio_cwrite_v = \
424 cpu_to_virtio(vdev, *(ptr), ((structname*)0)->member); \
430 vdev->config->set((vdev), offsetof(structname, member), \
[all …]
/linux-6.6.21/scripts/
Dcheckdeclares.pl43 foreach my $structname (keys %declaredstructs) {
44 if ($declaredstructs{$structname} > 1) {
45 print "$file: struct $structname is declared more than once.\n";
/linux-6.6.21/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-6.6.21/scripts/gcc-plugins/
Drandomize_layout_plugin.c248 const unsigned char *structname; in shuffle() local
255 structname = ORIG_TYPE_NAME(type); in shuffle()
258 fprintf(stderr, "Shuffling struct %s %p\n", (const char *)structname, type); in shuffle()
266 seed[i] ^= name_hash(structname); in shuffle()