Home
last modified time | relevance | path

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

1234567

/linux/drivers/net/wireless/intel/iwlwifi/mei/
H A Dnet.c30 * pass_to_csme and rx_handler_res are set. Otherwise, next level of filters
34 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()
70 /* MCAST frames that don't match layer 2 filters are not sent to ME */ 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 in iwl_mei_rx_filter_tcp_udp()
189 iwl_mei_rx_filter_ipv4(struct sk_buff * skb,const struct iwl_sap_oob_filters * filters,rx_handler_result_t * rx_handler_res) iwl_mei_rx_filter_ipv4() argument
267 iwl_mei_rx_filter_ipv6(struct sk_buff * skb,const struct iwl_sap_oob_filters * filters,rx_handler_result_t * rx_handler_res) iwl_mei_rx_filter_ipv6() argument
279 iwl_mei_rx_pass_to_csme(struct sk_buff * skb,const struct iwl_sap_oob_filters * filters,bool * pass_to_csme) iwl_mei_rx_pass_to_csme() argument
329 iwl_mei_rx_filter(struct sk_buff * orig_skb,const struct iwl_sap_oob_filters * filters,bool * pass_to_csme) iwl_mei_rx_filter() argument
[all...]
/linux/tools/perf/util/
H A Dbpf_lock_contention.c225 if (con->filters->nr_types) { in lock_contention_prepare()
227 ntypes = con->filters->nr_types; in lock_contention_prepare()
229 if (con->filters->nr_cgrps) { in lock_contention_prepare()
231 ncgrps = con->filters->nr_cgrps; in lock_contention_prepare()
234 /* resolve lock name filters to addr */ in lock_contention_prepare()
235 if (con->filters->nr_syms) { in lock_contention_prepare()
240 for (i = 0; i < con->filters->nr_syms; i++) { in lock_contention_prepare()
242 con->filters->syms[i], in lock_contention_prepare()
246 con->filters->syms[i]); in lock_contention_prepare()
250 addrs = realloc(con->filters in lock_contention_prepare()
[all...]
H A Dbpf_ftrace.c26 if (!list_empty(&ftrace->filters)) { in perf_ftrace__latency_prepare_bpf()
27 if (!list_is_singular(&ftrace->filters)) { in perf_ftrace__latency_prepare_bpf()
31 func = list_first_entry(&ftrace->filters, struct filter_entry, list); in perf_ftrace__latency_prepare_bpf()
/linux/tools/perf/
H A Dbuiltin-lock.c64 static struct lock_filter filters; variable
993 for (i = 0; i < filters.nr_syms; i++) { in report_lock_contention_begin_event()
995 filters.syms[i], in report_lock_contention_begin_event()
999 filters.syms[i]); in report_lock_contention_begin_event()
1003 addrs = realloc(filters.addrs, in report_lock_contention_begin_event()
1004 (filters.nr_addrs + 1) * sizeof(*addrs)); in report_lock_contention_begin_event()
1010 addrs[filters.nr_addrs++] = map__unmap_ip(kmap, sym->start); in report_lock_contention_begin_event()
1011 filters.addrs = addrs; in report_lock_contention_begin_event()
1042 if (filters.nr_types) { in report_lock_contention_begin_event()
1045 for (i = 0; i < filters in report_lock_contention_begin_event()
[all...]
/linux/drivers/net/ethernet/broadcom/bnx2x/
H A 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[ in bnx2x_vf_mbx_macvlan_list()
1688 bnx2x_vf_filters_contain(struct vfpf_set_q_filters_tlv * filters,u32 flags) bnx2x_vf_filters_contain() argument
1712 bnx2x_vf_mbx_dp_q_filters(struct bnx2x * bp,int msglvl,struct vfpf_set_q_filters_tlv * filters) bnx2x_vf_mbx_dp_q_filters() argument
1841 bnx2x_filters_validate_mac(struct bnx2x * bp,struct bnx2x_virtf * vf,struct vfpf_set_q_filters_tlv * filters) bnx2x_filters_validate_mac() argument
1891 bnx2x_filters_validate_vlan(struct bnx2x * bp,struct bnx2x_virtf * vf,struct vfpf_set_q_filters_tlv * filters) bnx2x_filters_validate_vlan() argument
1923 struct vfpf_set_q_filters_tlv *filters = &mbx->msg->req.set_q_filters; bnx2x_vf_mbx_set_q_filters() local
[all...]
/linux/sound/soc/meson/
H A 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()
282 /* Enable the filters */ in axg_pdm_startup()
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 in axg_pdm_set_lpf_filters()
[all...]
/linux/tools/testing/selftests/damon/
H A D_damon_sysfs.py243 filters = None # owner filters variable in DamosFilter
259 return os.path.join(self.filters.sysfs_dir(), '%d' % self.idx)
298 filters = None variable in DamosFilters
301 def __init__(self, name, filters=[]): argument
303 self.filters = filters
304 for idx, filter_ in enumerate(self.filters):
306 filter_.filters = self
313 len(self.filters))
396 filters = None global() variable in Damos
408 __init__(self, action='stat', access_pattern=DamosAccessPattern(), quota=DamosQuota(), watermarks=DamosWatermarks(), core_filters=[], ops_filters=[], filters=[], target_nid=0, dests=DamosDests(), apply_interval_us=0) global() argument
[all...]
H A Ddrgn_dump_damon_status.py177 filters = []
179 'struct damos_filter', scheme.filters.address_of_(), 'list'):
180 filters.append(damos_filter_to_dict(f))
181 dict_['filters'] = filters
/linux/arch/x86/events/intel/
H A Dpt.c465 struct pt_filters *filters = event->hw.addr_filters; in pt_config_filters() local
470 if (!filters) in pt_config_filters()
475 for (range = 0; range < filters->nr_filters; range++) { in pt_config_filters()
476 struct pt_filter *filter = &filters->filter[range]; in pt_config_filters()
488 if (pt->filters.filter[range].msr_a != filter->msr_a) { in pt_config_filters()
490 pt->filters.filter[range].msr_a = filter->msr_a; in pt_config_filters()
493 if (pt->filters.filter[range].msr_b != filter->msr_b) { in pt_config_filters()
495 pt->filters.filter[range].msr_b = filter->msr_b; in pt_config_filters()
1384 struct pt_filters *filters; in pt_addr_filters_init() local
1390 filters in pt_addr_filters_init()
1430 pt_event_addr_filters_validate(struct list_head * filters) pt_event_addr_filters_validate() argument
1456 struct pt_filters *filters = event->hw.addr_filters; pt_event_addr_filters_sync() local
[all...]
/linux/mm/damon/
H A Dsysfs-schemes.c313 * enum damos_sysfs_filter_handle_layer - Layers handling filters of a dir.
671 * filters directory
684 struct damon_sysfs_scheme_filters *filters; in damon_sysfs_scheme_filters_alloc() local
686 filters = kzalloc(sizeof(struct damon_sysfs_scheme_filters), GFP_KERNEL); in damon_sysfs_scheme_filters_alloc()
687 if (filters) in damon_sysfs_scheme_filters_alloc()
688 filters->handle_layer = layer; in damon_sysfs_scheme_filters_alloc()
689 return filters; in damon_sysfs_scheme_filters_alloc()
693 struct damon_sysfs_scheme_filters *filters) in damon_sysfs_scheme_filters_rm_dirs() argument
695 struct damon_sysfs_scheme_filter **filters_arr = filters->filters_arr; in damon_sysfs_scheme_filters_rm_dirs()
698 for (i = 0; i < filters in damon_sysfs_scheme_filters_rm_dirs()
706 damon_sysfs_scheme_filters_add_dirs(struct damon_sysfs_scheme_filters * filters,int nr_filters) damon_sysfs_scheme_filters_add_dirs() argument
747 struct damon_sysfs_scheme_filters *filters = container_of(kobj, nr_filters_show() local
756 struct damon_sysfs_scheme_filters *filters; nr_filters_store() local
1869 struct damon_sysfs_scheme_filters *filters; global() member
2024 struct damon_sysfs_scheme_filters *filters = damon_sysfs_scheme_set_filters() local
[all...]
/linux/drivers/hwtracing/coresight/
H A Dcoresight-etm-perf.c155 struct etm_filters *filters; in etm_addr_filters_alloc() local
158 filters = kzalloc_node(sizeof(struct etm_filters), GFP_KERNEL, node); in etm_addr_filters_alloc()
159 if (!filters) in etm_addr_filters_alloc()
163 memcpy(filters, event->parent->hw.addr_filters, in etm_addr_filters_alloc()
164 sizeof(*filters)); in etm_addr_filters_alloc()
166 event->hw.addr_filters = filters; in etm_addr_filters_alloc()
746 static int etm_addr_filters_validate(struct list_head *filters) in etm_addr_filters_validate() argument
752 list_for_each_entry(filter, filters, entry) { in etm_addr_filters_validate()
755 * room for filters. in etm_addr_filters_validate()
763 * The existing code relies on START/STOP filters in etm_addr_filters_validate()
790 struct etm_filters *filters = event->hw.addr_filters; etm_addr_filters_sync() local
[all...]
/linux/Documentation/networking/device_drivers/ethernet/aquantia/
H A 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
[all...]
/linux/Documentation/userspace-api/media/dvb/
H A 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
H A 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.
H A Ddmx-start.rst60 There are active filters filtering data from another input source.
61 Make sure that these filters are stopped before starting this
H A 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/tools/testing/ktest/examples/bootconfigs/
H A Dboottrace.bconf36 ftrace.filters = "user_*"
45 ftrace.filters = "kernel_*"
/linux/Documentation/admin-guide/perf/
H A Dampere_cspmu.rst15 The PMU driver supports setting filters for "rank", "bank", and "threshold".
16 Note, that the filters are per PMU instance rather than per event.
/linux/drivers/net/wireless/st/cw1200/
H A Dpm.c21 /* Up to 4 filters are allowed. */
22 struct wsm_udp_port_filter filters[WSM_MAX_FILTER_ELEMENTS]; member
27 /* Up to 4 filters are allowed. */
28 struct wsm_ether_type_filter filters[WSM_MAX_FILTER_ELEMENTS]; member
33 .filters = {
57 .filters = {
/linux/net/sched/
H A Dcls_flow.c34 struct list_head filters; member
307 list_for_each_entry_rcu(f, &head->filters, list) { in flow_classify()
549 list_add_tail_rcu(&fnew->list, &head->filters); in flow_change()
578 *last = list_empty(&head->filters); in flow_delete()
589 INIT_LIST_HEAD(&head->filters); in flow_init()
600 list_for_each_entry_safe(f, next, &head->filters, list) { in flow_destroy()
615 list_for_each_entry(f, &head->filters, list) in flow_get()
688 list_for_each_entry(f, &head->filters, list) { in flow_walk()
/linux/lib/kunit/
H A Dexecutor.c166 char *filters, in kunit_filter_suites() argument
192 /* Parse attribute filters */ in kunit_filter_suites()
193 if (filters) { in kunit_filter_suites()
194 filter_count = kunit_get_filter_count(filters); in kunit_filter_suites()
201 parsed_filters[j] = kunit_next_attr_filter(&filters, err); in kunit_filter_suites()
/linux/Documentation/userspace-api/
H A 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 retur
[all...]
/linux/Documentation/networking/device_drivers/ethernet/intel/
H A 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
[all...]
/linux/tools/perf/util/bpf_skel/
H A Dsample_filter.bpf.c11 struct filters { struct
16 } filters SEC(".maps");
244 entry = bpf_map_lookup_elem(&filters, &k); in perf_sample_filter()
/linux/Documentation/networking/
H A Dtc-queue-filters.rst22 Likewise, on the receive side, the two filters for selecting set of
32 is supported only in hardware. Multiple filters may compete in

1234567