Lines Matching refs:dia
1701 struct kbdiacr *dia; in vt_do_diacrit() local
1704 dia = kmalloc_array(MAX_DIACR, sizeof(struct kbdiacr), in vt_do_diacrit()
1706 if (!dia) in vt_do_diacrit()
1715 dia[i].diacr = conv_uni_to_8bit( in vt_do_diacrit()
1717 dia[i].base = conv_uni_to_8bit( in vt_do_diacrit()
1719 dia[i].result = conv_uni_to_8bit( in vt_do_diacrit()
1726 else if (copy_to_user(a->kbdiacr, dia, in vt_do_diacrit()
1729 kfree(dia); in vt_do_diacrit()
1763 struct kbdiacr *dia = NULL; in vt_do_diacrit() local
1776 dia = memdup_user(a->kbdiacr, in vt_do_diacrit()
1778 if (IS_ERR(dia)) in vt_do_diacrit()
1779 return PTR_ERR(dia); in vt_do_diacrit()
1787 conv_8bit_to_uni(dia[i].diacr); in vt_do_diacrit()
1789 conv_8bit_to_uni(dia[i].base); in vt_do_diacrit()
1791 conv_8bit_to_uni(dia[i].result); in vt_do_diacrit()
1794 kfree(dia); in vt_do_diacrit()