Home
last modified time | relevance | path

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

/Linux-v5.4/drivers/video/console/
Dnewport_con.c38 #define REFCOUNT(fd) (((int *)(fd))[-1]) macro
522 REFCOUNT(new_data) = 0; /* usage counter */ in newport_set_font()
546 if (--REFCOUNT(font_data[unit]) == 0) in newport_set_font()
550 REFCOUNT(new_data)++; in newport_set_font()
559 if (--REFCOUNT(font_data[unit]) == 0) in newport_set_def_font()
/Linux-v5.4/drivers/video/fbdev/core/
Dfbcon.h156 #define REFCOUNT(fd) (((int *)(fd))[-1]) macro
Dfbcon.c1121 REFCOUNT(p->fontdata)++; in fbcon_init()
1230 if (freefont && p->userfont && p->fontdata && (--REFCOUNT(p->fontdata) == 0)) in fbcon_free_font()
1439 REFCOUNT(p->fontdata)++; in fbcon_set_disp()
2584 REFCOUNT(data)++; in fbcon_do_set_font()
2608 if (old_data && (--REFCOUNT(old_data) == 0)) in fbcon_do_set_font()
2671 REFCOUNT(new_data) = 0; /* usage counter */ in fbcon_set_font()