Home
last modified time | relevance | path

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

12345

/Linux-v5.4/drivers/hwtracing/coresight/
Dcoresight-etm-perf.c83 struct etm_filters *filters; in etm_addr_filters_alloc() local
86 filters = kzalloc_node(sizeof(struct etm_filters), GFP_KERNEL, node); in etm_addr_filters_alloc()
87 if (!filters) in etm_addr_filters_alloc()
91 memcpy(filters, event->parent->hw.addr_filters, in etm_addr_filters_alloc()
92 sizeof(*filters)); in etm_addr_filters_alloc()
94 event->hw.addr_filters = filters; in etm_addr_filters_alloc()
410 static int etm_addr_filters_validate(struct list_head *filters) in etm_addr_filters_validate() argument
416 list_for_each_entry(filter, filters, entry) { in etm_addr_filters_validate()
454 struct etm_filters *filters = event->hw.addr_filters; in etm_addr_filters_sync() local
462 etm_filter = &filters->etm_filter[i]; in etm_addr_filters_sync()
[all …]
Dcoresight-etm4x.c485 struct etm_filters *filters = event->hw.addr_filters; in etm4_disable_perf() local
501 filters->ssstatus = (control & BIT(9)); in etm4_disable_perf()
936 struct etm_filters *filters = event->hw.addr_filters; in etm4_set_event_filters() local
938 if (!filters) in etm4_set_event_filters()
948 if (!filters->nr_filters) in etm4_set_event_filters()
951 for (i = 0; i < filters->nr_filters; i++) { in etm4_set_event_filters()
952 struct etm_filter *filter = &filters->etm_filter[i]; in etm4_set_event_filters()
999 if (filters->ssstatus) in etm4_set_event_filters()
/Linux-v5.4/drivers/net/ethernet/broadcom/bnx2x/
Dbnx2x_vfpf.c740 req->filters[0].flags = VFPF_Q_FILTER_DEST_MAC_VALID; in bnx2x_vfpf_config_mac()
742 req->filters[0].flags |= VFPF_Q_FILTER_SET; in bnx2x_vfpf_config_mac()
748 memcpy(req->filters[0].mac, addr, ETH_ALEN); in bnx2x_vfpf_config_mac()
775 memcpy(req->filters[0].mac, bp->dev->dev_addr, in bnx2x_vfpf_config_mac()
949 req->filters[0].flags = VFPF_Q_FILTER_VLAN_TAG_VALID; in bnx2x_vfpf_update_vlan()
952 req->filters[0].flags |= VFPF_Q_FILTER_SET; in bnx2x_vfpf_update_vlan()
963 req->filters[0].vlan_tag = vid; in bnx2x_vfpf_update_vlan()
1655 fl = kzalloc(struct_size(fl, filters, tlv->n_mac_vlan_filters), in bnx2x_vf_mbx_macvlan_list()
1661 struct vfpf_q_mac_vlan_filter *msg_filter = &tlv->filters[i]; in bnx2x_vf_mbx_macvlan_list()
1665 memset(&fl->filters[j], 0, sizeof(fl->filters[j])); in bnx2x_vf_mbx_macvlan_list()
[all …]
/Linux-v5.4/arch/x86/events/intel/
Dpt.c430 struct pt_filters *filters = event->hw.addr_filters; in pt_config_filters() local
435 if (!filters) in pt_config_filters()
440 for (range = 0; range < filters->nr_filters; range++) { in pt_config_filters()
441 struct pt_filter *filter = &filters->filter[range]; in pt_config_filters()
453 if (pt->filters.filter[range].msr_a != filter->msr_a) { in pt_config_filters()
455 pt->filters.filter[range].msr_a = filter->msr_a; in pt_config_filters()
458 if (pt->filters.filter[range].msr_b != filter->msr_b) { in pt_config_filters()
460 pt->filters.filter[range].msr_b = filter->msr_b; in pt_config_filters()
1239 struct pt_filters *filters; in pt_addr_filters_init() local
1245 filters = kzalloc_node(sizeof(struct pt_filters), GFP_KERNEL, node); in pt_addr_filters_init()
[all …]
/Linux-v5.4/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()
306 const struct axg_pdm_hcic *hcic = &priv->cfg->filters->hcic; in axg_pdm_set_hcic_ctrl()
324 const struct axg_pdm_lpf *lpf = &priv->cfg->filters->lpf[index]; in axg_pdm_set_lpf_ctrl()
342 const struct axg_pdm_hpf *hpf = &priv->cfg->filters->hpf; in axg_pdm_set_hpf_ctrl()
356 const struct axg_pdm_lpf *lpf = priv->cfg->filters->lpf; in axg_pdm_set_lpf_filters()
572 .filters = &axg_default_filters,
/Linux-v5.4/Documentation/networking/device_drivers/aquantia/
Datlantic.txt226 RX flow rules (ntuple filters)
234 The driver utilizes the ethtool interface for configuring ntuple filters,
241 When disabling ntuple filters, all the user programed filters are
242 flushed from the driver cache and hardware. All needed filters must
245 Because of the fixed order of the rules, the location of filters is also fixed:
246 - Locations 0 - 15 for VLAN ID filters
247 - Locations 16 - 31 for L2 EtherType filters
248 - Locations 32 - 39 for L3/L4 5-tuple filters (locations 32, 36 for IPv6)
251 destination TCP/UDP/SCTP port) is compared against 8 filters. For IPv4, up to
268 At the moment you can not use IPv4 and IPv6 filters at the same time.
[all …]
/Linux-v5.4/tools/lib/traceevent/
Dparse-filter.c119 filter->filters, in find_filter_type()
138 (filter->filters + 1)); in add_filter_type()
144 for (i = 0; i < filter->filters; i++) { in add_filter_type()
149 if (i < filter->filters) in add_filter_type()
153 (filter->filters - i)); in add_filter_type()
160 filter->filters++; in add_filter_type()
1400 if (!filter->filters) in tep_filter_remove_event()
1411 len = (unsigned long)(filter->event_filters + filter->filters) - in tep_filter_remove_event()
1415 filter->filters--; in tep_filter_remove_event()
1417 memset(&filter->event_filters[filter->filters], 0, in tep_filter_remove_event()
[all …]
/Linux-v5.4/tools/perf/
Dbuiltin-ftrace.c36 struct list_head filters; member
232 ret = __set_tracing_filter("set_ftrace_filter", &ftrace->filters); in set_tracing_filters()
471 OPT_CALLBACK('T', "trace-funcs", &ftrace.filters, "func", in cmd_ftrace()
484 INIT_LIST_HEAD(&ftrace.filters); in cmd_ftrace()
523 delete_filter_func(&ftrace.filters); in cmd_ftrace()
/Linux-v5.4/Documentation/media/uapi/dvb/
Ddmx-fwrite.rst46 digitally recorded Transport Stream. Matching filters have to be defined
75 front- end. Make sure that these filters are stopped and that the
76 filters with input set to ``DMX_IN_DVR`` are started.
Ddemux.rst16 The Digital TV demux device controls the MPEG-TS filters for the
17 digital TV. If the driver and hardware supports, those filters are
Ddmx-start.rst69 There are active filters filtering data from another input source.
70 Make sure that these filters are stopped before starting this
Ddmx-set-pes-filter.rst70 There are active filters filtering data from another input source.
71 Make sure that these filters are stopped before starting this
Ddmx-fopen.rst68 all PES filters set in the corresponding demux device
95 - “Too many open files”, i.e. no more filters available.
/Linux-v5.4/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-v5.4/net/sched/
Dcls_flow.c33 struct list_head filters; member
305 list_for_each_entry_rcu(f, &head->filters, list) { in flow_classify()
546 list_add_tail_rcu(&fnew->list, &head->filters); in flow_change()
575 *last = list_empty(&head->filters); in flow_delete()
586 INIT_LIST_HEAD(&head->filters); in flow_init()
597 list_for_each_entry_safe(f, next, &head->filters, list) { in flow_destroy()
612 list_for_each_entry(f, &head->filters, list) in flow_get()
685 list_for_each_entry(f, &head->filters, list) { in flow_walk()
/Linux-v5.4/net/can/j1939/
Dsocket.c261 const struct j1939_filter *f = jsk->filters; in j1939_sk_match_filter()
616 kfree(jsk->filters); in j1939_sk_release()
650 struct j1939_filter *filters = NULL, *ofilters; in j1939_sk_setsockopt() local
661 if (optlen % sizeof(*filters) != 0) in j1939_sk_setsockopt()
668 count = optlen / sizeof(*filters); in j1939_sk_setsockopt()
669 filters = memdup_user(optval, optlen); in j1939_sk_setsockopt()
670 if (IS_ERR(filters)) in j1939_sk_setsockopt()
671 return PTR_ERR(filters); in j1939_sk_setsockopt()
673 for (f = filters, c = count; c; f++, c--) { in j1939_sk_setsockopt()
681 ofilters = jsk->filters; in j1939_sk_setsockopt()
[all …]
/Linux-v5.4/tools/testing/selftests/ftrace/test.d/
Dfunctions41 reset_events_filter() { # reset all current setting filters
86 # no events, no triggers, no filters, no function filters,
/Linux-v5.4/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-v5.4/Documentation/networking/device_drivers/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 …]
Diavf.rst111 - 16 MAC address filters for each VF
132 Receive checksum offloads, cloud filters, and VLAN acceleration are not
146 - If another driver (for example, DPDK) has set cloud filters, you cannot
198 - ADq is not compatible with cloud filters
205 - If another driver (for example, DPDK) has set cloud filters, you cannot
207 - Tunnel filters are not supported in ADq. If encapsulated packets do arrive
216 - If traffic matches multiple TC filters that point to different TCs, that
218 switch mirrors the packet to a VSI list when multiple filters are matched.
/Linux-v5.4/drivers/media/dvb-frontends/
Drtl2830.c616 set_bit(index, &dev->filters); in rtl2830_pid_filter()
618 clear_bit(index, &dev->filters); in rtl2830_pid_filter()
621 buf[0] = (dev->filters >> 0) & 0xff; in rtl2830_pid_filter()
622 buf[1] = (dev->filters >> 8) & 0xff; in rtl2830_pid_filter()
623 buf[2] = (dev->filters >> 16) & 0xff; in rtl2830_pid_filter()
624 buf[3] = (dev->filters >> 24) & 0xff; in rtl2830_pid_filter()
Drtl2830_priv.h26 unsigned long filters; member
/Linux-v5.4/Documentation/trace/
Devents.rst108 find the field names that can be used in event filters (see section 5).
180 The field-names available for use in filters can be found in the
201 5.2 Setting filters
233 5.3 Clearing filters
239 To clear the filters for all events in a subsystem, write a '0' to the
242 5.3 Subsystem filters
245 For convenience, filters for every event in a subsystem can be set or
251 result in an unintended mixture of filters which could lead to
252 confusing (to the user who might think different filters are in
253 effect) trace output. Only filters that reference just the common
[all …]
/Linux-v5.4/drivers/media/usb/dvb-usb/
Dm920x.h65 u16 filters[M9206_MAX_ADAPTERS][M9206_MAX_FILTERS]; member
/Linux-v5.4/Documentation/features/seccomp/seccomp-filter/
Darch-support.txt4 # description: arch supports seccomp filters

12345