/xen/tools/libs/gnttab/ |
A D | linux.c | 251 offsetof(xengnttab_grant_copy_segment_t, in osdep_gnttab_grant_copy() 255 offsetof(xengnttab_grant_copy_segment_t, in osdep_gnttab_grant_copy() 259 offsetof(xengnttab_grant_copy_segment_t, in osdep_gnttab_grant_copy() 263 offsetof(xengnttab_grant_copy_segment_t, in osdep_gnttab_grant_copy() 267 offsetof(xengnttab_grant_copy_segment_t, in osdep_gnttab_grant_copy() 272 offsetof(xengnttab_grant_copy_segment_t, in osdep_gnttab_grant_copy() 276 offsetof(xengnttab_grant_copy_segment_t, in osdep_gnttab_grant_copy() 280 offsetof(xengnttab_grant_copy_segment_t, in osdep_gnttab_grant_copy() 284 offsetof(xengnttab_grant_copy_segment_t, in osdep_gnttab_grant_copy() 288 offsetof(xengnttab_grant_copy_segment_t, in osdep_gnttab_grant_copy() [all …]
|
/xen/xen/arch/x86/hvm/svm/ |
A D | vmcb.c | 265 BUILD_BUG_ON(offsetof(typeof(vmcb), _pause_filter_thresh) != 0x03c); in build_assertions() 266 BUILD_BUG_ON(offsetof(typeof(vmcb), _vintr) != 0x060); in build_assertions() 267 BUILD_BUG_ON(offsetof(typeof(vmcb), event_inj) != 0x0a8); in build_assertions() 268 BUILD_BUG_ON(offsetof(typeof(vmcb), es) != 0x400); in build_assertions() 269 BUILD_BUG_ON(offsetof(typeof(vmcb), _cpl) != 0x4cb); in build_assertions() 270 BUILD_BUG_ON(offsetof(typeof(vmcb), _cr4) != 0x548); in build_assertions() 271 BUILD_BUG_ON(offsetof(typeof(vmcb), rsp) != 0x5d8); in build_assertions() 281 BUILD_BUG_ON(offsetof(typeof(vmcb.es), sel) != 0); in build_assertions() 282 BUILD_BUG_ON(offsetof(typeof(vmcb.es), attr) != 2); in build_assertions() 283 BUILD_BUG_ON(offsetof(typeof(vmcb.es), limit) != 4); in build_assertions() [all …]
|
/xen/xen/tools/kconfig/ |
A D | list.h | 9 #undef offsetof 10 #define offsetof(TYPE, MEMBER) ((size_t) &((TYPE *)0)->MEMBER) macro 21 (type *)( (char *)__mptr - offsetof(type,member) );})
|
/xen/tools/libacpi/ |
A D | build.c | 166 set_checksum(madt, offsetof(struct acpi_header, checksum), in construct_madt() 268 set_checksum(srat, offsetof(struct acpi_header, checksum), size); in construct_srat() 301 set_checksum(slit, offsetof(struct acpi_header, checksum), size); in construct_slit() 442 offsetof(struct acpi_header, checksum), in construct_secondary_tables() 576 offsetof(struct acpi_header, checksum), in acpi_build_tables() 586 fadt_size = offsetof(struct acpi_fadt, sleep_control); in acpi_build_tables() 628 set_checksum(fadt, offsetof(struct acpi_header, checksum), fadt_size); in acpi_build_tables() 645 offsetof(struct acpi_header, checksum), in acpi_build_tables() 658 offsetof(struct acpi_header, checksum), in acpi_build_tables() 670 offsetof(struct acpi_10_rsdp, checksum), in acpi_build_tables() [all …]
|
A D | README | 12 * offsetof
|
/xen/xen/include/xen/ |
A D | xmalloc.h | 40 ((type *)_xzalloc(offsetof(type, field[nr]), __alignof__(type))) 43 ((type *)_xmalloc(offsetof(type, field[nr]), __alignof__(type))) 47 ((typeof(ptr))_xrealloc(ptr, offsetof(typeof(*(ptr)), field[nr]), \
|
A D | kexec.h | 75 (unsigned long)offsetof(struct name, field)) 78 (unsigned long)offsetof(struct name, sub.field))
|
A D | compat.h | 161 BUILD_BUG_ON(offsetof(xen_ ## t ## _t, f) != \ 162 offsetof(compat_ ## t ## _t, f)); \ 168 BUILD_BUG_ON(offsetof(k xen_ ## n, f) != \ 169 offsetof(k compat_ ## n, f)); \
|
A D | compiler.h | 77 #define offsetof(a,b) __builtin_offsetof(a,b) macro
|
A D | kernel.h | 55 (type *)( (char *)__mptr - offsetof(type,member) );})
|
/xen/tools/libxl/ |
A D | libxl_arm_acpi.c | 199 offsetof(struct acpi_table_rsdp, extended_checksum), in make_acpi_rsdp() 231 calculate_checksum(xsdt, offsetof(struct acpi_table_header, checksum), in make_acpi_xsdt() 254 calculate_checksum(gtdt, offsetof(struct acpi_table_header, checksum), in make_acpi_gtdt() 334 calculate_checksum(madt, offsetof(struct acpi_table_header, checksum), in make_acpi_madt() 356 calculate_checksum(fadt, offsetof(struct acpi_table_header, checksum), in make_acpi_fadt()
|
/xen/tools/libs/toolcore/include/ |
A D | xentoolcore_internal.h | 142 offsetof(typeof(outer), member_name)); \
|
/xen/xen/include/asm-x86/x86_64/ |
A D | regs.h | 26 #define CTXT_SWITCH_STACK_BYTES (offsetof(struct cpu_user_regs, es))
|
/xen/xen/include/asm-x86/hvm/ |
A D | vioapic.h | 59 #define hvm_vioapic_size(cnt) offsetof(struct hvm_vioapic, redirtbl[cnt])
|
A D | irq.h | 101 #define hvm_irq_size(cnt) offsetof(struct hvm_irq, gsi_assert_count[cnt])
|
/xen/tools/libvchan/ |
A D | init.c | 69 #ifndef offsetof 70 #define offsetof(TYPE, MEMBER) ((size_t) &((TYPE *)0)->MEMBER) macro 83 &ring_ref, 1, offsetof(struct vchan_interface, srv_live), in init_gnt_srv() 148 offsetof(struct vchan_interface, cli_live), ctrl->event_port); in init_gnt_cli()
|
/xen/xen/arch/arm/arm64/ |
A D | asm-offsets.c | 21 DEFINE(_sym, offsetof(_str, _mem));
|
/xen/tools/tests/vpci/ |
A D | emul.h | 33 (type *)((char *)mptr - offsetof(type, member)); \
|
/xen/xen/common/efi/ |
A D | runtime.c | 323 offsetof(EFI_TIME, F) != offsetof(struct xenpf_efi_time, f)) in cast_time() 341 offsetof(EFI_GUID, Data##n) != \ in cast_guid() 342 offsetof(struct xenpf_efi_guid, data##n)) in cast_guid()
|
/xen/tools/firmware/hvmloader/ |
A D | util.h | 31 #undef offsetof 32 #define offsetof(t, m) ((unsigned long)&((t *)0)->m) macro
|
/xen/xen/arch/arm/arm32/ |
A D | asm-offsets.c | 21 DEFINE(_sym, offsetof(_str, _mem));
|
/xen/xen/common/libelf/ |
A D | libelf-loader.c | 207 sz += offsetof(struct elf_sym_header, elf_header.section) + in elf_parse_bsdsyms() 350 offsetof(typeof(header.elf_header), section)); in elf_load_bsdsyms() 431 header_size = offsetof(typeof(header), elf_header.section); in elf_load_bsdsyms()
|
/xen/tools/tests/vhpet/ |
A D | emul.h | 127 #define offsetof(t, m) ((unsigned long )&((t *)0)->m) macro 130 (type *)( (char *)__mptr - offsetof(type,member) ); })
|
/xen/tools/libfsimage/zfs/ |
A D | fsys_zfs.h | 105 offsetof(vdev_label_t, vl_uberblock[(n) << VDEV_UBERBLOCK_SHIFT])
|
/xen/tools/fuzz/cpu-policy/ |
A D | afl-policy-fuzzer.c | 41 data_end = offsetof(typeof(*cp), x86_vendor) + sizeof(cp->x86_vendor); in check_cpuid()
|