Lines Matching refs:MAX_NR_CONSOLES
599 if (vsa.console == 0 || vsa.console > MAX_NR_CONSOLES) in vt_setactivate()
603 vsa.console = array_index_nospec(vsa.console, MAX_NR_CONSOLES); in vt_setactivate()
651 struct vc_data *vc[MAX_NR_CONSOLES]; in vt_disallocate_all()
655 for (i = 1; i < MAX_NR_CONSOLES; i++) in vt_disallocate_all()
662 for (i = 1; i < MAX_NR_CONSOLES; i++) { in vt_disallocate_all()
701 for (i = 0; i < MAX_NR_CONSOLES; i++) { in vt_resizex()
815 for (i = 0, mask = 2; i < MAX_NR_CONSOLES && mask; in vt_ioctl()
828 for (i = 0; i < MAX_NR_CONSOLES; ++i) in vt_ioctl()
832 i = i < MAX_NR_CONSOLES ? (i+1) : -1; in vt_ioctl()
843 if (arg == 0 || arg > MAX_NR_CONSOLES) in vt_ioctl()
847 arg = array_index_nospec(arg, MAX_NR_CONSOLES); in vt_ioctl()
868 if (arg == 0 || arg > MAX_NR_CONSOLES) in vt_ioctl()
897 if (arg > MAX_NR_CONSOLES) in vt_ioctl()
905 arg = array_index_nospec(arg - 1, MAX_NR_CONSOLES); in vt_ioctl()
921 for (i = 0; i < MAX_NR_CONSOLES; i++) { in vt_ioctl()