Home
last modified time | relevance | path

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

/linux/arch/powerpc/mm/book3s64/
H A 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 …]
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.c1643 struct subpage_prot_table *spt = mm_ctx_subpage_prot(&mm->context); in subpage_protection() local
1647 if (!spt) in subpage_protection()
1650 if (ea >= spt->maxaddr) in subpage_protection()
1654 sbpm = spt->low_prot; in subpage_protection()
1656 sbpm = spt->protptrs[ea >> SBP_L3_SHIFT]; in subpage_protection()
/linux/drivers/gpu/drm/i915/gvt/
H A 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 …]
H A Dgtt.h231 struct intel_vgpu_ppgtt_spt *spt; member
/linux/drivers/block/
H A Dataflop.c171 unsigned spt; /* sectors per track */ member
775 if (!UDT || desc->track >= UDT->blocks/UDT->spt/2 || desc->head >= 2) { in do_format()
781 nsect = UDT->spt; in do_format()
1046 dma_wd.fdc_acces_seccount = read_track ? SUDT->spt : 1; in fd_rwsec()
1111 if (addr >= PhysTrackBuffer + SUDT->spt*512) { in fd_readtrack_check()
1179 !(read_track && FDC_READ(FDCREG_SECTOR) > SUDT->spt)) { in fd_rwsec_done1()
1489 ReqTrack = block / UDT->spt; in setup_req_params()
1490 ReqSector = block - ReqTrack * UDT->spt + 1; in setup_req_params()
1620 getprm.sect = dtp->spt; in fd_locked_ioctl()
1622 getprm.track = dtp->blocks/dtp->spt/2; in fd_locked_ioctl()
[all …]
/linux/drivers/scsi/esas2r/
H A Desas2r_ioctl.c693 struct atto_hba_scsi_pass_thru *spt = &hi->data.scsi_pass_thru; in scsi_passthru_comp_cb() local
696 spt->scsi_status = rq->func_rsp.scsi_rsp.scsi_stat; in scsi_passthru_comp_cb()
697 spt->sense_length = rq->sense_len; in scsi_passthru_comp_cb()
698 spt->residual_length = in scsi_passthru_comp_cb()
736 spt->req_status = sts; in scsi_passthru_comp_cb()
739 spt->target_id = in scsi_passthru_comp_cb()
740 esas2r_targ_db_find_next_present(a, (u16)spt->target_id); in scsi_passthru_comp_cb()
977 struct atto_hba_scsi_pass_thru *spt = &hi->data.scsi_pass_thru; in hba_ioctl_callback() local
980 memcpy(&lun, spt->lun, sizeof(struct scsi_lun)); in hba_ioctl_callback()
995 if (spt->target_id >= ESAS2R_MAX_TARGETS || !check_lun(lun)) { in hba_ioctl_callback()
[all …]
/linux/arch/x86/kvm/mmu/
H A Dtdp_mmu.c59 free_page((unsigned long)sp->spt); in tdp_mmu_free_sp()
219 sp->spt = kvm_mmu_memory_cache_alloc(&vcpu->arch.mmu_shadow_page_cache); in tdp_mmu_alloc_sp()
229 set_page_private(virt_to_page(sp->spt), (unsigned long)sp); in tdp_mmu_init_sp()
316 mmu->mirror_root_hpa = __pa(root->spt); in kvm_tdp_mmu_alloc_root()
318 mmu->root.hpa = __pa(root->spt); in kvm_tdp_mmu_alloc_root()
329 kvm_account_pgtable_pages((void *)sp->spt, +1); in tdp_account_mmu_page()
337 kvm_account_pgtable_pages((void *)sp->spt, -1); in tdp_unaccount_mmu_page()
954 if ((tdp_ptep_t)sp->spt != spte_to_child_pt(iter.old_spte, iter.level)) in kvm_tdp_mmu_zap_possible_nx_huge_page()
966 WARN_ON_ONCE((tdp_ptep_t)sp->spt == spte_to_child_pt(iter.old_spte, iter.level)); in kvm_tdp_mmu_zap_possible_nx_huge_page()
1240 u64 spte = make_nonleaf_spte(sp->spt, !kvm_ad_enabled); in tdp_mmu_link_sp()
[all …]
H A Dpaging_tmpl.h595 spte = sp->spt + i; in FNAME()
906 if (WARN_ON_ONCE(sp->spt[i] == SHADOW_NONPRESENT_VALUE || in FNAME()
917 if (FNAME(prefetch_invalid_gpte)(vcpu, sp, &sp->spt[i], gpte)) in FNAME()
925 if (sync_mmio_spte(vcpu, &sp->spt[i], gfn, pte_access)) in FNAME()
937 drop_spte(vcpu->kvm, &sp->spt[i]); in FNAME()
952 sptep = &sp->spt[i]; in FNAME()
H A Dmmu.c1799 if (KVM_MMU_WARN_ON(is_shadow_present_pte(sp->spt[i]))) in kvm_mmu_check_sptes_at_free()
1801 sp->spt[i], &sp->spt[i], in kvm_mmu_check_sptes_at_free()
1810 kvm_account_pgtable_pages((void *)sp->spt, +1); in kvm_account_mmu_page()
1816 kvm_account_pgtable_pages((void *)sp->spt, -1); in kvm_unaccount_mmu_page()
1825 free_page((unsigned long)sp->spt); in kvm_mmu_free_shadow_page()
1921 u64 ent = sp->spt[i]; in __mmu_unsync_walk()
2057 if (sp->spt[i] == SHADOW_NONPRESENT_VALUE) in kvm_sync_spte()
2349 sp->spt = kvm_mmu_memory_cache_alloc(caches->shadow_page_cache); in kvm_mmu_alloc_shadow_page()
2353 set_page_private(virt_to_page(sp->spt), (unsigned long)sp); in kvm_mmu_alloc_shadow_page()
2555 spte = make_nonleaf_spte(sp->spt, sp_ad_disabled(sp)); in __link_shadow_page()
[all …]
H A Dmmu_internal.h75 u64 *spt; member
/linux/Documentation/virt/kvm/x86/
H A Dmmu.rst224 spt:
227 The page pointed to by spt will have its page->private pointing back
229 sptes in spt point either at guest pages, or at lower-level shadow pages.
230 Specifically, if sp1 and sp2 are shadow pages, then sp1->spt[n] may point
231 at __pa(sp2->spt). sp2 will point back at sp1 through parent_pte.
232 The spt array forms a DAG structure with the shadow page as a node, and
250 The reverse mapping for the pte/ptes pointing at this page's spt. If
268 A bitmap indicating which sptes in spt point (directly or indirectly) at
/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.h729 struct subpage_prot_table *spt; member
/linux/drivers/scsi/qla2xxx/
H A Dqla_isr.c3079 struct t10_pi_tuple *spt; in qla2x00_handle_dif_error() local
3101 spt = page_address(sg_page(sg)) + sg->offset; in qla2x00_handle_dif_error()
3102 spt += j; in qla2x00_handle_dif_error()
3104 spt->app_tag = T10_PI_APP_ESCAPE; in qla2x00_handle_dif_error()
3106 spt->ref_tag = T10_PI_REF_ESCAPE; in qla2x00_handle_dif_error()
/linux/arch/s390/tools/
H A Dopcodes.txt199 b208 spt S_RD