/linux-6.3-rc2/drivers/gpu/drm/i915/gvt/ |
A D | gtt.c | 733 spt = kzalloc(sizeof(*spt), gfp_mask); in alloc_spt() 758 trace_spt_free(spt->vgpu->id, spt, spt->guest_page.type); in ppgtt_free_spt() 1021 trace_spt_change(spt->vgpu->id, "die", spt, in ppgtt_invalidate_spt() 1425 trace_spt_guest_change(spt->vgpu->id, "add", spt, spt->shadow_page.type, in ppgtt_handle_guest_entry_add() 1464 spt, spt->guest_page.type); in sync_oos_page() 1480 spt, spt->guest_page.type, in sync_oos_page() 1502 spt, spt->guest_page.type); in detach_oos_page() 1526 oos_page->spt = spt; in attach_oos_page() 1532 spt, spt->guest_page.type); in attach_oos_page() 1546 spt, spt->guest_page.type); in ppgtt_set_guest_page_sync() [all …]
|
A D | trace.h | 46 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 …]
|
A D | gtt.h | 235 struct intel_vgpu_ppgtt_spt *spt; member
|
/linux-6.3-rc2/arch/powerpc/mm/book3s64/ |
A D | subpage_prot.c | 28 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() 100 if (!spt) in subpage_prot_clear() 105 limit = spt->maxaddr; in subpage_prot_clear() 109 spm = spt->low_prot; in subpage_prot_clear() 216 if (!spt) { in SYSCALL_DEFINE3() 222 if (!spt) { in SYSCALL_DEFINE3() [all …]
|
A D | mmu_context.c | 126 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()
|
A D | hash_utils.c | 1374 struct subpage_prot_table *spt = mm_ctx_subpage_prot(&mm->context); in subpage_protection() local 1378 if (!spt) in subpage_protection() 1381 if (ea >= spt->maxaddr) in subpage_protection() 1385 sbpm = spt->low_prot; in subpage_protection() 1387 sbpm = spt->protptrs[ea >> SBP_L3_SHIFT]; in subpage_protection()
|
/linux-6.3-rc2/drivers/block/ |
A D | ataflop.c | 171 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 …]
|
/linux-6.3-rc2/drivers/scsi/esas2r/ |
A D | esas2r_ioctl.c | 695 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 …]
|
/linux-6.3-rc2/kernel/ |
A D | torture.c | 726 int spt; in stutter_wait() local 729 spt = READ_ONCE(stutter_pause_test); in stutter_wait() 730 for (; spt; spt = READ_ONCE(stutter_pause_test)) { in stutter_wait() 735 if (spt == 1) { in stutter_wait() 737 } else if (spt == 2) { in stutter_wait()
|
/linux-6.3-rc2/drivers/platform/x86/intel/pmc/ |
A D | Makefile | 6 intel_pmc_core-y := core.o spt.o cnp.o icl.o tgl.o \
|
/linux-6.3-rc2/arch/x86/kvm/mmu/ |
A D | tdp_mmu.c | 59 free_page((unsigned long)sp->spt); in tdp_mmu_free_sp() 268 sp->spt = kvm_mmu_memory_cache_alloc(&vcpu->arch.mmu_shadow_page_cache); in tdp_mmu_alloc_sp() 278 set_page_private(virt_to_page(sp->spt), (unsigned long)sp); in tdp_mmu_init_sp() 330 return __pa(root->spt); in kvm_tdp_mmu_get_vcpu_root_hpa() 368 kvm_account_pgtable_pages((void *)sp->spt, +1); in tdp_account_mmu_page() 374 kvm_account_pgtable_pages((void *)sp->spt, -1); in tdp_unaccount_mmu_page() 1123 u64 spte = make_nonleaf_spte(sp->spt, !kvm_ad_enabled()); in tdp_mmu_link_sp() 1425 sp->spt = (void *)__get_free_page(gfp); in __tdp_mmu_alloc_sp_for_split() 1426 if (!sp->spt) { in __tdp_mmu_alloc_sp_for_split() 1486 sp->spt[i] = make_huge_page_split_spte(kvm, huge_spte, sp->role, i); in tdp_mmu_split_huge_page()
|
A D | paging_tmpl.h | 599 spte = sp->spt + i; in FNAME() 1028 if (!sp->spt[i]) in FNAME() 1037 if (FNAME(prefetch_invalid_gpte)(vcpu, sp, &sp->spt[i], gpte)) { in FNAME() 1047 if (sync_mmio_spte(vcpu, &sp->spt[i], gfn, pte_access)) in FNAME() 1059 drop_spte(vcpu->kvm, &sp->spt[i]); in FNAME() 1067 sptep = &sp->spt[i]; in FNAME()
|
A D | tdp_iter.c | 50 iter->pt_path[iter->root_level - 1] = (tdp_ptep_t)root->spt; in tdp_iter_start()
|
A D | mmu_internal.h | 75 u64 *spt; member
|
A D | mmu.c | 1692 static int is_empty_shadow_page(u64 *spt) in is_empty_shadow_page() argument 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() 1733 MMU_WARN_ON(!is_empty_shadow_page(sp->spt)); in kvm_mmu_free_shadow_page() 1736 free_page((unsigned long)sp->spt); in kvm_mmu_free_shadow_page() 1838 u64 ent = sp->spt[i]; in __mmu_unsync_walk() 2375 spte = make_nonleaf_spte(sp->spt, sp_ad_disabled(sp)); in __link_shadow_page() 2954 spte = sp->spt + i; in __direct_pte_prefetch() 3615 return __pa(sp->spt); in mmu_alloc_root() 5593 spte = &sp->spt[page_offset / sizeof(*spte)]; in get_written_sptes() [all …]
|
/linux-6.3-rc2/Documentation/virt/kvm/x86/ |
A D | mmu.rst | 212 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
|
/linux-6.3-rc2/arch/powerpc/include/asm/book3s/64/ |
A D | mmu.h | 192 return ctx->hash_context->spt; in mm_ctx_subpage_prot()
|
A D | mmu-hash.h | 730 struct subpage_prot_table *spt; member
|
/linux-6.3-rc2/arch/s390/boot/ |
A D | head.S | 260 spt 0(%r13)
|
/linux-6.3-rc2/drivers/scsi/qla2xxx/ |
A D | qla_isr.c | 2920 struct t10_pi_tuple *spt; in qla2x00_handle_dif_error() local 2942 spt = page_address(sg_page(sg)) + sg->offset; in qla2x00_handle_dif_error() 2943 spt += j; in qla2x00_handle_dif_error() 2945 spt->app_tag = T10_PI_APP_ESCAPE; in qla2x00_handle_dif_error() 2947 spt->ref_tag = T10_PI_REF_ESCAPE; in qla2x00_handle_dif_error()
|
/linux-6.3-rc2/arch/s390/tools/ |
A D | opcodes.txt | 199 b208 spt S_RD
|
/linux-6.3-rc2/drivers/gpu/drm/i915/ |
A D | i915_irq.c | 3903 HPD_FUNCS(spt);
|