/xen/stubdom/vtpmmgr/ |
A D | tpm2_marshal.h | 52 #define pack_TPM_BUFFER(ptr, buf, size) pack_BUFFER(ptr, buf, size) argument 65 inline BYTE* pack_TPMA_SESSION(BYTE* ptr, const TPMA_SESSION *attr) in pack_TPMA_SESSION() 71 inline BYTE* unpack_TPMA_SESSION(BYTE* ptr, TPMA_SESSION *attr) in unpack_TPMA_SESSION() 83 inline BYTE* unpack_TPMI_ALG_HASH(BYTE *ptr, TPMI_ALG_HASH *hash) in unpack_TPMI_ALG_HASH() 168 inline BYTE* pack_TPM2B_NAME(BYTE* ptr,const TPM2B_NAME *name ) in pack_TPM2B_NAME() 176 inline BYTE* unpack_TPM2B_NAME(BYTE* ptr, TPM2B_NAME *name) in unpack_TPM2B_NAME() 192 inline BYTE* pack_TPM2B_AUTH(BYTE* ptr, const TPM2B_AUTH *auth) in pack_TPM2B_AUTH() 200 inline BYTE* pack_TPM2B_DATA(BYTE* ptr, const TPM2B_DATA *data) in pack_TPM2B_DATA() 280 inline BYTE* unpack_TPML_DIGEST(BYTE* ptr,TPML_DIGEST *digest) in unpack_TPML_DIGEST() 370 inline BYTE* unpack_TPMU_SYM_MODE(BYTE* ptr, TPMU_SYM_MODE *p, in unpack_TPMU_SYM_MODE() [all …]
|
A D | marshal.h | 51 inline BYTE* pack_BYTE(BYTE* ptr, BYTE t) { in pack_BYTE() 57 inline BYTE* unpack_BYTE(BYTE* ptr, BYTE* t) { in unpack_BYTE() 79 inline BYTE* pack_UINT16(void* ptr, UINT16 t) { in pack_UINT16() 86 inline BYTE* unpack_UINT16(void* ptr, UINT16* t) { in unpack_UINT16() 103 inline BYTE* pack_UINT32(void* ptr, UINT32 t) { in pack_UINT32() 110 inline BYTE* unpack_UINT32(void* ptr, UINT32* t) { in unpack_UINT32() 433 #define pack_TPM_HMAC(ptr, d) pack_TPM_DIGEST(ptr, d) argument 445 inline BYTE* unpack_TPM_NONCE(BYTE* ptr, TPM_NONCE* n) { in unpack_TPM_NONCE() 712 inline BYTE* pack_TPM_KEY(BYTE* ptr, const TPM_KEY* k) { in pack_TPM_KEY() 894 inline BYTE* pack_TPM_RQU_HEADER(BYTE* ptr, in pack_TPM_RQU_HEADER() [all …]
|
/xen/xen/include/xen/ |
A D | err.h | 24 static inline long __must_check PTR_ERR(const void *ptr) in PTR_ERR() 29 static inline long __must_check IS_ERR(const void *ptr) in IS_ERR() 34 static inline long __must_check IS_ERR_OR_NULL(const void *ptr) in IS_ERR_OR_NULL() 46 static inline void * __must_check ERR_CAST(const void *ptr) in ERR_CAST() 52 static inline int __must_check PTR_RET(const void *ptr) in PTR_RET()
|
A D | guest_access.h | 14 #define copy_to_guest(hnd, ptr, nr) \ argument 17 #define copy_from_guest(ptr, hnd, nr) \ argument 23 #define __copy_to_guest(hnd, ptr, nr) \ argument 26 #define __copy_from_guest(ptr, hnd, nr) \ argument
|
A D | compat.h | 49 #define copy_to_compat_offset(hnd, off, ptr, nr) ({ \ argument 60 #define copy_from_compat_offset(ptr, hnd, off, nr) ({ \ argument 66 #define copy_to_compat(hnd, ptr, nr) \ argument 69 #define copy_from_compat(ptr, hnd, nr) \ argument 73 #define copy_field_to_compat(hnd, ptr, field) ({ \ argument 82 #define copy_field_from_compat(ptr, hnd, field) ({ \ argument 98 #define __copy_to_compat_offset(hnd, off, ptr, nr) ({ \ argument 105 #define __copy_from_compat_offset(ptr, hnd, off, nr) ({ \ argument 111 #define __copy_to_compat(hnd, ptr, nr) \ argument 114 #define __copy_from_compat(ptr, hnd, nr) \ argument [all …]
|
A D | radix-tree.h | 42 static inline int radix_tree_is_indirect_ptr(void *ptr) in radix_tree_is_indirect_ptr() 187 static inline int radix_tree_ptr_to_int(void *ptr) in radix_tree_ptr_to_int()
|
A D | xmalloc.h | 23 #define xmemdup(ptr) \ argument 46 #define xrealloc_flex_struct(ptr, field, nr) \ argument
|
/xen/xen/include/asm-arm/arm32/ |
A D | cmpxchg.h | 8 static inline unsigned long __xchg(unsigned long x, volatile void *ptr, int size) in __xchg() 46 #define xchg(ptr,x) \ argument 90 static always_inline bool __int_cmpxchg(volatile void *ptr, unsigned long *old, in __int_cmpxchg() 110 static always_inline unsigned long __cmpxchg(volatile void *ptr, in __cmpxchg() 121 static always_inline unsigned long __cmpxchg_mb(volatile void *ptr, in __cmpxchg_mb() 144 static always_inline bool __cmpxchg_mb_timeout(volatile void *ptr, in __cmpxchg_mb_timeout() 159 #define cmpxchg(ptr,o,n) \ argument 165 #define cmpxchg_local(ptr,o,n) \ argument
|
/xen/xen/include/asm-arm/arm64/ |
A D | cmpxchg.h | 6 static inline unsigned long __xchg(unsigned long x, volatile void *ptr, int size) in __xchg() 56 #define xchg(ptr,x) \ argument 103 static always_inline bool __int_cmpxchg(volatile void *ptr, unsigned long *old, in __int_cmpxchg() 123 static always_inline unsigned long __cmpxchg(volatile void *ptr, in __cmpxchg() 134 static always_inline unsigned long __cmpxchg_mb(volatile void *ptr, in __cmpxchg_mb() 157 static always_inline bool __cmpxchg_mb_timeout(volatile void *ptr, in __cmpxchg_mb_timeout() 172 #define cmpxchg(ptr, o, n) \ argument 181 #define cmpxchg_local(ptr, o, n) \ argument
|
/xen/xen/include/asm-arm/ |
A D | guest_access.h | 57 #define guest_handle_from_ptr(ptr, type) \ argument 59 #define const_guest_handle_from_ptr(ptr, type) \ argument 66 #define copy_to_guest_offset(hnd, off, ptr, nr) ({ \ argument 88 #define copy_from_guest_offset(ptr, hnd, off, nr) ({ \ argument 95 #define copy_field_to_guest(hnd, ptr, field) ({ \ argument 103 #define copy_field_from_guest(ptr, hnd, field) ({ \ argument 117 #define __copy_to_guest_offset(hnd, off, ptr, nr) ({ \ argument 126 #define __clear_guest_offset(hnd, off, ptr, nr) ({ \ argument 130 #define __copy_from_guest_offset(ptr, hnd, off, nr) ({ \ argument 136 #define __copy_field_to_guest(hnd, ptr, field) ({ \ argument [all …]
|
A D | guest_atomics.h | 90 volatile void *ptr, in __guest_cmpxchg() 112 #define guest_cmpxchg(d, ptr, o, n) \ argument
|
/xen/tools/xenstore/ |
A D | talloc.c | 90 void *ptr; member 162 void *talloc_parent(const void *ptr) in talloc_parent() 414 void *ptr; in talloc_named() local 433 void *ptr; in talloc_named_const() local 448 const char *talloc_get_name(const void *ptr) in talloc_get_name() 483 void *ptr; in talloc_init() local 502 static void talloc_free_children(void *ptr) in talloc_free_children() 542 int talloc_free(void *ptr) in talloc_free() 732 off_t talloc_total_size(const void *ptr) in talloc_total_size() 765 off_t talloc_total_blocks(const void *ptr) in talloc_total_blocks() [all …]
|
A D | utils.h | 40 static inline long PTR_ERR(const void *ptr) in PTR_ERR() 45 static inline long IS_ERR(const void *ptr) in IS_ERR()
|
A D | talloc.h | 58 #define talloc_realloc_size(ctx, ptr, size) _talloc_realloc(ctx, ptr, size, __location__) argument 73 #define talloc_set_type(ptr, type) talloc_set_name_const(ptr, #type) argument 74 #define talloc_get_type(ptr, type) (type *)talloc_check_name(ptr, #type) argument 76 #define talloc_find_parent_bytype(ptr, type) (type *)talloc_find_parent_byname(ptr, #type) argument
|
A D | list.h | 18 #define container_of(ptr, type, member) ({ \ argument 41 #define INIT_LIST_HEAD(ptr) do { \ argument 267 #define list_entry(ptr, type, member) \ argument 362 #define INIT_HLIST_HEAD(ptr) ((ptr)->first = NULL) argument 363 #define INIT_HLIST_NODE(ptr) ((ptr)->next = NULL, (ptr)->pprev = NULL) argument 455 #define hlist_entry(ptr, type, member) container_of(ptr,type,member) argument
|
/xen/xen/include/asm-x86/ |
A D | guest_access.h | 68 #define guest_handle_from_ptr(ptr, type) \ argument 70 #define const_guest_handle_from_ptr(ptr, type) \ argument 77 #define copy_to_guest_offset(hnd, off, ptr, nr) ({ \ argument 90 #define copy_from_guest_offset(ptr, hnd, off, nr) ({ \ argument 102 #define copy_field_to_guest(hnd, ptr, field) ({ \ argument 110 #define copy_field_from_guest(ptr, hnd, field) ({ \ argument 129 #define __copy_to_guest_offset(hnd, off, ptr, nr) ({ \ argument 138 #define __copy_from_guest_offset(ptr, hnd, off, nr) ({ \ argument 149 #define __copy_field_to_guest(hnd, ptr, field) ({ \ argument 156 #define __copy_field_from_guest(ptr, hnd, field) ({ \ argument
|
A D | uaccess.h | 40 #define get_user(x,ptr) \ argument 59 #define put_user(x,ptr) \ argument 82 #define __get_user(x,ptr) \ argument 104 #define __put_user(x,ptr) \ argument 107 #define __put_user_nocheck(x, ptr, size) \ argument 114 #define __put_user_check(x, ptr, size) \ argument 122 #define __get_user_nocheck(x, ptr, size) \ argument 129 #define __get_user_check(x, ptr, size) \ argument
|
A D | system.h | 46 #define xchg(ptr,v) \ argument 57 unsigned long x, volatile void *ptr, int size) in __xchg() 92 volatile void *ptr, unsigned long old, unsigned long new, int size) in __cmpxchg() 126 void *ptr, unsigned long old, unsigned long new, unsigned int size) in cmpxchg_local_() 157 #define cmpxchgptr(ptr,o,n) ({ \ argument 171 volatile void *ptr, unsigned long v, int size) in __xadd() 207 #define arch_fetch_and_add(ptr, v) \ argument
|
/xen/tools/libxl/ |
A D | flexarray.c | 58 int flexarray_set(flexarray_t *array, unsigned int idx, void *ptr) in flexarray_set() 73 int flexarray_append(flexarray_t *array, void *ptr) in flexarray_append() 89 void *ptr; in flexarray_vappend() local 101 int flexarray_get(flexarray_t *array, int idx, void **ptr) in flexarray_get()
|
/xen/xen/include/asm-x86/x86_64/ |
A D | system.h | 4 #define cmpxchg(ptr,o,n) \ argument 17 volatile void *ptr, const __uint128_t *oldp, const __uint128_t *newp) in __cmpxchg16b() 36 void *ptr, const __uint128_t *oldp, const __uint128_t *newp) in cmpxchg16b_local_() 54 #define cmpxchg16b(ptr, o, n) ({ \ argument
|
/xen/xen/drivers/acpi/ |
A D | osl.c | 215 #define is_xmalloc_memory(ptr) ((unsigned long)(ptr) & (PAGE_SIZE - 1)) argument 219 void *ptr; in acpi_os_alloc_memory() local 231 void *ptr; in acpi_os_zalloc_memory() local 242 void __init acpi_os_free_memory(void *ptr) in acpi_os_free_memory()
|
/xen/xen/arch/x86/ |
A D | domain_page.c | 176 void unmap_domain_page(const void *ptr) in unmap_domain_page() 320 void unmap_domain_page_global(const void *ptr) in unmap_domain_page_global() 333 mfn_t domain_page_map_to_mfn(const void *ptr) in domain_page_map_to_mfn()
|
/xen/misc/coverity/ |
A D | model.c | 88 unsigned long ptr = (unsigned long)__coverity_alloc__(PAGE_SIZE); in map_domain_page() local 107 unsigned long ptr = (unsigned long)va & PAGE_MASK; in unmap_domain_page() local
|
/xen/tools/xenstat/libxenstat/src/ |
A D | xenstat_qmp.c | 90 const char *ptr[] = {0, 0}; in qmp_get_block_image() local 144 char **dev_ids, *tmp, *ptr, *image, path[80]; in lookup_xenstore_devid() local 205 const char *ptr[] = {0, 0}; in qmp_parse_stats() local 292 unsigned char buf[1024], *ptr; in qmp_read() local
|
/xen/xen/tools/kconfig/ |
A D | list.h | 19 #define container_of(ptr, type, member) ({ \ argument 40 #define list_entry(ptr, type, member) \ argument
|