Searched refs:filemon (Results 1 - 25 of 29) sorted by relevance

12

/freebsd-11-stable/sys/dev/filemon/
H A Dfilemon.c30 __FBSDID("$FreeBSD: stable/11/sys/dev/filemon/filemon.c 343885 2019-02-07 23:55:11Z bdrewery $");
55 #include "filemon.h"
72 .d_name = "filemon",
76 MALLOC_DEFINE(M_FILEMON, "filemon", "File access monitor");
79 * The filemon->lock protects several things currently:
82 * - Serializing the filemon's log output.
83 * - Preventing inheritance or removal of the filemon into proc.p_filemon.
85 struct filemon { struct
86 struct sx lock; /* Lock for this filemon
101 filemon_acquire(struct filemon *filemon) argument
113 filemon_release(struct filemon *filemon) argument
138 struct filemon *filemon; local
160 struct filemon *filemon; local
182 filemon_drop(struct filemon *filemon) argument
192 filemon_write_header(struct filemon *filemon) argument
211 filemon_untrack_processes(struct filemon *filemon) argument
254 filemon_close_log(struct filemon *filemon) argument
288 struct filemon *filemon = data; local
304 filemon_attach_proc(struct filemon *filemon, struct proc *p) argument
363 struct filemon *filemon; local
418 struct filemon *filemon; local
438 struct filemon *filemon; local
[all...]
H A Dfilemon_wrapper.c30 __FBSDID("$FreeBSD: stable/11/sys/dev/filemon/filemon_wrapper.c 343885 2019-02-07 23:55:11Z bdrewery $");
45 static void filemon_output_event(struct filemon *filemon, const char *fmt, ...)
53 filemon_output(struct filemon *filemon, char *msg, size_t len) argument
59 if (filemon->fp == NULL)
72 if (filemon->fp->f_type == DTYPE_VNODE)
75 error = fo_write(filemon->fp, &auio, filemon->cred, 0, curthread);
76 if (error != 0 && filemon
81 filemon_output_event(struct filemon *filemon, const char *fmt, ...) argument
99 struct filemon *filemon; local
123 struct filemon *filemon; local
157 struct filemon *filemon; local
243 struct filemon *filemon; local
268 struct filemon *filemon; local
323 struct filemon *filemon; local
348 struct filemon *filemon; local
372 struct filemon *filemon; local
[all...]
/freebsd-11-stable/sys/modules/filemon/
H A DMakefile1 # $FreeBSD: stable/11/sys/modules/filemon/Makefile 319182 2017-05-30 04:11:12Z ngie $
3 .PATH: ${SRCTOP}/sys/dev/filemon
5 KMOD= filemon
/freebsd-11-stable/usr.bin/bmake/
H A DMakefile.inc35 FILEMON_H ?= ${SRCTOP}/sys/dev/filemon/filemon.h
H A DMakefile.config23 FILEMON_H?= /usr/include/dev/filemon/filemon.h
H A DMakefile95 # meta mode can be useful even without filemon
96 FILEMON_H ?= /usr/include/dev/filemon/filemon.h
97 .if exists(${FILEMON_H}) && ${FILEMON_H:T} == "filemon.h"
/freebsd-11-stable/share/mk/
H A Dbsd.init.mk70 .if !exists(/dev/filemon) && \
73 .warning The filemon module (/dev/filemon) is not loaded.
74 .warning META_MODE is less useful for incremental builds without filemon.
75 .warning 'kldload filemon' or pass -DNO_FILEMON to suppress this warning.
H A Dmeta.sys.mk19 # for maximum benefit, requires filemon(4) driver.
39 .if ${UPDATE_DEPENDFILE:Uyes:tl} == "no" && !exists(/dev/filemon)
118 # then filemon had better be present
119 .if ${UPDATE_DEPENDFILE:Uyes:tl} != "no" && !exists(/dev/filemon)
120 .error ${.newline}ERROR: The filemon module (/dev/filemon) is not loaded.
H A Dlocal.sys.mk53 # re-running needlessly but only when using filemon.
73 # metafile/filemon-tracked dependencies.
H A Dbsd.dep.mk88 # Also skip generating or including .depend.* files if in meta+filemon mode
212 # If using filemon then _EXTRADEPEND is skipped since it is not needed.
223 # For meta+filemon the .meta file is checked for since it is the dependency
270 # ignored if using meta+filemon since it handles all dependencies. The other
H A Dsys.mk65 .if !exists(/dev/filemon) || defined(NO_FILEMON)
68 # Require filemon data with bmake
70 META_MODE+= missing-filemon=yes
H A Dmeta.autodep.mk60 # do not allow auto update if we ever built this dir without filemon
287 CLEANFILES += *.meta filemon.* *.db
H A Dlocal.meta.sys.mk285 META_MODE+= missing-filemon=yes
H A Dlocal.dirdeps.mk84 # XXX: Include this in local.autodep.mk as well for gendirdeps without filemon.
/freebsd-11-stable/contrib/bmake/
H A Dmake-bootstrap.sh.in77 */filemon.h) FDEFS="-DHAVE_FILEMON_H -I`dirname @filemon_h@`";;
H A DMakefile80 # meta mode can be useful even without filemon
81 FILEMON_H ?= /usr/include/dev/filemon/filemon.h
82 .if exists(${FILEMON_H}) && ${FILEMON_H:T} == "filemon.h"
/freebsd-11-stable/contrib/bmake/mk/
H A Dmeta.sys.mk18 # for maximum benefit, requires filemon(4) driver.
42 .if ${UPDATE_DEPENDFILE:Uyes:tl} == "no" && !exists(/dev/filemon)
139 .elif !exists(/dev/filemon)
140 .error ${.newline}ERROR: The filemon module (/dev/filemon) is not loaded.
H A Dmeta.autodep.mk59 # do not allow auto update if we ever built this dir without filemon
286 CLEANFILES += *.meta filemon.* *.db
/freebsd-11-stable/
H A DMakefile190 # 20160604 - support missing-meta,missing-filemon and performance improvements
234 .if !exists(/dev/filemon) && !defined(NO_FILEMON) && !make(showconfig)
235 # Require filemon be loaded to provide a working incremental build
236 .error ${.newline}ERROR: The filemon module (/dev/filemon) is not loaded. \
237 ${.newline}ERROR: WITH_META_MODE is enabled but requires filemon for an incremental build. \
238 ${.newline}ERROR: 'kldload filemon' or pass -DNO_FILEMON to suppress this error.
239 .endif # !exists(/dev/filemon) && !defined(NO_FILEMON)
/freebsd-11-stable/usr.bin/script/
H A Dscript.c48 #include <dev/filemon/filemon.h>
161 asprintf(&fmfname, "%s.filemon", fname);
163 err(1, "%s.filemon", fname);
164 if ((fm_fd = open("/dev/filemon", O_RDWR | O_CLOEXEC)) == -1)
165 err(1, "open(\"/dev/filemon\", O_RDWR)");
171 err(1, "Cannot set filemon log file descriptor");
231 err(1, "Cannot set filemon PID");
/freebsd-11-stable/sys/conf/
H A Dkern.post.mk209 # Also skip generating or including .depend.* files if in meta+filemon mode
259 # For meta+filemon the .meta file is checked for since it is the dependency
/freebsd-11-stable/sys/sys/
H A Dproc.h167 struct filemon;
622 struct filemon *p_filemon; /* (c) filemon-specific data. */
/freebsd-11-stable/sys/modules/
H A DMakefile132 filemon \
/freebsd-11-stable/include/
H A DMakefile46 dev/acpica dev/agp dev/an dev/bktr dev/ciss dev/filemon dev/firewire \
/freebsd-11-stable/share/man/man4/
H A DMakefile170 filemon.4 \

Completed in 171 milliseconds

12