/DragonStub/inc/dragonstub/linux/ |
H A D | err.h | 49 static inline long __must_check PTR_ERR(__force const void *ptr) in PTR_ERR() argument 51 return (long) ptr; in PTR_ERR() 59 static inline bool __must_check IS_ERR(__force const void *ptr) in IS_ERR() argument 61 return IS_ERR_VALUE((unsigned long)ptr); in IS_ERR() 70 static inline bool __must_check IS_ERR_OR_NULL(__force const void *ptr) in IS_ERR_OR_NULL() argument 72 return unlikely(!ptr) || IS_ERR_VALUE((unsigned long)ptr); in IS_ERR_OR_NULL() 82 static inline void * __must_check ERR_CAST(__force const void *ptr) in ERR_CAST() argument 85 return (void *) ptr; in ERR_CAST() 105 static inline int __must_check PTR_ERR_OR_ZERO(__force const void *ptr) in PTR_ERR_OR_ZERO() argument 107 if (IS_ERR(ptr)) in PTR_ERR_OR_ZERO() [all …]
|
H A D | unaligned.h | 3 #define __get_unaligned_t(type, ptr) \ argument 7 } __packed *__pptr = (typeof(__pptr))(ptr); \ 11 #define __put_unaligned_t(type, val, ptr) \ argument 15 } __packed *__pptr = (typeof(__pptr))(ptr); \
|
/DragonStub/lib/x86_64/ |
H A D | math.c | 50 mov eax, dword ptr Operand[0] in LShiftU64() 51 mov edx, dword ptr Operand[4] in LShiftU64() 65 mov dword ptr Result[0], eax in LShiftU64() 66 mov dword ptr Result[4], edx in LShiftU64() 85 mov eax, dword ptr Operand[0] in RShiftU64() 86 mov edx, dword ptr Operand[4] in RShiftU64() 100 mov dword ptr Result[0], eax in RShiftU64() 101 mov dword ptr Result[4], edx in RShiftU64() 121 mov eax, dword ptr Multiplicand[0] in MultU64x32() 123 mov dword ptr Result[0], eax in MultU64x32() [all …]
|
/DragonStub/lib/ia32/ |
H A D | math.c | 50 mov eax, dword ptr Operand[0] in LShiftU64() 51 mov edx, dword ptr Operand[4] in LShiftU64() 65 mov dword ptr Result[0], eax in LShiftU64() 66 mov dword ptr Result[4], edx in LShiftU64() 85 mov eax, dword ptr Operand[0] in RShiftU64() 86 mov edx, dword ptr Operand[4] in RShiftU64() 100 mov dword ptr Result[0], eax in RShiftU64() 101 mov dword ptr Result[4], edx in RShiftU64() 121 mov eax, dword ptr Multiplicand[0] in MultU64x32() 123 mov dword ptr Result[0], eax in MultU64x32() [all …]
|
/DragonStub/apps/lib/ |
H A D | vsprintf.c | 501 static const char *check_pointer_msg(const void *ptr) in check_pointer_msg() argument 503 if (!ptr) in check_pointer_msg() 506 if ((unsigned long)ptr < PAGE_SIZE || IS_ERR_VALUE(ptr)) in check_pointer_msg() 512 static int check_pointer(char **buf, char *end, const void *ptr, in check_pointer() argument 517 err_msg = check_pointer_msg(ptr); in check_pointer() 535 static char *pointer_string(char *buf, char *end, const void *ptr, in pointer_string() argument 541 spec.field_width = 2 * sizeof(ptr); in pointer_string() 545 return number(buf, end, (unsigned long int)ptr, spec); in pointer_string() 641 static char *default_pointer(char *buf, char *end, const void *ptr, in default_pointer() argument 644 return pointer_string(buf, end, ptr, spec); in default_pointer() [all …]
|
H A D | cmdline.c | 147 unsigned long long memparse(const char *ptr, char **retptr) in memparse() argument 151 unsigned long long ret = simple_strtoull(ptr, &endptr, 0); in memparse()
|
/DragonStub/apps/lib/libfdt/ |
H A D | fdt_sw.c | 327 void *ptr; in fdt_property() local 330 ret = fdt_property_placeholder(fdt, name, len, &ptr); in fdt_property() 333 memcpy(ptr, val, len); in fdt_property()
|
/DragonStub/inc/dragonstub/ |
H A D | compiler_types.h | 32 static inline void __chk_user_ptr(const volatile void __user *ptr) in __chk_user_ptr() argument 35 static inline void __chk_io_ptr(const volatile void __iomem *ptr) in __chk_io_ptr() argument
|