Home
last modified time | relevance | path

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

12

/xen-4.10.0-shim-comet/xen/include/asm-x86/x86_64/
A Dsystem.h35 volatile void *_p = (ptr); \
36 ASSERT(!((unsigned long)_p & 0xf)); \
39 __cmpxchg16b(_p, (void *)(o), (void *)(n)); \
48 #define __cmpxchg_user(_p,_o,_n,_isuff,_oppre,_regtype) \ argument
59 : _regtype (_n), "m" (*__xg((volatile void *)_p)), "0" (_o), "1" (0) \
63 #define cmpxchg_user(_p,_o,_n) \ argument
66 switch ( sizeof(*(_p)) ) { \
68 __cmpxchg_user(_p,_o,_n,"b","b","q"); \
71 __cmpxchg_user(_p,_o,_n,"w","w","r"); \
74 __cmpxchg_user(_p,_o,_n,"l","k","r"); \
[all …]
A Duaccess.h27 #define xlat_malloc_array(_p, _t, _c) ((_t *) xlat_malloc(&_p, sizeof(_t) * _c)) argument
/xen-4.10.0-shim-comet/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-4.10.0-shim-comet/xen/arch/x86/boot/
A Dreloc.c79 mbi_out = _p(copy_mem(mbi_in, sizeof(*mbi_out))); in mbi_reloc()
91 mods = _p(mbi_out->mods_addr); in mbi_reloc()
118 const multiboot2_fixed_t *mbi_fix = _p(mbi_in); in mbi2_reloc()
128 mbi_out = _p(ptr); in mbi2_reloc()
135 for ( tag = _p(ptr); (u32)tag - mbi_in < mbi_fix->total_size; in mbi2_reloc()
136 tag = _p(ALIGN_UP((u32)tag + tag->size, MULTIBOOT2_TAG_ALIGN)) ) in mbi2_reloc()
148 mbi_out_mods = _p(mbi_out->mods_addr); in mbi2_reloc()
155 for ( tag = _p(ptr); (u32)tag - mbi_in < mbi_fix->total_size; in mbi2_reloc()
156 tag = _p(ALIGN_UP((u32)tag + tag->size, MULTIBOOT2_TAG_ALIGN)) ) in mbi2_reloc()
190 mmap_dst = _p(mbi_out->mmap_addr); in mbi2_reloc()
[all …]
A Ddefs.h45 #define _p(val) ((void *)(unsigned long)(val)) macro
/xen-4.10.0-shim-comet/xen/include/asm-arm/
A Dpage.h201 typeof(x) *_p = &(x); \
203 clean_dcache_va_range(_p, sizeof(x)); \
209 : : "r" (_p), "m" (*_p)); \
213 typeof(x) *_p = &(x); \
215 clean_and_invalidate_dcache_va_range(_p, sizeof(x)); \
221 : : "r" (_p), "m" (*_p)); \
A Dmm.h157 #define page_get_owner(_p) (_p)->v.inuse.domain argument
158 #define page_set_owner(_p,_d) ((_p)->v.inuse.domain = (_d)) argument
365 #define memguard_guard_stack(_p) ((void)0) argument
366 #define memguard_guard_range(_p,_l) ((void)0) argument
367 #define memguard_unguard_range(_p,_l) ((void)0) argument
/xen-4.10.0-shim-comet/xen/include/asm-x86/
A Dmm.h287 #define page_get_owner(_p) \ argument
289 pdx_to_virt((_p)->v.inuse._domain) : NULL))
291 ((_p)->v.inuse._domain = (_d) ? virt_to_pdx(_d) : 0)
429 #define ASSERT_PAGE_IS_TYPE(_p, _t) \ argument
430 ASSERT(((_p)->u.inuse.type_info & PGT_type_mask) == (_t)); \
431 ASSERT(((_p)->u.inuse.type_info & PGT_count_mask) != 0)
432 #define ASSERT_PAGE_IS_DOMAIN(_p, _d) \ argument
433 ASSERT(((_p)->count_info & PGC_count_mask) != 0); \
434 ASSERT(page_get_owner(_p) == (_d))
516 #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.h210 #define pgentry_ptr_to_slot(_p) \ argument
211 (((unsigned long)(_p) & ~PAGE_MASK) / sizeof(*(_p)))
231 #define clear_page(_p) clear_page_sse2(_p) argument
/xen-4.10.0-shim-comet/xen/arch/x86/
A Dtraps.c160 _p(regs->rip), _p(regs->rip), in show_code()
404 printk(" [<%p>] %pS\n", _p(addr), _p(addr)); in _show_trace()
447 printk(" [<%p>] %pS\n", _p(addr), _p(addr)); in _show_trace()
467 printk(" [<%p>] %pS\n", _p(regs->rip), _p(regs->rip)); in show_trace()
476 printk(" [<%p>] %pS\n", _p(*sp), _p(*sp)); in show_trace()
739 trapnr, _p(regs->rip), _p(regs->rip), _p(fixup)); in do_trap()
1081 TRAP_int3, _p(regs->rip), _p(regs->rip), _p(fixup)); in do_int3()
1088 _p(regs->rip), _p(regs->rip)); in do_int3()
1465 regs->cs, _p(regs->rip), _p(cr2), regs->error_code); in do_early_page_fault()
1541 regs->error_code, _p(regs->rip), _p(regs->rip), _p(fixup)); in do_general_protection()
[all …]
A Dextable.c187 dprintk(XENLOG_INFO, "Pre-exception: %p -> %p\n", _p(addr), _p(fixup)); in search_pre_exception_table()
/xen-4.10.0-shim-comet/xen/arch/x86/pv/
A Ddom0_build.c561 _p(vkern_start), _p(vkern_end), in dom0_construct_pv()
562 _p(vinitrd_start), _p(vinitrd_end), in dom0_construct_pv()
563 _p(vphysmap_start), _p(vphysmap_end), in dom0_construct_pv()
564 _p(vstartinfo_start), _p(vstartinfo_end), in dom0_construct_pv()
565 _p(vxenstore_start), _p(vxenstore_end), in dom0_construct_pv()
566 _p(vconsole_start), _p(vconsole_end), in dom0_construct_pv()
567 _p(vpt_start), _p(vpt_end), in dom0_construct_pv()
568 _p(vstack_start), _p(vstack_end), in dom0_construct_pv()
569 _p(v_start), _p(v_end)); in dom0_construct_pv()
570 printk(" ENTRY ADDRESS: %p\n", _p(parms.virt_entry)); in dom0_construct_pv()
A Dmm.h87 #define UPDATE_ENTRY(_t,_p,_o,_n,_m,_v,_ad) \ argument
88 update_intpte(&_t ## e_get_intpte(*(_p)), \
/xen-4.10.0-shim-comet/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-4.10.0-shim-comet/xen/include/xen/
A Dtmem_xen.h306 #define is_persistent(_p) (_p->persistent) argument
307 #define is_shared(_p) (_p->shared) argument
A Dlib.h69 #define reserve_bootmem(_p,_l) ((void)0) argument
90 #define _p(_x) ((void *)(unsigned long)(_x)) macro
/xen-4.10.0-shim-comet/docs/misc/
A Dprintk-formats.txt4 pointers are fine. Numbers should make use of the _p() macro.
/xen-4.10.0-shim-comet/xen/arch/arm/
A Dtraps.c801 printk(" %pS", _p(regs->pc)); in show_registers_32()
876 printk(" %pS", _p(regs->pc)); in show_registers_64()
1117 printk(" %p", _p(addr)); in show_guest_stack()
1169 printk(" [<%p>] %pS (PC)\n", _p(regs->pc), _p(regs->pc)); in show_trace()
1170 printk(" [<%p>] %pS (LR)\n", _p(regs->lr), _p(regs->lr)); in show_trace()
1190 printk(" [<%p>] %pS\n", _p(addr), _p(addr)); in show_trace()
1216 printk(" %p", _p(addr)); in show_stack()
/xen-4.10.0-shim-comet/xen/common/ubsan/
A Dubsan.c517 _p(base), _p(result)); in __ubsan_handle_pointer_overflow()
/xen-4.10.0-shim-comet/tools/memshr/
A Dbidir-hash.c498 #define C2L(_h, _p) ((typeof(_p))((unsigned long)(_p) + \ argument
500 #define L2C(_h, _p) ((typeof(_p))((unsigned long)(_p) - \ argument
/xen-4.10.0-shim-comet/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-4.10.0-shim-comet/tools/blktap2/drivers/
A Dblock-vhd.c81 #define __ASSERT(_p) \ argument
82 if (!(_p)) { \
84 __FILE__, __LINE__, #_p); \
86 __FILE__, __LINE__, #_p); \
106 #define ASSERT(_p) __ASSERT(_p) argument
108 #define ASSERT(_p) ((void)0) argument

Completed in 45 milliseconds

12