/tools/include/linux/ |
D | err.h | 40 static inline long __must_check PTR_ERR(__force const void *ptr) in PTR_ERR() 45 static inline bool __must_check IS_ERR(__force const void *ptr) in IS_ERR() 50 static inline bool __must_check IS_ERR_OR_NULL(__force const void *ptr) in IS_ERR_OR_NULL() 55 static inline int __must_check PTR_ERR_OR_ZERO(__force const void *ptr) in PTR_ERR_OR_ZERO() 70 static inline void * __must_check ERR_CAST(__force const void *ptr) in ERR_CAST()
|
D | hash.h | 88 static inline u32 hash_ptr(const void *ptr, unsigned int bits) in hash_ptr() 94 static inline u32 hash32_ptr(const void *ptr) in hash32_ptr()
|
D | zalloc.h | 10 #define zfree(ptr) __zfree((void **)(ptr)) argument
|
D | list.h | 351 #define list_entry(ptr, type, member) \ argument 362 #define list_first_entry(ptr, type, member) \ argument 373 #define list_last_entry(ptr, type, member) \ argument 384 #define list_first_entry_or_null(ptr, type, member) \ argument 597 #define INIT_HLIST_HEAD(ptr) ((ptr)->first = NULL) argument 694 #define hlist_entry(ptr, type, member) container_of(ptr,type,member) argument 703 #define hlist_entry_safe(ptr, type, member) \ argument
|
/tools/include/linux/unaligned/ |
D | packed_struct.h | 13 const struct __una_u16 *ptr = (const struct __una_u16 *)p; in __get_unaligned_cpu16() local 19 const struct __una_u32 *ptr = (const struct __una_u32 *)p; in __get_unaligned_cpu32() local 25 const struct __una_u64 *ptr = (const struct __una_u64 *)p; in __get_unaligned_cpu64() local 31 struct __una_u16 *ptr = (struct __una_u16 *)p; in __put_unaligned_cpu16() local 37 struct __una_u32 *ptr = (struct __una_u32 *)p; in __put_unaligned_cpu32() local 43 struct __una_u64 *ptr = (struct __una_u64 *)p; in __put_unaligned_cpu64() local
|
/tools/testing/selftests/x86/ |
D | protection_keys.c | 231 u64 *ptr = (u64 *)(c + i); in dump_mem() local 531 int sys_mprotect_pkey(void *ptr, size_t size, unsigned long orig_prot, in sys_mprotect_pkey() 646 int mprotect_pkey(void *ptr, size_t size, unsigned long orig_prot, in mprotect_pkey() 678 void *ptr; member 685 void record_pkey_malloc(void *ptr, long size, int prot) in record_pkey_malloc() 722 void free_pkey_malloc(void *ptr) in free_pkey_malloc() 752 void *ptr; in malloc_pkey_with_mprotect() local 773 void *ptr; in malloc_pkey_anon_huge() local 844 void *ptr; in malloc_pkey_hugetlb() local 865 void *ptr; in malloc_pkey_mmap_dax() local [all …]
|
/tools/perf/arch/arm/util/ |
D | cs-etm.c | 64 struct cs_etm_recording *ptr; in cs_etm_set_context_id() local 113 struct cs_etm_recording *ptr; in cs_etm_set_timestamp() local 196 struct cs_etm_recording *ptr = in cs_etm_parse_snapshot_options() local 256 struct cs_etm_recording *ptr = in cs_etm_recording_options() local 438 struct cs_etm_recording *ptr = in cs_etm_get_config() local 537 struct cs_etm_recording *ptr = in cs_etm_is_etmv4() local 575 struct cs_etm_recording *ptr = in cs_etm_get_metadata() local 645 struct cs_etm_recording *ptr = in cs_etm_info_fill() local 691 static int cs_etm_alloc_wrapped_array(struct cs_etm_recording *ptr, int idx) in cs_etm_alloc_wrapped_array() 774 struct cs_etm_recording *ptr = in cs_etm_find_snapshot() local [all …]
|
/tools/lib/traceevent/ |
D | kbuffer-parse.c | 69 unsigned int *ptr; in host_is_bigendian() local 81 static unsigned long long __read_8(void *ptr) in __read_8() 88 static unsigned long long __read_8_sw(void *ptr) in __read_8_sw() 105 static unsigned int __read_4(void *ptr) in __read_4() 112 static unsigned int __read_4_sw(void *ptr) in __read_4_sw() 125 static unsigned long long read_8(struct kbuffer *kbuf, void *ptr) in read_8() 130 static unsigned int read_4(struct kbuffer *kbuf, void *ptr) in read_4() 135 static unsigned long long __read_long_8(struct kbuffer *kbuf, void *ptr) in __read_long_8() 140 static unsigned long long __read_long_4(struct kbuffer *kbuf, void *ptr) in __read_long_4() 145 static unsigned long long read_long(struct kbuffer *kbuf, void *ptr) in read_long() [all …]
|
/tools/virtio/linux/ |
D | err.h | 13 static inline long __must_check PTR_ERR(const void *ptr) in PTR_ERR() 18 static inline long __must_check IS_ERR(const void *ptr) in IS_ERR() 23 static inline long __must_check IS_ERR_OR_NULL(const void *ptr) in IS_ERR_OR_NULL()
|
D | uaccess.h | 14 #define put_user(x, ptr) \ argument 22 #define get_user(x, ptr) \ argument
|
D | kmemleak.h | 1 static inline void kmemleak_ignore(const void *ptr) in kmemleak_ignore()
|
/tools/arch/x86/include/asm/ |
D | cmpxchg.h | 35 #define __raw_cmpxchg(ptr, old, new, size, lock) \ argument 83 #define __cmpxchg(ptr, old, new, size) \ argument 86 #define cmpxchg(ptr, old, new) \ argument
|
/tools/testing/selftests/rcutorture/formal/srcu-cbmc/src/ |
D | percpu.h | 23 static inline void free_percpu(void *ptr) in free_percpu() 28 #define per_cpu_ptr(ptr, cpu) \ argument 41 #define THIS_CPU_ADD_HELPER(ptr, x) (*(ptr) += (x)) argument 47 #define THIS_CPU_ADD_HELPER(ptr, x) \ argument
|
/tools/perf/arch/x86/util/ |
D | intel-pt.c | 239 struct intel_pt_recording *ptr = in intel_pt_parse_snapshot_options() local 297 struct intel_pt_recording *ptr = in intel_pt_info_priv_size() local 321 struct intel_pt_recording *ptr = in intel_pt_info_fill() local 578 struct intel_pt_recording *ptr = in intel_pt_recording_options() local 811 struct intel_pt_recording *ptr = in intel_pt_snapshot_start() local 824 struct intel_pt_recording *ptr = in intel_pt_snapshot_finish() local 835 static int intel_pt_alloc_snapshot_refs(struct intel_pt_recording *ptr, int idx) in intel_pt_alloc_snapshot_refs() 859 static void intel_pt_free_snapshot_refs(struct intel_pt_recording *ptr) in intel_pt_free_snapshot_refs() 870 struct intel_pt_recording *ptr = in intel_pt_recording_free() local 877 static int intel_pt_alloc_snapshot_ref(struct intel_pt_recording *ptr, int idx, in intel_pt_alloc_snapshot_ref() [all …]
|
/tools/testing/selftests/vm/ |
D | virtual_address_range.c | 65 static int validate_addr(char *ptr, int high_addr) in validate_addr() 86 char *ptr; in validate_lower_address_hint() local 99 char *ptr[NR_CHUNKS_LOW]; in main() local
|
D | transhuge-stress.c | 30 int64_t allocate_transhuge(void *ptr) in allocate_transhuge() 61 void *ptr, *p; in main() local
|
/tools/testing/selftests/arm64/ |
D | tags_test.c | 11 #define SET_TAG(ptr, tag) (((uint64_t)(ptr) & ~SHIFT_TAG(0xff)) | \ argument 18 struct utsname *ptr; in main() local
|
/tools/testing/selftests/kvm/lib/ |
D | io.c | 46 const char *ptr = buf; in test_write() local 123 char *ptr = buf; in test_read() local
|
/tools/lib/subcmd/ |
D | subcmd-util.h | 28 #define zfree(ptr) ({ free(*ptr); *ptr = NULL; }) argument 50 static inline void *xrealloc(void *ptr, size_t size) in xrealloc()
|
/tools/testing/radix-tree/linux/ |
D | kmemleak.h | 1 static inline void kmemleak_update_trace(const void *ptr) { } in kmemleak_update_trace()
|
/tools/testing/selftests/android/ion/ |
D | ionutils.c | 16 unsigned char *ptr = (unsigned char *)buffer; in write_buffer() local 33 unsigned char *ptr = (unsigned char *)buffer; in read_buffer() local
|
/tools/lib/traceevent/plugins/ |
D | plugin_function.c | 70 char **ptr; in add_child() local 97 struct func_stack *ptr; in add_and_get_index() local
|
/tools/lib/api/fs/ |
D | tracing_path.h | 19 #define zput_events_file(ptr) ({ free(*ptr); *ptr = NULL; }) argument
|
/tools/perf/util/ |
D | copyfile.c | 47 void *ptr; in copyfile_offset() local 79 char *tmp = NULL, *ptr = NULL; in copyfile_mode_ns() local
|
/tools/lib/ |
D | zalloc.c | 11 void __zfree(void **ptr) in __zfree()
|