Searched refs:logfd (Results 1 – 3 of 3) sorted by relevance
/freebsd/usr.sbin/pmc/ |
H A D | cmd_pmc_summary.cc | 91 pmc_summary_handler(int logfd, int k, bool do_full) in pmc_summary_handler() argument 101 ps = static_cast<struct pmclog_parse_state*>(pmclog_open(logfd)); in pmc_summary_handler() 183 int option, logfd, k; in cmd_pmc_summary() local 209 if ((logfd = open(argv[0], O_RDONLY, in cmd_pmc_summary() 214 return (pmc_summary_handler(logfd, k, do_full)); in cmd_pmc_summary()
|
/freebsd/sbin/shutdown/ |
H A D | shutdown.c | 557 int logfd; in nolog() local 565 if ((logfd = open(_PATH_NOLOGIN, O_WRONLY|O_CREAT|O_TRUNC, in nolog() 567 (void)write(logfd, NOMSG, sizeof(NOMSG) - 1); in nolog() 569 (void)write(logfd, ct + 11, 5); in nolog() 570 (void)write(logfd, "\n\n", 2); in nolog() 571 (void)write(logfd, mbuf, strlen(mbuf)); in nolog() 572 (void)close(logfd); in nolog()
|
/freebsd/sys/dev/hwpmc/ |
H A D | hwpmc_logging.c | 685 pmclog_configure_log(struct pmc_mdep *md, struct pmc_owner *po, int logfd) in pmclog_configure_log() argument 692 PMCDBG2(LOG,CFG,1, "config po=%p logfd=%d", po, logfd); in pmclog_configure_log() 705 error = fget_write(curthread, logfd, &cap_write_rights, &po->po_file); in pmclog_configure_log()
|