Home
last modified time | relevance | path

Searched refs:mapping (Results 1 – 15 of 15) sorted by relevance

/tools/testing/selftests/arm64/mte/
Dmte_common_util.c119 static void *__mte_allocate_memory_range(size_t size, int mem_type, int mapping, in __mte_allocate_memory_range() argument
139 map_flag = mapping; in __mte_allocate_memory_range()
142 if (!(mapping & MAP_SHARED)) in __mte_allocate_memory_range()
161 void *mte_allocate_memory_tag_range(size_t size, int mem_type, int mapping, in mte_allocate_memory_tag_range() argument
164 return __mte_allocate_memory_range(size, mem_type, mapping, range_before, in mte_allocate_memory_tag_range()
168 void *mte_allocate_memory(size_t size, int mem_type, int mapping, bool tags) in mte_allocate_memory() argument
170 return __mte_allocate_memory_range(size, mem_type, mapping, 0, 0, tags, -1); in mte_allocate_memory()
173 void *mte_allocate_file_memory(size_t size, int mem_type, int mapping, bool tags, int fd) in mte_allocate_file_memory() argument
188 return __mte_allocate_memory_range(size, mem_type, mapping, 0, 0, tags, fd); in mte_allocate_file_memory()
191 void *mte_allocate_file_memory_tag_range(size_t size, int mem_type, int mapping, in mte_allocate_file_memory_tag_range() argument
[all …]
Dmte_common_util.h45 void *mte_allocate_memory(size_t size, int mem_type, int mapping, bool tags);
46 void *mte_allocate_memory_tag_range(size_t size, int mem_type, int mapping,
48 void *mte_allocate_file_memory(size_t size, int mem_type, int mapping,
50 void *mte_allocate_file_memory_tag_range(size_t size, int mem_type, int mapping,
Dcheck_mmap_options.c60 static int check_anonymous_memory_mapping(int mem_type, int mode, int mapping, int tag_check) in check_anonymous_memory_mapping() argument
70 map_ptr = (char *)mte_allocate_memory(map_size, mem_type, mapping, false); in check_anonymous_memory_mapping()
92 static int check_file_memory_mapping(int mem_type, int mode, int mapping, int tag_check) in check_file_memory_mapping() argument
106 map_ptr = (char *)mte_allocate_file_memory(map_size, mem_type, mapping, false, fd); in check_file_memory_mapping()
131 static int check_clear_prot_mte_flag(int mem_type, int mode, int mapping) in check_clear_prot_mte_flag() argument
141 ptr = (char *)mte_allocate_memory_tag_range(sizes[run], mem_type, mapping, in check_clear_prot_mte_flag()
162 ptr = (char *)mte_allocate_file_memory_tag_range(sizes[run], mem_type, mapping, in check_clear_prot_mte_flag()
Dcheck_child_memory.c84 static int check_child_memory_mapping(int mem_type, int mode, int mapping) in check_child_memory_mapping() argument
93 ptr = (char *)mte_allocate_memory_tag_range(sizes[run], mem_type, mapping, in check_child_memory_mapping()
106 static int check_child_file_mapping(int mem_type, int mode, int mapping) in check_child_file_mapping() argument
119 map_ptr = (char *)mte_allocate_file_memory(map_size, mem_type, mapping, false, fd); in check_child_file_mapping()
Dcheck_user_mem.c22 static int check_usermem_access_fault(int mem_type, int mode, int mapping) in check_usermem_access_fault() argument
38 ptr = mte_allocate_memory(len, mem_type, mapping, true); in check_usermem_access_fault()
Dcheck_ksm_options.c95 static int check_madvise_options(int mem_type, int mode, int mapping) in check_madvise_options() argument
107 ptr = mte_allocate_memory(TEST_UNIT * page_sz, mem_type, mapping, true); in check_madvise_options()
Dcheck_buffer_fill.c365 static int check_memory_initial_tags(int mem_type, int mode, int mapping) in check_memory_initial_tags() argument
374 ptr = (char *)mte_allocate_memory(sizes[run], mem_type, mapping, false); in check_memory_initial_tags()
387 ptr = (char *)mte_allocate_file_memory(sizes[run], mem_type, mapping, false, fd); in check_memory_initial_tags()
/tools/lib/traceevent/Documentation/
Dlibtraceevent-commands.txt26 These functions can be used to handle the mapping between pid and process name.
31 The _tep_register_comm()_ function registers a _pid_ / process name mapping.
36 The _tep_override_comm()_ function registers a _pid_ / process name mapping.
43 mapping registered. The _pid_ argument is the process ID, _tep_ is the event
66 is not enough memory to duplicate the _comm_ or EEXIST if a mapping for this
77 string "<...>" if there is no mapping for the given pid.
102 /* Failed to register pid / command mapping */
106 /* Command mapping for ls_pid is not registered */
Dlibtraceevent-func_apis.txt61 address and (optional) module. This mapping is used in case the function tracer
73 tep_register_print_string() supplies the parsing with the mapping between kernel
142 /* Failed to register kvm_exit address mapping */
147 /* Failed to register "print string" address mapping */
/tools/perf/pmu-events/
DREADME61 - A 'mapping table' that maps each CPU of the architecture, to its
83 2. The 'pmu-events.h' has an extern declaration for the mapping table
103 It is required even if such mapping is 1:1.
/tools/perf/util/
Dbpf-loader.c522 static int map_prologue(struct perf_probe_event *pev, int *mapping, in map_prologue() argument
548 mapping[n] = type; in map_prologue()
554 mapping[n] = type; in map_prologue()
556 mapping[n] = ++type; in map_prologue()
558 pr_debug("mapping[%d]=%d\n", n, mapping[n]); in map_prologue()
/tools/perf/
Ddesign.txt231 code, even after the mapping (or even the whole process) is gone,
/tools/perf/Documentation/
Dperf-record.txt172 within a single mapping. MMAP events (or /proc/<pid>/maps) can be
/tools/testing/nvdimm/test/
Dnfit.c691 nd_mapping = &nd_region->mapping[nd_region->ndr_mappings - 1]; in nfit_test_search_spa()
/tools/memory-model/Documentation/
Dexplanation.txt352 kernel code written in C, and the mapping from C to machine code can