Lines Matching refs:unilist
540 struct unipair *unilist, *plist; in con_set_unimap() local
545 unilist = memdup_user(list, ct * sizeof(struct unipair)); in con_set_unimap()
546 if (IS_ERR(unilist)) in con_set_unimap()
547 return PTR_ERR(unilist); in con_set_unimap()
626 for (plist = unilist; ct; ct--, plist++) { in con_set_unimap()
644 kfree(unilist); in con_set_unimap()
744 struct unipair *unilist; in con_get_unimap() local
746 unilist = kmalloc_array(ct, sizeof(struct unipair), GFP_KERNEL); in con_get_unimap()
747 if (!unilist) in con_get_unimap()
765 unilist[ect].unicode = in con_get_unimap()
767 unilist[ect].fontpos = *p2; in con_get_unimap()
775 if (copy_to_user(list, unilist, min(ect, ct) * sizeof(struct unipair))) in con_get_unimap()
778 kfree(unilist); in con_get_unimap()