Home
last modified time | relevance | path

Searched refs:spt (Results 1 – 25 of 27) sorted by relevance

12

/openbmc/linux/drivers/gpu/drm/i915/gvt/
H A Dgtt.c717 spt = kzalloc(sizeof(*spt), gfp_mask); in alloc_spt()
742 trace_spt_free(spt->vgpu->id, spt, spt->guest_page.type); in ppgtt_free_spt()
1005 trace_spt_change(spt->vgpu->id, "die", spt, in ppgtt_invalidate_spt()
1373 trace_spt_guest_change(spt->vgpu->id, "add", spt, spt->shadow_page.type, in ppgtt_handle_guest_entry_add()
1412 spt, spt->guest_page.type); in sync_oos_page()
1428 spt, spt->guest_page.type, in sync_oos_page()
1450 spt, spt->guest_page.type); in detach_oos_page()
1474 oos_page->spt = spt; in attach_oos_page()
1480 spt, spt->guest_page.type); in attach_oos_page()
1494 spt, spt->guest_page.type); in ppgtt_set_guest_page_sync()
[all …]
H A Dtrace.h46 TP_ARGS(id, spt, type, mfn, gpt_gfn),
50 __field(void *, spt)
58 __entry->spt = spt;
66 __entry->spt,
75 TP_ARGS(id, spt, type),
79 __field(void *, spt)
85 __entry->spt = spt;
91 __entry->spt,
146 id, action, spt, before, after);
165 id, action, spt, gfn, type);
[all …]
H A Dgtt.h234 struct intel_vgpu_ppgtt_spt *spt; member
/openbmc/linux/arch/powerpc/mm/book3s64/
H A Dsubpage_prot.c28 if (!spt) in subpage_prot_free()
32 if (spt->low_prot[i]) { in subpage_prot_free()
39 p = spt->protptrs[i]; in subpage_prot_free()
49 spt->maxaddr = 0; in subpage_prot_free()
50 kfree(spt); in subpage_prot_free()
102 if (!spt) in subpage_prot_clear()
107 limit = spt->maxaddr; in subpage_prot_clear()
111 spm = spt->low_prot; in subpage_prot_clear()
219 if (!spt) { in SYSCALL_DEFINE3()
225 if (!spt) { in SYSCALL_DEFINE3()
[all …]
H A Dmmu_context.c126 if (current->mm->context.hash_context->spt) { in hash__init_new_context()
127 mm->context.hash_context->spt = kmalloc(sizeof(struct subpage_prot_table), in hash__init_new_context()
129 if (!mm->context.hash_context->spt) { in hash__init_new_context()
140 kfree(mm->context.hash_context->spt); in hash__init_new_context()
H A Dhash_utils.c1375 struct subpage_prot_table *spt = mm_ctx_subpage_prot(&mm->context); in subpage_protection() local
1379 if (!spt) in subpage_protection()
1382 if (ea >= spt->maxaddr) in subpage_protection()
1386 sbpm = spt->low_prot; in subpage_protection()
1388 sbpm = spt->protptrs[ea >> SBP_L3_SHIFT]; in subpage_protection()
/openbmc/u-boot/drivers/mailbox/
H A Dk3-sec-proxy.c165 if (sp_readl(spt->rt, RT_THREAD_STATUS) & in k3_sec_proxy_verify_thread()
168 __func__, spt->id); in k3_sec_proxy_verify_thread()
177 __func__, spt->id); in k3_sec_proxy_verify_thread()
180 __func__, spt->id); in k3_sec_proxy_verify_thread()
213 __func__, spt->id, ret); in k3_sec_proxy_send()
277 msg->buf = spt->rx_buf; in k3_sec_proxy_recv()
279 word_data = spt->rx_buf; in k3_sec_proxy_recv()
345 struct k3_sec_proxy_thread *spt; in k3_sec_proxy_thread_setup() local
349 spt = &spm->chans[i]; in k3_sec_proxy_thread_setup()
351 spt->id = ind; in k3_sec_proxy_thread_setup()
[all …]
/openbmc/linux/drivers/block/
H A Dataflop.c171 unsigned spt; /* sectors per track */ member
780 nsect = UDT->spt; in do_format()
1110 if (addr >= PhysTrackBuffer + SUDT->spt*512) { in fd_readtrack_check()
1488 ReqTrack = block / UDT->spt; in setup_req_params()
1489 ReqSector = block - ReqTrack * UDT->spt + 1; in setup_req_params()
1619 getprm.sect = dtp->spt; in fd_locked_ioctl()
1621 getprm.track = dtp->blocks/dtp->spt/2; in fd_locked_ioctl()
1681 && dtp->spt == setprm.sect in fd_locked_ioctl()
1692 default_params[drive].spt = dtp->spt; in fd_locked_ioctl()
1714 dtp->spt = setprm.sect; in fd_locked_ioctl()
[all …]
/openbmc/linux/drivers/scsi/esas2r/
H A Desas2r_ioctl.c695 spt->sense_length = rq->sense_len; in scsi_passthru_comp_cb()
696 spt->residual_length = in scsi_passthru_comp_cb()
734 spt->req_status = sts; in scsi_passthru_comp_cb()
737 spt->target_id = in scsi_passthru_comp_cb()
1011 rq->target_id = (u16)spt->target_id; in hba_ioctl_callback()
1013 memcpy(rq->vrq->scsi.cdb, spt->cdb, 16); in hba_ioctl_callback()
1015 rq->sense_len = spt->sense_length; in hba_ioctl_callback()
1016 rq->sense_buf = (u8 *)spt->sense_data; in hba_ioctl_callback()
1028 if (spt->flags & ATTO_SPTF_DATA_IN) { in hba_ioctl_callback()
1039 if (spt->flags & ATTO_SPTF_ORDERED_Q) in hba_ioctl_callback()
[all …]
/openbmc/linux/drivers/platform/x86/intel/pmc/
H A DMakefile6 intel_pmc_core-y := core.o core_ssram.o spt.o cnp.o \
/openbmc/linux/arch/x86/kvm/mmu/
H A Dtdp_mmu.c56 free_page((unsigned long)sp->spt); in tdp_mmu_free_sp()
186 sp->spt = kvm_mmu_memory_cache_alloc(&vcpu->arch.mmu_shadow_page_cache); in tdp_mmu_alloc_sp()
196 set_page_private(virt_to_page(sp->spt), (unsigned long)sp); in tdp_mmu_init_sp()
255 return __pa(root->spt); in kvm_tdp_mmu_get_vcpu_root_hpa()
264 kvm_account_pgtable_pages((void *)sp->spt, +1); in tdp_account_mmu_page()
270 kvm_account_pgtable_pages((void *)sp->spt, -1); in tdp_unaccount_mmu_page()
1018 u64 spte = make_nonleaf_spte(sp->spt, !kvm_ad_enabled()); in tdp_mmu_link_sp()
1334 sp->spt = (void *)__get_free_page(gfp); in __tdp_mmu_alloc_sp_for_split()
1335 if (!sp->spt) { in __tdp_mmu_alloc_sp_for_split()
1395 sp->spt[i] = make_huge_page_split_spte(kvm, huge_spte, sp->role, i); in tdp_mmu_split_huge_page()
H A Dpaging_tmpl.h608 spte = sp->spt + i; in FNAME()
914 if (WARN_ON_ONCE(!sp->spt[i])) in FNAME()
924 if (FNAME(prefetch_invalid_gpte)(vcpu, sp, &sp->spt[i], gpte)) in FNAME()
932 if (sync_mmio_spte(vcpu, &sp->spt[i], gfn, pte_access)) in FNAME()
944 drop_spte(vcpu->kvm, &sp->spt[i]); in FNAME()
959 sptep = &sp->spt[i]; in FNAME()
H A Dtdp_iter.c51 iter->pt_path[iter->root_level - 1] = (tdp_ptep_t)root->spt; in tdp_iter_start()
H A Dmmu_internal.h82 u64 *spt; member
H A Dmmu.c1701 sp->spt[i], &sp->spt[i], in kvm_mmu_check_sptes_at_free()
1722 kvm_account_pgtable_pages((void *)sp->spt, +1); in kvm_account_mmu_page()
1728 kvm_account_pgtable_pages((void *)sp->spt, -1); in kvm_unaccount_mmu_page()
1737 free_page((unsigned long)sp->spt); in kvm_mmu_free_shadow_page()
1833 u64 ent = sp->spt[i]; in __mmu_unsync_walk()
1947 if (!sp->spt[i]) in kvm_sync_spte()
2439 spte = make_nonleaf_spte(sp->spt, sp_ad_disabled(sp)); in __link_shadow_page()
3008 spte = sp->spt + i; in __direct_pte_prefetch()
3657 return __pa(sp->spt); in mmu_alloc_root()
5643 spte = &sp->spt[page_offset / sizeof(*spte)]; in get_written_sptes()
[all …]
/openbmc/qemu/target/i386/kvm/
H A Dxen-emu.c1057 struct vcpu_set_periodic_timer spt; in vcpuop_set_periodic_timer() local
1059 qemu_build_assert(sizeof(spt) == 8); in vcpuop_set_periodic_timer()
1060 if (kvm_copy_from_gva(cs, arg, &spt, sizeof(spt))) { in vcpuop_set_periodic_timer()
1064 if (spt.period_ns < MILLISECS(1) || spt.period_ns > STIME_DELTA_MAX) { in vcpuop_set_periodic_timer()
1068 return do_set_periodic_timer(target, spt.period_ns); in vcpuop_set_periodic_timer()
/openbmc/linux/Documentation/virt/kvm/x86/
H A Dmmu.rst212 spt:
215 The page pointed to by spt will have its page->private pointing back
217 sptes in spt point either at guest pages, or at lower-level shadow pages.
218 Specifically, if sp1 and sp2 are shadow pages, then sp1->spt[n] may point
219 at __pa(sp2->spt). sp2 will point back at sp1 through parent_pte.
220 The spt array forms a DAG structure with the shadow page as a node, and
232 The reverse mapping for the pte/ptes pointing at this page's spt. If
247 A bitmap indicating which sptes in spt point (directly or indirectly) at
/openbmc/linux/arch/powerpc/include/asm/book3s/64/
H A Dmmu.h189 return ctx->hash_context->spt; in mm_ctx_subpage_prot()
H A Dmmu-hash.h730 struct subpage_prot_table *spt; member
/openbmc/qemu/tests/qtest/
H A Dide-test.c572 uint8_t heads, spt; in test_specify() local
599 spt = qpci_io_readb(dev, ide_bar, reg_lba_low); in test_specify()
600 g_assert_cmpint(spt, ==, 63); in test_specify()
/openbmc/linux/arch/s390/boot/
H A Dhead.S260 spt 0(%r13)
/openbmc/qemu/target/s390x/tcg/
H A Dmisc_helper.c255 void HELPER(spt)(CPUS390XState *env, uint64_t time) in HELPER() argument
/openbmc/linux/drivers/scsi/qla2xxx/
H A Dqla_isr.c3085 struct t10_pi_tuple *spt; in qla2x00_handle_dif_error() local
3107 spt = page_address(sg_page(sg)) + sg->offset; in qla2x00_handle_dif_error()
3108 spt += j; in qla2x00_handle_dif_error()
3110 spt->app_tag = T10_PI_APP_ESCAPE; in qla2x00_handle_dif_error()
3112 spt->ref_tag = T10_PI_REF_ESCAPE; in qla2x00_handle_dif_error()
/openbmc/linux/drivers/gpu/drm/i915/display/
H A Dintel_hotplug_irq.c1399 HPD_FUNCS(spt);
/openbmc/qemu/target/s390x/
H A Dhelper.h342 DEF_HELPER_FLAGS_2(spt, TCG_CALL_NO_RWG, void, env, i64)

12