Searched refs:new_filter (Results 1 – 8 of 8) sorted by relevance
/Linux-v6.6/drivers/media/rc/ |
D | rc-main.c | 1417 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-v6.6/drivers/iio/adc/ |
D | ad7124.c | 308 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-v6.6/drivers/net/hyperv/ |
D | rndis_filter.c | 1040 u32 new_filter) in rndis_filter_set_packet_filter() argument 1046 if (dev->filter == new_filter) in rndis_filter_set_packet_filter() 1060 memcpy(set->info_buf, &new_filter, sizeof(u32)); in rndis_filter_set_packet_filter() 1065 dev->filter = new_filter; in rndis_filter_set_packet_filter()
|
/Linux-v6.6/tools/perf/ |
D | builtin-trace.c | 3701 char *tok, *left = evsel->filter, *new_filter = evsel->filter; local 3758 int expansion_offset = right - new_filter; 3762 if (asprintf(&n, "%.*s%s%s", expansion_offset, new_filter, expansion, right_end) < 0) { 3764 free(new_filter); 3767 if (new_filter != evsel->filter) 3768 free(new_filter); 3770 new_filter = n; 3788 if (new_filter != evsel->filter) { 3789 pr_debug("New filter for %s: %s\n", evsel->name, new_filter); 3790 evsel__set_filter(evsel, new_filter); [all …]
|
/Linux-v6.6/tools/perf/util/ |
D | evsel.c | 1373 char *new_filter = strdup(filter); in evsel__set_filter() local 1375 if (new_filter != NULL) { in evsel__set_filter() 1377 evsel->filter = new_filter; in evsel__set_filter() 1386 char *new_filter; in evsel__append_filter() local 1391 if (asprintf(&new_filter, fmt, evsel->filter, filter) > 0) { in evsel__append_filter() 1393 evsel->filter = new_filter; in evsel__append_filter()
|
D | parse-events.c | 2403 char new_filter[64]; in add_exclude_perf_filter() local 2411 snprintf(new_filter, sizeof(new_filter), "common_pid != %d", getpid()); in add_exclude_perf_filter() 2413 if (evsel__append_tp_filter(evsel, new_filter) < 0) { in add_exclude_perf_filter()
|
D | auxtrace.c | 2756 char *new_filter; in parse_addr_filter() local 2762 new_filter = addr_filter__to_str(filt); in parse_addr_filter() 2763 if (!new_filter) { in parse_addr_filter() 2768 if (evsel__append_addr_filter(evsel, new_filter)) { in parse_addr_filter()
|
/Linux-v6.6/arch/x86/kvm/ |
D | x86.c | 6577 struct kvm_x86_msr_filter *new_filter, *old_filter; in kvm_vm_ioctl_set_msr_filter() local 6593 new_filter = kvm_alloc_msr_filter(default_allow); in kvm_vm_ioctl_set_msr_filter() 6594 if (!new_filter) in kvm_vm_ioctl_set_msr_filter() 6598 r = kvm_add_msr_filter(new_filter, &filter->ranges[i]); in kvm_vm_ioctl_set_msr_filter() 6600 kvm_free_msr_filter(new_filter); in kvm_vm_ioctl_set_msr_filter() 6606 old_filter = rcu_replace_pointer(kvm->arch.msr_filter, new_filter, in kvm_vm_ioctl_set_msr_filter()
|