Home
last modified time | relevance | path

Searched refs:vma_count (Results 1 – 8 of 8) sorted by relevance

/linux/tools/testing/selftests/proc/
H A Dproc-maps-race.c95 int vma_count; in FIXTURE() local
121 int vma_count; member
587 self->vma_count = self->page_size / 32 + 1; in FIXTURE_SETUP()
588 self->shared_mem_size = sizeof(struct vma_modifier_info) + self->vma_count * sizeof(void *); in FIXTURE_SETUP()
603 mod_info->vma_count = self->vma_count; in FIXTURE_SETUP()
613 for (i = 0; i < mod_info->vma_count; i++) { in FIXTURE_SETUP()
640 for (i = 0; i < mod_info->vma_count; i++) in FIXTURE_SETUP()
669 last_map_addr = (unsigned long)mod_info->child_mapped_addr[mod_info->vma_count - 1]; in FIXTURE_SETUP()
683 for (int i = 0; i < mod_info->vma_count; i++) { in FIXTURE_SETUP()
711 for (int i = 0; i < self->vma_count; i++) in FIXTURE_TEARDOWN()
/linux/drivers/gpu/drm/xe/
H A Dxe_bo.h325 if (--bo->purgeable.willneed_count == 0 && bo->purgeable.vma_count > 0 && in xe_bo_willneed_put_locked()
334 * Increments vma_count.
345 bo->purgeable.vma_count++;
352 * Decrements vma_count.
363 xe_assert(xe_bo_device(bo), bo->purgeable.vma_count > 0); in xe_bo_vma_count_dec_locked()
364 bo->purgeable.vma_count--;
H A Dxe_bo_types.h130 u32 vma_count; member
/linux/fs/
H A Dcoredump.c1689 for (i = 0; i < cprm->vma_count; i++) { in free_vma_snapshot()
1732 cprm->vma_count = mm->map_count + (gate_vma ? 1 : 0); in dump_vma_snapshot()
1734 cprm->vma_meta = kvmalloc_objs(*cprm->vma_meta, cprm->vma_count); in dump_vma_snapshot()
1756 for (i = 0; i < cprm->vma_count; i++) { in dump_vma_snapshot()
1774 sort(cprm->vma_meta, cprm->vma_count, sizeof(*cprm->vma_meta), in dump_vma_snapshot()
H A Dbinfmt_elf_fdpic.c1460 int vma_count) in elf_fdpic_dump_segments() argument
1464 for (i = 0; i < vma_count; i++) { in elf_fdpic_dump_segments()
1526 segs = cprm->vma_count + elf_core_extra_phdrs(cprm); in elf_fdpic_core_dump()
1591 for (i = 0; i < cprm->vma_count; i++) { in elf_fdpic_core_dump()
1641 if (!elf_fdpic_dump_segments(cprm, cprm->vma_meta, cprm->vma_count)) in elf_fdpic_core_dump()
/linux/mm/
H A Dvma.c1371 .tree_end = vms->vma_count, in vms_clear_ptes()
1417 mm->map_count -= vms->vma_count; in vms_complete_munmap_vmas()
1533 mas_set(mas_detach, vms->vma_count++); in vms_gather_munmap_vmas()
1589 vma_test = mas_find(&test, vms->vma_count - 1); in vms_gather_munmap_vmas()
1593 vma_test = mas_next(&test, vms->vma_count - 1); in vms_gather_munmap_vmas()
1596 BUG_ON(vms->vma_count != test_count); in vms_gather_munmap_vmas()
1641 vms->vma_count = 0; in init_vma_munmap()
H A Dvma.h51 int vma_count; /* Number of vmas that will be removed */ member
/linux/drivers/gpu/drm/panthor/
H A Dpanthor_mmu.c1240 u32 vma_count; in panthor_vm_op_ctx_prealloc_vmas() local
1247 vma_count = 3; in panthor_vm_op_ctx_prealloc_vmas()
1258 vma_count = 2; in panthor_vm_op_ctx_prealloc_vmas()
1265 for (u32 i = 0; i < vma_count; i++) { in panthor_vm_op_ctx_prealloc_vmas()