/external/linux-tools-perf/src/tools/perf/util/ |
D | svghelper.h | 6 extern void open_svg(const char *filename, int cpus, int rows, u64 start, u64 end); 7 extern void svg_box(int Yslot, u64 start, u64 end, const char *type); 8 extern void svg_sample(int Yslot, int cpu, u64 start, u64 end); 9 extern void svg_waiting(int Yslot, u64 start, u64 end); 10 extern void svg_cpu_box(int cpu, u64 max_frequency, u64 turbo_frequency); 13 extern void svg_process(int cpu, u64 start, u64 end, const char *type, const char *name); 14 extern void svg_cstate(int cpu, u64 start, u64 end, int type); 15 extern void svg_pstate(int cpu, u64 start, u64 end, u64 freq); 20 extern void svg_wakeline(u64 start, int row1, int row2); 21 extern void svg_partial_wakeline(u64 start, int row1, char *desc1, int row2, char *desc2); [all …]
|
D | event.h | 14 u64 start; 15 u64 len; 16 u64 pgoff; 23 u64 start; 24 u64 len; 25 u64 pgoff; 28 u64 ino; 29 u64 ino_generation; 43 u64 time; 48 u64 id; [all …]
|
D | map.h | 32 u64 start; 33 u64 end; 38 u64 pgoff; 40 u64 ino; /* only valid for MMAP2 record */ 41 u64 ino_generation;/* only valid for MMAP2 record */ 44 u64 (*map_ip)(struct map *, u64); 46 u64 (*unmap_ip)(struct map *, u64); 68 static inline u64 map__map_ip(struct map *map, u64 ip) in map__map_ip() 73 static inline u64 map__unmap_ip(struct map *map, u64 ip) in map__unmap_ip() 78 static inline u64 identity__map_ip(struct map *map __maybe_unused, u64 ip) in identity__map_ip() [all …]
|
D | svghelper.c | 23 static u64 first_time, last_time; 24 static u64 turbo_frequency, max_freq; 34 static u64 total_height; 47 static double time2pixels(u64 __time) in time2pixels() 74 void open_svg(const char *filename, int cpus, int rows, u64 start, u64 end) in open_svg() 122 void svg_box(int Yslot, u64 start, u64 end, const char *type) in svg_box() 131 void svg_sample(int Yslot, int cpu, u64 start, u64 end) in svg_sample() 153 static char *time_to_string(u64 duration) in time_to_string() 171 void svg_waiting(int Yslot, u64 start, u64 end) in svg_waiting() 236 void svg_cpu_box(int cpu, u64 __max_freq, u64 __turbo_freq) in svg_cpu_box() [all …]
|
D | header.h | 43 u64 offset; 44 u64 size; 48 u64 magic; 49 u64 size; 50 u64 attr_size; 59 u64 magic; 60 u64 size; 95 u64 data_offset; 96 u64 data_size; 97 u64 feat_offset; [all …]
|
D | callchain.h | 30 u64 hit; 31 u64 children_hit; 35 u64 max_depth; 42 u64, struct callchain_param *); 59 u64 ip; 71 u64 ip; 78 u64 nr; 81 u64 pos; 99 static inline u64 callchain_cumul_hits(struct callchain_node *node) in callchain_cumul_hits() 107 u64 period); [all …]
|
D | symbol.h | 66 u64 start; 67 u64 end; 135 u64 addr; 136 u64 unrelocated_addr; 149 u64 addr; 150 u64 al_addr; 169 u64 addr; 215 u64 addr); 224 char type, u64 start)); 231 struct symbol *symbol__new(u64 start, u64 len, u8 binding, const char *name); [all …]
|
D | callchain.c | 37 u64 chain_cumul = callchain_cumul_hits(chain); in rb_insert_callchain() 40 u64 rnode_cumul; in rb_insert_callchain() 72 u64 min_hit) in __sort_chain_flat() 89 u64 min_hit, struct callchain_param *param __maybe_unused) in sort_chain_flat() 95 u64 min_hit) in __sort_chain_graph_abs() 111 u64 min_hit, struct callchain_param *param __maybe_unused) in sort_chain_graph_abs() 121 u64 min_hit; in __sort_chain_graph_rel() 136 u64 min_hit __maybe_unused, struct callchain_param *param) in sort_chain_graph_rel() 229 u64 period) in add_child() 249 u64 idx_parents, u64 idx_local, u64 period) in split_add_child() [all …]
|
D | evsel.c | 35 int __perf_evsel__sample_size(u64 sample_type) in __perf_evsel__sample_size() 37 u64 mask = sample_type & PERF_SAMPLE_MASK; in __perf_evsel__sample_size() 46 size *= sizeof(u64); in __perf_evsel__sample_size() 59 static int __perf_evsel__calc_id_pos(u64 sample_type) in __perf_evsel__calc_id_pos() 92 static int __perf_evsel__calc_is_pos(u64 sample_type) in __perf_evsel__calc_is_pos() 132 evsel->sample_size += sizeof(u64); in __perf_evsel__set_sample_bit() 142 evsel->sample_size -= sizeof(u64); in __perf_evsel__reset_sample_bit() 267 static const char *__perf_evsel__hw_name(u64 config) in __perf_evsel__hw_name() 330 static const char *__perf_evsel__sw_name(u64 config) in __perf_evsel__sw_name() 343 static int __perf_evsel__bp_name(char *bf, size_t size, u64 addr, u64 type) in __perf_evsel__bp_name() [all …]
|
/external/compiler-rt/lib/sanitizer_common/ |
D | sanitizer_syscall_linux_x86_64.inc | 16 static uptr internal_syscall(u64 nr) { 17 u64 retval; 24 static uptr internal_syscall(u64 nr, T1 arg1) { 25 u64 retval; 26 asm volatile("syscall" : "=a"(retval) : "a"(nr), "D"((u64)arg1) : 32 static uptr internal_syscall(u64 nr, T1 arg1, T2 arg2) { 33 u64 retval; 34 asm volatile("syscall" : "=a"(retval) : "a"(nr), "D"((u64)arg1), 35 "S"((u64)arg2) : "rcx", "r11", "memory", "cc"); 40 static uptr internal_syscall(u64 nr, T1 arg1, T2 arg2, T3 arg3) { [all …]
|
D | sanitizer_lfstack.h | 37 u64 cmp = atomic_load(&head_, memory_order_relaxed); in Push() 39 u64 cnt = (cmp & kCounterMask) + kCounterInc; in Push() 40 u64 xch = (u64)(uptr)p | cnt; in Push() 49 u64 cmp = atomic_load(&head_, memory_order_acquire); in Pop() 55 u64 cnt = (cmp & kCounterMask); in Pop() 56 u64 xch = (u64)(uptr)nxt | cnt; in Pop() 65 static const u64 kPtrMask = ((u64)-1) >> kCounterBits; 66 static const u64 kCounterMask = ~kPtrMask; 67 static const u64 kCounterInc = kPtrMask + 1;
|
/external/compiler-rt/lib/tsan/rtl/ |
D | tsan_rtl.h | 80 u64 v1, u64 v2); 82 const u64 kShadowRodata = (u64)-1; // .rodata shadow marker 92 FastState(u64 tid, u64 epoch) { in FastState() 100 explicit FastState(u64 x) in FastState() 104 u64 raw() const { in raw() 108 u64 tid() const { in tid() 109 u64 res = (x_ & ~kIgnoreBit) >> kTidShift; in tid() 113 u64 TidWithIgnore() const { in TidWithIgnore() 114 u64 res = x_ >> kTidShift; in TidWithIgnore() 118 u64 epoch() const { in epoch() [all …]
|
D | tsan_mutexset.h | 27 u64 id; 28 u64 epoch; 35 void Add(u64 id, bool write, u64 epoch); 36 void Del(u64 id, bool write); 37 void Remove(u64 id); // Removes the mutex completely (if it's destroyed). 60 void MutexSet::Add(u64 id, bool write, u64 epoch) {} in Add() 61 void MutexSet::Del(u64 id, bool write) {} in Del() 62 void MutexSet::Remove(u64 id) {} in Remove()
|
D | tsan_mutexset.cc | 25 void MutexSet::Add(u64 id, bool write, u64 epoch) { in Add() 36 u64 minepoch = (u64)-1; in Add() 37 u64 mini = (u64)-1; in Add() 55 void MutexSet::Del(u64 id, bool write) { in Del() 65 void MutexSet::Remove(u64 id) { in Remove()
|
D | tsan_sync.h | 33 u64 uid; // Globally unique id. 36 u64 last_lock; 49 void Init(ThreadState *thr, uptr pc, uptr addr, u64 uid); 52 u64 GetId() const { in GetId() 54 return GetLsb((u64)addr | (uid << 47), 61); in GetId() 56 bool CheckId(u64 uid) const { in CheckId() 60 static uptr SplitId(u64 id, u64 *uid) { in SplitId()
|
/external/linux-tools-perf/src/include/linux/ |
D | perf_event.h | 92 u64 config; /* register value */ 107 u64 config; 108 u64 last_tag; 144 u64 sample_period; 145 u64 last_period; 147 u64 interrupts_seq; 148 u64 interrupts; 150 u64 freq_time_stamp; 151 u64 freq_count_stamp; 342 u64 total_time_enabled; [all …]
|
/external/compiler-rt/lib/tsan/tests/unit/ |
D | tsan_sync_test.cc | 22 u64 block[1] = {}; // fake malloc block in TEST() 23 m->AllocBlock(thr, 0, (uptr)&block[0], 1 * sizeof(u64)); in TEST() 26 EXPECT_EQ(mb->siz, 1 * sizeof(u64)); in TEST() 29 EXPECT_EQ(sz, 1 * sizeof(u64)); in TEST() 37 u64 block[4] = {}; // fake malloc block in TEST() 38 m->AllocBlock(thr, 0, (uptr)&block[0], 1 * sizeof(u64)); in TEST() 39 m->AllocBlock(thr, 0, (uptr)&block[1], 3 * sizeof(u64)); in TEST() 41 EXPECT_EQ(mb1->siz, 1 * sizeof(u64)); in TEST() 43 EXPECT_EQ(mb2->siz, 3 * sizeof(u64)); in TEST() 44 m->FreeRange(thr, 0, (uptr)&block[0], 4 * sizeof(u64)); in TEST() [all …]
|
/external/squashfs-tools/kernel/fs/squashfs/ |
D | squashfs.h | 36 extern int squashfs_read_data(struct super_block *, void **, u64, int, u64 *, 43 struct squashfs_cache *, u64, int); 46 extern int squashfs_read_metadata(struct super_block *, void *, u64 *, 49 u64, int); 51 u64, int); 52 extern int squashfs_read_table(struct super_block *, void *, u64, int); 55 extern __le64 *squashfs_read_inode_lookup_table(struct super_block *, u64, 59 extern int squashfs_frag_lookup(struct super_block *, unsigned int, u64 *); 61 u64, unsigned int); 65 extern __le64 *squashfs_read_id_index_table(struct super_block *, u64,
|
/external/v8/src/base/ |
D | division-by-constant-unittest.cc | 41 static M64 u64(uint64_t d) { return UnsignedDivisionByConstant<uint64_t>(d); } in u64() function 114 EXPECT_EQ(M64(0x0000000000000000ULL, 0, true), u64(1)); in TEST() 116 EXPECT_EQ(M64(1ULL << (64 - k), 0, false), u64(1ULL << k)); in TEST() 118 EXPECT_EQ(M64(0xAAAAAAAAAAAAAAABULL, 1, false), u64(3)); in TEST() 119 EXPECT_EQ(M64(0xCCCCCCCCCCCCCCCDULL, 2, false), u64(5)); in TEST() 120 EXPECT_EQ(M64(0xAAAAAAAAAAAAAAABULL, 2, false), u64(6)); in TEST() 121 EXPECT_EQ(M64(0x2492492492492493ULL, 3, true), u64(7)); in TEST() 122 EXPECT_EQ(M64(0xE38E38E38E38E38FULL, 3, false), u64(9)); in TEST() 123 EXPECT_EQ(M64(0xCCCCCCCCCCCCCCCDULL, 3, false), u64(10)); in TEST() 124 EXPECT_EQ(M64(0x2E8BA2E8BA2E8BA3ULL, 1, false), u64(11)); in TEST() [all …]
|
/external/wpa_supplicant_8/src/utils/ |
D | common.h | 90 typedef UINT64 u64; typedef 102 typedef unsigned long long u64; typedef 115 typedef unsigned long long u64; typedef 121 typedef unsigned long u64; typedef 135 typedef uint64_t u64; typedef 199 #define le_to_host64(n) ((__force u64) (le64) (n)) 200 #define host_to_le64(n) ((__force le64) (u64) (n)) 201 #define be_to_host64(n) bswap_64((__force u64) (be64) (n)) 289 static inline u64 WPA_GET_BE64(const u8 *a) in WPA_GET_BE64() 291 return (((u64) a[0]) << 56) | (((u64) a[1]) << 48) | in WPA_GET_BE64() [all …]
|
/external/linux-tools-perf/src/tools/perf/ |
D | perf.h | 178 u64 nr; 179 u64 ips[0]; 183 u64 mispred:1; 184 u64 predicted:1; 185 u64 reserved:62; 189 u64 from; 190 u64 to; 195 u64 nr; 230 u64 branch_stack; 231 u64 default_interval; [all …]
|
D | builtin-sched.c | 49 u64 cpu_usage; 62 u64 timestamp; 63 u64 duration; 81 u64 sched_out_time; 82 u64 wake_up_time; 83 u64 sched_in_time; 84 u64 runtime; 91 u64 max_lat; 92 u64 max_lat_at; 93 u64 total_lat; [all …]
|
/external/compiler-rt/lib/asan/ |
D | asan_mapping.h | 99 static const u64 kDefaultShadowScale = 3; 100 static const u64 kDefaultShadowOffset32 = 1ULL << 29; // 0x20000000 101 static const u64 kIosShadowOffset32 = 1ULL << 30; // 0x40000000 102 static const u64 kDefaultShadowOffset64 = 1ULL << 44; 103 static const u64 kDefaultShort64bitShadowOffset = 0x7FFF8000; // < 2G. 104 static const u64 kAArch64_ShadowOffset64 = 1ULL << 36; 105 static const u64 kMIPS32_ShadowOffset32 = 0x0aaa0000; 106 static const u64 kMIPS64_ShadowOffset64 = 1ULL << 37; 107 static const u64 kPPC64_ShadowOffset64 = 1ULL << 41; 108 static const u64 kFreeBSD_ShadowOffset32 = 1ULL << 30; // 0x40000000 [all …]
|
/external/linux-tools-perf/src/tools/perf/tests/ |
D | sample-parsing.c | 25 const struct perf_sample *s2, u64 type, u64 regs_user, in samples_same() 26 u64 read_format) in samples_same() 98 size_t sz = hweight_long(regs_user) * sizeof(u64); in samples_same() 127 static int do_test(u64 sample_type, u64 sample_regs_user, u64 read_format) in do_test() 140 u64 data[64]; in do_test() 147 u64 data[64]; in do_test() 152 u64 user_regs[64]; in do_test() 153 const u64 raw_data[] = {0x123456780a0b0c0dULL, 0x1102030405060708ULL}; in do_test() 154 const u64 data[] = {0x2211443366558877ULL, 0, 0xaabbccddeeff4321ULL}; in do_test() 268 const u64 rf[] = {4, 5, 6, 7, 12, 13, 14, 15}; in test__sample_parsing() [all …]
|
D | rdpmc.c | 14 static u64 rdpmc(unsigned int counter) in rdpmc() 20 return low | ((u64)high) << 32; in rdpmc() 23 static u64 rdtsc(void) in rdtsc() 29 return low | ((u64)high) << 32; in rdtsc() 32 static u64 mmap_read_self(void *addr) in mmap_read_self() 36 u64 count, cyc = 0, time_offset = 0, enabled, running, delta; in mmap_read_self() 61 u64 quot, rem; in mmap_read_self() 93 u64 i, loops = 1000; in __test__rdpmc() 102 u64 delta_sum = 0; in __test__rdpmc() 124 u64 stamp, now, delta; in __test__rdpmc()
|