Home
last modified time | relevance | path

Searched refs:region (Results 1 – 17 of 17) sorted by relevance

/tools/testing/selftests/kvm/lib/
Dkvm_util.c289 struct userspace_mem_region *region; in kvm_vm_restart() local
295 list_for_each_entry(region, &vmp->userspace_mem_regions, list) { in kvm_vm_restart()
296 int ret = ioctl(vmp->fd, KVM_SET_USER_MEMORY_REGION, &region->region); in kvm_vm_restart()
301 ret, errno, region->region.slot, in kvm_vm_restart()
302 region->region.flags, in kvm_vm_restart()
303 region->region.guest_phys_addr, in kvm_vm_restart()
304 region->region.memory_size); in kvm_vm_restart()
353 struct userspace_mem_region *region; in userspace_mem_region_find() local
355 list_for_each_entry(region, &vm->userspace_mem_regions, list) { in userspace_mem_region_find()
356 uint64_t existing_start = region->region.guest_phys_addr; in userspace_mem_region_find()
[all …]
Dkvm_util_internal.h16 struct kvm_userspace_memory_region region; member
/tools/testing/selftests/powerpc/mm/
Dpkey_siginfo.c91 struct region { struct
105 base = ((struct region *) p)->base; in protect() argument
106 size = ((struct region *) p)->size; in protect()
147 base = ((struct region *) p)->base; in protect_access()
148 size = ((struct region *) p)->size; in protect_access()
149 rights = ((struct region *) p)->rights; in protect_access()
246 struct region r; in test()
/tools/testing/selftests/drivers/net/netdevsim/
Ddevlink.sh133 size=$(devlink region show $DL_HANDLE/$name -j | jq -e -r '.[][].size')
146 count=$(devlink region show $DL_HANDLE/$name -j | jq -e -r '.[][].snapshot | length')
172 devlink region del $DL_HANDLE/dummy snapshot 1
177 devlink region new $DL_HANDLE/dummy snapshot 25
182 devlink region dump $DL_HANDLE/dummy snapshot 25 >> /dev/null
185 devlink region read $DL_HANDLE/dummy snapshot 25 addr 0 len 1 >> /dev/null
188 devlink region read $DL_HANDLE/dummy snapshot 25 addr 128 len 128 >> /dev/null
191 devlink region read $DL_HANDLE/dummy snapshot 25 addr 128 len $((1<<32)) >> /dev/null
194 devlink region read $DL_HANDLE/dummy snapshot 25 addr $((1<<32)) len 128 >> /dev/null 2>&1
197 devlink region del $DL_HANDLE/dummy snapshot 25
[all …]
/tools/testing/selftests/powerpc/syscalls/
Drtas_filter.c47 struct region { struct
50 struct region *next; argument
138 static int read_kregion_bounds(struct region *kregion) in read_kregion_bounds()
218 struct region rmo_region; in test()
/tools/testing/nvdimm/
Ddax-dev.c28 if (dev_dax->region->align > PAGE_SIZE) in dax_pgoff_to_phys()
DKbuild83 libnvdimm-y += $(NVDIMM_SRC)/region.o
/tools/testing/selftests/kvm/lib/x86_64/
Dvmx.c520 struct userspace_mem_region *region = in nested_map_memslot() local
523 i = (region->region.guest_phys_addr >> vm->page_shift) - 1; in nested_map_memslot()
524 last = i + (region->region.memory_size >> vm->page_shift); in nested_map_memslot()
526 i = sparsebit_next_clear(region->unused_phy_pages, i); in nested_map_memslot()
/tools/include/uapi/drm/
Di915_drm.h657 int region; member
664 int region; member
669 int region; member
678 int region; member
/tools/arch/x86/include/uapi/asm/
Dkvm.h362 __u32 region[1024]; member
/tools/testing/selftests/kvm/include/
Dkvm_util.h286 allocate_kvm_dirty_log(struct kvm_userspace_memory_region *region);
/tools/perf/Documentation/
Dperf-script.txt217 X/- : X=branch inside a transactional region, -=not in transaction region or not supported
218 A/- : A=TSX abort entry, -=not aborted region or not supported
Dperf-record.txt140 - 'filter': defines a region that will be traced.
143 - 'tracestop': defines a region in which tracing will stop.
146 code to trace in that file, and <size> is the size of the region to
171 The kernel may not be able to configure a trace region if it is not
Dtopdown.txt176 ... larger code region ...
/tools/memory-model/
Dlinux-kernel.cat163 (* Warn about plain writes and marked accesses in the same region *)
/tools/testing/nvdimm/test/
Dnfit.c637 struct nd_region *region; member
658 ctx->region = nd_region; in nfit_test_search_region_spa()
674 .region = NULL, in nfit_test_search_spa()
684 nd_region = ctx.region; in nfit_test_search_spa()
/tools/memory-model/Documentation/
Dexplanation.txt1438 section, for short) is a region of code delimited by rcu_read_lock()