Home
last modified time | relevance | path

Searched refs:filters (Results 1 – 25 of 180) sorted by relevance

12345678

/linux-6.6.21/drivers/net/wireless/intel/iwlwifi/mei/
Dnet.c34 const struct iwl_sap_oob_filters *filters, in iwl_mei_rx_filter_eth() argument
45 for (filt = &filters->eth_filters[0]; in iwl_mei_rx_filter_eth()
46 filt < &filters->eth_filters[0] + ARRAY_SIZE(filters->eth_filters); in iwl_mei_rx_filter_eth()
81 const struct iwl_sap_oob_filters *filters, in iwl_mei_rx_filter_arp() argument
84 const struct iwl_sap_ipv4_filter *filt = &filters->ipv4_filter; in iwl_mei_rx_filter_arp()
139 const struct iwl_sap_oob_filters *filters, in iwl_mei_rx_filter_tcp_udp() argument
144 for (filt = &filters->flex_filters[0]; in iwl_mei_rx_filter_tcp_udp()
145 filt < &filters->flex_filters[0] + ARRAY_SIZE(filters->flex_filters); in iwl_mei_rx_filter_tcp_udp()
189 const struct iwl_sap_oob_filters *filters, in iwl_mei_rx_filter_ipv4() argument
192 const struct iwl_sap_ipv4_filter *filt = &filters->ipv4_filter; in iwl_mei_rx_filter_ipv4()
[all …]
/linux-6.6.21/tools/perf/util/
Dbpf_lock_contention.c51 if (con->filters->nr_types) in lock_contention_prepare()
52 ntypes = con->filters->nr_types; in lock_contention_prepare()
55 if (con->filters->nr_syms) { in lock_contention_prepare()
60 for (i = 0; i < con->filters->nr_syms; i++) { in lock_contention_prepare()
62 con->filters->syms[i], in lock_contention_prepare()
66 con->filters->syms[i]); in lock_contention_prepare()
70 addrs = realloc(con->filters->addrs, in lock_contention_prepare()
71 (con->filters->nr_addrs + 1) * sizeof(*addrs)); in lock_contention_prepare()
77 addrs[con->filters->nr_addrs++] = map__unmap_ip(kmap, sym->start); in lock_contention_prepare()
78 con->filters->addrs = addrs; in lock_contention_prepare()
[all …]
Dbpf_ftrace.c25 if (!list_is_singular(&ftrace->filters)) { in perf_ftrace__latency_prepare_bpf()
27 list_empty(&ftrace->filters) ? "No" : "Too many"); in perf_ftrace__latency_prepare_bpf()
31 func = list_first_entry(&ftrace->filters, struct filter_entry, list); in perf_ftrace__latency_prepare_bpf()
/linux-6.6.21/drivers/net/ethernet/broadcom/bnx2x/
Dbnx2x_vfpf.c742 req->filters[0].flags = VFPF_Q_FILTER_DEST_MAC_VALID; in bnx2x_vfpf_config_mac()
744 req->filters[0].flags |= VFPF_Q_FILTER_SET; in bnx2x_vfpf_config_mac()
750 memcpy(req->filters[0].mac, addr, ETH_ALEN); in bnx2x_vfpf_config_mac()
777 memcpy(req->filters[0].mac, bp->dev->dev_addr, in bnx2x_vfpf_config_mac()
951 req->filters[0].flags = VFPF_Q_FILTER_VLAN_TAG_VALID; in bnx2x_vfpf_update_vlan()
954 req->filters[0].flags |= VFPF_Q_FILTER_SET; in bnx2x_vfpf_update_vlan()
965 req->filters[0].vlan_tag = vid; in bnx2x_vfpf_update_vlan()
1657 fl = kzalloc(struct_size(fl, filters, tlv->n_mac_vlan_filters), in bnx2x_vf_mbx_macvlan_list()
1663 struct vfpf_q_mac_vlan_filter *msg_filter = &tlv->filters[i]; in bnx2x_vf_mbx_macvlan_list()
1667 memset(&fl->filters[j], 0, sizeof(fl->filters[j])); in bnx2x_vf_mbx_macvlan_list()
[all …]
/linux-6.6.21/tools/perf/
Dbuiltin-lock.c77 static struct lock_filter filters; variable
1083 for (i = 0; i < filters.nr_syms; i++) { in report_lock_contention_begin_event()
1085 filters.syms[i], in report_lock_contention_begin_event()
1089 filters.syms[i]); in report_lock_contention_begin_event()
1093 addrs = realloc(filters.addrs, in report_lock_contention_begin_event()
1094 (filters.nr_addrs + 1) * sizeof(*addrs)); in report_lock_contention_begin_event()
1100 addrs[filters.nr_addrs++] = map__unmap_ip(kmap, sym->start); in report_lock_contention_begin_event()
1101 filters.addrs = addrs; in report_lock_contention_begin_event()
1131 if (filters.nr_types) { in report_lock_contention_begin_event()
1134 for (i = 0; i < filters.nr_types; i++) { in report_lock_contention_begin_event()
[all …]
Dbuiltin-ftrace.c360 ret = __set_tracing_filter("set_ftrace_filter", &ftrace->filters); in set_tracing_filters()
550 bool func = !list_empty(&ftrace->filters) || in select_tracer()
1149 OPT_CALLBACK('T', "trace-funcs", &ftrace.filters, "func", in cmd_ftrace()
1174 OPT_CALLBACK('T', "trace-funcs", &ftrace.filters, "func", in cmd_ftrace()
1195 INIT_LIST_HEAD(&ftrace.filters); in cmd_ftrace()
1242 if (list_empty(&ftrace.filters)) { in cmd_ftrace()
1290 delete_filter_func(&ftrace.filters); in cmd_ftrace()
/linux-6.6.21/sound/soc/meson/
Daxg-pdm.c87 const struct axg_pdm_filters *filters; member
150 const struct axg_pdm_filters *filters = priv->cfg->filters; in axg_pdm_get_os() local
151 unsigned int os = filters->hcic.ds; in axg_pdm_get_os()
160 os *= filters->lpf[i].ds; in axg_pdm_get_os()
299 const struct axg_pdm_hcic *hcic = &priv->cfg->filters->hcic; in axg_pdm_set_hcic_ctrl()
317 const struct axg_pdm_lpf *lpf = &priv->cfg->filters->lpf[index]; in axg_pdm_set_lpf_ctrl()
335 const struct axg_pdm_hpf *hpf = &priv->cfg->filters->hpf; in axg_pdm_set_hpf_ctrl()
349 const struct axg_pdm_lpf *lpf = priv->cfg->filters->lpf; in axg_pdm_set_lpf_filters()
574 .filters = &axg_default_filters,
/linux-6.6.21/mm/damon/
Dsysfs-schemes.c501 struct damon_sysfs_scheme_filters *filters) in damon_sysfs_scheme_filters_rm_dirs() argument
503 struct damon_sysfs_scheme_filter **filters_arr = filters->filters_arr; in damon_sysfs_scheme_filters_rm_dirs()
506 for (i = 0; i < filters->nr; i++) in damon_sysfs_scheme_filters_rm_dirs()
508 filters->nr = 0; in damon_sysfs_scheme_filters_rm_dirs()
510 filters->filters_arr = NULL; in damon_sysfs_scheme_filters_rm_dirs()
514 struct damon_sysfs_scheme_filters *filters, int nr_filters) in damon_sysfs_scheme_filters_add_dirs() argument
519 damon_sysfs_scheme_filters_rm_dirs(filters); in damon_sysfs_scheme_filters_add_dirs()
527 filters->filters_arr = filters_arr; in damon_sysfs_scheme_filters_add_dirs()
532 damon_sysfs_scheme_filters_rm_dirs(filters); in damon_sysfs_scheme_filters_add_dirs()
538 &filters->kobj, "%d", i); in damon_sysfs_scheme_filters_add_dirs()
[all …]
/linux-6.6.21/arch/x86/events/intel/
Dpt.c460 struct pt_filters *filters = event->hw.addr_filters; in pt_config_filters() local
465 if (!filters) in pt_config_filters()
470 for (range = 0; range < filters->nr_filters; range++) { in pt_config_filters()
471 struct pt_filter *filter = &filters->filter[range]; in pt_config_filters()
483 if (pt->filters.filter[range].msr_a != filter->msr_a) { in pt_config_filters()
485 pt->filters.filter[range].msr_a = filter->msr_a; in pt_config_filters()
488 if (pt->filters.filter[range].msr_b != filter->msr_b) { in pt_config_filters()
490 pt->filters.filter[range].msr_b = filter->msr_b; in pt_config_filters()
1353 struct pt_filters *filters; in pt_addr_filters_init() local
1359 filters = kzalloc_node(sizeof(struct pt_filters), GFP_KERNEL, node); in pt_addr_filters_init()
[all …]
/linux-6.6.21/drivers/hwtracing/coresight/
Dcoresight-etm-perf.c153 struct etm_filters *filters; in etm_addr_filters_alloc() local
156 filters = kzalloc_node(sizeof(struct etm_filters), GFP_KERNEL, node); in etm_addr_filters_alloc()
157 if (!filters) in etm_addr_filters_alloc()
161 memcpy(filters, event->parent->hw.addr_filters, in etm_addr_filters_alloc()
162 sizeof(*filters)); in etm_addr_filters_alloc()
164 event->hw.addr_filters = filters; in etm_addr_filters_alloc()
653 static int etm_addr_filters_validate(struct list_head *filters) in etm_addr_filters_validate() argument
659 list_for_each_entry(filter, filters, entry) { in etm_addr_filters_validate()
697 struct etm_filters *filters = event->hw.addr_filters; in etm_addr_filters_sync() local
705 etm_filter = &filters->etm_filter[i]; in etm_addr_filters_sync()
[all …]
/linux-6.6.21/Documentation/networking/device_drivers/ethernet/aquantia/
Datlantic.rst256 RX flow rules (ntuple filters)
266 The driver utilizes the ethtool interface for configuring ntuple filters,
273 When disabling ntuple filters, all the user programmed filters are
274 flushed from the driver cache and hardware. All needed filters must
277 Because of the fixed order of the rules, the location of filters is also fixed:
279 - Locations 0 - 15 for VLAN ID filters
280 - Locations 16 - 31 for L2 EtherType filters
281 - Locations 32 - 39 for L3/L4 5-tuple filters (locations 32, 36 for IPv6)
284 destination TCP/UDP/SCTP port) is compared against 8 filters. For IPv4, up to
302 At the moment you can not use IPv4 and IPv6 filters at the same time.
[all …]
/linux-6.6.21/Documentation/userspace-api/media/dvb/
Ddemux.rst9 The Digital TV demux device controls the MPEG-TS filters for the
10 digital TV. If the driver and hardware supports, those filters are
Ddmx-fwrite.rst38 digitally recorded Transport Stream. Matching filters have to be defined
66 front- end. Make sure that these filters are stopped and that the
67 filters with input set to ``DMX_IN_DVR`` are started.
Ddmx-start.rst60 There are active filters filtering data from another input source.
61 Make sure that these filters are stopped before starting this
Ddmx-set-pes-filter.rst59 There are active filters filtering data from another input source.
60 Make sure that these filters are stopped before starting this
/linux-6.6.21/tools/testing/ktest/examples/bootconfigs/
Dboottrace.bconf36 ftrace.filters = "user_*"
45 ftrace.filters = "kernel_*"
/linux-6.6.21/lib/kunit/
Dexecutor.c154 char *filters, in kunit_filter_suites() argument
181 if (filters) { in kunit_filter_suites()
182 filter_count = kunit_get_filter_count(filters); in kunit_filter_suites()
189 parsed_filters[j] = kunit_next_attr_filter(&filters, err); in kunit_filter_suites()
Dexecutor_test.c122 char filters[] = "speed>slow, module!=example", *filter = filters; in parse_filter_attr_test() local
125 filter_count = kunit_get_filter_count(filters); in parse_filter_attr_test()
132 KUNIT_ASSERT_EQ_MSG(test, err, 0, "failed to parse filter '%s'", filters[j]); in parse_filter_attr_test()
/linux-6.6.21/tools/perf/util/bpf_skel/
Dsample_filter.bpf.c11 struct filters { struct
16 } filters SEC(".maps");
150 entry = bpf_map_lookup_elem(&filters, &key); in perf_sample_filter()
/linux-6.6.21/drivers/net/wireless/st/cw1200/
Dpm.c22 struct wsm_udp_port_filter filters[WSM_MAX_FILTER_ELEMENTS]; member
28 struct wsm_ether_type_filter filters[WSM_MAX_FILTER_ELEMENTS]; member
33 .filters = {
57 .filters = {
/linux-6.6.21/net/sched/
Dcls_flow.c34 struct list_head filters; member
307 list_for_each_entry_rcu(f, &head->filters, list) { in flow_classify()
548 list_add_tail_rcu(&fnew->list, &head->filters); in flow_change()
577 *last = list_empty(&head->filters); in flow_delete()
588 INIT_LIST_HEAD(&head->filters); in flow_init()
599 list_for_each_entry_safe(f, next, &head->filters, list) { in flow_destroy()
614 list_for_each_entry(f, &head->filters, list) in flow_get()
687 list_for_each_entry(f, &head->filters, list) { in flow_walk()
/linux-6.6.21/Documentation/devicetree/bindings/iio/filter/
Dadi,admv8818.yaml16 filters (HPFs) and four independently controlled low-pass filters
/linux-6.6.21/net/can/j1939/
Dsocket.c270 f = jsk->filters; in j1939_sk_match_filter()
653 kfree(jsk->filters); in j1939_sk_release()
687 struct j1939_filter *filters = NULL, *ofilters; in j1939_sk_setsockopt() local
698 if (optlen % sizeof(*filters) != 0) in j1939_sk_setsockopt()
705 count = optlen / sizeof(*filters); in j1939_sk_setsockopt()
706 filters = memdup_sockptr(optval, optlen); in j1939_sk_setsockopt()
707 if (IS_ERR(filters)) in j1939_sk_setsockopt()
708 return PTR_ERR(filters); in j1939_sk_setsockopt()
710 for (f = filters, c = count; c; f++, c--) { in j1939_sk_setsockopt()
719 ofilters = jsk->filters; in j1939_sk_setsockopt()
[all …]
/linux-6.6.21/Documentation/userspace-api/
Dseccomp_filter.rst2 Seccomp BPF (SECure COMPuting with filters)
18 Filter (BPF) program, as with socket filters, except that the data
27 pointers which constrains all filters to solely evaluating the system
38 choosing. Expressive, dynamic filters provide further options down this
48 ``CONFIG_HAVE_ARCH_SECCOMP_FILTER``, then filters may be added as below:
68 processes will be constrained to the same filters and system
78 additional filters may be layered on which will increase evaluation
88 filters exist, the return value for the evaluation of a given system
166 If multiple filters exist, the return value for the evaluation of a
170 multiple filters return values of the same precedence, only the
[all …]
/linux-6.6.21/Documentation/networking/device_drivers/ethernet/intel/
Di40e.rst142 flexible filters. For a given flow type, you must clear all Intel Ethernet Flow
143 Director filters before changing the input set (for that flow type).
149 When disabling ntuple filters, all the user programmed filters are flushed from
150 the driver cache and hardware. All needed filters must be re-added when ntuple
163 To see the list of filters currently present::
201 Use the following command to display all of the active filters::
209 Where <N> is the filter id displayed when printing all the active filters, and
218 For each flow-type, the programmed filters must all have the same matching
230 The second command will fail with an error. You may program multiple filters
232 program two tcp4 filters with different matching fields.
[all …]

12345678