Home
last modified time | relevance | path

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

/Linux-v5.10/include/linux/
Dfont.h65 #define REFCOUNT(fd) (((int *)(fd))[-1]) macro
/Linux-v5.10/drivers/video/console/
Dnewport_con.c520 REFCOUNT(new_data) = 0; /* usage counter */ in newport_set_font()
545 if (--REFCOUNT(font_data[unit]) == 0) in newport_set_font()
549 REFCOUNT(new_data)++; in newport_set_font()
558 if (--REFCOUNT(font_data[unit]) == 0) in newport_set_def_font()
/Linux-v5.10/drivers/video/fbdev/core/
Dfbcon.c1074 REFCOUNT(p->fontdata)++; in fbcon_init()
1180 if (freefont && p->userfont && p->fontdata && (--REFCOUNT(p->fontdata) == 0)) in fbcon_free_font()
1383 REFCOUNT(p->fontdata)++; in fbcon_set_disp()
2427 REFCOUNT(data)++; in fbcon_do_set_font()
2449 if (old_data && (--REFCOUNT(old_data) == 0)) in fbcon_do_set_font()
2512 REFCOUNT(new_data) = 0; /* usage counter */ in fbcon_set_font()