Searched refs:nwatch (Results 1 - 2 of 2) sorted by relevance

/linux-master/tools/counter/
H A Dcounter_watch_events.c58 static void print_watch(struct counter_watch *watch, int nwatch) argument
63 printf("watch[%d] = {\n", nwatch);
64 for (i = 0; i < nwatch; i++) {
196 int c, fd, i, ret, rc = 0, debug = 0, loop = 0, dev_num = 0, nwatch = 0; local
229 nwatch++;
236 if (nwatch) {
237 watches = calloc(nwatch, sizeof(*watches));
245 nwatch = ARRAY_SIZE(simple_watch);
336 print_watch(watches, nwatch);
357 for (i = 0; i < nwatch;
[all...]
/linux-master/kernel/
H A Daudit_watch.c249 struct audit_watch *owatch, *nwatch, *nextw; local
268 nwatch = audit_dupe_watch(owatch);
269 if (IS_ERR(nwatch)) {
274 nwatch->dev = dev;
275 nwatch->ino = ino;
296 audit_get_watch(nwatch);
297 nentry->rule.watch = nwatch;
298 list_add(&nentry->rule.rlist, &nwatch->rules);
316 list_add(&nwatch->wlist, &parent->watches);

Completed in 411 milliseconds