/linux/tools/testing/selftests/bpf/prog_tests/ |
H A D | arg_parsing.c | 34 if (!ASSERT_EQ(set.cnt, 1, "test filters count")) in test_parse_test_list() 36 if (!ASSERT_OK_PTR(set.tests, "test filters initialized")) in test_parse_test_list() 38 ASSERT_EQ(set.tests[0].subtest_cnt, 0, "subtest filters count"); in test_parse_test_list() 44 if (!ASSERT_EQ(set.cnt, 2, "count of test filters")) in test_parse_test_list() 46 if (!ASSERT_OK_PTR(set.tests, "test filters initialized")) in test_parse_test_list() 48 ASSERT_EQ(set.tests[0].subtest_cnt, 0, "subtest filters count"); in test_parse_test_list() 49 ASSERT_EQ(set.tests[1].subtest_cnt, 0, "subtest filters count"); in test_parse_test_list() 58 if (!ASSERT_EQ(set.cnt, 2, "count of test filters")) in test_parse_test_list() 60 if (!ASSERT_OK_PTR(set.tests, "test filters initialized")) in test_parse_test_list() 62 if (!ASSERT_EQ(set.tests[0].subtest_cnt, 1, "subtest filters count")) in test_parse_test_list() [all …]
|
/linux/drivers/net/wireless/intel/iwlwifi/mei/ |
H A D | net.c | 30 * 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->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() [all …]
|
/linux/tools/perf/util/ |
H A D | bpf_lock_contention.c | 147 if (con->filters->nr_types) { in lock_contention_prepare() 149 ntypes = con->filters->nr_types; in lock_contention_prepare() 151 if (con->filters->nr_cgrps) { in lock_contention_prepare() 153 ncgrps = con->filters->nr_cgrps; in lock_contention_prepare() 156 /* resolve lock name filters to addr */ in lock_contention_prepare() 157 if (con->filters->nr_syms) { in lock_contention_prepare() 162 for (i = 0; i < con->filters->nr_syms; i++) { in lock_contention_prepare() 164 con->filters->syms[i], in lock_contention_prepare() 168 con->filters->syms[i]); in lock_contention_prepare() 172 addrs = realloc(con->filters in lock_contention_prepare() [all...] |
/linux/drivers/net/ethernet/intel/ice/ |
H A D | ice_fltr.c | 29 * @list: pointer to the list which contains MAC filters entry 144 * ice_fltr_add_mac_list - add list of MAC filters 146 * @list: list of filters 154 * ice_fltr_remove_mac_list - remove list of MAC filters 156 * @list: list of filters 164 * ice_fltr_add_vlan_list - add list of VLAN filters 166 * @list: list of filters 174 * ice_fltr_remove_vlan_list - remove list of VLAN filters 176 * @list: list of filters 185 * ice_fltr_add_eth_list - add list of ethertype filters [all …]
|
/linux/tools/perf/pmu-events/arch/x86/ivytown/ |
H A D | uncore-io.json | 97 …k, but does not include when packets are being sent from the ring stop.; Filters for the Countercl… 107 …k, but does not include when packets are being sent from the ring stop.; Filters for the Countercl… 117 …k, but does not include when packets are being sent from the ring stop.; Filters for the Countercl… 127 …k, but does not include when packets are being sent from the ring stop.; Filters for the Countercl… 147 …k, but does not include when packets are being sent from the ring stop.; Filters for the Clockwise… 157 …k, but does not include when packets are being sent from the ring stop.; Filters for the Clockwise… 167 …k, but does not include when packets are being sent from the ring stop.; Filters for the Clockwise… 177 …k, but does not include when packets are being sent from the ring stop.; Filters for the Clockwise… 197 …k, but does not include when packets are being sent from the ring stop.; Filters for the Countercl… 207 …k, but does not include when packets are being sent from the ring stop.; Filters for the Countercl… [all …]
|
H A D | uncore-cache.json | 24 …filters available. Note the non-standard filtering equation. This event will count requests that… 34 …udes code, data, prefetches and hints coming from L2. This has numerous filters available. Note … 44 …udes code, data, prefetches and hints coming from L2. This has numerous filters available. Note … 54 …filters available. Note the non-standard filtering equation. This event will count requests that… 64 …udes code, data, prefetches and hints coming from L2. This has numerous filters available. Note … 254 …ame ring as CBo 2 UP AD because they are on opposite sides of the ring.; Filters for the Down and … 264 …ame ring as CBo 2 UP AD because they are on opposite sides of the ring.; Filters for the Down and … 274 …ame ring as CBo 2 UP AD because they are on opposite sides of the ring.; Filters for the Down and … 284 …ame ring as CBo 2 UP AD because they are on opposite sides of the ring.; Filters for the Down and … 304 …ame ring as CBo 2 UP AD because they are on opposite sides of the ring.; Filters for the Up and Ev… [all …]
|
/linux/Documentation/networking/device_drivers/ethernet/aquantia/ |
H A D | atlantic.rst | 256 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/Documentation/userspace-api/ |
H A D | seccomp_filter.rst | 2 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/tools/testing/selftests/drivers/net/mlxsw/spectrum-2/ |
H A D | tc_flower.sh | 117 check_err $? "Two filters - did not match highest priority" 123 check_err $? "Two filters - did not match lowest priority" 140 # When two filters that only differ in their priority are used, 142 # that filters are correctly spilled to C-TCAM and that the right 185 log_test "identical filters test ($tcflags)" 204 check_err $? "Two filters - did not match highest priority" 221 check_err $? "Two filters - did not match highest priority after add" 232 # number of masks has been reached filters that require new 254 err_msg="$i filters - C-TCAM spill did not happen when it was expected" 257 err_msg="$i filters - C-TCAM spill happened when it should not" [all …]
|
/linux/tools/perf/pmu-events/arch/x86/haswellx/ |
H A D | uncore-cache.json | 9 …alifications specified by the subevent. There are a number of subevent 'filters' but only a subse… 21 …alifications specified by the subevent. There are a number of subevent 'filters' but only a subse… 33 …alifications specified by the subevent. There are a number of subevent 'filters' but only a subse… 45 …alifications specified by the subevent. There are a number of subevent 'filters' but only a subse… 57 …alifications specified by the subevent. There are a number of subevent 'filters' but only a subse… 69 …alifications specified by the subevent. There are a number of subevent 'filters' but only a subse… 81 …alifications specified by the subevent. There are a number of subevent 'filters' but only a subse… 93 …alifications specified by the subevent. There are a number of subevent 'filters' but only a subse… 105 …alifications specified by the subevent. There are a number of subevent 'filters' but only a subse… 117 …alifications specified by the subevent. There are a number of subevent 'filters' but only a subse… [all …]
|
/linux/tools/perf/pmu-events/arch/x86/broadwellx/ |
H A D | uncore-cache.json | 9 …alifications specified by the subevent. There are a number of subevent 'filters' but only a subse… 21 …alifications specified by the subevent. There are a number of subevent 'filters' but only a subse… 33 …alifications specified by the subevent. There are a number of subevent 'filters' but only a subse… 45 …alifications specified by the subevent. There are a number of subevent 'filters' but only a subse… 57 …alifications specified by the subevent. There are a number of subevent 'filters' but only a subse… 69 …alifications specified by the subevent. There are a number of subevent 'filters' but only a subse… 81 …alifications specified by the subevent. There are a number of subevent 'filters' but only a subse… 93 …alifications specified by the subevent. There are a number of subevent 'filters' but only a subse… 105 …alifications specified by the subevent. There are a number of subevent 'filters' but only a subse… 117 …alifications specified by the subevent. There are a number of subevent 'filters' but only a subse… [all …]
|
/linux/tools/testing/selftests/powerpc/pmu/sampling_tests/ |
H A D | bhrb_filter_map_test.c | 15 * map. All the branch filters are not supported 16 * in powerpc. Supported filters in: 27 /* Valid bhrb filters in power9/power10 */ 33 /* Valid bhrb filters in power10 */ 51 * bhrb filters is not supported in bhrb_filter_map_test()
|
/linux/tools/testing/selftests/seccomp/ |
H A D | seccomp_benchmark.c | 235 ksft_print_msg("getpid RET_ALLOW 2 filters (bitmap): %llu ns\n", bitmap2); in main() 242 ksft_print_msg("getpid RET_ALLOW 3 filters (full): %llu ns\n", filter1); in main() 249 ksft_print_msg("getpid RET_ALLOW 4 filters (full): %llu ns\n", filter2); in main() 263 ESTIMATE("total seccomp overhead for 2 bitmapped filters", calc, in main() 265 ESTIMATE("total seccomp overhead for 3 full filters", calc, in main() 267 ESTIMATE("total seccomp overhead for 4 full filters", calc, in main() 273 ESTIMATE("seccomp per-filter overhead (filters / 4)", per_filter2, in main() 284 ret |= compare("per-filter (last 2 diff)", "≈", "per-filter (filters / 4)", in main() 298 ret |= compare("native + entry + (per filter * 4)", "≈", "4 filters total", in main()
|
/linux/drivers/net/ethernet/broadcom/bnx2x/ |
H A D | bnx2x_vfpf.c | 742 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/drivers/net/ethernet/sfc/ |
H A D | mcdi_filters.h | 40 /* Per-VLAN filters information */ 64 /* AUTO_OLD is used to mark and sweep MAC filters for the device address lists. */ 82 /* filters have yet to be restored after MC reboot */ 84 /* Multicast filter chaining allows less-specific filters to receive 85 * multicast packets that matched more-specific filters. Early EF10 105 * access. When removing filters we must identify them to the
|
H A D | mcdi_filters.c | 60 * filters for specific local unicast MAC and IP addresses are 126 * Handle encap filters first. They will always be mismatch in efx_mcdi_filter_push_prep_set_match_fields() 127 * (unknown UC or MC) filters in efx_mcdi_filter_push_prep_set_match_fields() 365 /* For now, only support RX filters */ in efx_mcdi_filter_insert_locked() 399 /* Find any existing filters with the same match tuple or in efx_mcdi_filter_insert_locked() 651 /* Remove filters that weren't renewed. */ 676 "%s: failed to remove %d filters\n", in efx_mcdi_filter_remove_old() 680 "%s: failed to remove %d non-existent filters\n", in efx_mcdi_filter_remove_old() 769 /* Insert/renew filters */ in efx_mcdi_filter_insert_addr_list() 850 * don't insert encap filters on non-supporting in efx_mcdi_filter_insert_def() [all …]
|
/linux/tools/perf/ |
H A D | builtin-lock.c | 64 static struct lock_filter filters; 979 for (i = 0; i < filters.nr_syms; i++) { in lock_contention_caller() 981 filters.syms[i], in lock_contention_caller() 985 filters.syms[i]); in lock_contention_caller() 989 addrs = realloc(filters.addrs, in lock_contention_caller() 990 (filters.nr_addrs + 1) * sizeof(*addrs)); in lock_contention_caller() 996 addrs[filters.nr_addrs++] = map__unmap_ip(kmap, sym->start); in callchain_id() 997 filters.addrs = addrs; in callchain_id() 1028 if (filters.nr_types) { in callchain_id() 1031 for (i = 0; i < filters in callchain_id() 79 static struct lock_filter filters; global() variable [all...] |
/linux/tools/perf/pmu-events/arch/x86/broadwellde/ |
H A D | uncore-cache.json | 41 …filters available. Note the non-standard filtering equation. This event will count requests that… 51 …udes code, data, prefetches and hints coming from L2. This has numerous filters available. Note … 61 …udes code, data, prefetches and hints coming from L2. This has numerous filters available. Note … 71 …udes code, data, prefetches and hints coming from L2. This has numerous filters available. Note … 81 …filters available. Note the non-standard filtering equation. This event will count requests that… 91 …udes code, data, prefetches and hints coming from L2. This has numerous filters available. Note … 311 …ame ring as CBo 2 UP AD because they are on opposite sides of the ring.; Filters for the Down and … 321 …ame ring as CBo 2 UP AD because they are on opposite sides of the ring.; Filters for the Down and … 331 …ame ring as CBo 2 UP AD because they are on opposite sides of the ring.; Filters for the Up and Ev… 341 …ame ring as CBo 2 UP AD because they are on opposite sides of the ring.; Filters for the Up and Od… [all …]
|
/linux/drivers/hwtracing/coresight/ |
H A D | coresight-etm-perf.h | 19 * when filters are applied. 36 * struct etm_filters - set of filters for a session 37 * @etm_filter: All the filters for this session. 38 * @nr_filters: Number of filters
|
H A D | coresight-etm-perf.c | 155 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() 670 static int etm_addr_filters_validate(struct list_head *filters) in etm_addr_filters_validate() argument 676 list_for_each_entry(filter, filters, entry) { in etm_addr_filters_validate() 679 * room for filters. in etm_addr_filters_validate() 687 * The existing code relies on START/STOP filters in etm_addr_filters_validate() [all …]
|
/linux/mm/damon/ |
H A D | sysfs-schemes.c | 544 * filters directory in damon_sysfs_scheme_filters_alloc() 560 struct damon_sysfs_scheme_filters *filters) in damon_sysfs_scheme_filters_add_dirs() 562 struct damon_sysfs_scheme_filter **filters_arr = filters->filters_arr; in damon_sysfs_scheme_filters_add_dirs() 565 for (i = 0; i < filters->nr; i++) in damon_sysfs_scheme_filters_add_dirs() 567 filters->nr = 0; in damon_sysfs_scheme_filters_add_dirs() 569 filters->filters_arr = NULL; in damon_sysfs_scheme_filters_add_dirs() 573 struct damon_sysfs_scheme_filters *filters, int nr_filters) in damon_sysfs_scheme_filters_add_dirs() 578 damon_sysfs_scheme_filters_rm_dirs(filters); in damon_sysfs_scheme_filters_add_dirs() 586 filters->filters_arr = filters_arr; in damon_sysfs_scheme_filters_add_dirs() 591 damon_sysfs_scheme_filters_rm_dirs(filters); in damon_sysfs_scheme_filters_add_dirs() 548 damon_sysfs_scheme_filters_rm_dirs(struct damon_sysfs_scheme_filters * filters) damon_sysfs_scheme_filters_rm_dirs() argument 561 damon_sysfs_scheme_filters_add_dirs(struct damon_sysfs_scheme_filters * filters,int nr_filters) damon_sysfs_scheme_filters_add_dirs() argument 601 struct damon_sysfs_scheme_filters *filters = container_of(kobj, nr_filters_show() local 610 struct damon_sysfs_scheme_filters *filters; nr_filters_store() local 1446 struct damon_sysfs_scheme_filters *filters; global() member 1548 struct damon_sysfs_scheme_filters *filters = damon_sysfs_scheme_set_filters() local [all...] |
/linux/sound/soc/meson/ |
H A D | axg-pdm.c | 87 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->lpf; in axg_pdm_set_lpf_filters() 363 /* Set the tap filter values of all 3 filters */ in axg_pdm_set_lpf_filters() [all …]
|
/linux/drivers/gpio/ |
H A D | gpio-idio-16.h | 18 * @filters: device has input filters 27 bool filters; member
|
/linux/drivers/hwtracing/ptt/ |
H A D | hisi_ptt.h | 145 * sysfs attribute group name for root port filters and requester filters: 210 * @filter_lock: lock to protect the filters 211 * @sysfs_inited: whether the filters' sysfs entries has been initialized 215 * @filter_update_fifo: fifo of the filters waiting to update the filter list 232 * root port, or by the requester ID. Organize the filters
|
/linux/Documentation/networking/device_drivers/ethernet/intel/ |
H A D | iavf.rst | 111 - 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 153 + Sideband Filters 198 - ADq is not compatible with cloud filters 204 Center Bridging (DCB), Multiple Functions per Port (MFP), or Sideband 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.
|