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

/netbsd-6-1-5-RELEASE/sys/modules/filemon/
H A DMakefile5 .PATH: ${S}/dev/filemon
7 KMOD = filemon
8 SRCS = filemon.c filemon_wrapper.c
/netbsd-6-1-5-RELEASE/sys/dev/filemon/
H A Dfilemon_wrapper.c38 #include "filemon.h"
48 struct filemon *filemon; local
51 filemon = filemon_lookup(curproc);
53 if (filemon) {
55 error = copyinstr(SCARG(uap, path), filemon->fm_fname1,
56 sizeof(filemon->fm_fname1), &done);
58 len = snprintf(filemon->fm_msgbufr,
59 sizeof(filemon->fm_msgbufr),
61 curproc->p_pid, filemon
81 struct filemon *filemon; local
107 struct filemon *filemon; local
131 struct filemon *filemon; local
158 struct filemon *filemon; local
201 struct filemon *filemon; local
237 struct filemon *filemon; local
273 struct filemon *filemon; local
308 struct filemon *filemon; local
339 struct filemon *filemon; local
[all...]
H A Dfilemon.c27 __KERNEL_RCSID(0, "$NetBSD: filemon.c,v 1.3 2011/07/04 23:37:30 sjg Exp $");
45 #include "filemon.h"
47 MODULE(MODULE_CLASS_DRIVER, filemon, NULL);
81 static TAILQ_HEAD(, filemon) filemons_inuse =
89 filemon_output(struct filemon * filemon, char *msg, size_t len) argument
94 if (filemon->fm_fp == NULL)
118 (*filemon->fm_fp->f_ops->fo_write) (filemon->fm_fp,
119 &(filemon
124 filemon_comment(struct filemon * filemon) argument
139 struct filemon *filemon; local
158 struct filemon *filemon; local
172 struct filemon *filemon; local
189 struct filemon *filemon; local
215 struct filemon *filemon; local
256 struct filemon *filemon; local
[all...]
H A Dfilemon.h1 /* $NetBSD: filemon.h,v 1.2 2011/07/04 23:37:30 sjg Exp $ */
29 #define _PATH_FILEMON "/dev/filemon"
37 struct filemon { struct
44 krwlock_t fm_mtx; /* Lock mutex for this filemon. */
45 TAILQ_ENTRY(filemon) fm_link; /* Link into the in-use list. */
48 struct filemon * filemon_lookup(struct proc *);
49 void filemon_output(struct filemon *, char *, size_t);
H A Dmknod-sh3 # Note that filemon.kmod needs the 6.x version of modload.
9 major=`sysctl kern.drivers | tr ',' '\012' | sed -n '/filemon/s,.*\[\([0-9][0-9]*\).*,\1,p'`
11 [ ${major:-0} -gt 0 ] || Error filemon not loaded
12 dev=/dev/filemon
/netbsd-6-1-5-RELEASE/usr.bin/make/
H A DMakefile21 FILEMON_H ?= ${.CURDIR:H:H}/sys/dev/filemon/filemon.h
22 .if exists(${FILEMON_H}) && ${FILEMON_H:T} == "filemon.h"
H A Dmeta.c51 # include <filemon.h>
99 * We can still use meta mode without filemon, but
104 # define _PATH_FILEMON "/dev/filemon"
108 * Open the filemon device.
136 pbm->mon_fd = mkTempFile("filemon.XXXXXX", NULL);
138 err(1, "Could not set filemon file descriptor!");
166 fprintf(mfp, "-- filemon acquired metadata --\n");
611 /* compat mode we open the filemon dev once per command */
643 err(1, "Could not set filemon pid!");
911 if (strncmp(buf, "-- filemon", 1
[all...]
/netbsd-6-1-5-RELEASE/sys/modules/
H A DMakefile25 SUBDIR+= filemon
/netbsd-6-1-5-RELEASE/share/man/man4/
H A DMakefile27 fast_ipsec.4 fd.4 filemon.4 finsio.4 flash.4 fpa.4 fms.4 fss.4 fujbp.4 fxp.4 \

Completed in 214 milliseconds