Searched refs:nwatch (Results 1 – 2 of 2) sorted by relevance
/linux/tools/counter/ |
H A D | counter_watch_events.c | 58 static void print_watch(struct counter_watch *watch, int nwatch) in print_watch() argument 63 printf("watch[%d] = {\n", nwatch); in print_watch() 64 for (i = 0; i < nwatch; i++) { in print_watch() 196 int c, fd, i, ret, rc = 0, debug = 0, loop = 0, dev_num = 0, nwatch = 0; in main() local 229 nwatch++; in main() 236 if (nwatch) { in main() 237 watches = calloc(nwatch, sizeof(*watches)); in main() 245 nwatch = ARRAY_SIZE(simple_watch); in main() 336 print_watch(watches, nwatch); in main() 357 for (i = 0; i < nwatch; i++) { in main()
|
/linux/kernel/ |
H A D | audit_watch.c | 249 struct audit_watch *owatch, *nwatch, *nextw; in audit_update_watch() local 268 nwatch = audit_dupe_watch(owatch); in audit_update_watch() 269 if (IS_ERR(nwatch)) { in audit_update_watch() 274 nwatch->dev = dev; in audit_update_watch() 275 nwatch->ino = ino; in audit_update_watch() 296 audit_get_watch(nwatch); in audit_update_watch() 297 nentry->rule.watch = nwatch; in audit_update_watch() 298 list_add(&nentry->rule.rlist, &nwatch->rules); in audit_update_watch() 316 list_add(&nwatch->wlist, &parent->watches); in audit_update_watch()
|