Lines Matching refs:filt
1311 struct process_filter *filt = malloc(sizeof(*filt)); in add_process_filter() local
1313 if (!filt) in add_process_filter()
1316 filt->name = strdup(string); in add_process_filter()
1317 filt->pid = pid; in add_process_filter()
1318 filt->next = process_filter; in add_process_filter()
1320 process_filter = filt; in add_process_filter()
1325 struct process_filter *filt; in passes_filter() local
1329 filt = process_filter; in passes_filter()
1330 while (filt) { in passes_filter()
1331 if (filt->pid && p->pid == filt->pid) in passes_filter()
1333 if (strcmp(filt->name, c->comm) == 0) in passes_filter()
1335 filt = filt->next; in passes_filter()