Home
last modified time | relevance | path

Searched refs:new_filter (Results 1 – 8 of 8) sorted by relevance

/linux/drivers/media/rc/
H A Drc-main.c1417 struct rc_scancode_filter new_filter, *filter; in store_filter() local
1443 new_filter = *filter; in store_filter()
1445 new_filter.mask = val; in store_filter()
1447 new_filter.data = val; in store_filter()
1455 ret = rc_validate_filter(dev, &new_filter); in store_filter()
1470 ret = set_filter(dev, &new_filter); in store_filter()
1474 *filter = new_filter; in store_filter()
/linux/drivers/iio/adc/
H A Dad7124.c312 unsigned int new_filter; in ad7124_set_3db_filter_freq() local
319 new_filter = AD7124_SINC3_FILTER; in ad7124_set_3db_filter_freq()
322 new_filter = AD7124_SINC4_FILTER; in ad7124_set_3db_filter_freq()
329 st->channels[channel].cfg.filter_type = new_filter; in ad7124_set_3db_filter_freq()
/linux/mm/damon/
H A Dcore.c790 struct damos_filter *dst_filter, *next, *src_filter, *new_filter; in damos_commit_filters() local
805 new_filter = damos_new_filter( in damos_commit_filters()
807 if (!new_filter) in damos_commit_filters()
809 damos_commit_filter_arg(new_filter, src_filter); in damos_commit_filters()
810 damos_add_filter(dst, new_filter); in damos_commit_filters()
/linux/tools/perf/
H A Dbuiltin-trace.c4097 char *tok, *left = evsel->filter, *new_filter = evsel->filter;
4157 int expansion_offset = right - new_filter;
4161 if (asprintf(&n, "%.*s%s%s", expansion_offset, new_filter, expansion, right_end) < 0) {
4163 free(new_filter);
4166 if (new_filter != evsel->filter)
4167 free(new_filter);
4169 new_filter = n;
4187 if (new_filter != evsel->filter) {
4188 pr_debug("New filter for %s: %s\n", evsel->name, new_filter);
4189 evsel__set_filter(evsel, new_filter);
4101 char *tok, *left = evsel->filter, *new_filter = evsel->filter; global() local
[all...]
/linux/tools/perf/util/
H A Devsel.c1484 char *new_filter = strdup(filter); in evsel__exit()
1486 if (new_filter != NULL) { in evsel__exit()
1488 evsel->filter = new_filter; in evsel__exit()
1497 char *new_filter; in evsel__exit()
1502 if (asprintf(&new_filter, fmt, evsel->filter, filter) > 0) { in evsel__exit()
1504 evsel->filter = new_filter; in evsel__exit()
1390 char *new_filter = strdup(filter); evsel__set_filter() local
1403 char *new_filter; evsel__append_filter() local
H A Dparse-events.c2467 char new_filter[64]; in set_filter()
2475 snprintf(new_filter, sizeof(new_filter), "common_pid != %d", getpid()); in set_filter()
2477 if (evsel__append_tp_filter(evsel, new_filter) < 0) { in set_filter()
2493 char new_filter[64]; add_exclude_perf_filter() local
H A Dauxtrace.c2766 char *new_filter; in parse_addr_filter() local
2772 new_filter = addr_filter__to_str(filt); in parse_addr_filter()
2773 if (!new_filter) { in parse_addr_filter()
2778 if (evsel__append_addr_filter(evsel, new_filter)) { in parse_addr_filter()
/linux/arch/x86/kvm/
H A Dx86.c6815 struct kvm_x86_msr_filter *new_filter, *old_filter; in kvm_vm_ioctl_set_msr_filter() local
6831 new_filter = kvm_alloc_msr_filter(default_allow); in kvm_vm_ioctl_set_msr_filter()
6832 if (!new_filter) in kvm_vm_ioctl_set_msr_filter()
6836 r = kvm_add_msr_filter(new_filter, &filter->ranges[i]); in kvm_vm_ioctl_set_msr_filter()
6838 kvm_free_msr_filter(new_filter); in kvm_vm_ioctl_set_msr_filter()
6844 old_filter = rcu_replace_pointer(kvm->arch.msr_filter, new_filter, in kvm_vm_ioctl_set_msr_filter()