Search | Google it | Results 1 - 1 of 1 for funcall:check_port (0.00 seconds) |
166: Lock(&ConsLock); 167: if ((p = check_port(port)) != NULL) p->in_use++; /* Use-count ++*/ 168: Unlock(&ConsLock); 734: port = arg[0]; 735: if (!(old = check_port(port))) return -1; 736: } 809: case CS_DELETE: /* Delete the console port */ 810: if (arg[0] > 2 && (p = check_port(arg[0]))) n = delete_cons(p); 811: else n = -1; 814: case CS_GETCONF: /* Fetch the console configuration */ 815: if ((p = check_port(arg[0])) != NULL) { 816: arg[1] = p->conf; 840: n = 1; /* Default #1 */ 841: arg[0] = check_port(n) ? n : 1; 842: n = 0;