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

/linux-4.4.14/include/linux/
H A Dstddef.h14 #undef offsetof macro
16 #define offsetof(TYPE, MEMBER) __compiler_offsetof(TYPE, MEMBER) macro
18 #define offsetof(TYPE, MEMBER) ((size_t)&((TYPE *)0)->MEMBER) macro
/linux-4.4.14/scripts/kconfig/
H A Dlist.h8 #undef offsetof macro
9 #define offsetof(TYPE, MEMBER) ((size_t) &((TYPE *)0)->MEMBER) macro
/linux-4.4.14/tools/include/linux/
H A Dkernel.h15 #define offsetof(TYPE, MEMBER) ((size_t) &((TYPE *)0)->MEMBER) macro
/linux-4.4.14/tools/usb/usbip/libsrc/
H A Dlist.h123 #define offsetof(TYPE, MEMBER) ((size_t) &((TYPE *)0)->MEMBER) macro
/linux-4.4.14/drivers/gpu/drm/radeon/
H A Dmkregtable.c19 #define offsetof(TYPE, MEMBER) ((size_t) &((TYPE *)0)->MEMBER) macro
/linux-4.4.14/arch/x86/kernel/
H A Dptrace.c277 case offsetof(struct user_regs_struct, fs): offsetof() function
284 case offsetof(struct user_regs_struct, gs): offsetof() function
290 case offsetof(struct user_regs_struct, ds): offsetof() function
296 case offsetof(struct user_regs_struct, es): offsetof() function
469 case offsetof(struct user_regs_struct, fs_base): { offsetof() function
484 case offsetof(struct user_regs_struct, gs_base): { offsetof() function
/linux-4.4.14/tools/lguest/
H A Dlguest.c1902 case offsetof(struct virtio_pci_mmio, cfg.guest_feature): offsetof() function
1921 case offsetof(struct virtio_pci_mmio, cfg.device_status): { offsetof() function
2044 case offsetof(struct virtio_pci_mmio, cfg.queue_enable): { offsetof() function
2122 + offsetof(struct virtio_console_config, emerg_wr): offsetof() function
/linux-4.4.14/drivers/staging/lustre/lustre/include/lustre/
H A Dlustre_user.h841 # define offsetof(typ, memb) ((unsigned long)((char *)&(((typ *)0)->memb))) macro

Completed in 375 milliseconds