Lines Matching full:filt
1314 struct process_filter *filt = malloc(sizeof(*filt)); in add_process_filter() local
1316 if (!filt) in add_process_filter()
1319 filt->name = strdup(string); in add_process_filter()
1320 filt->pid = pid; in add_process_filter()
1321 filt->next = process_filter; in add_process_filter()
1323 process_filter = filt; in add_process_filter()
1328 struct process_filter *filt; in passes_filter() local
1332 filt = process_filter; in passes_filter()
1333 while (filt) { in passes_filter()
1334 if (filt->pid && p->pid == filt->pid) in passes_filter()
1336 if (strcmp(filt->name, c->comm) == 0) in passes_filter()
1338 filt = filt->next; in passes_filter()