Lines Matching refs:new_data
2489 u8 *new_data, *data = font->data; in fbcon_set_font() local
2516 new_data = kmalloc(FONT_EXTRA_WORDS * sizeof(int) + size, GFP_USER); in fbcon_set_font()
2518 if (!new_data) in fbcon_set_font()
2521 memset(new_data, 0, FONT_EXTRA_WORDS * sizeof(int)); in fbcon_set_font()
2523 new_data += FONT_EXTRA_WORDS * sizeof(int); in fbcon_set_font()
2524 FNTSIZE(new_data) = size; in fbcon_set_font()
2525 REFCOUNT(new_data) = 0; /* usage counter */ in fbcon_set_font()
2527 memcpy(new_data + i*h*pitch, data + i*vpitch*pitch, h*pitch); in fbcon_set_font()
2532 csum = crc32(0, new_data, size); in fbcon_set_font()
2534 FNTSUM(new_data) = csum; in fbcon_set_font()
2544 !memcmp(fb_display[i].fontdata, new_data, size)) { in fbcon_set_font()
2545 kfree(new_data - FONT_EXTRA_WORDS * sizeof(int)); in fbcon_set_font()
2546 new_data = (u8 *)fb_display[i].fontdata; in fbcon_set_font()
2550 return fbcon_do_set_font(vc, font->width, font->height, charcount, new_data, 1); in fbcon_set_font()