| /tools/testing/vma/ |
| A D | vma.c | 98 vm_area_free(vma); in detach_free_vma() 110 if (vma == NULL) in alloc_and_link_vma() 125 return vma; in alloc_and_link_vma() 141 if (vma) in merge_new() 144 return vma; in merge_new() 156 if (vma) in merge_existing() 158 return vma; in merge_existing() 403 .target = vma, in test_simple_expand() 1007 vmg.prev = vma; in test_merge_existing() 1166 vmg.prev = vma; in test_merge_existing() [all …]
|
| A D | vma_internal.h | 648 memset(vma, 0, sizeof(*vma)); in vma_init() 804 if (!vma) in find_vma_prev() 842 return (vma->vm_end - vma->vm_start) >> PAGE_SHIFT; in vma_pages() 876 (void)vma; in unmap_vmas() 889 (void)vma; in free_pgtables() 939 (void)vma; in vma_adjust_trans_huge() 993 (void)vma; in uprobe_munmap() 1034 (void)vma; in userfaultfd_unmap_prep() 1091 (void)vma; in khugepaged_enter_vma() 1421 (void)vma; in vma_lock_init() [all …]
|
| A D | Makefile | 5 default: vma 9 OFILES = $(SHARED_OFILES) vma.o maple-shim.o 10 TARGETS = vma 12 vma.o: vma.c vma_internal.h ../../../mm/vma.c ../../../mm/vma_init.c ../../../mm/vma_exec.c ../../.… 14 vma: $(OFILES) target
|
| A D | .gitignore | 7 vma
|
| /tools/testing/selftests/bpf/progs/ |
| A D | bpf_iter_task_vmas.c | 28 struct vm_area_struct *vma = ctx->vma; in proc_maps() local 34 if (task == (void *)0 || vma == (void *)0) in proc_maps() 37 file = vma->vm_file; in proc_maps() 43 perm_str[0] = (vma->vm_flags & VM_READ) ? 'r' : '-'; in proc_maps() 44 perm_str[1] = (vma->vm_flags & VM_WRITE) ? 'w' : '-'; in proc_maps() 45 perm_str[2] = (vma->vm_flags & VM_EXEC) ? 'x' : '-'; in proc_maps() 46 perm_str[3] = (vma->vm_flags & VM_MAYSHARE) ? 's' : 'p'; in proc_maps() 47 BPF_SEQ_PRINTF(seq, "%08llx-%08llx %s ", vma->vm_start, vma->vm_end, perm_str); in proc_maps() 54 BPF_SEQ_PRINTF(seq, "%08llx ", vma->vm_pgoff << 12); in proc_maps()
|
| A D | bpf_iter_vma_offset.c | 18 struct vm_area_struct *vma = ctx->vma; in get_vma_offset() local 22 if (task == NULL || vma == NULL) in get_vma_offset() 32 if (vma->vm_start <= address && vma->vm_end > address) { in get_vma_offset() 33 offset = address - vma->vm_start + (vma->vm_pgoff << page_shift); in get_vma_offset()
|
| A D | iters_task_vma.c | 21 struct vm_area_struct *vma; in iter_task_vma_for_each() local 30 bpf_for_each(task_vma, vma, task, 0) { in iter_task_vma_for_each() 34 vm_ranges[seen].vm_start = vma->vm_start; in iter_task_vma_for_each() 35 vm_ranges[seen].vm_end = vma->vm_end; in iter_task_vma_for_each()
|
| A D | find_vma.c | 23 static long check_vma(struct task_struct *task, struct vm_area_struct *vma, in check_vma() argument 26 if (vma->vm_file) in check_vma() 28 vma->vm_file->f_path.dentry->d_shortname.string); in check_vma() 31 if (vma->vm_flags & VM_EXEC) in check_vma()
|
| A D | lsm.c | 89 int BPF_PROG(test_int_hook, struct vm_area_struct *vma, in BPF_PROG() argument 98 is_stack = (vma->vm_start <= vma->vm_mm->start_stack && in BPF_PROG() 99 vma->vm_end >= vma->vm_mm->start_stack); in BPF_PROG() 121 bpf_copy_from_user(args, sizeof(args), (void *)bprm->vma->vm_mm->arg_start); in BPF_PROG()
|
| A D | find_vma_fail1.c | 13 static long write_vma(struct task_struct *task, struct vm_area_struct *vma, in write_vma() argument 17 vma->vm_start = 0xffffffffff600000; in write_vma()
|
| A D | find_vma_fail2.c | 12 static long write_task(struct task_struct *task, struct vm_area_struct *vma, in write_task() argument
|
| A D | iters_css_task.c | 22 int BPF_PROG(iter_css_task_for_each, struct vm_area_struct *vma, in BPF_PROG() argument
|
| A D | test_bpf_cookie.c | 128 int BPF_PROG(test_int_hook, struct vm_area_struct *vma, in BPF_PROG() argument
|
| A D | verifier_iterating_callbacks.c | 149 static __u64 find_vma_cb(struct task_struct *task, struct vm_area_struct *vma, void *data) in find_vma_cb() argument
|
| /tools/mm/ |
| A D | thpmaps | 312 def cont_parse(vma, order, ranges, anons, heads): 363 def vma_print(vma, pid): 368 pid, vma.start, vma.end, 369 'r' if vma.read else '-', 'w' if vma.write else '-', 370 'x' if vma.execute else '-', 'p' if vma.private else 's', 371 vma.pgoff, vma.major, vma.minor, vma.inode, vma.name 394 start = vma.start >> PAGE_SHIFT 395 end = vma.end >> PAGE_SHIFT 421 tot_anon = vma.stats['Anonymous']['value'] 460 if (vma.read or vma.write or vma.execute) and vma.stats['Rss']['value'] > 0: [all …]
|
| A D | show_page_info.py | 105 vma = vma_find(mm, addr) 106 fields["Page VMA"] = hex(vma.value_()) 107 fields["VMA Start"] = hex(vma.vm_start.value_()) 108 fields["VMA End"] = hex(vma.vm_end.value_())
|
| /tools/testing/selftests/prctl/ |
| A D | set-anon-vma-name-test.c | 74 FIXTURE(vma) { in FIXTURE() argument 78 FIXTURE_SETUP(vma) { in FIXTURE_SETUP() argument 87 FIXTURE_TEARDOWN(vma) { in FIXTURE_TEARDOWN() argument 92 TEST_F(vma, renaming) { in TEST_F() argument
|
| A D | .gitignore | 5 set-anon-vma-name-test
|
| A D | Makefile | 8 disable-tsc-test set-anon-vma-name-test set-process-name
|
| /tools/perf/util/ |
| A D | jitdump.h | 70 uint64_t vma; member 85 uint64_t vma; member
|
| A D | srcline.c | 261 bfd_vma pc, vma; in find_address_in_section() local 279 vma = bfd_get_section_vma(abfd, section); in find_address_in_section() 281 vma = bfd_section_vma(section); in find_address_in_section() 289 if (pc < vma || pc >= vma + size) in find_address_in_section() 292 a2l->found = bfd_find_nearest_line(abfd, section, a2l->syms, pc - vma, in find_address_in_section()
|
| A D | jitdump.c | 339 jr->load.vma = bswap_64(jr->load.vma); in jit_get_next_entry() 350 jr->move.vma = bswap_64(jr->move.vma); in jit_get_next_entry()
|
| /tools/perf/jvmti/ |
| A D | jvmti_agent.h | 23 uint64_t vma, void const *code,
|
| A D | jvmti_agent.c | 360 uint64_t vma, void const *code, unsigned int const size) in jvmti_write_code() argument 384 rec.vma = vma; in jvmti_write_code() 385 rec.code_addr = vma; in jvmti_write_code()
|
| /tools/perf/Documentation/ |
| A D | jitdump-specification.txt | 75 * uint64_t vma: virtual address of jitted code start 76 * uint64_t code_addr: code start address for the jitted code. By default vma = code_addr 101 * uint64_t vma : new virtual address of jitted code start 103 …ate new code started address for the jitted code. By default it should be equal to the vma address.
|