Home
last modified time | relevance | path

Searched refs:vms (Results 1 – 14 of 14) sorted by relevance

/linux/mm/
H A Dvma.c40 struct vma_munmap_struct vms; member
1355 static inline void vms_clear_ptes(struct vma_munmap_struct *vms, in vms_clear_ptes() argument
1360 .first = vms->vma, in vms_clear_ptes()
1362 .pg_start = vms->unmap_start, in vms_clear_ptes()
1363 .pg_end = vms->unmap_end, in vms_clear_ptes()
1364 .vma_start = vms->start, in vms_clear_ptes()
1365 .vma_end = vms->end, in vms_clear_ptes()
1371 .tree_end = vms->vma_count, in vms_clear_ptes()
1379 if (!vms->clear_ptes) /* Nothing to do */ in vms_clear_ptes()
1384 vms in vms_clear_ptes()
1387 vms_clean_up_area(struct vma_munmap_struct * vms,struct ma_state * mas_detach) vms_clean_up_area() argument
1410 vms_complete_munmap_vmas(struct vma_munmap_struct * vms,struct ma_state * mas_detach) vms_complete_munmap_vmas() argument
1478 vms_gather_munmap_vmas(struct vma_munmap_struct * vms,struct ma_state * mas_detach) vms_gather_munmap_vmas() argument
1626 init_vma_munmap(struct vma_munmap_struct * vms,struct vma_iterator * vmi,struct vm_area_struct * vma,unsigned long start,unsigned long end,struct list_head * uf,bool unlock) init_vma_munmap() argument
1671 struct vma_munmap_struct vms; do_vmi_align_munmap() local
2475 vms_abort_munmap_vmas(struct vma_munmap_struct * vms,struct ma_state * mas_detach) vms_abort_munmap_vmas() argument
2532 struct vma_munmap_struct *vms = &map->vms; __mmap_setup() local
[all...]
H A Dvmalloc.c4994 struct vm_struct **vms; in pcpu_get_vm_areas() local
5027 vms = kzalloc_objs(vms[0], nr_vms, gfp); in pcpu_get_vm_areas()
5029 if (!vas || !vms) in pcpu_get_vm_areas()
5034 vms[area] = kzalloc_obj(struct vm_struct, gfp); in pcpu_get_vm_areas()
5035 if (!vas[area] || !vms[area]) in pcpu_get_vm_areas()
5134 setup_vmalloc_vm(vms[area], vas[area], VM_ALLOC, in pcpu_get_vm_areas()
5145 kasan_unpoison_vmap_areas(vms, nr_vms, KASAN_VMALLOC_PROT_NORMAL); in pcpu_get_vm_areas()
5148 return vms; in pcpu_get_vm_areas()
5194 kfree(vms[area]); in pcpu_get_vm_areas()
5198 kfree(vms); in pcpu_get_vm_areas()
[all …]
/linux/tools/testing/selftests/powerpc/tm/
H A Dtm-signal-context-chk-vmx.c36 long tm_signal_self_context_load(pid_t pid, long *gprs, double *fps, vector int *vms, vector int *v…
41 vector int vms[] = { variable
65 &vms[i], sizeof(vector int)); in signal_usr1()
75 printf("%08x", vms[i][j]); in signal_usr1()
83 &vms[NV_VMX_REGS + i], sizeof (vector int)); in signal_usr1()
93 printf("%08x", vms[NV_VMX_REGS + i][j]); in signal_usr1()
125 rc = tm_signal_self_context_load(pid, NULL, NULL, vms, NULL); in tm_signal_context_chk()
H A Dtm-signal-context-chk-fpu.c35 long tm_signal_self_context_load(pid_t pid, long *gprs, double *fps, vector int *vms, vector int *v…
H A Dtm-signal-context-chk-gpr.c35 long tm_signal_self_context_load(pid_t pid, long *gprs, double *fps, vector int *vms, vector int *v…
H A Dtm-signal-context-chk-vsx.c37 long tm_signal_self_context_load(pid_t pid, long *gprs, double *fps, vector int *vms, vector int *v…
/linux/tools/testing/selftests/kvm/
H A Dkvm_binary_stats_test.c189 struct kvm_vm **vms; in main() local
213 vms = malloc(sizeof(vms[0]) * max_vm); in main()
214 TEST_ASSERT(vms, "Allocate memory for storing VM pointers"); in main()
227 vms[i] = vm_create_barebones(); in main()
229 vcpus[i * max_vcpu + j] = __vm_vcpu_add(vms[i], j); in main()
241 vm_stats_fds = vm_get_stats_fd(vms[i]); in main()
245 stats_test(vm_get_stats_fd(vms[i])); in main()
259 kvm_vm_free(vms[i]); in main()
268 free(vms); in main()
/linux/mm/kasan/
H A Dcommon.c592 void __kasan_unpoison_vmap_areas(struct vm_struct **vms, int nr_vms, in __kasan_unpoison_vmap_areas()
601 * If KASAN_VMALLOC_KEEP_TAG was set at this point, all vms[] pointers in __kasan_unpoison_vmap_areas()
608 size = vms[0]->size; in __kasan_unpoison_vmap_areas()
609 addr = vms[0]->addr;
610 vms[0]->addr = __kasan_unpoison_vmalloc(addr, size, flags); in __kasan_vrealloc()
611 tag = get_tag(vms[0]->addr); in __kasan_vrealloc()
614 size = vms[area]->size; in __kasan_vrealloc()
615 addr = set_tag(vms[area]->addr, tag); in __kasan_vrealloc()
616 vms[area]->addr = in __kasan_vrealloc()
581 __kasan_unpoison_vmap_areas(struct vm_struct ** vms,int nr_vms,kasan_vmalloc_flags_t flags) __kasan_unpoison_vmap_areas() argument
/linux/drivers/gpu/drm/panthor/
H A Dpanthor_mmu.c735 list_move_tail(&vm->reclaim.lru_node, &ptdev->reclaim.vms); in panthor_vm_active()
1704 if (!pfile->vms) in panthor_vm_pool_destroy()
1707 xa_for_each(&pfile->vms->xa, i, vm) in panthor_vm_pool_destroy()
1710 if (pfile->vms->dummy) in panthor_vm_pool_destroy()
1711 drm_gem_object_put(&pfile->vms->dummy->base); in panthor_vm_pool_destroy()
1712 xa_destroy(&pfile->vms->xa); in panthor_vm_pool_destroy()
1713 kfree(pfile->vms); in panthor_vm_pool_destroy()
1727 pfile->vms = kzalloc_obj(*pfile->vms); in panthor_vm_pool_create()
1728 if (!pfile->vms) in panthor_vm_pool_create()
1731 xa_init_flags(&pfile->vms->xa, XA_FLAGS_ALLOC1); in panthor_vm_pool_create()
[all …]
H A Dpanthor_device.h229 struct list_head vms; member
368 struct panthor_vm_pool *vms; member
H A Dpanthor_sched.c2014 struct panthor_vm *vms[MAX_CS_PER_CSG]; member
2050 if (ctx->vms[i] == group->vm) in tick_ctx_pick_groups_from_list()
2073 ctx->vms[ctx->as_count++] = group->vm; in tick_ctx_pick_groups_from_list()
3705 group->vm = panthor_vm_pool_get_vm(pfile->vms, group_args->vm_id); in panthor_group_create()
H A Dpanthor_gem.c1572 INIT_LIST_HEAD(&ptdev->reclaim.vms); in panthor_gem_shrinker_init()
/linux/include/linux/
H A Dvmalloc.h315 void pcpu_free_vm_areas(struct vm_struct **vms, int nr_vms);
325 static inline void pcpu_free_vm_areas(struct vm_struct **vms, int nr_vms) {} in pcpu_free_vm_areas() argument
/linux/tools/kvm/kvm_stat/
H A Dkvm_stat846 vms = self.walkdir(PATH_DEBUGFS_KVM)[1]
847 if len(vms) == 0:
850 self.paths = list(filter(lambda x: "{}-".format(pid) in x, vms))