Home
last modified time | relevance | path

Searched refs:offsetof (Results 1 – 25 of 59) sorted by relevance

123

/xen/tools/libs/gnttab/
A Dlinux.c251 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 Dvmcb.c265 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 Dlist.h9 #undef offsetof
10 #define offsetof(TYPE, MEMBER) ((size_t) &((TYPE *)0)->MEMBER) macro
21 (type *)( (char *)__mptr - offsetof(type,member) );})
/xen/tools/libacpi/
A Dbuild.c166 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 DREADME12 * offsetof
/xen/xen/include/xen/
A Dxmalloc.h40 ((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 Dkexec.h75 (unsigned long)offsetof(struct name, field))
78 (unsigned long)offsetof(struct name, sub.field))
A Dcompat.h161 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 Dcompiler.h77 #define offsetof(a,b) __builtin_offsetof(a,b) macro
A Dkernel.h55 (type *)( (char *)__mptr - offsetof(type,member) );})
/xen/tools/libxl/
A Dlibxl_arm_acpi.c199 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 Dxentoolcore_internal.h142 offsetof(typeof(outer), member_name)); \
/xen/xen/include/asm-x86/x86_64/
A Dregs.h26 #define CTXT_SWITCH_STACK_BYTES (offsetof(struct cpu_user_regs, es))
/xen/xen/include/asm-x86/hvm/
A Dvioapic.h59 #define hvm_vioapic_size(cnt) offsetof(struct hvm_vioapic, redirtbl[cnt])
A Dirq.h101 #define hvm_irq_size(cnt) offsetof(struct hvm_irq, gsi_assert_count[cnt])
/xen/tools/libvchan/
A Dinit.c69 #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 Dasm-offsets.c21 DEFINE(_sym, offsetof(_str, _mem));
/xen/tools/tests/vpci/
A Demul.h33 (type *)((char *)mptr - offsetof(type, member)); \
/xen/xen/common/efi/
A Druntime.c323 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 Dutil.h31 #undef offsetof
32 #define offsetof(t, m) ((unsigned long)&((t *)0)->m) macro
/xen/xen/arch/arm/arm32/
A Dasm-offsets.c21 DEFINE(_sym, offsetof(_str, _mem));
/xen/xen/common/libelf/
A Dlibelf-loader.c207 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 Demul.h127 #define offsetof(t, m) ((unsigned long )&((t *)0)->m) macro
130 (type *)( (char *)__mptr - offsetof(type,member) ); })
/xen/tools/libfsimage/zfs/
A Dfsys_zfs.h105 offsetof(vdev_label_t, vl_uberblock[(n) << VDEV_UBERBLOCK_SHIFT])
/xen/tools/fuzz/cpu-policy/
A Dafl-policy-fuzzer.c41 data_end = offsetof(typeof(*cp), x86_vendor) + sizeof(cp->x86_vendor); in check_cpuid()

Completed in 31 milliseconds

123