Searched refs:structname (Results 1 – 4 of 4) sorted by relevance
/linux/include/linux/ |
H A D | virtio_config.h | 390 #define __virtio_native_type(structname, member) \ argument 391 typeof(virtio_to_cpu(NULL, ((structname*)0)->member)) 394 #define virtio_cread(vdev, structname, member, ptr) \ argument 396 typeof(((structname*)0)->member) virtio_cread_v; \ 407 offsetof(structname, member), \ 413 offsetof(structname, member), \ 423 #define virtio_cwrite(vdev, structname, member, ptr) \ argument 425 typeof(((structname*)0)->member) virtio_cwrite_v = \ 426 cpu_to_virtio(vdev, *(ptr), ((structname*)0)->member); \ 432 vdev->config->set((vdev), offsetof(structname, member), \ [all …]
|
/linux/scripts/ |
H A D | checkdeclares.pl | 43 foreach my $structname (keys %declaredstructs) { 44 if ($declaredstructs{$structname} > 1) { 45 print "$file: struct $structname is declared more than once.\n";
|
/linux/fs/xfs/libxfs/ |
H A D | xfs_ondisk.h | 9 #define XFS_CHECK_STRUCT_SIZE(structname, size) \ argument 10 static_assert(sizeof(structname) == (size), \ 11 "XFS: sizeof(" #structname ") is wrong, expected " #size) 13 #define XFS_CHECK_OFFSET(structname, member, off) \ argument 14 static_assert(offsetof(structname, member) == (off), \ 15 "XFS: offsetof(" #structname ", " #member ") is wrong, " \
|
/linux/scripts/gcc-plugins/ |
H A D | randomize_layout_plugin.c | 244 const unsigned char *structname; in shuffle() local 251 structname = ORIG_TYPE_NAME(type); in shuffle() 254 fprintf(stderr, "Shuffling struct %s %p\n", (const char *)structname, type); in shuffle() 262 seed[i] ^= name_hash(structname); in shuffle()
|