Home
last modified time | relevance | path

Searched refs:base (Results 1 – 25 of 117) sorted by relevance

12345

/tools/perf/tests/attr/
Dtest-stat-detailed-38 [event1:base-stat]
14 [event2:base-stat]
20 [event3:base-stat]
26 [event4:base-stat]
32 [event5:base-stat]
39 [event6:base-stat]
46 [event7:base-stat]
53 [event8:base-stat]
60 [event9:base-stat]
67 [event10:base-stat]
[all …]
Dtest-stat-detailed-28 [event1:base-stat]
14 [event2:base-stat]
20 [event3:base-stat]
26 [event4:base-stat]
32 [event5:base-stat]
39 [event6:base-stat]
46 [event7:base-stat]
53 [event8:base-stat]
60 [event9:base-stat]
67 [event10:base-stat]
[all …]
Dtest-stat-detailed-18 [event1:base-stat]
14 [event2:base-stat]
20 [event3:base-stat]
26 [event4:base-stat]
32 [event5:base-stat]
39 [event6:base-stat]
46 [event7:base-stat]
53 [event8:base-stat]
60 [event9:base-stat]
67 [event10:base-stat]
[all …]
Dtest-stat-default7 [event1:base-stat]
13 [event2:base-stat]
19 [event3:base-stat]
25 [event4:base-stat]
31 [event5:base-stat]
38 [event6:base-stat]
45 [event7:base-stat]
52 [event8:base-stat]
59 [event9:base-stat]
66 [event10:base-stat]
Dtest-stat-group16 [event-1:base-stat]
11 [event-2:base-stat]
Dtest-stat-group6 [event-1:base-stat]
11 [event-2:base-stat]
Dtest-record-group6 [event-1:base-record]
12 [event-2:base-record]
Dtest-record-group16 [event-1:base-record]
12 [event-2:base-record]
Dtest-record-group26 [event-1:base-record]
16 [event-2:base-record]
Dtest-record-group-sampling6 [event-1:base-record]
13 [event-2:base-record]
/tools/testing/selftests/x86/
Dfsgsbase.c161 unsigned long base; in check_gs_value() local
169 base = read_base(GS); in check_gs_value()
170 if (base == value) { in check_gs_value()
176 base, sel); in check_gs_value()
179 if (syscall(SYS_arch_prctl, ARCH_GET_GS, &base) != 0) in check_gs_value()
181 if (base == value) { in check_gs_value()
187 base, sel); in check_gs_value()
193 unsigned long base, arch_base; in mov_0_gs() local
203 base = read_base(GS); in mov_0_gs()
206 if (base == arch_base) { in mov_0_gs()
[all …]
Dentry_from_vm86.c192 unsigned long base; in do_umip_tests() member
196 struct table_desc gdt1 = { .base = 0x3c3c3c3c, .limit = 0x9999 }; in do_umip_tests()
197 struct table_desc gdt2 = { .base = 0x1a1a1a1a, .limit = 0xaeae }; in do_umip_tests()
198 struct table_desc idt1 = { .base = 0x7b7b7b7b, .limit = 0xf1f1 }; in do_umip_tests()
199 struct table_desc idt2 = { .base = 0x89898989, .limit = 0x1313 }; in do_umip_tests()
220 idt1.limit, idt1.base); in do_umip_tests()
222 gdt1.limit, gdt1.base); in do_umip_tests()
/tools/testing/selftests/powerpc/mm/
Dpkey_siginfo.c93 unsigned int *base; member
100 unsigned int *base; in protect() local
105 base = ((struct region *) p)->base; in protect()
107 FAIL_IF_EXIT(!base); in protect()
130 FAIL_IF_EXIT(sys_pkey_mprotect(base, size, PROT_RWX, in protect()
143 unsigned int *base; in protect_access() local
147 base = ((struct region *) p)->base; in protect_access()
150 numinsns = size / sizeof(base[0]); in protect_access()
151 FAIL_IF_EXIT(!base); in protect_access()
161 base, base + numinsns); in protect_access()
[all …]
Dbad_accesses.c122 unsigned long base, delta; in test() local
124 base = i << region_shift; in test()
127 if (delta >= base) in test()
130 addr = (base | delta) & ~((1 << page_shift) - 1); in test()
/tools/include/linux/
Dring_buffer.h51 static inline u64 ring_buffer_read_head(struct perf_event_mmap_page *base) in ring_buffer_read_head() argument
59 return smp_load_acquire(&base->data_head); in ring_buffer_read_head()
61 u64 head = READ_ONCE(base->data_head); in ring_buffer_read_head()
68 static inline void ring_buffer_write_tail(struct perf_event_mmap_page *base, in ring_buffer_write_tail() argument
71 smp_store_release(&base->data_tail, tail); in ring_buffer_write_tail()
/tools/testing/selftests/rcutorture/bin/
Dconfig_override.sh14 base=$1
15 if test -r $base
19 echo Base file $base unreadable!!!
47 sh $T/script < $base
/tools/testing/selftests/kvm/lib/
Dtest_util.c21 size_t base; in parse_size() local
27 base = strtoull(size, &scale, 0); in parse_size()
29 TEST_ASSERT(base != ULLONG_MAX, "Overflow parsing size!"); in parse_size()
52 TEST_ASSERT((base << shift) >> shift == base, "Overflow scaling size!"); in parse_size()
54 return base << shift; in parse_size()
/tools/lib/perf/
Dmmap.c37 map->base = mmap(NULL, perf_mmap__mmap_len(map), mp->prot, in perf_mmap__mmap()
39 if (map->base == MAP_FAILED) { in perf_mmap__mmap()
40 map->base = NULL; in perf_mmap__mmap()
51 if (map && map->base != NULL) { in perf_mmap__munmap()
52 munmap(map->base, perf_mmap__mmap_len(map)); in perf_mmap__munmap()
53 map->base = NULL; in perf_mmap__munmap()
68 BUG_ON(map->base && refcount_read(&map->refcnt) == 0); in perf_mmap__put()
76 ring_buffer_write_tail(md->base, tail); in perf_mmap__write_tail()
81 return ring_buffer_read_head(map->base); in perf_mmap__read_head()
86 struct perf_event_mmap_page *pc = map->base; in perf_mmap__empty()
[all …]
/tools/testing/selftests/gpio/
Dgpio-mockup-sysfs.sh108 base=`cat $chip/base`
110 printf "%-10s %-5s %-5s\n" $name $base $ngpio
114 test_one_pin $base
115 test_one_pin $(($base + $ngpio - 1))
116 test_one_pin $((( RANDOM % $ngpio ) + $base ))
/tools/perf/jvmti/
Djvmti_agent.c133 char *base, *p; in create_jit_cache_dir() local
141 base = getenv("JITDUMPDIR"); in create_jit_cache_dir()
142 if (!base) in create_jit_cache_dir()
143 base = getenv("HOME"); in create_jit_cache_dir()
144 if (!base) in create_jit_cache_dir()
145 base = "."; in create_jit_cache_dir()
149 ret = snprintf(jit_path, PATH_MAX, "%s/.debug/", base); in create_jit_cache_dir()
153 " HOME variables", base); in create_jit_cache_dir()
164 ret = snprintf(jit_path, PATH_MAX, "%s/.debug/jit", base); in create_jit_cache_dir()
168 " JITDUMPDIR, and HOME variables", base); in create_jit_cache_dir()
[all …]
/tools/build/feature/
Dtest-dwarf_getlocations.c7 Dwarf_Addr base, start, end; in main() local
12 return (int)dwarf_getlocations(&attr, offset, &base, &start, &end, &op, &nops); in main()
/tools/perf/util/
Dpmu.l9 static int value(int base) in value() argument
14 num = strtoul(perf_pmu_text, NULL, base); in value()
/tools/testing/selftests/kvm/x86_64/
Duser_msr_test.c58 .base = 0x00000000,
63 .base = 0x00000000,
68 .base = 0x40000000,
73 .base = 0xc0000000,
78 .base = 0xc0000000,
83 .base = 0xdeadbeef,
/tools/objtool/
Dcheck.c254 cfi->regs[i].base = CFI_UNDEFINED; in init_cfi_state()
255 cfi->vals[i].base = CFI_UNDEFINED; in init_cfi_state()
257 cfi->cfa.base = CFI_UNDEFINED; in init_cfi_state()
1904 if (arch_decode_hint_reg(hint->sp_reg, &cfi.cfa.base)) { in read_unwind_hints()
2207 if (cfi->cfa.base != initial_func_cfi.cfa.base || cfi->drap) in has_modified_stack_frame()
2217 if (cfi->regs[i].base != initial_func_cfi.regs[i].base || in has_modified_stack_frame()
2229 if (cfi->cfa.base == CFI_BP && cfi->regs[CFI_BP].base == CFI_CFA && in has_valid_stack_frame()
2233 if (cfi->drap && cfi->regs[CFI_BP].base == CFI_BP) in has_valid_stack_frame()
2245 if (cfa->base != CFI_SP && cfa->base != CFI_SP_INDIRECT) in update_cfi_state_regs()
2264 static void save_reg(struct cfi_state *cfi, unsigned char reg, int base, int offset) in save_reg() argument
[all …]
/tools/objtool/arch/x86/
Ddecode.c563 state->regs[i].base = CFI_UNDEFINED; in arch_initial_func_cfi_state()
568 state->cfa.base = CFI_SP; in arch_initial_func_cfi_state()
572 state->regs[CFI_RA].base = CFI_CFA; in arch_initial_func_cfi_state()
614 int arch_decode_hint_reg(u8 sp_reg, int *base) in arch_decode_hint_reg() argument
618 *base = CFI_UNDEFINED; in arch_decode_hint_reg()
621 *base = CFI_SP; in arch_decode_hint_reg()
624 *base = CFI_BP; in arch_decode_hint_reg()
627 *base = CFI_SP_INDIRECT; in arch_decode_hint_reg()
630 *base = CFI_R10; in arch_decode_hint_reg()
633 *base = CFI_R13; in arch_decode_hint_reg()
[all …]

12345