Lines Matching full:filt
1315 struct process_filter *filt = malloc(sizeof(*filt)); in add_process_filter() local
1317 if (!filt) in add_process_filter()
1320 filt->name = strdup(string); in add_process_filter()
1321 filt->pid = pid; in add_process_filter()
1322 filt->next = process_filter; in add_process_filter()
1324 process_filter = filt; in add_process_filter()
1329 struct process_filter *filt; in passes_filter() local
1333 filt = process_filter; in passes_filter()
1334 while (filt) { in passes_filter()
1335 if (filt->pid && p->pid == filt->pid) in passes_filter()
1337 if (strcmp(filt->name, c->comm) == 0) in passes_filter()
1339 filt = filt->next; in passes_filter()