Home
last modified time | relevance | path

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

/linux-6.1.9/drivers/gpu/drm/i915/gvt/
Dgtt.c670 struct intel_vgpu_ppgtt_spt *spt, in ppgtt_spt_get_entry() argument
675 struct intel_gvt *gvt = spt->vgpu->gvt; in ppgtt_spt_get_entry()
685 spt->guest_page.gfn << I915_GTT_PAGE_SHIFT, in ppgtt_spt_get_entry()
686 spt->vgpu); in ppgtt_spt_get_entry()
691 spt->guest_page.pde_ips : false); in ppgtt_spt_get_entry()
699 struct intel_vgpu_ppgtt_spt *spt, in ppgtt_spt_set_entry() argument
704 struct intel_gvt *gvt = spt->vgpu->gvt; in ppgtt_spt_set_entry()
714 spt->guest_page.gfn << I915_GTT_PAGE_SHIFT, in ppgtt_spt_set_entry()
715 spt->vgpu); in ppgtt_spt_set_entry()
718 #define ppgtt_get_guest_entry(spt, e, index) \ argument
[all …]
Dtrace.h43 TP_PROTO(int id, void *spt, int type, unsigned long mfn,
46 TP_ARGS(id, spt, type, mfn, gpt_gfn),
50 __field(void *, spt)
58 __entry->spt = spt;
66 __entry->spt,
73 TP_PROTO(int id, void *spt, int type),
75 TP_ARGS(id, spt, type),
79 __field(void *, spt)
85 __entry->spt = spt;
91 __entry->spt,
[all …]
Dgtt.h235 struct intel_vgpu_ppgtt_spt *spt; member
/linux-6.1.9/arch/powerpc/mm/book3s64/
Dsubpage_prot.c24 struct subpage_prot_table *spt = mm_ctx_subpage_prot(&mm->context); in subpage_prot_free() local
28 if (!spt) in subpage_prot_free()
32 if (spt->low_prot[i]) { in subpage_prot_free()
33 free_page((unsigned long)spt->low_prot[i]); in subpage_prot_free()
34 spt->low_prot[i] = NULL; in subpage_prot_free()
39 p = spt->protptrs[i]; in subpage_prot_free()
42 spt->protptrs[i] = NULL; in subpage_prot_free()
43 for (j = 0; j < SBP_L2_COUNT && addr < spt->maxaddr; in subpage_prot_free()
49 spt->maxaddr = 0; in subpage_prot_free()
50 kfree(spt); in subpage_prot_free()
[all …]
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()
Dhash_utils.c1308 struct subpage_prot_table *spt = mm_ctx_subpage_prot(&mm->context); in subpage_protection() local
1312 if (!spt) in subpage_protection()
1315 if (ea >= spt->maxaddr) in subpage_protection()
1319 sbpm = spt->low_prot; in subpage_protection()
1321 sbpm = spt->protptrs[ea >> SBP_L3_SHIFT]; in subpage_protection()
/linux-6.1.9/drivers/block/
Dataflop.c171 unsigned spt; /* sectors per track */ member
774 if (!UDT || desc->track >= UDT->blocks/UDT->spt/2 || desc->head >= 2) { in do_format()
780 nsect = UDT->spt; in do_format()
1045 dma_wd.fdc_acces_seccount = read_track ? SUDT->spt : 1; in fd_rwsec()
1110 if (addr >= PhysTrackBuffer + SUDT->spt*512) { in fd_readtrack_check()
1178 !(read_track && FDC_READ(FDCREG_SECTOR) > SUDT->spt)) { in fd_rwsec_done1()
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()
[all …]
/linux-6.1.9/drivers/scsi/esas2r/
Desas2r_ioctl.c691 struct atto_hba_scsi_pass_thru *spt = &hi->data.scsi_pass_thru; in scsi_passthru_comp_cb() local
694 spt->scsi_status = rq->func_rsp.scsi_rsp.scsi_stat; in scsi_passthru_comp_cb()
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()
738 esas2r_targ_db_find_next_present(a, (u16)spt->target_id); in scsi_passthru_comp_cb()
981 struct atto_hba_scsi_pass_thru *spt = &hi->data.scsi_pass_thru; in hba_ioctl_callback() local
984 memcpy(&lun, spt->lun, sizeof(struct scsi_lun)); in hba_ioctl_callback()
999 if (spt->target_id >= ESAS2R_MAX_TARGETS || !check_lun(lun)) { in hba_ioctl_callback()
[all …]
/linux-6.1.9/kernel/
Dtorture.c726 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.1.9/arch/x86/kvm/mmu/
Dtdp_mmu.c70 free_page((unsigned long)sp->spt); in tdp_mmu_free_sp()
279 sp->spt = kvm_mmu_memory_cache_alloc(&vcpu->arch.mmu_shadow_page_cache); in tdp_mmu_alloc_sp()
287 set_page_private(virt_to_page(sp->spt), (unsigned long)sp); in tdp_mmu_init_sp()
339 return __pa(root->spt); in kvm_tdp_mmu_get_vcpu_root_hpa()
377 kvm_account_pgtable_pages((void *)sp->spt, +1); in tdp_account_mmu_page()
382 kvm_account_pgtable_pages((void *)sp->spt, -1); in tdp_unaccount_mmu_page()
1130 u64 spte = make_nonleaf_spte(sp->spt, !kvm_ad_enabled()); in tdp_mmu_link_sp()
1427 sp->spt = (void *)__get_free_page(gfp); in __tdp_mmu_alloc_sp_for_split()
1428 if (!sp->spt) { in __tdp_mmu_alloc_sp_for_split()
1489 sp->spt[i] = make_huge_page_split_spte(kvm, huge_spte, sp->role, i); in tdp_mmu_split_huge_page()
Dpaging_tmpl.h599 spte = sp->spt + i; in FNAME()
1039 if (!sp->spt[i]) in FNAME()
1048 if (FNAME(prefetch_invalid_gpte)(vcpu, sp, &sp->spt[i], gpte)) { in FNAME()
1058 if (sync_mmio_spte(vcpu, &sp->spt[i], gfn, pte_access)) in FNAME()
1070 drop_spte(vcpu->kvm, &sp->spt[i]); in FNAME()
1078 sptep = &sp->spt[i]; in FNAME()
Dtdp_iter.c54 iter->pt_path[iter->root_level - 1] = (tdp_ptep_t)root->spt; in tdp_iter_start()
Dmmu_internal.h69 u64 *spt; member
Dmmu.c1643 static int is_empty_shadow_page(u64 *spt) in is_empty_shadow_page() argument
1648 for (pos = spt, end = pos + PAGE_SIZE / sizeof(u64); pos != end; pos++) in is_empty_shadow_page()
1673 kvm_account_pgtable_pages((void *)sp->spt, +1); in kvm_account_mmu_page()
1679 kvm_account_pgtable_pages((void *)sp->spt, -1); in kvm_unaccount_mmu_page()
1684 MMU_WARN_ON(!is_empty_shadow_page(sp->spt)); in kvm_mmu_free_shadow_page()
1687 free_page((unsigned long)sp->spt); in kvm_mmu_free_shadow_page()
1789 u64 ent = sp->spt[i]; in __mmu_unsync_walk()
2126 sp->spt = kvm_mmu_memory_cache_alloc(caches->shadow_page_cache); in kvm_mmu_alloc_shadow_page()
2130 set_page_private(virt_to_page(sp->spt), (unsigned long)sp); in kvm_mmu_alloc_shadow_page()
2324 spte = make_nonleaf_spte(sp->spt, sp_ad_disabled(sp)); in __link_shadow_page()
[all …]
/linux-6.1.9/Documentation/virt/kvm/x86/
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
/linux-6.1.9/arch/powerpc/include/asm/book3s/64/
Dmmu.h192 return ctx->hash_context->spt; in mm_ctx_subpage_prot()
Dmmu-hash.h730 struct subpage_prot_table *spt; member
/linux-6.1.9/arch/s390/boot/
Dhead.S260 spt 0(%r13)
/linux-6.1.9/drivers/scsi/qla2xxx/
Dqla_isr.c2920 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.1.9/arch/s390/tools/
Dopcodes.txt199 b208 spt S_RD
/linux-6.1.9/drivers/gpu/drm/i915/
Di915_irq.c4370 HPD_FUNCS(spt);