Home
last modified time | relevance | path

Searched refs:MAX_GLYPH (Results 1 – 1 of 1) sorted by relevance

/drivers/tty/vt/
Dconsolemap.c185 #define MAX_GLYPH 512 /* Max possible glyph value */ macro
209 q = p->inverse_translations[i] = kmalloc(MAX_GLYPH, GFP_KERNEL); in set_inverse_transl()
212 memset(q, 0, MAX_GLYPH); in set_inverse_transl()
216 if (glyph >= 0 && glyph < MAX_GLYPH && q[glyph] < 32) { in set_inverse_transl()
234 kmalloc_array(MAX_GLYPH, sizeof(u16), GFP_KERNEL); in set_inverse_trans_unicode()
238 memset(q, 0, MAX_GLYPH * sizeof(u16)); in set_inverse_trans_unicode()
250 if (glyph >= 0 && glyph < MAX_GLYPH in set_inverse_trans_unicode()
275 if (glyph < 0 || glyph >= MAX_GLYPH) in inverse_translate()
762 if (*p2 >= MAX_GLYPH) in con_get_unimap()
837 (h = p2[ucs & 0x3f]) < MAX_GLYPH) in conv_uni_to_pc()