Searched refs:po_file (Results 1 – 2 of 2) sorted by relevance
/freebsd/sys/dev/hwpmc/ |
H A D | hwpmc_logging.c | 454 error = fo_write(po->po_file, &auio, ownercred, 0, td); in pmclog_loop() 701 KASSERT(po->po_file == NULL, in pmclog_configure_log() 703 po->po_file)); in pmclog_configure_log() 706 error = fget_write(curthread, logfd, &cap_write_rights, &po->po_file); in pmclog_configure_log() 741 if (po->po_file) in pmclog_configure_log() 742 (void) fdrop(po->po_file, curthread); in pmclog_configure_log() 743 po->po_file = NULL; /* clear file and error state */ in pmclog_configure_log() 770 KASSERT(po->po_file != NULL, in pmclog_deconfigure_log() 797 if (po->po_file != NULL) { in pmclog_deconfigure_log() 798 error = fdrop(po->po_file, curthread); in pmclog_deconfigure_log() [all …]
|
/freebsd/sys/sys/ |
H A D | pmc.h | 867 struct file *po_file; /* file reference */ member
|