Home
last modified time | relevance | path

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

/kernel/linux/linux-5.10/drivers/iio/adc/
Dad7124.c338 unsigned int new_filter; in ad7124_set_3db_filter_freq() local
345 new_filter = AD7124_SINC3_FILTER; in ad7124_set_3db_filter_freq()
348 new_filter = AD7124_SINC4_FILTER; in ad7124_set_3db_filter_freq()
352 if (st->channel_config[channel].filter_type != new_filter) { in ad7124_set_3db_filter_freq()
355 st->channel_config[channel].filter_type = new_filter; in ad7124_set_3db_filter_freq()
358 AD7124_FILTER_TYPE_SEL(new_filter), in ad7124_set_3db_filter_freq()
/kernel/linux/linux-5.10/drivers/media/rc/
Drc-main.c1416 struct rc_scancode_filter new_filter, *filter; in store_filter() local
1442 new_filter = *filter; in store_filter()
1444 new_filter.mask = val; in store_filter()
1446 new_filter.data = val; in store_filter()
1454 ret = rc_validate_filter(dev, &new_filter); in store_filter()
1469 ret = set_filter(dev, &new_filter); in store_filter()
1473 *filter = new_filter; in store_filter()
/kernel/linux/linux-5.10/drivers/net/hyperv/
Drndis_filter.c946 u32 new_filter) in rndis_filter_set_packet_filter() argument
952 if (dev->filter == new_filter) in rndis_filter_set_packet_filter()
968 &new_filter, sizeof(u32)); in rndis_filter_set_packet_filter()
973 dev->filter = new_filter; in rndis_filter_set_packet_filter()
/kernel/linux/linux-5.10/tools/perf/util/
Devsel.c1288 char *new_filter = strdup(filter); in evsel__set_filter() local
1290 if (new_filter != NULL) { in evsel__set_filter()
1292 evsel->filter = new_filter; in evsel__set_filter()
1301 char *new_filter; in evsel__append_filter() local
1306 if (asprintf(&new_filter, fmt, evsel->filter, filter) > 0) { in evsel__append_filter()
1308 evsel->filter = new_filter; in evsel__append_filter()
Dauxtrace.c2575 char *new_filter; in parse_addr_filter() local
2581 new_filter = addr_filter__to_str(filt); in parse_addr_filter()
2582 if (!new_filter) { in parse_addr_filter()
2587 if (evsel__append_addr_filter(evsel, new_filter)) { in parse_addr_filter()
Dparse-events.c2400 char new_filter[64]; in add_exclude_perf_filter() local
2408 snprintf(new_filter, sizeof(new_filter), "common_pid != %d", getpid()); in add_exclude_perf_filter()
2410 if (evsel__append_tp_filter(evsel, new_filter) < 0) { in add_exclude_perf_filter()
/kernel/linux/linux-5.10/tools/perf/
Dbuiltin-trace.c3774 char *tok, *left = evsel->filter, *new_filter = evsel->filter; local
3831 int expansion_offset = right - new_filter;
3835 if (asprintf(&n, "%.*s%s%s", expansion_offset, new_filter, expansion, right_end) < 0) {
3837 free(new_filter);
3840 if (new_filter != evsel->filter)
3841 free(new_filter);
3843 new_filter = n;
3861 if (new_filter != evsel->filter) {
3862 pr_debug("New filter for %s: %s\n", evsel->name, new_filter);
3863 evsel__set_filter(evsel, new_filter);
[all …]
/kernel/linux/linux-5.10/arch/x86/kvm/
Dx86.c5433 struct kvm_x86_msr_filter *new_filter, *old_filter; in kvm_vm_ioctl_set_msr_filter() local
5450 new_filter = kvm_alloc_msr_filter(default_allow); in kvm_vm_ioctl_set_msr_filter()
5451 if (!new_filter) in kvm_vm_ioctl_set_msr_filter()
5455 r = kvm_add_msr_filter(new_filter, &filter.ranges[i]); in kvm_vm_ioctl_set_msr_filter()
5457 kvm_free_msr_filter(new_filter); in kvm_vm_ioctl_set_msr_filter()
5467 rcu_assign_pointer(kvm->arch.msr_filter, new_filter); in kvm_vm_ioctl_set_msr_filter()