Home
last modified time | relevance | path

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

/linux-6.1.9/drivers/media/rc/
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-6.1.9/drivers/iio/adc/
Dad7124.c308 unsigned int new_filter; in ad7124_set_3db_filter_freq() local
315 new_filter = AD7124_SINC3_FILTER; in ad7124_set_3db_filter_freq()
318 new_filter = AD7124_SINC4_FILTER; in ad7124_set_3db_filter_freq()
325 st->channels[channel].cfg.filter_type = new_filter; in ad7124_set_3db_filter_freq()
/linux-6.1.9/drivers/net/hyperv/
Drndis_filter.c1039 u32 new_filter) in rndis_filter_set_packet_filter() argument
1045 if (dev->filter == new_filter) in rndis_filter_set_packet_filter()
1059 memcpy(set->info_buf, &new_filter, sizeof(u32)); in rndis_filter_set_packet_filter()
1064 dev->filter = new_filter; in rndis_filter_set_packet_filter()
/linux-6.1.9/tools/perf/
Dbuiltin-trace.c3823 char *tok, *left = evsel->filter, *new_filter = evsel->filter; local
3880 int expansion_offset = right - new_filter;
3884 if (asprintf(&n, "%.*s%s%s", expansion_offset, new_filter, expansion, right_end) < 0) {
3886 free(new_filter);
3889 if (new_filter != evsel->filter)
3890 free(new_filter);
3892 new_filter = n;
3910 if (new_filter != evsel->filter) {
3911 pr_debug("New filter for %s: %s\n", evsel->name, new_filter);
3912 evsel__set_filter(evsel, new_filter);
[all …]
/linux-6.1.9/tools/perf/util/
Devsel.c1399 char *new_filter = strdup(filter); in evsel__set_filter() local
1401 if (new_filter != NULL) { in evsel__set_filter()
1403 evsel->filter = new_filter; in evsel__set_filter()
1412 char *new_filter; in evsel__append_filter() local
1417 if (asprintf(&new_filter, fmt, evsel->filter, filter) > 0) { in evsel__append_filter()
1419 evsel->filter = new_filter; in evsel__append_filter()
Dparse-events.c2553 char new_filter[64]; in add_exclude_perf_filter() local
2561 snprintf(new_filter, sizeof(new_filter), "common_pid != %d", getpid()); in add_exclude_perf_filter()
2563 if (evsel__append_tp_filter(evsel, new_filter) < 0) { in add_exclude_perf_filter()
Dauxtrace.c2744 char *new_filter; in parse_addr_filter() local
2750 new_filter = addr_filter__to_str(filt); in parse_addr_filter()
2751 if (!new_filter) { in parse_addr_filter()
2756 if (evsel__append_addr_filter(evsel, new_filter)) { in parse_addr_filter()
/linux-6.1.9/arch/x86/kvm/
Dx86.c6449 struct kvm_x86_msr_filter *new_filter, *old_filter; in kvm_vm_ioctl_set_msr_filter() local
6465 new_filter = kvm_alloc_msr_filter(default_allow); in kvm_vm_ioctl_set_msr_filter()
6466 if (!new_filter) in kvm_vm_ioctl_set_msr_filter()
6470 r = kvm_add_msr_filter(new_filter, &filter->ranges[i]); in kvm_vm_ioctl_set_msr_filter()
6472 kvm_free_msr_filter(new_filter); in kvm_vm_ioctl_set_msr_filter()
6482 rcu_assign_pointer(kvm->arch.msr_filter, new_filter); in kvm_vm_ioctl_set_msr_filter()