Home
last modified time | relevance | path

Searched refs:pt (Results 1 – 25 of 36) sorted by relevance

12

/xen-4.10.0-shim-comet/xen/arch/x86/hvm/
A Dvpt.c169 pt->do_not_freeze = !pt->pending_intr_nr; in pt_process_missed_ticks()
172 pt->scheduled += missed_ticks * pt->period; in pt_process_missed_ticks()
226 set_timer(&pt->timer, pt->scheduled); in pt_restore_timer()
242 pt->scheduled += pt->period; in pt_timer_fn()
266 if ( (pt->irq != RTC_IRQ || !pt->priv) && pt_irq_masked(pt) ) in pt_update_irq()
337 if ( pt->pending_intr_nr && pt->irq_issued && in is_pt_irq()
378 set_timer(&pt->timer, pt->scheduled); in pt_intr_post()
382 pt->last_plt_gtime += pt->period; in pt_intr_post()
451 pt->scheduled = align_timer(pt->scheduled, pt->period); in create_periodic_time()
472 set_timer(&pt->timer, pt->scheduled); in create_periodic_time()
[all …]
A Dvlapic.c730 vlapic->pt.irq); in vlapic_update_timer()
751 destroy_periodic_time(&vlapic->pt); in vlapic_update_timer()
831 vlapic->pt.irq = val & APIC_VECTOR_MASK; in vlapic_reg_write()
851 pt_may_unmask_irq(NULL, &vlapic->pt); in vlapic_reg_write()
1137 create_periodic_time(v, &vlapic->pt, delta, 0, in vlapic_tdt_msr_set()
1160 destroy_periodic_time(&vlapic->pt); in vlapic_tdt_msr_set()
1352 destroy_periodic_time(&vlapic->pt); in vlapic_do_init()
1396 s->pt.irq, in lapic_rearm()
1399 s->timer_last_update = s->pt.last_plt_gtime; in lapic_rearm()
1560 vlapic->pt.source = PTSRC_lapic; in vlapic_init()
[all …]
A Drtc.c95 destroy_periodic_time(&s->pt); in rtc_pf_callback()
158 create_periodic_time(v, &s->pt, delta, period, in rtc_timer_update()
169 destroy_periodic_time(&s->pt); in rtc_timer_update()
522 destroy_periodic_time(&s->pt); in rtc_ioport_write()
796 destroy_periodic_time(&s->pt); in rtc_reset()
798 s->pt.source = PTSRC_isa; in rtc_reset()
844 destroy_periodic_time(&s->pt); in rtc_deinit()
A Dhpet.c217 destroy_periodic_time(&h->pt[tn]); in hpet_stop_timer()
286 create_periodic_time(vhpet_vcpu(h), &h->pt[tn], in hpet_set_timer()
665 h->pt[i].source = PTSRC_isa; in hpet_set()
/xen-4.10.0-shim-comet/tools/blktap2/drivers/
A Dprofile.h77 if (prof->pt) in tp_open()
88 pt = &prof->pt[i]; in tp_close()
91 prof->name, pt->fn_name, pt->cnt, in tp_close()
92 ((pt->cnt) ? (pt->out_sum / pt->cnt) : 0)); in tp_close()
102 if (prof->pt) in tp_close()
119 pt = &prof->pt[i]; in tp_fn_id()
134 struct profile_times *pt = &prof->pt[idx]; in __tp_in() local
150 struct profile_times *pt = &prof->pt[idx]; in __tp_out() local
152 if (!pt->fn_name || !pt->in) in __tp_out()
156 pt->cnt++; in __tp_out()
[all …]
A Daes.c48 # define GETU32(pt) (((u32)(pt)[0] << 24) ^ ((u32)(pt)[1] << 16) ^ ((u32)(pt)[2] << 8) ^ ((u32)(pt argument
/xen-4.10.0-shim-comet/stubdom/vtpmmgr/
A Ddisk_write.c46 struct disk_vtpm_sector pt; in disk_write_vtpm_page() local
48 memset(&pt, 0, sizeof(pt)); in disk_write_vtpm_page()
57 aes_encrypt_ctr(&pt.iv, sizeof(pt.data) + 16, &pt.data, sizeof(pt.data), auth_key); in disk_write_vtpm_page()
59 sha256(&dst->disk_hash, &pt, sizeof(pt)); in disk_write_vtpm_page()
61 disk_write_crypt_sector(&dst->disk_loc, &pt, sizeof(pt), mgr); in disk_write_vtpm_page()
150 struct disk_itree_sector pt; in disk_write_vtpm_itree() local
157 disk_write_vtpm_itree(hdr, base, child_entries, pt.hash, pt.location, in disk_write_vtpm_itree()
160 sha256(&hash[i], &pt.hash, sizeof(pt.hash)); in disk_write_vtpm_itree()
161 disk_write_crypt_sector(&loc[i], &pt, sizeof(pt), mgr); in disk_write_vtpm_itree()
316 sha256(&hash[i], &pt.hash, sizeof(pt.hash)); in disk_write_group_itree()
[all …]
A Ddisk_read.c208 struct disk_vtpm_sector pt; in load_verify_vtpm_page() local
213 rc = disk_read_crypt_sector(&pt, sizeof(pt), dst->disk_loc, mgr); in load_verify_vtpm_page()
219 rc = sha256_verify(&dst->disk_hash, &pt, sizeof(pt)); in load_verify_vtpm_page()
228 aes_decrypt_ctr(pt.data, sizeof(pt.data), &pt.iv, sizeof(pt.data) + 16, group_key); in load_verify_vtpm_page()
292 struct disk_itree_sector pt; in load_verify_vtpm_itree() local
302 rc = disk_read_crypt_sector(&pt, sizeof(pt), loc[i], mgr); in load_verify_vtpm_itree()
308 rc = sha256_verify(&hash[i], pt.hash, sizeof(pt.hash)); in load_verify_vtpm_itree()
314 rc = load_verify_vtpm_itree(hdr, base, child_entries, pt.hash, pt.location, in load_verify_vtpm_itree()
436 struct disk_itree_sector pt; in load_verify_group_itree() local
445 rc = disk_read_crypt_sector(&pt, sizeof(pt), loc[i], dst); in load_verify_group_itree()
[all …]
/xen-4.10.0-shim-comet/xen/arch/arm/
A Dmm.c271 .pt = { in mfn_to_xen_entry()
336 pte.pt.xn = 1; in set_fixmap()
475 map[slot].pt.avail--; in unmap_domain_page()
628 p[0].pt.table = 1; in setup_pagetables()
629 p[0].pt.xn = 0; in setup_pagetables()
640 p[i].pt.xn = 0; in setup_pagetables()
661 pte.pt.table = 1; in setup_pagetables()
717 pte.pt.table = 1; in setup_pagetables()
973 pte.pt.table = 1; in create_xen_table()
1027 BUG_ON(!pte.pt.ro && !pte.pt.xn); in create_xen_entries()
[all …]
A Dguest_walk.c556 xn_table |= pte.pt.xnt; /* Execute-Never */ in guest_walk_ld()
557 ro_table |= pte.pt.apt & BIT(1); /* Read-Only */ in guest_walk_ld()
581 if ( !pte.pt.ro && !ro_table ) in guest_walk_ld()
583 if ( !pte.pt.xn && !xn_table ) in guest_walk_ld()
/xen-4.10.0-shim-comet/xen/include/asm-x86/hvm/
A Dvpt.h96 struct periodic_time pt[HPET_TIMER_NUM]; member
112 struct periodic_time pt; member
158 #define pt_active(pt) ((pt)->on_list || (pt)->pending_intr_nr) argument
170 struct vcpu *v, struct periodic_time *pt, uint64_t delta,
172 void destroy_periodic_time(struct periodic_time *pt);
A Dvlapic.h86 struct periodic_time pt; member
/xen-4.10.0-shim-comet/tools/firmware/hvmloader/
A Dtests.c46 uint32_t *pt = (uint32_t *)PT_START; in setup_paging() local
54 pd[i] = (unsigned long)pt + 3; in setup_paging()
55 for ( j = 0; j < PAGE_SIZE / sizeof(*pt); ++j ) in setup_paging()
56 *pt++ = (i << (PAGE_SHIFT + 10)) + (j << PAGE_SHIFT) + 3; in setup_paging()
62 (unsigned long)pt + (i << PAGE_SHIFT) + 3; in setup_paging()
64 pt[i] = test_mem_base + (i << PAGE_SHIFT) + 3; in setup_paging()
67 pt[0x200000 >> PAGE_SHIFT] -= 0x100000; in setup_paging()
/xen-4.10.0-shim-comet/xen/drivers/cpufreq/
A Dutility.c57 pxpt->u.pt[state].residency += delta; in cpufreq_residency_update()
80 pxpt->u.pt[to].count++; in cpufreq_statistic_update()
126 pxpt->u.pt = xzalloc_array(struct pm_px_val, count); in cpufreq_statistic_init()
127 if (!pxpt->u.pt) { in cpufreq_statistic_init()
138 pxpt->u.pt[i].freq = pmpt->perf.states[i].core_frequency; in cpufreq_statistic_init()
163 xfree(pxpt->u.pt); in cpufreq_statistic_exit()
181 if ( !pmpt || !pxpt || !pxpt->u.pt || !pxpt->u.trans_pt ) { in cpufreq_statistic_reset()
189 pxpt->u.pt[i].residency = 0; in cpufreq_statistic_reset()
190 pxpt->u.pt[i].count = 0; in cpufreq_statistic_reset()
/xen-4.10.0-shim-comet/tools/libxc/
A Dxc_pm.c50 DECLARE_NAMED_HYPERCALL_BOUNCE(pt, pxpt->pt, 0, XC_HYPERCALL_BUFFER_BOUNCE_BOTH); in xc_pm_get_pxstat()
54 if ( !pxpt->trans_pt || !pxpt->pt ) in xc_pm_get_pxstat()
63 HYPERCALL_BOUNCE_SET_SIZE(pt, max_px * sizeof(struct xc_px_val)); in xc_pm_get_pxstat()
68 if ( xc_hypercall_bounce_pre(xch, pt) ) in xc_pm_get_pxstat()
79 set_xen_guest_handle(sysctl.u.get_pmstat.u.getpx.pt, pt); in xc_pm_get_pxstat()
85 xc_hypercall_bounce_post(xch, pt); in xc_pm_get_pxstat()
95 xc_hypercall_bounce_post(xch, pt); in xc_pm_get_pxstat()
/xen-4.10.0-shim-comet/xen/crypto/
A Drijndael.c721 #define GETU32(pt) (((u32)(pt)[0] << 24) ^ ((u32)(pt)[1] << 16) ^ ((u32)(pt)[2] << 8) ^ ((u32)(pt)… argument
864 rijndaelEncrypt(const u32 rk[/*4*(Nr + 1)*/], int Nr, const u8 pt[16], in rijndaelEncrypt()
876 s0 = GETU32(pt ) ^ rk[0]; in rijndaelEncrypt()
877 s1 = GETU32(pt + 4) ^ rk[1]; in rijndaelEncrypt()
878 s2 = GETU32(pt + 8) ^ rk[2]; in rijndaelEncrypt()
879 s3 = GETU32(pt + 12) ^ rk[3]; in rijndaelEncrypt()
1051 u8 pt[16]) in rijndaelDecrypt()
1209 PUTU32(pt , s0); in rijndaelDecrypt()
1216 PUTU32(pt + 4, s1); in rijndaelDecrypt()
1223 PUTU32(pt + 8, s2); in rijndaelDecrypt()
[all …]
/xen-4.10.0-shim-comet/tools/misc/
A Dxenpm.c253 pxstat->pt[pxstat->cur].freq); in print_pxstat()
260 printf("[%4"PRIu64" MHz]", pxstat->pt[i].freq); in print_pxstat()
262 pxstat->pt[i].count); in print_pxstat()
264 pxstat->pt[i].residency/1000000UL); in print_pxstat()
287 if ( !pxstat->pt ) in get_pxstat_by_cpuid()
298 free(pxstat->pt); in get_pxstat_by_cpuid()
300 pxstat->pt = NULL; in get_pxstat_by_cpuid()
330 free(pxstatinfo.pt); in show_pxstat_by_cpuid()
483 res = pxstat_end[i].pt[j].residency - in signal_int_handler()
484 pxstat_start[i].pt[j].residency; in signal_int_handler()
[all …]
/xen-4.10.0-shim-comet/xen/arch/x86/mm/
A DMakefile5 obj-y += p2m.o p2m-pt.o p2m-ept.o p2m-pod.o
/xen-4.10.0-shim-comet/xen/arch/x86/cpu/mcheck/
A Dvmce.c526 p2m_type_t pt; in unmmap_broken_page() local
540 r_mfn = get_gfn_query(d, gfn, &pt); in unmmap_broken_page()
541 if ( p2m_to_mask(pt) & P2M_UNMAP_TYPES) in unmmap_broken_page()
544 rc = p2m_change_type_one(d, gfn, pt, p2m_ram_broken); in unmmap_broken_page()
/xen-4.10.0-shim-comet/tools/tests/vhpet/
A Demul.h151 void destroy_periodic_time(struct periodic_time *pt);
153 struct vcpu *v, struct periodic_time *pt, uint64_t delta,
187 struct periodic_time pt[HPET_TIMER_NUM]; member
A Dmain.c242 void destroy_periodic_time(struct periodic_time *pt) in destroy_periodic_time() argument
244 int idx = ((long)pt) & 0x7; in destroy_periodic_time()
249 void create_periodic_time(struct vcpu *v, struct periodic_time *pt, in create_periodic_time() argument
253 int idx = ((long)pt) & 0x7; in create_periodic_time()
/xen-4.10.0-shim-comet/xen/include/acpi/cpufreq/
A Dprocessor_perf.h51 pm_px_val_t *pt; member
/xen-4.10.0-shim-comet/tools/libacpi/
A Dlibacpi.h76 } pt; member
/xen-4.10.0-shim-comet/xen/drivers/acpi/
A Dpmstat.c94 if ( !pxpt || !pxpt->u.pt || !pxpt->u.trans_pt ) in do_get_pm_info()
112 if ( copy_to_guest(op->u.getpx.pt, pxpt->u.pt, ct) ) in do_get_pm_info()
/xen-4.10.0-shim-comet/xen/include/asm-arm/
A Dlpae.h126 lpae_pt_t pt; member

Completed in 47 milliseconds

12