Home
last modified time | relevance | path

Searched refs:_p (Results 1 – 25 of 30) sorted by relevance

12

/xen/xen/include/asm-x86/x86_64/
A Dsystem.h55 volatile void *_p = (ptr); \
56 ASSERT(!((unsigned long)_p & 0xf)); \
59 __cmpxchg16b(_p, (void *)(o), (void *)(n)); \
68 #define __cmpxchg_user(_p, _o, _n, _oppre, _regtype) \ argument
79 [ptr] "+m" (*(volatile typeof(*(_p)) *)(_p)) \
84 #define cmpxchg_user(_p, _o, _n) \ argument
87 switch ( sizeof(*(_p)) ) \
90 __cmpxchg_user(_p, _o, _n, "b", "q"); \
93 __cmpxchg_user(_p, _o, _n, "w", "r"); \
96 __cmpxchg_user(_p, _o, _n, "k", "r"); \
[all …]
A Duaccess.h27 #define xlat_malloc_array(_p, _t, _c) ((_t *) xlat_malloc(&_p, sizeof(_t) * _c)) argument
/xen/tools/libxc/
A Dxg_save_restore.h116 #define GET_FIELD(_p, _f, _w) (((_w) == 8) ? ((_p)->x64._f) : ((_p)->x32._f)) argument
118 #define SET_FIELD(_p, _f, _v, _w) do { \ argument
120 (_p)->x64._f = (_v); \
122 (_p)->x32._f = (_v); \
142 #define MEMSET_ARRAY_FIELD(_p, _f, _v, _w) do { \ argument
144 memset(&(_p)->x64._f[0], (_v), sizeof((_p)->x64._f)); \
146 memset(&(_p)->x32._f[0], (_v), sizeof((_p)->x32._f)); \
A Dxc_dom_binloader.c88 #define round_pgup(_p) (((_p)+(PAGE_SIZE_X86-1))&PAGE_MASK_X86) argument
89 #define round_pgdown(_p) ((_p)&PAGE_MASK_X86) argument
A Dxc_core_x86.c24 #define GET_FIELD(_p, _f) ((dinfo->guest_width==8) ? ((_p)->x64._f) : ((_p)->x32._f)) argument
/xen/xen/arch/x86/boot/
A Dreloc.c81 out = _p(copy_mem(in, sizeof(*out))); in pvh_info_reloc()
95 mods = _p(out->modlist_paddr); in pvh_info_reloc()
112 mbi_out = _p(copy_mem(mbi_in, sizeof(*mbi_out))); in mbi_reloc()
124 mods = _p(mbi_out->mods_addr); in mbi_reloc()
151 const multiboot2_fixed_t *mbi_fix = _p(mbi_in); in mbi2_reloc()
161 mbi_out = _p(ptr); in mbi2_reloc()
168 for ( tag = _p(ptr); (u32)tag - mbi_in < mbi_fix->total_size; in mbi2_reloc()
169 tag = _p(ALIGN_UP((u32)tag + tag->size, MULTIBOOT2_TAG_ALIGN)) ) in mbi2_reloc()
186 mbi_out_mods = _p(mbi_out->mods_addr); in mbi2_reloc()
193 for ( tag = _p(ptr); (u32)tag - mbi_in < mbi_fix->total_size; in mbi2_reloc()
[all …]
A Ddefs.h46 #define _p(val) ((void *)(unsigned long)(val)) macro
/xen/xen/include/asm-arm/
A Dpage.h219 typeof(x) *_p = &(x); \
221 clean_dcache_va_range(_p, sizeof(x)); \
227 : : "r" (_p), "m" (*_p)); \
231 typeof(x) *_p = &(x); \
233 clean_and_invalidate_dcache_va_range(_p, sizeof(x)); \
239 : : "r" (_p), "m" (*_p)); \
A Dmm.h161 #define page_get_owner(_p) (_p)->v.inuse.domain argument
162 #define page_set_owner(_p,_d) ((_p)->v.inuse.domain = (_d)) argument
342 #define memguard_guard_stack(_p) ((void)0) argument
343 #define memguard_guard_range(_p,_l) ((void)0) argument
344 #define memguard_unguard_range(_p,_l) ((void)0) argument
/xen/xen/include/asm-x86/
A Dmm.h317 #define page_get_owner(_p) \ argument
319 pdx_to_virt((_p)->v.inuse._domain) : NULL))
321 ((_p)->v.inuse._domain = (_d) ? virt_to_pdx(_d) : 0)
446 #define ASSERT_PAGE_IS_TYPE(_p, _t) \ argument
447 ASSERT(((_p)->u.inuse.type_info & PGT_type_mask) == (_t)); \
448 ASSERT(((_p)->u.inuse.type_info & PGT_count_mask) != 0)
449 #define ASSERT_PAGE_IS_DOMAIN(_p, _d) \ argument
450 ASSERT(((_p)->count_info & PGC_count_mask) != 0); \
451 ASSERT(page_get_owner(_p) == (_d))
533 #define memguard_guard_range(_p,_l) ((void)0) argument
[all …]
A Dio.h25 __OUT1(s##_p,x) __OUT2(s,s1,"w") : : "a" (value), "Nd" (port));}
35 __IN1(s##_p) __IN2(s,s1,"w") : "=a" (_v) : "Nd" (port) ,##i ); return _v; }
A Dpage.h230 #define pgentry_ptr_to_slot(_p) \ argument
231 (((unsigned long)(_p) & ~PAGE_MASK) / sizeof(*(_p)))
251 #define clear_page(_p) clear_page_sse2(_p) argument
A Dguest_pt.h438 gprintk(XENLOG_INFO, "GUEST WALK TO %p\n", _p(gw->va)); in print_gw()
/xen/xen/common/
A Dlzo.c103 #define get_unaligned(_p) (*(_p)) argument
104 #define put_unaligned(_val,_p) (*(_p)=_val) argument
105 #define get_unaligned_le16(_p) (*(u16 *)(_p)) argument
106 #define get_unaligned_le32(_p) (*(u32 *)(_p)) argument
/xen/xen/arch/x86/
A Dtraps.c203 _p(regs->rip), _p(regs->rip), in show_code()
446 printk(" [<%p>] S %pS\n", _p(addr), _p(addr)); in _show_trace()
489 printk(" [<%p>] F %pS\n", _p(addr), _p(addr)); in _show_trace()
518 printk(" [<%p>] R %pS\n", _p(regs->rip), _p(regs->rip)); in show_trace()
537 printk(" [<%p>] S %pS\n", _p(tos), _p(tos)); in show_trace()
786 ptr = _p(ssp); in extable_shstk_fixup()
841 _p(regs->rip), _p(regs->rip), _p(fixup)); in extable_fixup()
1203 _p(regs->rip), _p(regs->rip)); in do_int3()
1574 regs->cs, _p(regs->rip), _p(cr2), regs->error_code); in do_early_page_fault()
1947 regs->cs, _p(regs->rip), _p(regs->rip), in do_debug()
[all …]
A Dsysctl.c132 ret = up ? cpu_up_helper(_p(cpu)) in smt_up_down_helper()
133 : cpu_down_helper(_p(cpu)); in smt_up_down_helper()
194 hcpu = _p(cpu); in arch_do_sysctl()
200 hcpu = _p(cpu); in arch_do_sysctl()
217 hcpu = _p(plug); in arch_do_sysctl()
A Dextable.c202 dprintk(XENLOG_INFO, "Pre-exception: %p -> %p\n", _p(addr), _p(fixup)); in search_pre_exception_table()
/xen/xen/arch/x86/pv/
A Ddom0_build.c566 _p(vkern_start), _p(vkern_end), in dom0_construct_pv()
567 _p(vinitrd_start), _p(vinitrd_end), in dom0_construct_pv()
568 _p(vphysmap_start), _p(vphysmap_end), in dom0_construct_pv()
569 _p(vstartinfo_start), _p(vstartinfo_end), in dom0_construct_pv()
570 _p(vxenstore_start), _p(vxenstore_end), in dom0_construct_pv()
571 _p(vconsole_start), _p(vconsole_end), in dom0_construct_pv()
572 _p(vpt_start), _p(vpt_end), in dom0_construct_pv()
573 _p(vstack_start), _p(vstack_end), in dom0_construct_pv()
574 _p(v_start), _p(v_end)); in dom0_construct_pv()
575 printk(" ENTRY ADDRESS: %p\n", _p(parms.virt_entry)); in dom0_construct_pv()
[all …]
A Dmm.h86 #define UPDATE_ENTRY(_t,_p,_o,_n,_m,_v,_ad) \ argument
87 update_intpte(&_t ## e_get_intpte(*(_p)), \
/xen/xen/arch/x86/x86_64/
A Dtraps.c67 printk(" %pS", _p(regs->rip)); in _show_registers()
156 from, _p(canonicalise_addr(from))); in show_registers()
158 to, _p(canonicalise_addr(to))); in show_registers()
/xen/xen/arch/arm/
A Dtraps.c761 printk(" %pS", _p(regs->pc)); in show_registers_32()
836 printk(" %pS", _p(regs->pc)); in show_registers_64()
1067 printk(" %p", _p(addr)); in show_guest_stack()
1119 printk(" [<%p>] %pS (PC)\n", _p(regs->pc), _p(regs->pc)); in show_trace()
1120 printk(" [<%p>] %pS (LR)\n", _p(regs->lr), _p(regs->lr)); in show_trace()
1140 printk(" [<%p>] %pS\n", _p(addr), _p(addr)); in show_trace()
1166 printk(" %p", _p(addr)); in show_stack()
/xen/docs/misc/
A Dprintk-formats.txt4 pointers are fine. Numbers should make use of the _p() macro.
/xen/xen/common/ubsan/
A Dubsan.c517 _p(base), _p(result)); in __ubsan_handle_pointer_overflow()
/xen/xen/crypto/
A Dvmac.c107 ({ uint32_t hi, lo, *_p = (uint32_t *)(p); \
108 asm volatile ("lwbrx %0, %1, %2" : "=r"(lo) : "b%"(0), "r"(_p) ); \
109 asm volatile ("lwbrx %0, %1, %2" : "=r"(hi) : "b%"(4), "r"(_p) ); \
117 ({ uint32_t hi, lo, *_p = (uint32_t *)(p); \
118 asm volatile ("lwbrx %0, %1, %2" : "=r"(lo) : "b%"(0), "r"(_p) ); \
119 asm volatile ("lwbrx %0, %1, %2" : "=r"(hi) : "b%"(4), "r"(_p) ); \
/xen/xen/include/xen/
A Dlib.h108 #define _p(_x) ((void *)(unsigned long)(_x)) macro

Completed in 38 milliseconds

12