Searched refs:logfd (Results 1 - 3 of 3) sorted by relevance
/freebsd-current/usr.sbin/pmc/ |
H A D | cmd_pmc_summary.cc | 91 pmc_summary_handler(int logfd, int k, bool do_full) argument 101 ps = static_cast<struct pmclog_parse_state*>(pmclog_open(logfd)); 183 int option, logfd, k; local 209 if ((logfd = open(argv[0], O_RDONLY, 214 return (pmc_summary_handler(logfd, k, do_full));
|
/freebsd-current/sbin/shutdown/ |
H A D | shutdown.c | 548 int logfd; local 556 if ((logfd = open(_PATH_NOLOGIN, O_WRONLY|O_CREAT|O_TRUNC, 558 (void)write(logfd, NOMSG, sizeof(NOMSG) - 1); 560 (void)write(logfd, ct + 11, 5); 561 (void)write(logfd, "\n\n", 2); 562 (void)write(logfd, mbuf, strlen(mbuf)); 563 (void)close(logfd);
|
/freebsd-current/sys/dev/hwpmc/ |
H A D | hwpmc_logging.c | 676 * Parameter 'logfd' is a file handle referencing an open file in the 681 pmclog_configure_log(struct pmc_mdep *md, struct pmc_owner *po, int logfd) argument 688 PMCDBG2(LOG,CFG,1, "config po=%p logfd=%d", po, logfd); 701 error = fget_write(curthread, logfd, &cap_write_rights, &po->po_file);
|
Completed in 122 milliseconds