Searched defs:offsetof (Results 1 - 10 of 10) sorted by relevance

/linux-4.1.27/include/linux/
H A Dstddef.h15 #undef offsetof macro
17 #define offsetof(TYPE,MEMBER) __compiler_offsetof(TYPE,MEMBER) macro
19 #define offsetof(TYPE, MEMBER) ((size_t) &((TYPE *)0)->MEMBER) macro
/linux-4.1.27/scripts/kconfig/
H A Dlist.h8 #undef offsetof macro
9 #define offsetof(TYPE, MEMBER) ((size_t) &((TYPE *)0)->MEMBER) macro
/linux-4.1.27/tools/perf/util/include/linux/
H A Dkernel.h15 #define offsetof(TYPE, MEMBER) ((size_t) &((TYPE *)0)->MEMBER) macro
/linux-4.1.27/tools/usb/usbip/libsrc/
H A Dlist.h123 #define offsetof(TYPE, MEMBER) ((size_t) &((TYPE *)0)->MEMBER) macro
/linux-4.1.27/drivers/staging/lustre/include/linux/libcfs/
H A Dlibcfs.h50 # define offsetof(typ, memb) ((long)(long_ptr_t)((char *)&(((typ *)0)->memb))) macro
/linux-4.1.27/drivers/staging/sm750fb/
H A Dsm750.h167 #define offsetof(TYPE, MEMBER) ((size_t) &((TYPE *)0)->MEMBER) macro
/linux-4.1.27/drivers/gpu/drm/radeon/
H A Dmkregtable.c19 #define offsetof(TYPE, MEMBER) ((size_t) &((TYPE *)0)->MEMBER) macro
/linux-4.1.27/arch/x86/kernel/
H A Dptrace.c279 case offsetof(struct user_regs_struct, fs): offsetof() function
286 case offsetof(struct user_regs_struct, gs): offsetof() function
292 case offsetof(struct user_regs_struct, ds): offsetof() function
298 case offsetof(struct user_regs_struct, es): offsetof() function
471 case offsetof(struct user_regs_struct, fs_base): { offsetof() function
486 case offsetof(struct user_regs_struct, gs_base): { offsetof() function
/linux-4.1.27/tools/lguest/
H A Dlguest.c1898 case offsetof(struct virtio_pci_mmio, cfg.guest_feature): offsetof() function
1917 case offsetof(struct virtio_pci_mmio, cfg.device_status): { offsetof() function
2040 case offsetof(struct virtio_pci_mmio, cfg.queue_enable): { offsetof() function
2118 + offsetof(struct virtio_console_config, emerg_wr): offsetof() function
/linux-4.1.27/drivers/staging/lustre/lustre/include/lustre/
H A Dlustre_user.h844 # define offsetof(typ, memb) ((unsigned long)((char *)&(((typ *)0)->memb))) macro

Completed in 1413 milliseconds