Lines Matching refs:conspath
265 char conspath[MAXPATHLEN]; in destroy_console_devs() local
275 (void) snprintf(conspath, sizeof (conspath), "/dev/zcons/%s/%s", in destroy_console_devs()
277 if ((managerfd = open(conspath, O_RDWR | O_NOCTTY)) != -1) { in destroy_console_devs()
278 (void) snprintf(conspath, sizeof (conspath), "/dev/zcons/%s/%s", in destroy_console_devs()
280 if ((subfd = open(conspath, O_RDWR | O_NOCTTY)) != -1) { in destroy_console_devs()
333 char conspath[MAXPATHLEN]; in init_console_dev() local
414 (void) snprintf(conspath, sizeof (conspath), "/dev/zcons/%s/%s", in init_console_dev()
416 if ((managerfd = open(conspath, O_RDWR | O_NOCTTY)) == -1) { in init_console_dev()
422 (void) snprintf(conspath, sizeof (conspath), "/dev/zcons/%s/%s", in init_console_dev()
424 if ((subfd = open(conspath, O_RDWR | O_NOCTTY)) == -1) { in init_console_dev()
913 char conspath[MAXPATHLEN]; in serve_console() local
915 (void) snprintf(conspath, sizeof (conspath), in serve_console()
919 managerfd = open(conspath, O_RDWR|O_NONBLOCK|O_NOCTTY); in serve_console()