Home
last modified time | relevance | path

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

/Linux-v6.1/include/linux/
Dfont.h66 #define REFCOUNT(fd) (((int *)(fd))[-1]) macro
/Linux-v6.1/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-v6.1/drivers/video/fbdev/core/
Dfbcon.c1037 REFCOUNT(p->fontdata)++; in fbcon_init()
1140 if (freefont && p->userfont && p->fontdata && (--REFCOUNT(p->fontdata) == 0)) in fbcon_free_font()
1368 REFCOUNT(p->fontdata)++; in fbcon_set_disp()
2413 REFCOUNT(data)++; in fbcon_do_set_font()
2443 if (old_data && (--REFCOUNT(old_data) == 0)) in fbcon_do_set_font()
2453 REFCOUNT(data)--; in fbcon_do_set_font()
2517 REFCOUNT(new_data) = 0; /* usage counter */ in fbcon_set_font()