Searched refs:ctr (Results 1 – 7 of 7) sorted by relevance
/xen-4.10.0-shim-comet/stubdom/vtpmmgr/ |
A D | disk_crypto.c | 53 ctr[1]++; in aes_ctr_one() 58 uint64_t ctr[2]; in aes_encrypt_ctr() local 63 do_random(ctr, sizeof(ctr)); in aes_encrypt_ctr() 64 dst[0] = ctr[0]; in aes_encrypt_ctr() 65 dst[1] = ctr[1]; in aes_encrypt_ctr() 73 aes_ctr_one(tmp, ctr, key_e); in aes_encrypt_ctr() 89 aes_ctr_one(tmp, ctr, key_e); in aes_encrypt_ctr() 102 aes_ctr_one(dst, ctr, key_e); in aes_encrypt_ctr() 113 uint64_t ctr[2]; in aes_decrypt_ctr() local 118 ctr[0] = src[0]; in aes_decrypt_ctr() [all …]
|
A D | vtpm_disk.c | 41 uint32_t ctr = be32_native(mgr->counter_value); in vtpm_sync_disk() local 42 mgr->counter_value = native_be32(ctr + 1); in vtpm_sync_disk() 78 uint32_t ctr = be32_native(mgr->counter_value); in vtpm_sync_disk() local 79 mgr->counter_value = native_be32(ctr - 1); in vtpm_sync_disk()
|
/xen-4.10.0-shim-comet/xen/arch/x86/oprofile/ |
A D | op_model_p4.c | 372 #define CTR_OVERFLOW_P(ctr) (!((ctr) & 0x80000000ULL)) argument 484 counter_bit = 1 << VIRT_CTR(stag, ctr); in pmc_setup_one_p4_counter() 487 if (counter_config[ctr].event <= 0 || counter_config[ctr].event > NUM_EVENTS) { in pmc_setup_one_p4_counter() 489 counter_config[ctr].event); in pmc_setup_one_p4_counter() 493 ev = &(p4_events[counter_config[ctr].event - 1]); in pmc_setup_one_p4_counter() 502 ESCR_SET_USR_0(escr, counter_config[ctr].user); in pmc_setup_one_p4_counter() 513 CCCR_READ(cccr, VIRT_CTR(stag, ctr)); in pmc_setup_one_p4_counter() 522 CCCR_WRITE(cccr, VIRT_CTR(stag, ctr)); in pmc_setup_one_p4_counter() 529 counter_config[ctr].event, stag, ctr); in pmc_setup_one_p4_counter() 616 unsigned long ctr, stag, real; in p4_check_ctrs() local [all …]
|
/xen-4.10.0-shim-comet/tools/firmware/rombios/32bit/ |
A D | util.c | 95 uint32_t ctr; in strncmp() local 96 for (ctr = 0; ctr < n; ctr++) in strncmp() 97 if (s1[ctr] != s2[ctr]) in strncmp() 98 return (int)(s1[ctr] - s2[ctr]); in strncmp()
|
/xen-4.10.0-shim-comet/tools/firmware/rombios/32bit/tcgbios/ |
A D | tpm_drivers.c | 97 uint32_t ctr = 0; in tis_senddata() local 98 while (burst == 0 && ctr < 2000) { in tis_senddata() 102 ctr++; in tis_senddata()
|
A D | tcgbios.c | 250 unsigned int ctr; in acpi_validate_entry() local 253 for (ctr = 0; ctr < length; ctr++) in acpi_validate_entry() 254 sum += addr[ctr]; in acpi_validate_entry() 278 uint32_t ctr = 0; in tcpa_acpi_init() local 285 tcpa = (struct acpi_20_tcpa_clisrv *)rsdt->entry[ctr]; in tcpa_acpi_init() 293 ctr++; in tcpa_acpi_init()
|
/xen-4.10.0-shim-comet/tools/firmware/hvmloader/ |
A D | util.c | 143 uint32_t ctr; in strncmp() local 144 for (ctr = 0; ctr < n; ctr++) in strncmp() 145 if (s1[ctr] != s2[ctr]) in strncmp() 146 return (int)(s1[ctr] - s2[ctr]); in strncmp()
|
Completed in 19 milliseconds