Lines Matching refs:zlogp

174 	zlog_t *zlogp;  member
197 count_console_devs(zlog_t *zlogp) in count_console_devs() argument
203 cb.zlogp = zlogp; in count_console_devs()
207 zerror(zlogp, B_TRUE, "%s failed", "di_init"); in count_console_devs()
248 zerror(cb->zlogp, B_TRUE, "WARNING: console %s found, " in destroy_cb()
255 zerror(cb->zlogp, B_TRUE, "WARNING: console %s found, " in destroy_cb()
263 destroy_console_devs(zlog_t *zlogp) in destroy_console_devs() argument
283 zerror(zlogp, B_TRUE, "WARNING: error while " in destroy_console_devs()
288 zerror(zlogp, B_TRUE, "WARNING: could not open slave " in destroy_console_devs()
294 zerror(zlogp, B_TRUE, "WARNING: could not open master side of " in destroy_console_devs()
299 cb.zlogp = zlogp; in destroy_console_devs()
303 zerror(zlogp, B_TRUE, "%s failed", "di_init"); in destroy_console_devs()
309 zerror(zlogp, B_FALSE, "WARNING: multiple zone console " in destroy_console_devs()
330 init_console_dev(zlog_t *zlogp) in init_console_dev() argument
347 ndevs = count_console_devs(zlogp); in init_console_dev()
356 if (destroy_console_devs(zlogp) == -1) { in init_console_dev()
365 zerror(zlogp, B_TRUE, "%s failed", "devctl_bus_acquire"); in init_console_dev()
369 zerror(zlogp, B_TRUE, "failed to allocate ddef handle"); in init_console_dev()
381 zerror(zlogp, B_TRUE, "failed to create zonename property"); in init_console_dev()
385 zerror(zlogp, B_TRUE, "failed to create auto-assign-instance " in init_console_dev()
390 zerror(zlogp, B_TRUE, "failed to create ddi-no-auto-detach " in init_console_dev()
395 zerror(zlogp, B_TRUE, "failed to create console node"); in init_console_dev()
403 zerror(zlogp, B_TRUE, "failed to create devlinks"); in init_console_dev()
415 zerror(zlogp, B_TRUE, "ERROR: could not open master side of " in init_console_dev()
422 zerror(zlogp, B_TRUE, "ERROR: could not open slave side of zone" in init_console_dev()
443 zerror(zlogp, B_TRUE, "ERROR: error while acquiring slave " in init_console_dev()
460 init_console_sock(zlog_t *zlogp) in init_console_sock() argument
471 zerror(zlogp, B_TRUE, "console setup: could not create socket"); in init_console_sock()
478 zerror(zlogp, B_TRUE, in init_console_sock()
484 zerror(zlogp, B_TRUE, in init_console_sock()
716 do_console_io(zlog_t *zlogp, int consfd, int servfd) in do_console_io() argument
751 zerror(zlogp, B_TRUE, "poll failed"); in do_console_io()
772 zerror(zlogp, B_FALSE, in do_console_io()
791 zerror(zlogp, B_FALSE, in do_console_io()
876 init_console(zlog_t *zlogp) in init_console() argument
878 if (init_console_dev(zlogp) == -1) { in init_console()
879 zerror(zlogp, B_FALSE, in init_console()
884 if ((serverfd = init_console_sock(zlogp)) == -1) { in init_console()
885 zerror(zlogp, B_FALSE, in init_console()
905 serve_console(zlog_t *zlogp) in serve_console() argument
917 zerror(zlogp, B_TRUE, "failed to open console master"); in serve_console()
930 zerror(zlogp, B_TRUE, "failed to set options on " in serve_console()
936 do_console_io(zlogp, masterfd, serverfd); in serve_console()
959 zerror(zlogp, B_FALSE, in serve_console()
976 (void) destroy_console_devs(zlogp); in serve_console()