Home
last modified time | relevance | path

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

/linux-4.4.14/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()
950 req->filters[0].flags = VFPF_Q_FILTER_VLAN_TAG_VALID; in bnx2x_vfpf_update_vlan()
953 req->filters[0].flags |= VFPF_Q_FILTER_SET; in bnx2x_vfpf_update_vlan()
964 req->filters[0].vlan_tag = vid; in bnx2x_vfpf_update_vlan()
1667 struct vfpf_q_mac_vlan_filter *msg_filter = &tlv->filters[i]; in bnx2x_vf_mbx_macvlan_list()
1671 memset(&fl->filters[j], 0, sizeof(fl->filters[j])); in bnx2x_vf_mbx_macvlan_list()
1673 fl->filters[j].mac = msg_filter->mac; in bnx2x_vf_mbx_macvlan_list()
[all …]
Dbnx2x_sriov.c451 struct bnx2x_vf_mac_vlan_filters *filters, in bnx2x_vf_mac_vlan_config_list() argument
462 for (i = 0; i < filters->count; i++) { in bnx2x_vf_mac_vlan_config_list()
464 &filters->filters[i], drv_only); in bnx2x_vf_mac_vlan_config_list()
470 if (i != filters->count) { in bnx2x_vf_mac_vlan_config_list()
472 i, filters->count + 1); in bnx2x_vf_mac_vlan_config_list()
474 filters->filters[i].add = !filters->filters[i].add; in bnx2x_vf_mac_vlan_config_list()
476 &filters->filters[i], in bnx2x_vf_mac_vlan_config_list()
482 kfree(filters); in bnx2x_vf_mac_vlan_config_list()
Dbnx2x_sriov.h123 struct bnx2x_vf_mac_vlan_filter filters[]; member
447 struct bnx2x_vf_mac_vlan_filters *filters,
Dbnx2x_vfpf.h325 struct vfpf_q_mac_vlan_filter filters[PFVF_MAX_FILTERS]; member
/linux-4.4.14/tools/lib/traceevent/
Dparse-filter.c127 filter->filters, in find_filter_type()
146 (filter->filters + 1)); in add_filter_type()
152 for (i = 0; i < filter->filters; i++) { in add_filter_type()
157 if (i < filter->filters) in add_filter_type()
161 (filter->filters - i)); in add_filter_type()
168 filter->filters++; in add_filter_type()
1411 if (!filter->filters) in pevent_filter_remove_event()
1422 len = (unsigned long)(filter->event_filters + filter->filters) - in pevent_filter_remove_event()
1426 filter->filters--; in pevent_filter_remove_event()
1428 memset(&filter->event_filters[filter->filters], 0, in pevent_filter_remove_event()
[all …]
Devent-parse.h920 int filters; member
/linux-4.4.14/Documentation/prctl/
Dseccomp_filter.txt1 SECure COMPuting with filters
17 Filter (BPF) program, as with socket filters, except that the data
26 pointers which constrains all filters to solely evaluating the system
37 choosing. Expressive, dynamic filters provide further options down this
47 CONFIG_HAVE_ARCH_SECCOMP_FILTER, then filters may be added as below:
66 processes will be constrained to the same filters and system
76 additional filters may be layered on which will increase evaluation
85 filters exist, the return value for the evaluation of a given system
144 If multiple filters exist, the return value for the evaluation of a
148 multiple filters return values of the same precedence, only the
[all …]
Dno_new_privs.txt43 Unprivileged users are therefore only allowed to install such filters
/linux-4.4.14/drivers/net/wireless/cw1200/
Dpm.c25 struct wsm_udp_port_filter filters[WSM_MAX_FILTER_ELEMENTS]; member
31 struct wsm_ether_type_filter filters[WSM_MAX_FILTER_ELEMENTS]; member
36 .filters = {
60 .filters = {
/linux-4.4.14/net/sched/
Dcls_flow.c37 struct list_head filters; member
302 list_for_each_entry_rcu(f, &head->filters, list) { in flow_classify()
535 list_add_tail_rcu(&fnew->list, &head->filters); in flow_change()
569 INIT_LIST_HEAD(&head->filters); in flow_init()
579 if (!force && !list_empty(&head->filters)) in flow_destroy()
582 list_for_each_entry_safe(f, next, &head->filters, list) { in flow_destroy()
596 list_for_each_entry(f, &head->filters, list) in flow_get()
668 list_for_each_entry(f, &head->filters, list) { in flow_walk()
Dcls_flower.c56 struct list_head filters; member
154 INIT_LIST_HEAD_RCU(&head->filters); in fl_init()
173 if (!force && !list_empty(&head->filters)) in fl_destroy()
176 list_for_each_entry_safe(f, next, &head->filters, list) { in fl_destroy()
192 list_for_each_entry(f, &head->filters, list) in fl_get()
512 list_add_tail_rcu(&fnew->list, &head->filters); in fl_change()
540 list_for_each_entry_rcu(f, &head->filters, list) { in fl_walk()
Dsch_cbq.c139 int filters; member
1663 WARN_ON(cl->filters); in cbq_destroy_class()
1914 if (cl->filters || cl->children || cl == &q->link) in cbq_delete()
1977 cl->filters++; in cbq_bind_filter()
1987 cl->filters--; in cbq_unbind_filter()
DKconfig476 programmable BPF (JIT'ed) filters as an alternative to ematches.
/linux-4.4.14/drivers/media/dvb-frontends/
Drtl2830_priv.h35 unsigned long filters; member
Drtl2830.c648 set_bit(index, &dev->filters); in rtl2830_pid_filter()
650 clear_bit(index, &dev->filters); in rtl2830_pid_filter()
653 buf[0] = (dev->filters >> 0) & 0xff; in rtl2830_pid_filter()
654 buf[1] = (dev->filters >> 8) & 0xff; in rtl2830_pid_filter()
655 buf[2] = (dev->filters >> 16) & 0xff; in rtl2830_pid_filter()
656 buf[3] = (dev->filters >> 24) & 0xff; in rtl2830_pid_filter()
Drtl2832.c1172 set_bit(index, &dev->filters); in rtl2832_pid_filter()
1174 clear_bit(index, &dev->filters); in rtl2832_pid_filter()
1177 buf[0] = (dev->filters >> 0) & 0xff; in rtl2832_pid_filter()
1178 buf[1] = (dev->filters >> 8) & 0xff; in rtl2832_pid_filter()
1179 buf[2] = (dev->filters >> 16) & 0xff; in rtl2832_pid_filter()
1180 buf[3] = (dev->filters >> 24) & 0xff; in rtl2832_pid_filter()
Drtl2832_priv.h48 unsigned long filters; /* PID filter */ member
/linux-4.4.14/drivers/media/usb/dvb-usb/
Dm920x.h64 u16 filters[M9206_MAX_ADAPTERS][M9206_MAX_FILTERS]; member
Dm920x.c353 if (m->filters[adap->id][i] == 8192) in m920x_update_filters()
367 if (m->filters[adap->id][i] == 0) in m920x_update_filters()
370 if ((ret = m920x_set_filter(adap->dev, ep, filter + 2, m->filters[adap->id][i])) != 0) in m920x_update_filters()
393 m->filters[adap->id][index] = onoff ? pid : 0; in m920x_pid_filter()
/linux-4.4.14/Documentation/trace/
Devents.txt107 find the field names that can be used in event filters (see section 5).
179 The field-names available for use in filters can be found in the
203 5.2 Setting filters
235 5.3 Clearing filters
241 To clear the filters for all events in a subsystem, write a '0' to the
244 5.3 Subsystem filters
247 For convenience, filters for every event in a subsystem can be set or
253 result in an unintended mixture of filters which could lead to
254 confusing (to the user who might think different filters are in
255 effect) trace output. Only filters that reference just the common
[all …]
Dftrace.txt2207 Perhaps this is not enough. The filters also allow simple wild
2268 To rewrite the filters, use '>'
2269 To append to the filters, use '>>'
/linux-4.4.14/Documentation/networking/
Dcan.txt45 6.3 CAN controller hardware filters
427 - The filters are set to exactly one filter receiving everything
439 by defining 0 .. n filters with the CAN_RAW_FILTER socket option.
455 contrast to CAN controller hardware filters the user may set 0 .. n
456 receive filters for each open socket separately:
471 To set the filters to zero filters is quite obsolete as to not read
478 The CAN filters are processed in per-device filter lists at CAN frame
488 To benefit from the optimized filters for single CAN identifiers the
500 filter has to be defined in this way to benefit from the optimized filters:
610 The CAN_RAW socket can set multiple CAN identifier specific filters that
[all …]
Dfilter.txt15 to the BSD bpf.4 manpage is very helpful in creating filters.
23 You can also detach filters from your socket via the SO_DETACH_FILTER
144 Note that socket filters are not restricted to PF_PACKET sockets only,
158 filters use Linux extensions that are not supported by libpcap's compiler,
173 be used to write low-level filters for example scenarios mentioned in the
360 filters that might not be obvious at first, it's good to test filters before
363 for testing BPF filters against given pcap files, single stepping through the
585 includes seccomp BPF, classic socket filters, cls_bpf traffic classifier,
806 to seccomp_data, for converted BPF filters R1 points to a skb.
818 For example, socket filters are not using 'exclusive add' instruction, but
[all …]
Dmultiqueue.txt69 The behavior of tc filters remains the same. However a new tc action,
Dixgbe.txt124 Supports advanced filters that direct receive packets by their flows to
143 To see the list of filters currently present:
Dscaling.txt44 programmable filters. For example, webserver bound TCP port 80 packets
45 can be directed to their own receive queue. Such “n-tuple” filters can
109 2) software filters can easily be added to hash over new protocols,
Dswitchdev.txt272 so packet filters should be applied consistently across untagged and tagged
Dppp_generic.txt418 filters. These ioctls are only available if the CONFIG_PPP_FILTER
Dpacket_mmap.txt1060 - Packet sockets work well together with Linux socket filters, thus you also
Dbonding.txt1635 a multiqueue qdisc and filters to bias certain traffic to transmit on certain
1654 driver that is now present. This awareness allows tc filters to be placed on
/linux-4.4.14/Documentation/features/seccomp/seccomp-filter/
Darch-support.txt4 # description: arch supports seccomp filters
/linux-4.4.14/net/hsr/
DKconfig17 bridge for HSR frames, but filters frames that have been forwarded
/linux-4.4.14/Documentation/
Dxz.txt9 algorithm (filter) is LZMA2. Additional filters can be used to improve
10 compression ratio even further. E.g. Branch/Call/Jump (BCJ) filters
14 the LZMA2 filter and optionally also BCJ filters. CRC32 is supported
Ddebugging-via-ohci1394.txt12 PCI-Bus master DMA after applying filters defined by the OHCI-1394 driver.
Ddynamic-debug-howto.txt69 You can also apply standard Unix text manipulation filters to this
/linux-4.4.14/lib/xz/
DKconfig5 LZMA2 compression algorithm and BCJ filters are supported using
/linux-4.4.14/Documentation/hwmon/
Dadt741136 fast_sampling - Sample at 22.5 kHz instead of 1.4 kHz, but drop filters
/linux-4.4.14/drivers/media/rc/img-ir/
Dimg-ir-hw.c385 ft = img_ir_free_timing_dynamic(regs->ft, &hw->filters[type]); in img_ir_write_timings()
427 hw->filters[RC_FILTER_NORMAL] = *filter; in _img_ir_set_filter()
452 hw->filters[RC_FILTER_WAKEUP] = *filter; in _img_ir_set_wake_filter()
739 img_ir_write_filter(priv, &hw->filters[RC_FILTER_WAKEUP]); in img_ir_enable_wake()
769 &hw->filters[RC_FILTER_NORMAL]); in img_ir_disable_wake()
Dimg-ir-hw.h247 struct img_ir_filter filters[RC_FILTER_MAX]; member
/linux-4.4.14/drivers/net/vmxnet3/
Dvmxnet3_drv.c3394 pmConf->filters[i].patternSize = ETH_ALEN; in vmxnet3_suspend()
3395 pmConf->filters[i].maskSize = 1; in vmxnet3_suspend()
3396 memcpy(pmConf->filters[i].pattern, netdev->dev_addr, ETH_ALEN); in vmxnet3_suspend()
3397 pmConf->filters[i].mask[0] = 0x3F; /* LSB ETH_ALEN bits */ in vmxnet3_suspend()
3412 pmConf->filters[i].patternSize = ETH_HLEN + /* Ethernet header*/ in vmxnet3_suspend()
3416 pmConf->filters[i].maskSize = in vmxnet3_suspend()
3417 (pmConf->filters[i].patternSize - 1) / 8 + 1; in vmxnet3_suspend()
3420 ehdr = (struct ethhdr *)pmConf->filters[i].pattern; in vmxnet3_suspend()
3424 ahdr = (struct arphdr *)&pmConf->filters[i].pattern[ETH_HLEN]; in vmxnet3_suspend()
3433 pmConf->filters[i].mask[0] = 0x00; in vmxnet3_suspend()
[all …]
Dvmxnet3_defs.h581 struct Vmxnet3_PM_PktFilter filters[VMXNET3_PM_MAX_FILTERS]; member
/linux-4.4.14/tools/perf/Documentation/
Dperf-record.txt86 filter expression 'common_pid != $PERFPID' to filters. If other
237 It is possible to select the types of branches captured by enabling filters. The
238 following filters are defined:
259 The various filters must be specified as a comma separated list: --branch-filter any_ret,u,k
Dperf-top.txt222 It is possible to select the types of branches captured by enabling filters.
230 The various filters must be specified as a comma separated list: --branch-filter any_ret,u,k
Dperf-probe.txt101 If several filters are specified, only the last filter is used.
/linux-4.4.14/Documentation/input/
Dntrig.txt23 The following parameters are used to configure filters to reduce noise:
104 I don't know what the optimal values are for these filters. If the defaults
/linux-4.4.14/drivers/gpu/drm/nouveau/dispnv04/
Dtvmodesnv17.c321 uint32_t (*filters[])[4][7] = {&tv_enc->state.hfilter, in tv_setup_filter() local
348 (*filters[k])[j][i] = (c + id5/2) >> 39 in tv_setup_filter()
/linux-4.4.14/drivers/net/wireless/iwlwifi/mvm/
Ddebugfs.c1011 for (i = 0; cmd.filters[i].attrs[0].mask; i++) { in iwl_dbgfs_bcast_filters_read()
1012 filter = &cmd.filters[i]; in iwl_dbgfs_bcast_filters_read()
1054 if (filter_id >= ARRAY_SIZE(mvm->dbgfs_bcast_filtering.cmd.filters) || in iwl_dbgfs_bcast_filters_write()
1080 memcpy(&mvm->dbgfs_bcast_filtering.cmd.filters[filter_id], in iwl_dbgfs_bcast_filters_write()
1146 attached_filters >= BIT(ARRAY_SIZE(cmd.filters))) in iwl_dbgfs_bcast_filters_macs_write()
Dmac80211.c2098 ARRAY_SIZE(cmd->filters))) { in iwl_mvm_bcast_filter_iterator()
2106 &cmd->filters[data->current_filter]); in iwl_mvm_bcast_filter_iterator()
2109 if (!cmd->filters[data->current_filter].num_attrs) in iwl_mvm_bcast_filter_iterator()
2132 cmd->max_bcast_filters = ARRAY_SIZE(cmd->filters); in iwl_mvm_bcast_filter_build_cmd()
2138 memcpy(cmd->filters, &mvm->dbgfs_bcast_filtering.cmd.filters, in iwl_mvm_bcast_filter_build_cmd()
2139 sizeof(cmd->filters)); in iwl_mvm_bcast_filter_build_cmd()
Dfw-api.h1269 struct iwl_fw_bcast_filter filters[MAX_BCAST_FILTERS]; member
/linux-4.4.14/drivers/net/ethernet/mellanox/mlx4/
Den_netdev.c252 list_add_tail(&filter->next, &priv->filters); in mlx4_en_filter_alloc()
365 list_for_each_entry_safe(filter, tmp, &priv->filters, next) { in mlx4_en_cleanup_filters()
384 list_for_each_entry_safe(filter, tmp, &priv->filters, next) { in mlx4_en_filter_rfs_expire()
401 if (last_filter && (&last_filter->next != priv->filters.next)) in mlx4_en_filter_rfs_expire()
402 list_move(&priv->filters, &last_filter->next); in mlx4_en_filter_rfs_expire()
2848 INIT_LIST_HEAD(&priv->filters); in mlx4_en_init_netdev()
Dmlx4_en.h597 struct list_head filters; member
/linux-4.4.14/drivers/net/wireless/ath/ath5k/
Dbase.c1455 unsigned int filters; in ath5k_receive_frame_ok() local
1505 filters = AR5K_RXERR_DECRYPT; in ath5k_receive_frame_ok()
1507 filters |= AR5K_RXERR_CRC; in ath5k_receive_frame_ok()
1509 if (rs->rs_status & ~filters) in ath5k_receive_frame_ok()
/linux-4.4.14/Documentation/power/
Dpower_supply_class.txt213 with things like differential equations and Kalman filters. This is
/linux-4.4.14/Documentation/crypto/
Ddescore-readme.txt56 since i was interested in fast des filters rather than crypt(3)
328 e.g., encryption filters, etc.
/linux-4.4.14/drivers/media/usb/ttusb-budget/
Ddvb-ttusb-budget.c940 #error TODO: allocate filters in ttusb_start_feed()
/linux-4.4.14/Documentation/filesystems/caching/
Dbackend-api.txt502 successful read_or_alloc_page() call or similar. FS-Cache filters out
/linux-4.4.14/Documentation/vm/
Dunevictable-lru.txt357 mlock_fixup() filters several classes of "special" VMAs:
/linux-4.4.14/init/
DKconfig170 BCJ filters which can improve compression ratio of executable
1351 # interpreter that classic socket filters depend on
/linux-4.4.14/Documentation/cdrom/
Dcdrom-standard.tex433 %although the audio-low-pass filters probably aren't designed for it,
/linux-4.4.14/Documentation/virtual/uml/
DUserModeLinux-HOWTO.txt381 as modules, especially filesystems and network protocols and filters,
1758 tcpdump uses, so if you know how to specify tcpdump filters, you will
/linux-4.4.14/Documentation/ABI/testing/
Dsysfs-bus-iio43 parameter has an effect on input filters etc. rather than