Lines Matching refs:entries
984 INIT_KFIFO(hv_vcpu->tlb_flush_fifo[i].entries);
1836 * Preserve the original count when ignoring entries via a "cap", KVM
1876 static int kvm_hv_get_tlb_flush_entries(struct kvm *kvm, struct kvm_hv_hcall *hc, u64 entries[])
1878 return kvm_hv_get_hc_data(kvm, hc, hc->rep_cnt, hc->rep_cnt, entries);
1883 u64 *entries, int count)
1894 * All entries should fit on the fifo leaving one free for 'flush all'
1898 if (count && entries && count < kfifo_avail(&tlb_flush_fifo->entries)) {
1899 WARN_ON(kfifo_in(&tlb_flush_fifo->entries, entries, count) != count);
1907 kfifo_in(&tlb_flush_fifo->entries, &flush_all_entry, 1);
1917 u64 entries[KVM_HV_TLB_FLUSH_FIFO_SIZE];
1926 count = kfifo_out(&tlb_flush_fifo->entries, entries, KVM_HV_TLB_FLUSH_FIFO_SIZE);
1929 if (entries[i] == KVM_HV_TLB_FLUSHALL_ENTRY)
1936 gva = entries[i] & PAGE_MASK;
1937 for (j = 0; j < (entries[i] & ~PAGE_MASK) + 1; j++)
1945 kfifo_reset_out(&tlb_flush_fifo->entries);
1962 * entries on the TLB flush fifo. The last entry, however, needs to be
1964 * there is not enough space to put all the requested entries.
2061 * consumed_xmm_halves to make sure TLB flush entries are read
2711 struct kvm_cpuid_entry2 __user *entries)
2861 if (copy_to_user(entries, cpuid_entries,