Home
last modified time | relevance | path

Searched refs:migrate (Results 1 – 25 of 88) sorted by relevance

1234

/linux-6.6.21/mm/
Dmigrate_device.c24 struct migrate_vma *migrate = walk->private; in migrate_vma_collect_skip() local
28 migrate->dst[migrate->npages] = 0; in migrate_vma_collect_skip()
29 migrate->src[migrate->npages++] = 0; in migrate_vma_collect_skip()
40 struct migrate_vma *migrate = walk->private; in migrate_vma_collect_hole() local
48 migrate->src[migrate->npages] = MIGRATE_PFN_MIGRATE; in migrate_vma_collect_hole()
49 migrate->dst[migrate->npages] = 0; in migrate_vma_collect_hole()
50 migrate->npages++; in migrate_vma_collect_hole()
51 migrate->cpages++; in migrate_vma_collect_hole()
62 struct migrate_vma *migrate = walk->private; in migrate_vma_collect_pmd() local
119 migrate->cpages++; in migrate_vma_collect_pmd()
[all …]
/linux-6.6.21/drivers/gpu/drm/amd/amdkfd/
Dkfd_migrate.c263 static unsigned long svm_migrate_successful_pages(struct migrate_vma *migrate) in svm_migrate_successful_pages() argument
268 for (i = 0; i < migrate->npages; i++) { in svm_migrate_successful_pages()
269 if (migrate->src[i] & MIGRATE_PFN_VALID && in svm_migrate_successful_pages()
270 migrate->src[i] & MIGRATE_PFN_MIGRATE) in svm_migrate_successful_pages()
276 static unsigned long svm_migrate_unsuccessful_pages(struct migrate_vma *migrate) in svm_migrate_unsuccessful_pages() argument
281 for (i = 0; i < migrate->npages; i++) { in svm_migrate_unsuccessful_pages()
282 if (migrate->src[i] & MIGRATE_PFN_VALID && in svm_migrate_unsuccessful_pages()
283 !(migrate->src[i] & MIGRATE_PFN_MIGRATE)) in svm_migrate_unsuccessful_pages()
291 struct migrate_vma *migrate, struct dma_fence **mfence, in svm_migrate_copy_to_vram() argument
294 uint64_t npages = migrate->cpages; in svm_migrate_copy_to_vram()
[all …]
/linux-6.6.21/drivers/gpu/drm/i915/gt/
Dselftest_migrate.c36 static int copy(struct intel_migrate *migrate, in copy() argument
37 int (*fn)(struct intel_migrate *migrate, in copy() argument
44 struct drm_i915_private *i915 = migrate->context->engine->i915; in copy()
90 err = fn(migrate, &ww, src, dst, &rq); in copy()
151 GEM_BUG_ON(ce->vm != ce->engine->gt->migrate.context->vm); in intel_context_copy_ccs()
255 static int clear(struct intel_migrate *migrate, in clear() argument
256 int (*fn)(struct intel_migrate *migrate, in clear() argument
263 struct drm_i915_private *i915 = migrate->context->engine->i915; in clear()
301 err = intel_migrate_ccs_copy(migrate, &ww, NULL, in clear()
318 err = fn(migrate, &ww, obj, val, &rq); in clear()
[all …]
Dintel_gt_types.h229 struct intel_migrate migrate; member
/linux-6.6.21/drivers/gpu/drm/nouveau/
Dnouveau_dmem.c82 struct nouveau_dmem_migrate migrate; member
152 if (drm->dmem->migrate.copy_func(drm, 1, NOUVEAU_APER_HOST, *dma_addr, in nouveau_dmem_copy_one()
212 nouveau_fence_new(&fence, dmem->migrate.chan); in nouveau_dmem_migrate_to_ram()
405 nouveau_fence_new(&fence, chunk->drm->dmem->migrate.chan); in nouveau_dmem_evict_chunk()
446 struct nvif_push *push = drm->dmem->migrate.chan->chan.push; in nvc0b5_migrate_copy()
519 struct nvif_push *push = drm->dmem->migrate.chan->chan.push; in nvc0b5_migrate_clear()
579 drm->dmem->migrate.copy_func = nvc0b5_migrate_copy; in nouveau_dmem_migrate_init()
580 drm->dmem->migrate.clear_func = nvc0b5_migrate_clear; in nouveau_dmem_migrate_init()
581 drm->dmem->migrate.chan = drm->ttm.chan; in nouveau_dmem_migrate_init()
637 if (drm->dmem->migrate.copy_func(drm, 1, in nouveau_dmem_migrate_copy_one()
[all …]
/linux-6.6.21/tools/testing/selftests/mm/
Dmigration.c63 int migrate(uint64_t *ptr, int n1, int n2) in migrate() function
135 ASSERT_EQ(migrate(ptr, self->n1, self->n2), 0);
170 ASSERT_EQ(migrate(ptr, self->n1, self->n2), 0);
197 ASSERT_EQ(migrate(ptr, self->n1, self->n2), 0);
/linux-6.6.21/include/linux/
Dpsci.h29 int (*migrate)(unsigned long cpuid); member
41 u32 migrate; member
Dmigrate.h221 void migrate_vma_pages(struct migrate_vma *migrate);
222 void migrate_vma_finalize(struct migrate_vma *migrate);
/linux-6.6.21/tools/testing/selftests/kvm/x86_64/
Dxapic_ipi_test.c361 bool *migrate, int *delay_usecs) in get_cmdline_args() argument
373 *migrate = true; in get_cmdline_args()
399 bool migrate = false; in main() local
405 get_cmdline_args(argc, argv, &run_secs, &migrate, &delay_usecs); in main()
461 if (!migrate) in main()
/linux-6.6.21/arch/powerpc/platforms/pseries/
Dvas.c632 bool migrate) in reconfig_open_windows() argument
660 if ((vcaps->nr_close_wins > creds) && !migrate) in reconfig_open_windows()
674 if (migrate) in reconfig_open_windows()
742 bool migrate) in reconfig_close_windows() argument
749 if (migrate) in reconfig_close_windows()
807 if (rc && !migrate) in reconfig_close_windows()
819 if (!migrate && !--excess_creds) in reconfig_close_windows()
/linux-6.6.21/drivers/gpu/drm/i915/gem/
Di915_gem_ttm_move.c202 if (!to_gt(i915)->migrate.context || intel_gt_is_wedged(to_gt(i915))) in i915_ttm_accel_move()
215 intel_engine_pm_get(to_gt(i915)->migrate.context->engine); in i915_ttm_accel_move()
216 ret = intel_context_migrate_clear(to_gt(i915)->migrate.context, deps, in i915_ttm_accel_move()
229 intel_engine_pm_get(to_gt(i915)->migrate.context->engine); in i915_ttm_accel_move()
230 ret = intel_context_migrate_copy(to_gt(i915)->migrate.context, in i915_ttm_accel_move()
242 intel_engine_pm_put(to_gt(i915)->migrate.context->engine); in i915_ttm_accel_move()
/linux-6.6.21/drivers/gpu/drm/i915/selftests/
Di915_perf_selftests.h20 selftest(migrate, intel_migrate_perf_selftests)
Di915_live_selftests.h30 selftest(migrate, intel_migrate_live_selftests)
/linux-6.6.21/drivers/firmware/psci/
Dpsci.c244 return __psci_migrate(psci_0_1_function_ids.migrate, cpuid); in psci_0_1_migrate()
621 .migrate = psci_0_2_migrate, in psci_0_2_set_functions()
719 psci_0_1_function_ids.migrate = id; in psci_0_1_init()
720 psci_ops.migrate = psci_0_1_migrate; in psci_0_1_init()
/linux-6.6.21/arch/um/drivers/
DKconfig168 migrate to UML_NET_VECTOR.
185 migrate to UML_NET_VECTOR.
206 migrate to UML_NET_VECTOR.
227 migrate to UML_NET_VECTOR.
273 migrate to UML_NET_VECTOR.
296 migrate to UML_NET_VECTOR.
316 migrate to UML_NET_VECTOR.
342 migrate to UML_NET_VECTOR.
/linux-6.6.21/arch/arm64/kvm/hyp/nvhe/
Dpsci-relay.c53 is_psci_0_1(migrate, func_id)); in is_psci_0_1_call()
226 if (is_psci_0_1(cpu_off, func_id) || is_psci_0_1(migrate, func_id)) in psci_0_1_handler()
/linux-6.6.21/tools/perf/scripts/python/
Dsched-migration.py191 def migrate(self, ts_list, new, old_cpu, new_cpu): member in TimeSlice
351 def migrate(self, headers, pid, prio, orig_cpu, dest_cpu): member in SchedEventProxy
353 ts.migrate(self.timeslices, pid, orig_cpu, dest_cpu)
418 parser.migrate(headers, pid, prio, orig_cpu, dest_cpu)
/linux-6.6.21/fs/ocfs2/dlm/
Ddlmmaster.c3027 struct dlm_migrate_request migrate; in dlm_do_migrate_request() local
3031 memset(&migrate, 0, sizeof(migrate)); in dlm_do_migrate_request()
3032 migrate.namelen = res->lockname.len; in dlm_do_migrate_request()
3033 memcpy(migrate.name, res->lockname.name, migrate.namelen); in dlm_do_migrate_request()
3034 migrate.new_master = new_master; in dlm_do_migrate_request()
3035 migrate.master = master; in dlm_do_migrate_request()
3055 &migrate, sizeof(migrate), nodenum, in dlm_do_migrate_request()
3060 migrate.namelen, migrate.name, ret, nodenum); in dlm_do_migrate_request()
3104 struct dlm_migrate_request *migrate = (struct dlm_migrate_request *) msg->buf; in dlm_migrate_request_handler() local
3113 name = migrate->name; in dlm_migrate_request_handler()
[all …]
/linux-6.6.21/fs/ext4/
DMakefile10 indirect.o inline.o inode.o ioctl.o mballoc.o migrate.o \
/linux-6.6.21/net/xfrm/
DKconfig61 bool "Transformation migrate database"
133 <draft-sugimoto-mip6-pfkey-migrate>.
/linux-6.6.21/drivers/staging/rtl8192u/
DTODO10 * Remove the HAL layer and migrate its functionality into the relevant parts of
/linux-6.6.21/drivers/staging/wlan-ng/
DTODO10 * Remove the HAL layer and migrate its functionality into the relevant parts of
/linux-6.6.21/drivers/staging/rtl8192e/
DTODO12 * Remove the HAL layer and migrate its functionality into the relevant parts of
/linux-6.6.21/Documentation/ABI/testing/
Dsysfs-kernel-mm-numa17 systems to migrate pages from fast tiers to slow tiers
/linux-6.6.21/Documentation/trace/
Dhwlat_detector.rst81 By default, one hwlat detector's kernel thread will migrate across each CPU
87 - round-robin: migrate across each CPU specified in cpumask [default]

1234