Lines Matching refs:filt
1306 struct process_filter *filt = malloc(sizeof(*filt)); in add_process_filter() local
1308 if (!filt) in add_process_filter()
1311 filt->name = strdup(string); in add_process_filter()
1312 filt->pid = pid; in add_process_filter()
1313 filt->next = process_filter; in add_process_filter()
1315 process_filter = filt; in add_process_filter()
1320 struct process_filter *filt; in passes_filter() local
1324 filt = process_filter; in passes_filter()
1325 while (filt) { in passes_filter()
1326 if (filt->pid && p->pid == filt->pid) in passes_filter()
1328 if (strcmp(filt->name, c->comm) == 0) in passes_filter()
1330 filt = filt->next; in passes_filter()