Lines Matching refs:new_data
2490 u8 *new_data, *data = font->data; in fbcon_set_font() local
2517 new_data = kmalloc(FONT_EXTRA_WORDS * sizeof(int) + size, GFP_USER); in fbcon_set_font()
2519 if (!new_data) in fbcon_set_font()
2522 memset(new_data, 0, FONT_EXTRA_WORDS * sizeof(int)); in fbcon_set_font()
2524 new_data += FONT_EXTRA_WORDS * sizeof(int); in fbcon_set_font()
2525 FNTSIZE(new_data) = size; in fbcon_set_font()
2526 REFCOUNT(new_data) = 0; /* usage counter */ in fbcon_set_font()
2528 memcpy(new_data + i*h*pitch, data + i*32*pitch, h*pitch); in fbcon_set_font()
2533 csum = crc32(0, new_data, size); in fbcon_set_font()
2535 FNTSUM(new_data) = csum; in fbcon_set_font()
2545 !memcmp(fb_display[i].fontdata, new_data, size)) { in fbcon_set_font()
2546 kfree(new_data - FONT_EXTRA_WORDS * sizeof(int)); in fbcon_set_font()
2547 new_data = (u8 *)fb_display[i].fontdata; in fbcon_set_font()
2551 return fbcon_do_set_font(vc, font->width, font->height, charcount, new_data, 1); in fbcon_set_font()