/Linux-v4.19/drivers/gpu/drm/i915/gvt/ |
D | gtt.c | 640 struct intel_vgpu_ppgtt_spt *spt, in ppgtt_spt_get_entry() argument 645 struct intel_gvt *gvt = spt->vgpu->gvt; in ppgtt_spt_get_entry() 655 spt->guest_page.gfn << I915_GTT_PAGE_SHIFT, in ppgtt_spt_get_entry() 656 spt->vgpu); in ppgtt_spt_get_entry() 661 spt->guest_page.pde_ips : false); in ppgtt_spt_get_entry() 669 struct intel_vgpu_ppgtt_spt *spt, in ppgtt_spt_set_entry() argument 674 struct intel_gvt *gvt = spt->vgpu->gvt; in ppgtt_spt_set_entry() 684 spt->guest_page.gfn << I915_GTT_PAGE_SHIFT, in ppgtt_spt_set_entry() 685 spt->vgpu); in ppgtt_spt_set_entry() 688 #define ppgtt_get_guest_entry(spt, e, index) \ argument [all …]
|
D | trace.h | 43 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 …]
|
D | gtt.h | 216 struct intel_vgpu_ppgtt_spt *spt; member
|
/Linux-v4.19/drivers/isdn/hisax/ |
D | sportster.c | 56 return (bytein(calc_off(cs->hw.spt.isac, offset))); in ReadISAC() 62 byteout(calc_off(cs->hw.spt.isac, offset), value); in WriteISAC() 68 read_fifo(cs->hw.spt.isac, data, size); in ReadISACfifo() 74 write_fifo(cs->hw.spt.isac, data, size); in WriteISACfifo() 80 return (bytein(calc_off(cs->hw.spt.hscx[hscx], offset))); in ReadHSCX() 86 byteout(calc_off(cs->hw.spt.hscx[hscx], offset), value); in WriteHSCX() 93 #define READHSCX(cs, nr, reg) bytein(calc_off(cs->hw.spt.hscx[nr], reg)) 94 #define WRITEHSCX(cs, nr, reg, data) byteout(calc_off(cs->hw.spt.hscx[nr], reg), data) 95 #define READHSCXFIFO(cs, nr, ptr, cnt) read_fifo(cs->hw.spt.hscx[nr], ptr, cnt) 96 #define WRITEHSCXFIFO(cs, nr, ptr, cnt) write_fifo(cs->hw.spt.hscx[nr], ptr, cnt) [all …]
|
D | hisax.h | 907 struct spt_hw spt; member
|
/Linux-v4.19/arch/powerpc/mm/ |
D | subpage-prot.c | 28 struct subpage_prot_table *spt = &mm->context.spt; in subpage_prot_free() local 33 if (spt->low_prot[i]) { in subpage_prot_free() 34 free_page((unsigned long)spt->low_prot[i]); in subpage_prot_free() 35 spt->low_prot[i] = NULL; in subpage_prot_free() 40 p = spt->protptrs[i]; in subpage_prot_free() 43 spt->protptrs[i] = NULL; in subpage_prot_free() 44 for (j = 0; j < SBP_L2_COUNT && addr < spt->maxaddr; in subpage_prot_free() 50 spt->maxaddr = 0; in subpage_prot_free() 55 struct subpage_prot_table *spt = &mm->context.spt; in subpage_prot_init_new_context() local 57 memset(spt, 0, sizeof(*spt)); in subpage_prot_init_new_context() [all …]
|
D | hash_utils_64.c | 1143 struct subpage_prot_table *spt = &mm->context.spt; in subpage_protection() local 1147 if (ea >= spt->maxaddr) in subpage_protection() 1151 sbpm = spt->low_prot; in subpage_protection() 1153 sbpm = spt->protptrs[ea >> SBP_L3_SHIFT]; in subpage_protection()
|
/Linux-v4.19/drivers/misc/mic/host/ |
D | mic_smpt.c | 78 static void mic_add_smpt_entry(int spt, s64 *ref, u64 addr, in mic_add_smpt_entry() argument 84 for (i = spt; i < spt + entries; i++, in mic_add_smpt_entry() 91 smpt_info->entry[i].ref_count += ref[i - spt]; in mic_add_smpt_entry() 102 int spt; in mic_smpt_op() local 136 spt = i - entries + 1; in mic_smpt_op() 137 mic_addr = mic_smpt_to_pa(mdev, spt); in mic_smpt_op() 138 mic_add_smpt_entry(spt, ref, dma_addr, entries, mdev); in mic_smpt_op() 180 int spt; in mic_to_dma_addr() local 188 spt = mic_sys_addr_to_smpt(mdev, mic_addr); in mic_to_dma_addr() 189 dma_addr = smpt_info->entry[spt].dma_addr + in mic_to_dma_addr() [all …]
|
/Linux-v4.19/arch/x86/kvm/ |
D | mmu_audit.c | 43 u64 *ent = sp->spt; in __mmu_spte_walk() 116 gfn = kvm_mmu_page_get_gfn(sp, sptep - sp->spt); in audit_mappings() 139 gfn = kvm_mmu_page_get_gfn(rev_sp, sptep - rev_sp->spt); in inspect_spte_has_rmap() 148 (long int)(sptep - rev_sp->spt), rev_sp->gfn); in inspect_spte_has_rmap() 186 if (!is_shadow_present_pte(sp->spt[i])) in check_mappings_rmap() 189 inspect_spte_has_rmap(kvm, sp->spt + i); in check_mappings_rmap()
|
D | paging_tmpl.h | 575 i = (sptep - sp->spt) & ~(PTE_PREFETCH_NUM - 1); in FNAME() 576 spte = sp->spt + i; in FNAME() 893 pte_gpa += (sptep - sp->spt) * sizeof(pt_element_t); in FNAME() 984 if (!sp->spt[i]) in FNAME() 993 if (FNAME(prefetch_invalid_gpte)(vcpu, sp, &sp->spt[i], gpte)) { in FNAME() 1009 if (sync_mmio_spte(vcpu, &sp->spt[i], gfn, pte_access, in FNAME() 1014 drop_spte(vcpu->kvm, &sp->spt[i]); in FNAME() 1026 host_writable = sp->spt[i] & SPTE_HOST_WRITEABLE; in FNAME() 1028 set_spte_ret |= set_spte(vcpu, &sp->spt[i], in FNAME() 1030 gfn, spte_to_pfn(sp->spt[i]), in FNAME()
|
D | mmu.c | 1338 kvm_mmu_page_set_gfn(sp, spte - sp->spt, gfn); in rmap_add() 1350 gfn = kvm_mmu_page_get_gfn(sp, spte - sp->spt); in rmap_remove() 1936 static int is_empty_shadow_page(u64 *spt) in is_empty_shadow_page() argument 1941 for (pos = spt, end = pos + PAGE_SIZE / sizeof(u64); pos != end; pos++) in is_empty_shadow_page() 1965 MMU_WARN_ON(!is_empty_shadow_page(sp->spt)); in kvm_mmu_free_page() 1968 free_page((unsigned long)sp->spt); in kvm_mmu_free_page() 2006 sp->spt = mmu_memory_cache_alloc(&vcpu->arch.mmu_page_cache); in kvm_mmu_alloc_page() 2009 set_page_private(virt_to_page(sp->spt), (unsigned long)sp); in kvm_mmu_alloc_page() 2038 index = spte - sp->spt; in mark_unsync() 2103 u64 ent = sp->spt[i]; in __mmu_unsync_walk() [all …]
|
/Linux-v4.19/kernel/ |
D | torture.c | 578 int spt; in stutter_wait() local 581 spt = READ_ONCE(stutter_pause_test); in stutter_wait() 582 for (; spt; spt = READ_ONCE(stutter_pause_test)) { in stutter_wait() 583 if (spt == 1) { in stutter_wait() 585 } else if (spt == 2) { in stutter_wait()
|
/Linux-v4.19/drivers/block/ |
D | ataflop.c | 91 unsigned spt; /* sectors per track */ member 671 if (!UDT || desc->track >= UDT->blocks/UDT->spt/2 || desc->head >= 2) { in do_format() 676 nsect = UDT->spt; in do_format() 937 dma_wd.fdc_acces_seccount = read_track ? SUDT->spt : 1; in fd_rwsec() 1002 if (addr >= PhysTrackBuffer + SUDT->spt*512) { in fd_readtrack_check() 1070 !(read_track && FDC_READ(FDCREG_SECTOR) > SUDT->spt)) { in fd_rwsec_done1() 1382 ReqTrack = block / UDT->spt; in setup_req_params() 1383 ReqSector = block - ReqTrack * UDT->spt + 1; in setup_req_params() 1546 getprm.sect = dtp->spt; in fd_locked_ioctl() 1548 getprm.track = dtp->blocks/dtp->spt/2; in fd_locked_ioctl() [all …]
|
/Linux-v4.19/drivers/scsi/esas2r/ |
D | esas2r_ioctl.c | 691 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() 986 struct atto_hba_scsi_pass_thru *spt = &hi->data.scsi_pass_thru; in hba_ioctl_callback() local 989 memcpy(&lun, spt->lun, sizeof(struct scsi_lun)); in hba_ioctl_callback() 1004 if (spt->target_id >= ESAS2R_MAX_TARGETS || !check_lun(lun)) { in hba_ioctl_callback() [all …]
|
/Linux-v4.19/arch/powerpc/include/asm/book3s/64/ |
D | mmu.h | 135 struct subpage_prot_table spt; member
|
/Linux-v4.19/Documentation/virtual/kvm/ |
D | mmu.txt | 189 spt: 192 The page pointed to by spt will have its page->private pointing back 194 sptes in spt point either at guest pages, or at lower-level shadow pages. 195 Specifically, if sp1 and sp2 are shadow pages, then sp1->spt[n] may point 196 at __pa(sp2->spt). sp2 will point back at sp1 through parent_pte. 197 The spt array forms a DAG structure with the shadow page as a node, and 209 The reverse mapping for the pte/ptes pointing at this page's spt. If 224 A bitmap indicating which sptes in spt point (directly or indirectly) at
|
/Linux-v4.19/arch/s390/kernel/ |
D | swsusp.S | 233 spt 0x328(%r13) /* reprogram timer */
|
D | entry.S | 1069 spt __LC_CPU_TIMER_SAVE_AREA-4095(%r1) # validate cpu timer 1131 2: spt 0(%r14)
|
/Linux-v4.19/arch/s390/boot/ |
D | head.S | 308 spt 6f-.LPG0(%r13)
|
/Linux-v4.19/drivers/scsi/qla2xxx/ |
D | qla_isr.c | 2142 struct t10_pi_tuple *spt; in qla2x00_handle_dif_error() local 2164 spt = page_address(sg_page(sg)) + sg->offset; in qla2x00_handle_dif_error() 2165 spt += j; in qla2x00_handle_dif_error() 2167 spt->app_tag = T10_PI_APP_ESCAPE; in qla2x00_handle_dif_error() 2169 spt->ref_tag = T10_PI_REF_ESCAPE; in qla2x00_handle_dif_error()
|
/Linux-v4.19/arch/x86/include/asm/ |
D | kvm_host.h | 291 u64 *spt; member
|
/Linux-v4.19/arch/s390/tools/ |
D | opcodes.txt | 195 b208 spt S_RD
|