Searched refs:regex (Results 1 – 2 of 2) sorted by relevance
/kernel/trace/ |
D | trace_events_filter.c | 663 cmp = pred->regex.match(addr, &pred->regex, pred->regex.field_len); in filter_pred_string() 677 cmp = pred->regex.match(*addr, &pred->regex, len); in filter_pred_pchar() 702 cmp = pred->regex.match(addr, &pred->regex, str_len); in filter_pred_strloc() 740 cmp = pred->regex.match(current->comm, &pred->regex, in filter_pred_comm() 762 static int regex_match_full(char *str, struct regex *r, int len) in regex_match_full() 771 static int regex_match_front(char *str, struct regex *r, int len) in regex_match_front() 779 static int regex_match_middle(char *str, struct regex *r, int len) in regex_match_middle() 787 static int regex_match_end(char *str, struct regex *r, int len) in regex_match_end() 797 static int regex_match_glob(char *str, struct regex *r, int len __maybe_unused) in regex_match_glob() 864 struct regex *r = &pred->regex; in filter_build_regex() [all …]
|
D | trace.h | 1528 struct regex; 1532 typedef int (*regex_match_func)(char *str, struct regex *r, int len); 1543 struct regex { struct 1553 struct regex regex; argument
|