/tools/testing/selftests/arm64/pauth/ |
D | helper.c | 6 size_t keyia_sign(size_t ptr) in keyia_sign() 12 size_t keyib_sign(size_t ptr) in keyib_sign() 18 size_t keyda_sign(size_t ptr) in keyda_sign() 24 size_t keydb_sign(size_t ptr) in keydb_sign() 30 size_t keyg_sign(size_t ptr) in keyg_sign()
|
/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()
|
/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/vm/ |
D | protection_keys.c | 172 u64 *ptr = (u64 *)(c + i); in dump_mem() local 469 int sys_mprotect_pkey(void *ptr, size_t size, unsigned long orig_prot, in sys_mprotect_pkey() 595 int mprotect_pkey(void *ptr, size_t size, unsigned long orig_prot, in mprotect_pkey() 632 void *ptr; member 639 void record_pkey_malloc(void *ptr, long size, int prot) in record_pkey_malloc() 676 void free_pkey_malloc(void *ptr) in free_pkey_malloc() 706 void *ptr; in malloc_pkey_with_mprotect() local 727 void *ptr; in malloc_pkey_anon_huge() local 807 void *ptr; in malloc_pkey_hugetlb() local 828 void *ptr; in malloc_pkey_mmap_dax() local [all …]
|
D | hmm-tests.c | 37 void *ptr; member 226 int *ptr; in TEST_F() local 290 int *ptr; in TEST_F() local 349 int *ptr; in TEST_F() local 397 int *ptr; in TEST_F() local 463 int *ptr; in TEST_F() local 541 int *ptr; in TEST_F() local 620 int *ptr; in TEST_F() local 674 int *ptr; in TEST_F() local 733 int *ptr; in TEST_F() local [all …]
|
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/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/testing/selftests/arm64/mte/ |
D | check_tags_inclusion.c | 22 static int verify_mte_pointer_validity(char *ptr, int mode) in verify_mte_pointer_validity() 45 char *ptr; in check_single_included_tags() local 75 char *ptr; in check_multiple_included_tags() local 107 char *ptr; in check_all_included_tags() local 131 char *ptr; in check_none_included_tags() local
|
D | mte_common_util.c | 93 void *mte_insert_tags(void *ptr, size_t size) in mte_insert_tags() 108 void mte_clear_tags(void *ptr, size_t size) in mte_clear_tags() 123 void *ptr; in __mte_allocate_memory_range() local 212 static void __mte_free_memory_range(void *ptr, size_t size, int mem_type, in __mte_free_memory_range() 231 void mte_free_memory_tag_range(void *ptr, size_t size, int mem_type, in mte_free_memory_tag_range() 237 void mte_free_memory(void *ptr, size_t size, int mem_type, bool tags) in mte_free_memory() 242 void mte_initialize_current_context(int mode, uintptr_t ptr, ssize_t range) in mte_initialize_current_context()
|
D | check_buffer_fill.c | 30 char *ptr; in check_buffer_by_byte() local 66 char *ptr; in check_buffer_underflow_by_byte() local 161 char *ptr; in check_buffer_overflow_by_byte() local 351 static int compare_memory_tags(char *ptr, size_t size, int tag) in compare_memory_tags() 367 char *ptr; in check_memory_initial_tags() local
|
D | check_mmap_options.c | 33 static int check_mte_memory(char *ptr, int size, int mode, int tag_check) in check_mte_memory() 62 char *ptr, *map_ptr; in check_anonymous_memory_mapping() local 94 char *ptr, *map_ptr; in check_file_memory_mapping() local 133 char *ptr, *map_ptr; in check_clear_prot_mte_flag() local
|
D | check_child_memory.c | 29 static int check_child_tag_inheritance(char *ptr, int size, int mode) in check_child_tag_inheritance() 86 char *ptr; in check_child_memory_mapping() local 108 char *ptr, *map_ptr; in check_child_file_mapping() local
|
/tools/perf/arch/arm/util/ |
D | cs-etm.c | 65 struct cs_etm_recording *ptr; in cs_etm_set_context_id() local 114 struct cs_etm_recording *ptr; in cs_etm_set_timestamp() local 197 struct cs_etm_recording *ptr = in cs_etm_parse_snapshot_options() local 257 struct cs_etm_recording *ptr = in cs_etm_recording_options() local 440 struct cs_etm_recording *ptr = in cs_etm_get_config() local 539 struct cs_etm_recording *ptr = in cs_etm_is_etmv4() local 577 struct cs_etm_recording *ptr = in cs_etm_get_metadata() local 647 struct cs_etm_recording *ptr = in cs_etm_info_fill() local 693 static int cs_etm_alloc_wrapped_array(struct cs_etm_recording *ptr, int idx) in cs_etm_alloc_wrapped_array() 776 struct cs_etm_recording *ptr = in cs_etm_find_snapshot() local [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
|
/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 | 245 struct intel_pt_recording *ptr = in intel_pt_parse_snapshot_options() local 303 struct intel_pt_recording *ptr = in intel_pt_info_priv_size() local 327 struct intel_pt_recording *ptr = in intel_pt_info_fill() local 623 struct intel_pt_recording *ptr = in intel_pt_recording_options() local 900 struct intel_pt_recording *ptr = in intel_pt_snapshot_start() local 913 struct intel_pt_recording *ptr = in intel_pt_snapshot_finish() local 924 static int intel_pt_alloc_snapshot_refs(struct intel_pt_recording *ptr, int idx) in intel_pt_alloc_snapshot_refs() 948 static void intel_pt_free_snapshot_refs(struct intel_pt_recording *ptr) in intel_pt_free_snapshot_refs() 959 struct intel_pt_recording *ptr = in intel_pt_recording_free() local 966 static int intel_pt_alloc_snapshot_ref(struct intel_pt_recording *ptr, int idx, in intel_pt_alloc_snapshot_ref() [all …]
|
/tools/testing/selftests/arm64/tags/ |
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/testing/selftests/bpf/ |
D | test_progs.h | 171 #define ASSERT_NULL(ptr, name) ({ \ argument 179 #define ASSERT_OK_PTR(ptr, name) ({ \ argument 188 #define ASSERT_ERR_PTR(ptr, name) ({ \ argument 196 static inline __u64 ptr_to_u64(const void *ptr) in ptr_to_u64() 201 static inline void *u64_to_ptr(__u64 ptr) in u64_to_ptr()
|
/tools/testing/selftests/bpf/progs/ |
D | test_core_autosize.c | 13 void *ptr; member 22 void *ptr; member 32 void *ptr; member 41 unsigned int ptr; /* can't use `void *`, it is always 8 byte in BPF target */ member
|
/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()
|