Searched refs:zlogp (Results 1 – 4 of 4) sorted by relevance
/titanic_41/usr/src/cmd/zoneadmd/ |
H A D | zoneadmd.c | 213 zerror(zlog_t *zlogp, boolean_t use_strerror, const char *fmt, ...) in zerror() argument 220 if (zlogp == NULL) in zerror() 222 if (zlogp == &logsys) in zerror() 233 assert(zlogp->locale != NULL); in zerror() 235 fmt = localize_msg(zlogp->locale, fmt); in zerror() 244 if (zlogp == &logsys) { in zerror() 246 } else if (zlogp->logfile != NULL) { in zerror() 247 (void) fprintf(zlogp->logfile, "%s\n", buf); in zerror() 252 buflen = snprintf(zlogp->log, zlogp->loglen, "%s\n", buf); in zerror() 253 copylen = MIN(buflen, zlogp->loglen); in zerror() [all …]
|
H A D | vplat.c | 230 build_mnttable(zlog_t *zlogp, const char *zroot, size_t zrootlen, FILE *mnttab, in build_mnttable() argument 272 zerror(zlogp, B_TRUE, "memory allocation failed"); in build_mnttable() 297 lofs_read_mnttab(zlog_t *zlogp) in lofs_read_mnttab() argument 304 if (build_mnttable(zlogp, "", 0, mnttab, &resolve_lofs_mnts, in lofs_read_mnttab() 319 resolve_lofs(zlog_t *zlogp, char *path, size_t pathlen) in resolve_lofs() argument 332 if (resolve_lofs_mnts == NULL && lofs_read_mnttab(zlogp) == -1) in resolve_lofs() 394 check_lofs_needed(zlog_t *zlogp, struct zone_fstab *fsptr) in check_lofs_needed() argument 400 if (resolve_lofs_mnts == NULL && lofs_read_mnttab(zlogp) == -1) in check_lofs_needed() 432 zerror(zlogp, B_TRUE, "cannot mount %s", in check_lofs_needed() 449 make_one_dir(zlog_t *zlogp, const char *prefix, const char *subdir, mode_t mode, in make_one_dir() argument [all …]
|
H A D | zcons.c | 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() [all …]
|
H A D | zoneadmd.h | 150 extern void resolve_lofs(zlog_t *zlogp, char *path, size_t pathlen);
|