Lines Matching refs:table
387 void kvm_register_target_coproc_table(struct kvm_coproc_target_table *table) in kvm_register_target_coproc_table() argument
391 for (i = 1; i < table->num; i++) in kvm_register_target_coproc_table()
392 BUG_ON(cmp_reg(&table->table[i-1], in kvm_register_target_coproc_table()
393 &table->table[i]) >= 0); in kvm_register_target_coproc_table()
395 target_tables[table->target] = table; in kvm_register_target_coproc_table()
401 struct kvm_coproc_target_table *table; in get_target_table() local
403 table = target_tables[target]; in get_target_table()
404 *num = table->num; in get_target_table()
405 return table->table; in get_target_table()
409 const struct coproc_reg table[], in find_reg() argument
415 const struct coproc_reg *r = &table[i]; in find_reg()
437 const struct coproc_reg *table, *r; in emulate_cp15() local
442 table = get_target_table(vcpu->arch.target, &num); in emulate_cp15()
445 r = find_reg(params, table, num); in emulate_cp15()
491 const struct coproc_reg *table, size_t num) in reset_coproc_regs() argument
496 if (table[i].reset) in reset_coproc_regs()
497 table[i].reset(vcpu, &table[i]); in reset_coproc_regs()
575 const struct coproc_reg *table, *r; in index_to_coproc_reg() local
585 table = get_target_table(vcpu->arch.target, &num); in index_to_coproc_reg()
586 r = find_reg(¶ms, table, num); in index_to_coproc_reg()
1248 const struct coproc_reg *table; in kvm_reset_coprocs() local
1256 table = get_target_table(vcpu->arch.target, &num); in kvm_reset_coprocs()
1257 reset_coproc_regs(vcpu, table, num); in kvm_reset_coprocs()