| /linux/io_uring/ |
| H A D | bpf_filter.c | 40 * for filters to use. in io_uring_populate_bpf_ctx() 49 * Run registered filters for a given opcode. For filters, a return of 0 denies 52 * This also stops the processing of filters. 57 int __io_uring_run_bpf_filters(struct io_bpf_filter __rcu **filters, in __io_uring_run_bpf_filters() argument 64 /* Fast check for existence of filters outside of RCU */ in __io_uring_run_bpf_filters() 65 if (!rcu_access_pointer(filters[req->opcode])) in __io_uring_run_bpf_filters() 73 filter = rcu_dereference(filters[req->opcode]); in __io_uring_run_bpf_filters() 82 * Iterate registered filters. The opcode is allowed IFF all filters in __io_uring_run_bpf_filters() 100 struct io_bpf_filters *filters; io_free_bpf_filters() local 139 __io_put_bpf_filters(struct io_bpf_filters * filters) __io_put_bpf_filters() argument 268 struct io_bpf_filters *filters; io_bpf_filter_cow() local 362 struct io_bpf_filters *filters, *old_filters = NULL; io_register_bpf_filter() local [all...] |
| /linux/drivers/net/wireless/intel/iwlwifi/mei/ |
| H A D | net.c | 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() 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 …]
|
| H A D | main.c | 135 struct iwl_sap_oob_filters filters; member 180 struct iwl_mei_filters __rcu *filters; member 603 struct iwl_mei_filters *filters = rcu_dereference(mei->filters); in iwl_mei_rx_handler() local 617 if (filters) in iwl_mei_rx_handler() 618 res = iwl_mei_rx_filter(skb, &filters->filters, &rx_for_csme); in iwl_mei_rx_handler() 696 const struct iwl_sap_csme_filters *filters) in iwl_mei_handle_csme_filters() argument 703 rcu_dereference_protected(mei->filters, in iwl_mei_handle_csme_filters() 711 new_filters->filters = filters->filters; in iwl_mei_handle_csme_filters() 713 rcu_assign_pointer(mei->filters, new_filters); in iwl_mei_handle_csme_filters() 2200 kfree(rcu_access_pointer(mei->filters)); in iwl_mei_remove()
|
| H A D | internal.h | 15 const struct iwl_sap_oob_filters *filters,
|
| /linux/tools/perf/util/ |
| H A D | bpf_lock_contention.c | 232 if (con->filters->nr_types) { in lock_contention_prepare() 234 ntypes = con->filters->nr_types; in lock_contention_prepare() 236 if (con->filters->nr_cgrps) { in lock_contention_prepare() 238 ncgrps = con->filters->nr_cgrps; in lock_contention_prepare() 241 /* resolve lock name filters to addr */ in lock_contention_prepare() 242 if (con->filters->nr_syms) { in lock_contention_prepare() 247 for (i = 0; i < con->filters->nr_syms; i++) { in lock_contention_prepare() 248 if (!strcmp(con->filters->syms[i], "mmap_lock")) { in lock_contention_prepare() 254 con->filters->syms[i], in lock_contention_prepare() 258 con->filters in lock_contention_prepare() [all...] |
| H A D | bpf_ftrace.c | 28 if (!list_empty(&ftrace->filters)) { in perf_ftrace__latency_prepare_bpf() 29 if (!list_is_singular(&ftrace->filters)) { in perf_ftrace__latency_prepare_bpf() 33 func = list_first_entry(&ftrace->filters, struct filter_entry, list); in perf_ftrace__latency_prepare_bpf()
|
| /linux/tools/perf/ |
| H A D | builtin-lock.c | 66 static struct lock_filter filters; 991 for (i = 0; i < filters.nr_syms; i++) { in report_lock_contention_begin_event() 993 filters.syms[i], in report_lock_contention_begin_event() 997 filters.syms[i]); in report_lock_contention_begin_event() 1001 addrs = realloc(filters.addrs, in report_lock_contention_begin_event() 1002 (filters.nr_addrs + 1) * sizeof(*addrs)); in report_lock_contention_begin_event() 1008 addrs[filters.nr_addrs++] = map__unmap_ip(kmap, sym->start); in report_lock_contention_begin_event() 1009 filters.addrs = addrs; in report_lock_contention_begin_event() 1040 if (filters.nr_types) { in report_lock_contention_begin_event() 1043 for (i = 0; i < filters in report_lock_contention_begin_event() 64 static struct lock_filter filters; global() variable [all...] |
| /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_flex(*fl, filters, tlv->n_mac_vlan_filters); in bnx2x_vf_mbx_macvlan_list() 1662 struct vfpf_q_mac_vlan_filter *msg_filter = &tlv->filters[i]; in bnx2x_vf_mbx_macvlan_list() 1666 memset(&fl->filters[j], 0, sizeof(fl->filters[j])); in bnx2x_vf_mbx_macvlan_list() [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() 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/tools/testing/selftests/damon/ |
| H A D | _damon_sysfs.py | 266 filters = None # owner filters 282 return os.path.join(self.filters.sysfs_dir(), '%d' % self.idx) 321 filters = None 324 def __init__(self, name, filters=[]): 326 self.filters = filters 327 for idx, filter_ in enumerate(self.filters): 329 filter_.filters = self 336 len(self.filters)) 243 filters = None # owner filters global() variable in DamosFilter 298 filters = None global() variable in DamosFilters 301 __init__(self, name, filters=[]) global() argument 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...] |
| /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/media/dvb/ |
| H A D | dmx-fwrite.rst | 38 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 D | demux.rst | 9 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 D | dmx-start.rst | 60 There are active filters filtering data from another input source. 61 Make sure that these filters are stopped before starting this
|
| H A D | dmx-set-pes-filter.rst | 59 There are active filters filtering data from another input source. 60 Make sure that these filters are stopped before starting this
|
| /linux/Documentation/admin-guide/perf/ |
| H A D | ampere_cspmu.rst | 15 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/tools/testing/ktest/examples/bootconfigs/ |
| H A D | boottrace.bconf | 36 ftrace.filters = "user_*" 45 ftrace.filters = "kernel_*"
|
| /linux/drivers/net/wireless/st/cw1200/ |
| H A D | pm.c | 22 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/net/sched/ |
| H A D | cls_flow.c | 35 struct list_head filters; member 312 list_for_each_entry_rcu(f, &head->filters, list) { in flow_classify() 562 list_add_tail_rcu(&fnew->list, &head->filters); in flow_change() 591 *last = list_empty(&head->filters); in flow_delete() 602 INIT_LIST_HEAD(&head->filters); in flow_init() 614 list_for_each_entry_safe(f, next, &head->filters, list) { in flow_destroy() 629 list_for_each_entry(f, &head->filters, list) in flow_get() 702 list_for_each_entry(f, &head->filters, list) { in flow_walk()
|
| /linux/lib/kunit/ |
| H A D | executor_test.c | 122 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 from '%s'", filters); in parse_filter_attr_test()
|
| H A D | executor.c | 178 char *filters, in kunit_filter_suites() argument 205 if (filters) { in kunit_filter_suites() 206 filter_count = kunit_get_filter_count(filters); in kunit_filter_suites() 213 parsed_filters[j] = kunit_next_attr_filter(&filters, err); in kunit_filter_suites()
|
| /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/bpf/prog_tests/ |
| H A D | test_veristat.c | 252 const char *filters; member 307 fix->veristat, t->filters, fix->tmpfile); in test_name_filters() 312 snprintf(name, sizeof(name), "veristat %s: %s", t->filters, row); in test_name_filters()
|
| /linux/tools/perf/util/bpf_skel/ |
| H A D | sample_filter.bpf.c | 11 struct filters { struct 16 } filters SEC(".maps"); 244 entry = bpf_map_lookup_elem(&filters, &k); in perf_sample_filter()
|
| /linux/Documentation/networking/ |
| H A D | tc-queue-filters.rst | 22 Likewise, on the receive side, the two filters for selecting set of 32 is supported only in hardware. Multiple filters may compete in
|