filter 1131 arch/arm/mm/cache-l2x0.c u32 filter[2] = { 0, 0 }; filter 1154 arch/arm/mm/cache-l2x0.c filter, ARRAY_SIZE(filter)); filter 1155 arch/arm/mm/cache-l2x0.c if (filter[1]) { filter 1157 arch/arm/mm/cache-l2x0.c ALIGN(filter[0] + filter[1], SZ_1M); filter 1158 arch/arm/mm/cache-l2x0.c l2x0_saved_regs.filter_start = (filter[0] & ~(SZ_1M - 1)) filter 100 arch/mips/kernel/perf_event_mipsxx.c #define M_PERFCTL_MT_EN(filter) 0 filter 102 arch/mips/kernel/perf_event_mipsxx.c #define M_PERFCTL_MT_EN(filter) (filter) filter 28 arch/powerpc/net/bpf_jit_comp.c const struct sock_filter *filter = fp->insns; filter 77 arch/powerpc/net/bpf_jit_comp.c if (bpf_needs_clear_a(&filter[0])) filter 114 arch/powerpc/net/bpf_jit_comp.c const struct sock_filter *filter = fp->insns; filter 124 arch/powerpc/net/bpf_jit_comp.c unsigned int K = filter[i].k; filter 125 arch/powerpc/net/bpf_jit_comp.c u16 code = bpf_anc_helper(&filter[i]); filter 481 arch/powerpc/net/bpf_jit_comp.c if (filter[i].jt == filter[i].jf) { filter 482 arch/powerpc/net/bpf_jit_comp.c if (filter[i].jt > 0) filter 483 arch/powerpc/net/bpf_jit_comp.c PPC_JMP(addrs[i + 1 + filter[i].jt]); filter 523 arch/powerpc/net/bpf_jit_comp.c if (filter[i].jt == 0) filter 526 arch/powerpc/net/bpf_jit_comp.c addrs[i + 1 + filter[i].jf]); filter 528 arch/powerpc/net/bpf_jit_comp.c PPC_BCC(true_cond, addrs[i + 1 + filter[i].jt]); filter 529 arch/powerpc/net/bpf_jit_comp.c if (filter[i].jf != 0) filter 530 arch/powerpc/net/bpf_jit_comp.c PPC_JMP(addrs[i + 1 + filter[i].jf]); filter 540 arch/powerpc/net/bpf_jit_comp.c filter[i].code, i); filter 330 arch/sparc/net/bpf_jit_comp_32.c const struct sock_filter *filter = fp->insns; filter 387 arch/sparc/net/bpf_jit_comp_32.c if (bpf_needs_clear_a(&filter[0])) filter 391 arch/sparc/net/bpf_jit_comp_32.c unsigned int K = filter[i].k; filter 395 arch/sparc/net/bpf_jit_comp_32.c u16 code = bpf_anc_helper(&filter[i]); filter 652 arch/sparc/net/bpf_jit_comp_32.c cond_branch: f_offset = addrs[i + filter[i].jf]; filter 653 arch/sparc/net/bpf_jit_comp_32.c t_offset = addrs[i + filter[i].jt]; filter 656 arch/sparc/net/bpf_jit_comp_32.c if (filter[i].jt == filter[i].jf) { filter 692 arch/sparc/net/bpf_jit_comp_32.c if (filter[i].jt != 0) { filter 693 arch/sparc/net/bpf_jit_comp_32.c if (filter[i].jf) filter 697 arch/sparc/net/bpf_jit_comp_32.c if (filter[i].jf) { filter 15 arch/um/drivers/pcap_kern.c char *filter; filter 29 arch/um/drivers/pcap_kern.c ppri->filter = init->filter; filter 63 arch/um/drivers/pcap_kern.c .filter = NULL }); filter 65 arch/um/drivers/pcap_kern.c remain = split_if_spec(str, &host_if, &init->filter, filter 44 arch/um/drivers/pcap_user.c if (pri->filter != NULL) { filter 60 arch/um/drivers/pcap_user.c pri->filter, pri->optimize, netmask); filter 12 arch/um/drivers/pcap_user.h char *filter; filter 681 arch/um/drivers/vector_user.c .filter = NULL, filter 687 arch/um/drivers/vector_user.c bpf_prog.filter = bpf; filter 441 arch/x86/events/intel/pt.c struct pt_filter *filter = &filters->filter[range]; filter 453 arch/x86/events/intel/pt.c if (pt->filters.filter[range].msr_a != filter->msr_a) { filter 454 arch/x86/events/intel/pt.c wrmsrl(pt_address_ranges[range].msr_a, filter->msr_a); filter 455 arch/x86/events/intel/pt.c pt->filters.filter[range].msr_a = filter->msr_a; filter 458 arch/x86/events/intel/pt.c if (pt->filters.filter[range].msr_b != filter->msr_b) { filter 459 arch/x86/events/intel/pt.c wrmsrl(pt_address_ranges[range].msr_b, filter->msr_b); filter 460 arch/x86/events/intel/pt.c pt->filters.filter[range].msr_b = filter->msr_b; filter 463 arch/x86/events/intel/pt.c rtit_ctl |= filter->config << pt_address_ranges[range].reg_off; filter 1271 arch/x86/events/intel/pt.c struct perf_addr_filter *filter; filter 1274 arch/x86/events/intel/pt.c list_for_each_entry(filter, filters, entry) { filter 1279 arch/x86/events/intel/pt.c if (!filter->size || filter 1280 arch/x86/events/intel/pt.c filter->action == PERF_ADDR_FILTER_ACTION_START) filter 1283 arch/x86/events/intel/pt.c if (!filter->path.dentry) { filter 1284 arch/x86/events/intel/pt.c if (!valid_kernel_ip(filter->offset)) filter 1287 arch/x86/events/intel/pt.c if (!valid_kernel_ip(filter->offset + filter->size)) filter 1304 arch/x86/events/intel/pt.c struct perf_addr_filter *filter; filter 1310 arch/x86/events/intel/pt.c list_for_each_entry(filter, &head->list, entry) { filter 1311 arch/x86/events/intel/pt.c if (filter->path.dentry && !fr[range].start) { filter 1319 arch/x86/events/intel/pt.c filters->filter[range].msr_a = msr_a; filter 1320 arch/x86/events/intel/pt.c filters->filter[range].msr_b = msr_b; filter 1321 arch/x86/events/intel/pt.c if (filter->action == PERF_ADDR_FILTER_ACTION_FILTER) filter 1322 arch/x86/events/intel/pt.c filters->filter[range].config = 1; filter 1324 arch/x86/events/intel/pt.c filters->filter[range].config = 2; filter 108 arch/x86/events/intel/pt.h struct pt_filter filter[PT_FILTERS_NUM]; filter 1637 arch/x86/events/intel/uncore_snbep.c u64 filter = uncore_shared_reg_config(box, 0); filter 1638 arch/x86/events/intel/uncore_snbep.c wrmsrl(reg1->reg, filter & 0xffffffff); filter 1639 arch/x86/events/intel/uncore_snbep.c wrmsrl(reg1->reg + 6, filter >> 32); filter 2621 arch/x86/events/intel/uncore_snbep.c u64 filter = uncore_shared_reg_config(box, 0); filter 2622 arch/x86/events/intel/uncore_snbep.c wrmsrl(reg1->reg, filter & 0xffffffff); filter 2623 arch/x86/events/intel/uncore_snbep.c wrmsrl(reg1->reg + 1, filter >> 32); filter 148 arch/x86/kvm/pmu.c struct kvm_pmu_event_filter *filter; filter 162 arch/x86/kvm/pmu.c filter = srcu_dereference(kvm->arch.pmu_event_filter, &kvm->srcu); filter 163 arch/x86/kvm/pmu.c if (filter) { filter 164 arch/x86/kvm/pmu.c for (i = 0; i < filter->nevents; i++) filter 165 arch/x86/kvm/pmu.c if (filter->events[i] == filter 168 arch/x86/kvm/pmu.c if (filter->action == KVM_PMU_EVENT_ALLOW && filter 169 arch/x86/kvm/pmu.c i == filter->nevents) filter 171 arch/x86/kvm/pmu.c if (filter->action == KVM_PMU_EVENT_DENY && filter 172 arch/x86/kvm/pmu.c i < filter->nevents) filter 209 arch/x86/kvm/pmu.c struct kvm_pmu_event_filter *filter; filter 217 arch/x86/kvm/pmu.c filter = srcu_dereference(kvm->arch.pmu_event_filter, &kvm->srcu); filter 218 arch/x86/kvm/pmu.c if (filter) { filter 219 arch/x86/kvm/pmu.c if (filter->action == KVM_PMU_EVENT_DENY && filter 220 arch/x86/kvm/pmu.c test_bit(idx, (ulong *)&filter->fixed_counter_bitmap)) filter 222 arch/x86/kvm/pmu.c if (filter->action == KVM_PMU_EVENT_ALLOW && filter 223 arch/x86/kvm/pmu.c !test_bit(idx, (ulong *)&filter->fixed_counter_bitmap)) filter 389 arch/x86/kvm/pmu.c struct kvm_pmu_event_filter tmp, *filter; filter 406 arch/x86/kvm/pmu.c size = struct_size(filter, events, tmp.nevents); filter 407 arch/x86/kvm/pmu.c filter = kmalloc(size, GFP_KERNEL_ACCOUNT); filter 408 arch/x86/kvm/pmu.c if (!filter) filter 412 arch/x86/kvm/pmu.c if (copy_from_user(filter, argp, size)) filter 416 arch/x86/kvm/pmu.c *filter = tmp; filter 419 arch/x86/kvm/pmu.c rcu_swap_protected(kvm->arch.pmu_event_filter, filter, filter 426 arch/x86/kvm/pmu.c kfree(filter); filter 110 block/scsi_ioctl.c static void blk_set_cmd_filter_defaults(struct blk_cmd_filter *filter) filter 113 block/scsi_ioctl.c __set_bit(TEST_UNIT_READY, filter->read_ok); filter 114 block/scsi_ioctl.c __set_bit(REQUEST_SENSE, filter->read_ok); filter 115 block/scsi_ioctl.c __set_bit(READ_6, filter->read_ok); filter 116 block/scsi_ioctl.c __set_bit(READ_10, filter->read_ok); filter 117 block/scsi_ioctl.c __set_bit(READ_12, filter->read_ok); filter 118 block/scsi_ioctl.c __set_bit(READ_16, filter->read_ok); filter 119 block/scsi_ioctl.c __set_bit(READ_BUFFER, filter->read_ok); filter 120 block/scsi_ioctl.c __set_bit(READ_DEFECT_DATA, filter->read_ok); filter 121 block/scsi_ioctl.c __set_bit(READ_CAPACITY, filter->read_ok); filter 122 block/scsi_ioctl.c __set_bit(READ_LONG, filter->read_ok); filter 123 block/scsi_ioctl.c __set_bit(INQUIRY, filter->read_ok); filter 124 block/scsi_ioctl.c __set_bit(MODE_SENSE, filter->read_ok); filter 125 block/scsi_ioctl.c __set_bit(MODE_SENSE_10, filter->read_ok); filter 126 block/scsi_ioctl.c __set_bit(LOG_SENSE, filter->read_ok); filter 127 block/scsi_ioctl.c __set_bit(START_STOP, filter->read_ok); filter 128 block/scsi_ioctl.c __set_bit(GPCMD_VERIFY_10, filter->read_ok); filter 129 block/scsi_ioctl.c __set_bit(VERIFY_16, filter->read_ok); filter 130 block/scsi_ioctl.c __set_bit(REPORT_LUNS, filter->read_ok); filter 131 block/scsi_ioctl.c __set_bit(SERVICE_ACTION_IN_16, filter->read_ok); filter 132 block/scsi_ioctl.c __set_bit(RECEIVE_DIAGNOSTIC, filter->read_ok); filter 133 block/scsi_ioctl.c __set_bit(MAINTENANCE_IN, filter->read_ok); filter 134 block/scsi_ioctl.c __set_bit(GPCMD_READ_BUFFER_CAPACITY, filter->read_ok); filter 137 block/scsi_ioctl.c __set_bit(GPCMD_PLAY_CD, filter->read_ok); filter 138 block/scsi_ioctl.c __set_bit(GPCMD_PLAY_AUDIO_10, filter->read_ok); filter 139 block/scsi_ioctl.c __set_bit(GPCMD_PLAY_AUDIO_MSF, filter->read_ok); filter 140 block/scsi_ioctl.c __set_bit(GPCMD_PLAY_AUDIO_TI, filter->read_ok); filter 141 block/scsi_ioctl.c __set_bit(GPCMD_PAUSE_RESUME, filter->read_ok); filter 144 block/scsi_ioctl.c __set_bit(GPCMD_READ_CD, filter->read_ok); filter 145 block/scsi_ioctl.c __set_bit(GPCMD_READ_CD_MSF, filter->read_ok); filter 146 block/scsi_ioctl.c __set_bit(GPCMD_READ_DISC_INFO, filter->read_ok); filter 147 block/scsi_ioctl.c __set_bit(GPCMD_READ_CDVD_CAPACITY, filter->read_ok); filter 148 block/scsi_ioctl.c __set_bit(GPCMD_READ_DVD_STRUCTURE, filter->read_ok); filter 149 block/scsi_ioctl.c __set_bit(GPCMD_READ_HEADER, filter->read_ok); filter 150 block/scsi_ioctl.c __set_bit(GPCMD_READ_TRACK_RZONE_INFO, filter->read_ok); filter 151 block/scsi_ioctl.c __set_bit(GPCMD_READ_SUBCHANNEL, filter->read_ok); filter 152 block/scsi_ioctl.c __set_bit(GPCMD_READ_TOC_PMA_ATIP, filter->read_ok); filter 153 block/scsi_ioctl.c __set_bit(GPCMD_REPORT_KEY, filter->read_ok); filter 154 block/scsi_ioctl.c __set_bit(GPCMD_SCAN, filter->read_ok); filter 155 block/scsi_ioctl.c __set_bit(GPCMD_GET_CONFIGURATION, filter->read_ok); filter 156 block/scsi_ioctl.c __set_bit(GPCMD_READ_FORMAT_CAPACITIES, filter->read_ok); filter 157 block/scsi_ioctl.c __set_bit(GPCMD_GET_EVENT_STATUS_NOTIFICATION, filter->read_ok); filter 158 block/scsi_ioctl.c __set_bit(GPCMD_GET_PERFORMANCE, filter->read_ok); filter 159 block/scsi_ioctl.c __set_bit(GPCMD_SEEK, filter->read_ok); filter 160 block/scsi_ioctl.c __set_bit(GPCMD_STOP_PLAY_SCAN, filter->read_ok); filter 163 block/scsi_ioctl.c __set_bit(WRITE_6, filter->write_ok); filter 164 block/scsi_ioctl.c __set_bit(WRITE_10, filter->write_ok); filter 165 block/scsi_ioctl.c __set_bit(WRITE_VERIFY, filter->write_ok); filter 166 block/scsi_ioctl.c __set_bit(WRITE_12, filter->write_ok); filter 167 block/scsi_ioctl.c __set_bit(WRITE_VERIFY_12, filter->write_ok); filter 168 block/scsi_ioctl.c __set_bit(WRITE_16, filter->write_ok); filter 169 block/scsi_ioctl.c __set_bit(WRITE_LONG, filter->write_ok); filter 170 block/scsi_ioctl.c __set_bit(WRITE_LONG_2, filter->write_ok); filter 171 block/scsi_ioctl.c __set_bit(WRITE_SAME, filter->write_ok); filter 172 block/scsi_ioctl.c __set_bit(WRITE_SAME_16, filter->write_ok); filter 173 block/scsi_ioctl.c __set_bit(WRITE_SAME_32, filter->write_ok); filter 174 block/scsi_ioctl.c __set_bit(ERASE, filter->write_ok); filter 175 block/scsi_ioctl.c __set_bit(GPCMD_MODE_SELECT_10, filter->write_ok); filter 176 block/scsi_ioctl.c __set_bit(MODE_SELECT, filter->write_ok); filter 177 block/scsi_ioctl.c __set_bit(LOG_SELECT, filter->write_ok); filter 178 block/scsi_ioctl.c __set_bit(GPCMD_BLANK, filter->write_ok); filter 179 block/scsi_ioctl.c __set_bit(GPCMD_CLOSE_TRACK, filter->write_ok); filter 180 block/scsi_ioctl.c __set_bit(GPCMD_FLUSH_CACHE, filter->write_ok); filter 181 block/scsi_ioctl.c __set_bit(GPCMD_FORMAT_UNIT, filter->write_ok); filter 182 block/scsi_ioctl.c __set_bit(GPCMD_REPAIR_RZONE_TRACK, filter->write_ok); filter 183 block/scsi_ioctl.c __set_bit(GPCMD_RESERVE_RZONE_TRACK, filter->write_ok); filter 184 block/scsi_ioctl.c __set_bit(GPCMD_SEND_DVD_STRUCTURE, filter->write_ok); filter 185 block/scsi_ioctl.c __set_bit(GPCMD_SEND_EVENT, filter->write_ok); filter 186 block/scsi_ioctl.c __set_bit(GPCMD_SEND_KEY, filter->write_ok); filter 187 block/scsi_ioctl.c __set_bit(GPCMD_SEND_OPC, filter->write_ok); filter 188 block/scsi_ioctl.c __set_bit(GPCMD_SEND_CUE_SHEET, filter->write_ok); filter 189 block/scsi_ioctl.c __set_bit(GPCMD_SET_SPEED, filter->write_ok); filter 190 block/scsi_ioctl.c __set_bit(GPCMD_PREVENT_ALLOW_MEDIUM_REMOVAL, filter->write_ok); filter 191 block/scsi_ioctl.c __set_bit(GPCMD_LOAD_UNLOAD, filter->write_ok); filter 192 block/scsi_ioctl.c __set_bit(GPCMD_SET_STREAMING, filter->write_ok); filter 193 block/scsi_ioctl.c __set_bit(GPCMD_SET_READ_AHEAD, filter->write_ok); filter 198 block/scsi_ioctl.c struct blk_cmd_filter *filter = &blk_default_cmd_filter; filter 205 block/scsi_ioctl.c if (test_bit(cmd[0], filter->read_ok)) filter 209 block/scsi_ioctl.c if (test_bit(cmd[0], filter->write_ok) && (mode & FMODE_WRITE)) filter 216 drivers/acpi/ec.c #define ec_log(filter, fmt, ...) \ filter 217 drivers/acpi/ec.c ec_log_raw(filter EC_DBG_SEP fmt EC_DBG_SEP filter, ##__VA_ARGS__) filter 218 drivers/acpi/ec.c #define ec_dbg(filter, fmt, ...) \ filter 219 drivers/acpi/ec.c ec_dbg_raw(filter EC_DBG_SEP fmt EC_DBG_SEP filter, ##__VA_ARGS__) filter 1379 drivers/ata/ahci.c unsigned int filter; filter 1385 drivers/ata/ahci.c filter = (unsigned long)dmi->driver_data; filter 1387 drivers/ata/ahci.c filter, dmi->ident); filter 1396 drivers/ata/ahci.c dev->gtf_filter |= filter; filter 175 drivers/base/bus.c .filter = bus_uevent_filter, filter 1228 drivers/base/core.c .filter = dev_uevent_filter, filter 1255 drivers/base/core.c if (kset->uevent_ops && kset->uevent_ops->filter) filter 1256 drivers/base/core.c if (!kset->uevent_ops->filter(kset, &dev->kobj)) filter 258 drivers/clk/clk-axi-clkgen.c uint32_t filter; filter 269 drivers/clk/clk-axi-clkgen.c filter = axi_clkgen_lookup_filter(m - 1); filter 293 drivers/clk/clk-axi-clkgen.c axi_clkgen_mmcm_write(axi_clkgen, MMCM_REG_FILTER1, filter >> 16, 0x9900); filter 294 drivers/clk/clk-axi-clkgen.c axi_clkgen_mmcm_write(axi_clkgen, MMCM_REG_FILTER2, filter, 0x9900); filter 453 drivers/clk/clk-vt8500.c u32 *filter, u32 *multiplier, u32 *divisor1, u32 *divisor2) filter 471 drivers/clk/clk-vt8500.c *filter = wm8750_get_filter(parent_rate, div1); filter 495 drivers/clk/clk-vt8500.c *filter = wm8750_get_filter(parent_rate, *divisor1); filter 550 drivers/clk/clk-vt8500.c u32 filter, mul, div1, div2; filter 569 drivers/clk/clk-vt8500.c ret = wm8750_find_pll_bits(rate, parent_rate, &filter, &mul, &div1, &div2); filter 571 drivers/clk/clk-vt8500.c pll_val = WM8750_BITS_TO_VAL(filter, mul, div1, div2); filter 601 drivers/clk/clk-vt8500.c u32 filter, mul, div1, div2; filter 617 drivers/clk/clk-vt8500.c ret = wm8750_find_pll_bits(rate, *prate, &filter, &mul, &div1, &div2); filter 49 drivers/dma-buf/selftest.c char *filter, *sep, *tok; filter 52 drivers/dma-buf/selftest.c filter = kstrdup(__st_filter, GFP_KERNEL); filter 53 drivers/dma-buf/selftest.c for (sep = filter; (tok = strsep(&sep, ","));) { filter 85 drivers/dma-buf/selftest.c kfree(filter); filter 2822 drivers/dma/amba-pl08x.c pl08x->slave.filter.map = pl08x->pd->slave_map; filter 2823 drivers/dma/amba-pl08x.c pl08x->slave.filter.mapcnt = pl08x->pd->slave_map_len; filter 2824 drivers/dma/amba-pl08x.c pl08x->slave.filter.fn = pl08x_filter_fn; filter 673 drivers/dma/dmaengine.c if (!device->filter.mapcnt) filter 676 drivers/dma/dmaengine.c for (i = 0; i < device->filter.mapcnt; i++) { filter 677 drivers/dma/dmaengine.c const struct dma_slave_map *map = &device->filter.map[i]; filter 725 drivers/dma/dmaengine.c chan = find_candidate(d, &mask, d->filter.fn, map->param); filter 1056 drivers/dma/dmatest.c chan = dma_request_channel(mask, filter, params); filter 259 drivers/dma/mcf-edma.c mcf_edma->dma_dev.filter.fn = mcf_edma_filter_fn; filter 260 drivers/dma/mcf-edma.c mcf_edma->dma_dev.filter.map = pdata->slave_map; filter 261 drivers/dma/mcf-edma.c mcf_edma->dma_dev.filter.mapcnt = pdata->slavecnt; filter 1403 drivers/dma/pxa_dma.c pdev->slave.filter.map = slave_map; filter 1404 drivers/dma/pxa_dma.c pdev->slave.filter.mapcnt = slave_map_cnt; filter 1405 drivers/dma/pxa_dma.c pdev->slave.filter.fn = pxad_filter_fn; filter 1302 drivers/dma/s3c24xx-dma.c s3cdma->slave.filter.map = pdata->slave_map; filter 1303 drivers/dma/s3c24xx-dma.c s3cdma->slave.filter.mapcnt = pdata->slavecnt; filter 1304 drivers/dma/s3c24xx-dma.c s3cdma->slave.filter.fn = s3c24xx_dma_filter; filter 921 drivers/dma/sa11x0-dma.c d->slave.filter.fn = sa11x0_dma_filter_fn; filter 922 drivers/dma/sa11x0-dma.c d->slave.filter.mapcnt = ARRAY_SIZE(sa11x0_dma_map); filter 923 drivers/dma/sa11x0-dma.c d->slave.filter.map = sa11x0_dma_map; filter 2449 drivers/dma/ti/edma.c ecc->dma_slave.filter.map = info->slave_map; filter 2450 drivers/dma/ti/edma.c ecc->dma_slave.filter.mapcnt = info->slavecnt; filter 2451 drivers/dma/ti/edma.c ecc->dma_slave.filter.fn = edma_filter_fn; filter 1569 drivers/dma/ti/omap-dma.c od->ddev.filter.map = od->plat->slave_map; filter 1570 drivers/dma/ti/omap-dma.c od->ddev.filter.mapcnt = od->plat->slavecnt; filter 1571 drivers/dma/ti/omap-dma.c od->ddev.filter.fn = omap_dma_filter_fn; filter 46 drivers/gpu/drm/amd/amdkfd/kfd_device_queue_manager.c enum kfd_unmap_queues_filter filter, filter 49 drivers/gpu/drm/amd/amdkfd/kfd_device_queue_manager.c enum kfd_unmap_queues_filter filter, filter 1283 drivers/gpu/drm/amd/amdkfd/kfd_device_queue_manager.c enum kfd_unmap_queues_filter filter, filter 1300 drivers/gpu/drm/amd/amdkfd/kfd_device_queue_manager.c filter, filter_param, false, 0); filter 1321 drivers/gpu/drm/amd/amdkfd/kfd_device_queue_manager.c enum kfd_unmap_queues_filter filter, filter 1328 drivers/gpu/drm/amd/amdkfd/kfd_device_queue_manager.c retval = unmap_queues_cpsch(dqm, filter, filter_param); filter 1576 drivers/gpu/drm/amd/amdkfd/kfd_device_queue_manager.c enum kfd_unmap_queues_filter filter = filter 1590 drivers/gpu/drm/amd/amdkfd/kfd_device_queue_manager.c filter = KFD_UNMAP_QUEUES_FILTER_ALL_QUEUES; filter 1620 drivers/gpu/drm/amd/amdkfd/kfd_device_queue_manager.c retval = execute_queues_cpsch(dqm, filter, 0); filter 211 drivers/gpu/drm/amd/amdkfd/kfd_kernel_queue_v10.c enum kfd_unmap_queues_filter filter, filter 245 drivers/gpu/drm/amd/amdkfd/kfd_kernel_queue_v10.c switch (filter) { filter 267 drivers/gpu/drm/amd/amdkfd/kfd_kernel_queue_v10.c WARN(1, "filter %d\n", filter); filter 244 drivers/gpu/drm/amd/amdkfd/kfd_kernel_queue_v9.c enum kfd_unmap_queues_filter filter, filter 288 drivers/gpu/drm/amd/amdkfd/kfd_kernel_queue_v9.c switch (filter) { filter 310 drivers/gpu/drm/amd/amdkfd/kfd_kernel_queue_v9.c WARN(1, "filter %d", filter); filter 242 drivers/gpu/drm/amd/amdkfd/kfd_kernel_queue_vi.c enum kfd_unmap_queues_filter filter, filter 276 drivers/gpu/drm/amd/amdkfd/kfd_kernel_queue_vi.c switch (filter) { filter 298 drivers/gpu/drm/amd/amdkfd/kfd_kernel_queue_vi.c WARN(1, "filter %d", filter); filter 374 drivers/gpu/drm/amd/amdkfd/kfd_packet_manager.c enum kfd_unmap_queues_filter filter, filter 391 drivers/gpu/drm/amd/amdkfd/kfd_packet_manager.c retval = pm->pmf->unmap_queues(pm, buffer, type, filter, filter_param, filter 264 drivers/gpu/drm/amd/display/dc/dcn10/dcn10_dpp_dscl.c const uint16_t *filter) filter 278 drivers/gpu/drm/amd/display/dc/dcn10/dcn10_dpp_dscl.c even_coef = filter[phase * taps + 2 * pair]; filter 280 drivers/gpu/drm/amd/display/dc/dcn10/dcn10_dpp_dscl.c odd_coef = filter[phase * taps + 2 * pair + 1]; filter 686 drivers/gpu/drm/amd/display/dc/dcn20/dcn20_dwb_scl.c const uint16_t *filter) filter 695 drivers/gpu/drm/amd/display/dc/dcn20/dcn20_dwb_scl.c even_coef = filter[phase * taps + 2 * pair]; filter 697 drivers/gpu/drm/amd/display/dc/dcn20/dcn20_dwb_scl.c odd_coef = filter[phase * taps + 2 * pair + 1]; filter 36 drivers/gpu/drm/i915/i915_selftest.h char *filter; filter 204 drivers/gpu/drm/i915/selftests/i915_selftest.c char *filter, *sep, *tok; filter 207 drivers/gpu/drm/i915/selftests/i915_selftest.c filter = kstrdup(i915_selftest.filter, GFP_KERNEL); filter 208 drivers/gpu/drm/i915/selftests/i915_selftest.c for (sep = filter; (tok = strsep(&sep, ","));) { filter 240 drivers/gpu/drm/i915/selftests/i915_selftest.c kfree(filter); filter 356 drivers/gpu/drm/i915/selftests/i915_selftest.c module_param_named(st_filter, i915_selftest.filter, charp, 0400); filter 87 drivers/gpu/drm/msm/disp/dpu1/dpu_hw_util.c int i, j, filter; filter 136 drivers/gpu/drm/msm/disp/dpu1/dpu_hw_util.c for (filter = 0; filter < QSEED3_FILTERS; filter++) { filter 137 drivers/gpu/drm/msm/disp/dpu1/dpu_hw_util.c if (!lut[filter]) filter 142 drivers/gpu/drm/msm/disp/dpu1/dpu_hw_util.c + off_tbl[filter][i][1]; filter 143 drivers/gpu/drm/msm/disp/dpu1/dpu_hw_util.c lut_len = off_tbl[filter][i][0] << 2; filter 147 drivers/gpu/drm/msm/disp/dpu1/dpu_hw_util.c (lut[filter])[lut_offset++]); filter 39 drivers/gpu/drm/tegra/sor.c u8 filter; filter 59 drivers/gpu/drm/tegra/sor.c .filter = 0x0, filter 74 drivers/gpu/drm/tegra/sor.c .filter = 0x0, filter 89 drivers/gpu/drm/tegra/sor.c .filter = 0x0, filter 104 drivers/gpu/drm/tegra/sor.c .filter = 0x0, filter 119 drivers/gpu/drm/tegra/sor.c .filter = 0x0, filter 138 drivers/gpu/drm/tegra/sor.c .filter = 0x0, filter 153 drivers/gpu/drm/tegra/sor.c .filter = 0x0, filter 168 drivers/gpu/drm/tegra/sor.c .filter = 0x0, filter 183 drivers/gpu/drm/tegra/sor.c .filter = 0x0, filter 203 drivers/gpu/drm/tegra/sor.c .filter = 5, filter 218 drivers/gpu/drm/tegra/sor.c .filter = 5, filter 233 drivers/gpu/drm/tegra/sor.c .filter = 5, filter 248 drivers/gpu/drm/tegra/sor.c .filter = 5, filter 263 drivers/gpu/drm/tegra/sor.c .filter = 5, filter 282 drivers/gpu/drm/tegra/sor.c .filter = 5, filter 297 drivers/gpu/drm/tegra/sor.c .filter = 5, filter 312 drivers/gpu/drm/tegra/sor.c .filter = 5, filter 327 drivers/gpu/drm/tegra/sor.c .filter = 5, filter 342 drivers/gpu/drm/tegra/sor.c .filter = 5, filter 2651 drivers/gpu/drm/tegra/sor.c value |= SOR_PLL0_FILTER(settings->filter); filter 1164 drivers/gpu/drm/vmwgfx/device_include/svga3d_cmd.h SVGA3dTextureFilter filter; filter 1331 drivers/gpu/drm/vmwgfx/device_include/svga3d_dx.h SVGA3dFilter filter; filter 414 drivers/hwtracing/coresight/coresight-etm-perf.c struct perf_addr_filter *filter; filter 416 drivers/hwtracing/coresight/coresight-etm-perf.c list_for_each_entry(filter, filters, entry) { filter 425 drivers/hwtracing/coresight/coresight-etm-perf.c if (filter->size) { filter 430 drivers/hwtracing/coresight/coresight-etm-perf.c if (filter->action == PERF_ADDR_FILTER_ACTION_START || filter 431 drivers/hwtracing/coresight/coresight-etm-perf.c filter->action == PERF_ADDR_FILTER_ACTION_STOP) filter 456 drivers/hwtracing/coresight/coresight-etm-perf.c struct perf_addr_filter *filter; filter 459 drivers/hwtracing/coresight/coresight-etm-perf.c list_for_each_entry(filter, &head->list, entry) { filter 464 drivers/hwtracing/coresight/coresight-etm-perf.c switch (filter->action) { filter 952 drivers/hwtracing/coresight/coresight-etm4x.c struct etm_filter *filter = &filters->etm_filter[i]; filter 953 drivers/hwtracing/coresight/coresight-etm4x.c enum etm_addr_type type = filter->type; filter 965 drivers/hwtracing/coresight/coresight-etm4x.c filter->start_addr, filter 966 drivers/hwtracing/coresight/coresight-etm4x.c filter->stop_addr, filter 981 drivers/hwtracing/coresight/coresight-etm4x.c filter->start_addr : filter 982 drivers/hwtracing/coresight/coresight-etm4x.c filter->stop_addr); filter 81 drivers/i2c/busses/i2c-pmcmsp.c u8 filter; /* Bits 15:12, default = 0x03 */ filter 122 drivers/i2c/busses/i2c-pmcmsp.c .filter = 0x3, filter 126 drivers/i2c/busses/i2c-pmcmsp.c .filter = 0x3, filter 148 drivers/i2c/busses/i2c-pmcmsp.c return ((clock->filter & 0xf) << 12) | (clock->clock & 0x03ff); filter 168 drivers/iio/accel/mma9553.c u16 filter; filter 574 drivers/iio/accel/mma9553.c *val = mma9553_get_bits(data->conf.filter, filter 583 drivers/iio/accel/mma9553.c *val = mma9553_get_bits(data->conf.filter, filter 660 drivers/iio/accel/mma9553.c &data->conf.filter, val, filter 674 drivers/iio/accel/mma9553.c &data->conf.filter, val, filter 859 drivers/iio/accel/mma9553.c gender = mma9553_get_bits(data->conf.filter, MMA9553_MASK_CONF_MALE); filter 879 drivers/iio/accel/mma9553.c &data->conf.filter, gender, filter 149 drivers/iio/adc/ad7791.c uint8_t filter; filter 254 drivers/iio/adc/ad7791.c rate = st->filter & AD7791_FILTER_RATE_MASK; filter 286 drivers/iio/adc/ad7791.c st->filter &= ~AD7791_FILTER_RATE_MASK; filter 287 drivers/iio/adc/ad7791.c st->filter |= i; filter 289 drivers/iio/adc/ad7791.c sizeof(st->filter), filter 290 drivers/iio/adc/ad7791.c st->filter); filter 329 drivers/iio/adc/ad7791.c st->filter = AD7791_FILTER_RATE_16_6; filter 117 drivers/iio/gyro/bmg160_core.c int filter; filter 202 drivers/iio/gyro/bmg160_core.c *val = bmg160_samp_freq_table[i].filter; filter 215 drivers/iio/gyro/bmg160_core.c if (bmg160_samp_freq_table[i].filter == val) filter 734 drivers/infiniband/core/cache.c bool (*filter)(const union ib_gid *gid, const struct ib_gid_attr *, filter 758 drivers/infiniband/core/cache.c if (filter(gid, &entry->attr, context)) { filter 281 drivers/infiniband/core/cma.c struct cma_device *cma_enum_devices_by_ibdev(cma_device_filter filter, filter 290 drivers/infiniband/core/cma.c if (filter(cma_dev->device, cookie)) { filter 117 drivers/infiniband/core/cma_priv.h struct cma_device *cma_enum_devices_by_ibdev(cma_device_filter filter, filter 95 drivers/infiniband/core/core_priv.h roce_netdev_filter filter, filter 99 drivers/infiniband/core/core_priv.h void ib_enum_all_roce_netdevs(roce_netdev_filter filter, filter 158 drivers/infiniband/core/device.c xa_mark_t filter) filter 165 drivers/infiniband/core/device.c entry = xas_find_marked(&xas, ULONG_MAX, filter); filter 179 drivers/infiniband/core/device.c #define xan_for_each_marked(xa, index, entry, filter) \ filter 180 drivers/infiniband/core/device.c for (index = 0, entry = xan_find_marked(xa, &(index), filter); \ filter 182 drivers/infiniband/core/device.c (index)++, entry = xan_find_marked(xa, &(index), filter)) filter 2264 drivers/infiniband/core/device.c roce_netdev_filter filter, filter 2276 drivers/infiniband/core/device.c if (filter(ib_dev, port, idev, filter_cookie)) filter 2295 drivers/infiniband/core/device.c void ib_enum_all_roce_netdevs(roce_netdev_filter filter, filter 2305 drivers/infiniband/core/device.c ib_enum_roce_netdev(dev, filter, filter_cookie, cb, cookie); filter 62 drivers/infiniband/core/roce_gid_mgmt.c roce_netdev_filter filter; filter 623 drivers/infiniband/core/roce_gid_mgmt.c ib_enum_all_roce_netdevs(work->cmds[i].filter, filter 662 drivers/infiniband/core/roce_gid_mgmt.c .filter = is_eth_port_of_netdev_filter filter 667 drivers/infiniband/core/roce_gid_mgmt.c .filter = is_eth_port_of_netdev_filter filter 677 drivers/infiniband/core/roce_gid_mgmt.c .filter = upper_device_filter filter 687 drivers/infiniband/core/roce_gid_mgmt.c .filter = is_upper_ndev_bond_master_filter filter 698 drivers/infiniband/core/roce_gid_mgmt.c .filter = is_upper_ndev_bond_master_filter filter 731 drivers/infiniband/core/roce_gid_mgmt.c .filter = is_ndev_for_default_gid_filter, filter 738 drivers/infiniband/core/roce_gid_mgmt.c .cb = del_netdev_ips, .filter = pass_all_filter}; filter 742 drivers/infiniband/core/roce_gid_mgmt.c .filter = is_eth_port_inactive_slave_filter filter 747 drivers/infiniband/core/roce_gid_mgmt.c .filter = is_eth_port_of_netdev_filter filter 750 drivers/infiniband/core/roce_gid_mgmt.c .cb = del_netdev_upper_ips, .filter = upper_device_filter}; filter 1971 drivers/infiniband/hw/cxgb4/cm.c req->le.filter = cpu_to_be32(cxgb4_select_ntuple( filter 3995 drivers/infiniband/hw/cxgb4/cm.c u32 rcv_isn, u32 filter, u16 window, filter 4010 drivers/infiniband/hw/cxgb4/cm.c req->le.filter = (__force __be32) filter; filter 4058 drivers/infiniband/hw/cxgb4/cm.c unsigned int filter; filter 4174 drivers/infiniband/hw/cxgb4/cm.c filter = (__force unsigned int) cpu_to_be32(cxgb4_select_ntuple( filter 4185 drivers/infiniband/hw/cxgb4/cm.c tcph->source, ntohl(tcph->seq), filter, window, filter 196 drivers/infiniband/hw/hfi1/mmu_rb.c if (!handler->ops->filter) { filter 205 drivers/infiniband/hw/hfi1/mmu_rb.c if (handler->ops->filter(node, addr, len)) filter 65 drivers/infiniband/hw/hfi1/mmu_rb.h bool (*filter)(struct mmu_rb_node *node, unsigned long addr, filter 117 drivers/infiniband/hw/hfi1/user_sdma.c .filter = sdma_rb_filter, filter 1342 drivers/infiniband/hw/mlx4/main.c #define FIELDS_NOT_SUPPORTED(filter, field)\ filter 1343 drivers/infiniband/hw/mlx4/main.c memchr_inv((void *)&filter.field +\ filter 1344 drivers/infiniband/hw/mlx4/main.c sizeof(filter.field), 0,\ filter 1345 drivers/infiniband/hw/mlx4/main.c sizeof(filter) -\ filter 1346 drivers/infiniband/hw/mlx4/main.c offsetof(typeof(filter), field) -\ filter 1347 drivers/infiniband/hw/mlx4/main.c sizeof(filter.field)) filter 2620 drivers/infiniband/hw/mlx5/main.c #define FIELDS_NOT_SUPPORTED(filter, field)\ filter 2621 drivers/infiniband/hw/mlx5/main.c memchr_inv((void *)&filter.field +\ filter 2622 drivers/infiniband/hw/mlx5/main.c sizeof(filter.field), 0,\ filter 2623 drivers/infiniband/hw/mlx5/main.c sizeof(filter) -\ filter 2624 drivers/infiniband/hw/mlx5/main.c offsetof(typeof(filter), field) -\ filter 2625 drivers/infiniband/hw/mlx5/main.c sizeof(filter.field)) filter 160 drivers/infiniband/hw/usnic/usnic_fwd.c struct filter *filter) filter 165 drivers/infiniband/hw/usnic/usnic_fwd.c if (filter->type == FILTER_IPV4_5TUPLE) { filter 166 drivers/infiniband/hw/usnic/usnic_fwd.c if (!(filter->u.ipv4.flags & FILTER_FIELD_5TUP_DST_AD)) filter 168 drivers/infiniband/hw/usnic/usnic_fwd.c if (!(filter->u.ipv4.flags & FILTER_FIELD_5TUP_DST_PT)) filter 172 drivers/infiniband/hw/usnic/usnic_fwd.c else if (filter->u.ipv4.dst_port == 0) filter 174 drivers/infiniband/hw/usnic/usnic_fwd.c else if (ntohl(ufdev->inaddr) != filter->u.ipv4.dst_addr) filter 183 drivers/infiniband/hw/usnic/usnic_fwd.c static void fill_tlv(struct filter_tlv *tlv, struct filter *filter, filter 187 drivers/infiniband/hw/usnic/usnic_fwd.c tlv->length = sizeof(struct filter); filter 188 drivers/infiniband/hw/usnic/usnic_fwd.c *((struct filter *)&tlv->val) = *filter; filter 191 drivers/infiniband/hw/usnic/usnic_fwd.c sizeof(struct filter)); filter 198 drivers/infiniband/hw/usnic/usnic_fwd.c usnic_fwd_alloc_flow(struct usnic_fwd_dev *ufdev, struct filter *filter, filter 210 drivers/infiniband/hw/usnic/usnic_fwd.c tlv_size = (2*sizeof(struct filter_tlv) + sizeof(struct filter) + filter 224 drivers/infiniband/hw/usnic/usnic_fwd.c fill_tlv(tlv, filter, &uaction->action); filter 234 drivers/infiniband/hw/usnic/usnic_fwd.c status = validate_filter_locked(ufdev, filter); filter 91 drivers/infiniband/hw/usnic/usnic_fwd.h usnic_fwd_alloc_flow(struct usnic_fwd_dev *ufdev, struct filter *filter, filter 97 drivers/infiniband/hw/usnic/usnic_fwd.h static inline void usnic_fwd_init_usnic_filter(struct filter *filter, filter 100 drivers/infiniband/hw/usnic/usnic_fwd.h filter->type = FILTER_USNIC_ID; filter 101 drivers/infiniband/hw/usnic/usnic_fwd.h filter->u.usnic.ethtype = ETH_P_IBOE; filter 102 drivers/infiniband/hw/usnic/usnic_fwd.h filter->u.usnic.flags = FILTER_FIELD_USNIC_ETHTYPE | filter 105 drivers/infiniband/hw/usnic/usnic_fwd.h filter->u.usnic.proto_version = (USNIC_ROCE_GRH_VER << filter 108 drivers/infiniband/hw/usnic/usnic_fwd.h filter->u.usnic.usnic_id = usnic_id; filter 111 drivers/infiniband/hw/usnic/usnic_fwd.h static inline void usnic_fwd_init_udp_filter(struct filter *filter, filter 114 drivers/infiniband/hw/usnic/usnic_fwd.h filter->type = FILTER_IPV4_5TUPLE; filter 115 drivers/infiniband/hw/usnic/usnic_fwd.h filter->u.ipv4.flags = FILTER_FIELD_5TUP_PROTO; filter 116 drivers/infiniband/hw/usnic/usnic_fwd.h filter->u.ipv4.protocol = PROTO_UDP; filter 119 drivers/infiniband/hw/usnic/usnic_fwd.h filter->u.ipv4.flags |= FILTER_FIELD_5TUP_DST_AD; filter 120 drivers/infiniband/hw/usnic/usnic_fwd.h filter->u.ipv4.dst_addr = daddr; filter 124 drivers/infiniband/hw/usnic/usnic_fwd.h filter->u.ipv4.flags |= FILTER_FIELD_5TUP_DST_PT; filter 125 drivers/infiniband/hw/usnic/usnic_fwd.h filter->u.ipv4.dst_port = dport; filter 209 drivers/infiniband/hw/usnic/usnic_ib_qp_grp.c struct filter filter; filter 224 drivers/infiniband/hw/usnic/usnic_ib_qp_grp.c usnic_fwd_init_usnic_filter(&filter, port_num); filter 229 drivers/infiniband/hw/usnic/usnic_ib_qp_grp.c flow = usnic_fwd_alloc_flow(qp_grp->ufdev, &filter, &uaction); filter 269 drivers/infiniband/hw/usnic/usnic_ib_qp_grp.c struct filter filter; filter 297 drivers/infiniband/hw/usnic/usnic_ib_qp_grp.c usnic_fwd_init_udp_filter(&filter, addr, port_num); filter 302 drivers/infiniband/hw/usnic/usnic_ib_qp_grp.c flow = usnic_fwd_alloc_flow(qp_grp->ufdev, &filter, &uaction); filter 100 drivers/input/input.c if (handler->filter) { filter 102 drivers/input/input.c if (handler->filter(handle, v->type, v->code, v->value)) filter 1263 drivers/input/input.c if (handler->filter) filter 2398 drivers/input/input.c if (handler->filter) filter 309 drivers/input/keyboard/tegra-kbc.c static void tegra_kbc_setup_wakekeys(struct tegra_kbc *kbc, bool filter) filter 315 drivers/input/keyboard/tegra-kbc.c rst_val = (filter && !kbc->wakeup) ? ~0 : 0; filter 186 drivers/input/serio/i8042.c int i8042_install_filter(bool (*filter)(unsigned char data, unsigned char str, filter 199 drivers/input/serio/i8042.c i8042_platform_filter = filter; filter 207 drivers/input/serio/i8042.c int i8042_remove_filter(bool (*filter)(unsigned char data, unsigned char str, filter 215 drivers/input/serio/i8042.c if (i8042_platform_filter != filter) { filter 74 drivers/input/serio/i8042.h #define filter_dbg(filter, data, format, args...) \ filter 79 drivers/input/serio/i8042.h if (!filter || i8042_unmask_kbd_data) \ filter 92 drivers/input/serio/i8042.h #define filter_dbg(filter, data, format, args...) do { } while (0) filter 140 drivers/input/touchscreen/ads7846.c int (*filter)(void *data, int data_idx, int *val); filter 724 drivers/input/touchscreen/ads7846.c action = ts->filter(ts->filter_data, msg_idx, &val); filter 1322 drivers/input/touchscreen/ads7846.c if (pdata->filter != NULL) { filter 1328 drivers/input/touchscreen/ads7846.c ts->filter = pdata->filter; filter 1336 drivers/input/touchscreen/ads7846.c ts->filter = ads7846_debounce_filter; filter 1339 drivers/input/touchscreen/ads7846.c ts->filter = ads7846_no_filter; filter 155 drivers/macintosh/mac_hid.c .filter = mac_hid_emumouse_filter, filter 353 drivers/md/bcache/bset.h #define for_each_key_filter(b, k, iter, filter) \ filter 355 drivers/md/bcache/bset.h ((k) = bch_btree_iter_next_filter((iter), (b), filter));) filter 388 drivers/media/dvb-core/dmxdev.c struct dmx_section_filter *filter, filter 391 drivers/media/dvb-core/dmxdev.c struct dmxdev_filter *dmxdevfilter = filter->priv; filter 509 drivers/media/dvb-core/dmxdev.c static int dvb_dmxdev_feed_start(struct dmxdev_filter *filter) filter 514 drivers/media/dvb-core/dmxdev.c dvb_dmxdev_filter_state_set(filter, DMXDEV_STATE_GO); filter 516 drivers/media/dvb-core/dmxdev.c switch (filter->type) { filter 518 drivers/media/dvb-core/dmxdev.c return filter->feed.sec->start_filtering(filter->feed.sec); filter 520 drivers/media/dvb-core/dmxdev.c list_for_each_entry(feed, &filter->feed.ts, next) { filter 523 drivers/media/dvb-core/dmxdev.c dvb_dmxdev_feed_stop(filter); filter 537 drivers/media/dvb-core/dmxdev.c static int dvb_dmxdev_feed_restart(struct dmxdev_filter *filter) filter 540 drivers/media/dvb-core/dmxdev.c struct dmxdev *dmxdev = filter->dev; filter 541 drivers/media/dvb-core/dmxdev.c u16 pid = filter->params.sec.pid; filter 544 drivers/media/dvb-core/dmxdev.c if (dmxdev->filter[i].state >= DMXDEV_STATE_GO && filter 545 drivers/media/dvb-core/dmxdev.c dmxdev->filter[i].type == DMXDEV_TYPE_SEC && filter 546 drivers/media/dvb-core/dmxdev.c dmxdev->filter[i].params.sec.pid == pid) { filter 547 drivers/media/dvb-core/dmxdev.c dvb_dmxdev_feed_start(&dmxdev->filter[i]); filter 551 drivers/media/dvb-core/dmxdev.c filter->dev->demux->release_section_feed(dmxdev->demux, filter 552 drivers/media/dvb-core/dmxdev.c filter->feed.sec); filter 570 drivers/media/dvb-core/dmxdev.c if (dmxdevfilter->filter.sec) filter 573 drivers/media/dvb-core/dmxdev.c dmxdevfilter->filter.sec); filter 622 drivers/media/dvb-core/dmxdev.c struct dmxdev_filter *filter, filter 626 drivers/media/dvb-core/dmxdev.c struct dmx_pes_filter_params *para = &filter->params.pes; filter 656 drivers/media/dvb-core/dmxdev.c tsfeed->priv = filter; filter 673 drivers/media/dvb-core/dmxdev.c static int dvb_dmxdev_filter_start(struct dmxdev_filter *filter) filter 675 drivers/media/dvb-core/dmxdev.c struct dmxdev *dmxdev = filter->dev; filter 680 drivers/media/dvb-core/dmxdev.c if (filter->state < DMXDEV_STATE_SET) filter 683 drivers/media/dvb-core/dmxdev.c if (filter->state >= DMXDEV_STATE_GO) filter 684 drivers/media/dvb-core/dmxdev.c dvb_dmxdev_filter_stop(filter); filter 686 drivers/media/dvb-core/dmxdev.c if (!filter->buffer.data) { filter 687 drivers/media/dvb-core/dmxdev.c mem = vmalloc(filter->buffer.size); filter 690 drivers/media/dvb-core/dmxdev.c spin_lock_irq(&filter->dev->lock); filter 691 drivers/media/dvb-core/dmxdev.c filter->buffer.data = mem; filter 692 drivers/media/dvb-core/dmxdev.c spin_unlock_irq(&filter->dev->lock); filter 695 drivers/media/dvb-core/dmxdev.c dvb_ringbuffer_flush(&filter->buffer); filter 697 drivers/media/dvb-core/dmxdev.c switch (filter->type) { filter 700 drivers/media/dvb-core/dmxdev.c struct dmx_sct_filter_params *para = &filter->params.sec; filter 701 drivers/media/dvb-core/dmxdev.c struct dmx_section_filter **secfilter = &filter->filter.sec; filter 702 drivers/media/dvb-core/dmxdev.c struct dmx_section_feed **secfeed = &filter->feed.sec; filter 710 drivers/media/dvb-core/dmxdev.c if (dmxdev->filter[i].state >= DMXDEV_STATE_GO && filter 711 drivers/media/dvb-core/dmxdev.c dmxdev->filter[i].type == DMXDEV_TYPE_SEC && filter 712 drivers/media/dvb-core/dmxdev.c dmxdev->filter[i].params.sec.pid == para->pid) { filter 713 drivers/media/dvb-core/dmxdev.c *secfeed = dmxdev->filter[i].feed.sec; filter 734 drivers/media/dvb-core/dmxdev.c dvb_dmxdev_feed_restart(filter); filter 738 drivers/media/dvb-core/dmxdev.c dvb_dmxdev_feed_stop(filter); filter 743 drivers/media/dvb-core/dmxdev.c dvb_dmxdev_feed_restart(filter); filter 744 drivers/media/dvb-core/dmxdev.c filter->feed.sec->start_filtering(*secfeed); filter 749 drivers/media/dvb-core/dmxdev.c (*secfilter)->priv = filter; filter 752 drivers/media/dvb-core/dmxdev.c &(para->filter.filter[1]), DMX_FILTER_SIZE - 1); filter 754 drivers/media/dvb-core/dmxdev.c ¶->filter.mask[1], DMX_FILTER_SIZE - 1); filter 756 drivers/media/dvb-core/dmxdev.c ¶->filter.mode[1], DMX_FILTER_SIZE - 1); filter 758 drivers/media/dvb-core/dmxdev.c (*secfilter)->filter_value[0] = para->filter.filter[0]; filter 759 drivers/media/dvb-core/dmxdev.c (*secfilter)->filter_mask[0] = para->filter.mask[0]; filter 760 drivers/media/dvb-core/dmxdev.c (*secfilter)->filter_mode[0] = para->filter.mode[0]; filter 764 drivers/media/dvb-core/dmxdev.c filter->todo = 0; filter 766 drivers/media/dvb-core/dmxdev.c ret = filter->feed.sec->start_filtering(filter->feed.sec); filter 770 drivers/media/dvb-core/dmxdev.c dvb_dmxdev_filter_timer(filter); filter 774 drivers/media/dvb-core/dmxdev.c list_for_each_entry(feed, &filter->feed.ts, next) { filter 775 drivers/media/dvb-core/dmxdev.c ret = dvb_dmxdev_start_feed(dmxdev, filter, feed); filter 777 drivers/media/dvb-core/dmxdev.c dvb_dmxdev_filter_stop(filter); filter 786 drivers/media/dvb-core/dmxdev.c dvb_dmxdev_filter_state_set(filter, DMXDEV_STATE_GO); filter 797 drivers/media/dvb-core/dmxdev.c if (!dmxdev->filter) filter 804 drivers/media/dvb-core/dmxdev.c if (dmxdev->filter[i].state == DMXDEV_STATE_FREE) filter 812 drivers/media/dvb-core/dmxdev.c dmxdevfilter = &dmxdev->filter[i]; filter 864 drivers/media/dvb-core/dmxdev.c static inline void invert_mode(struct dmx_filter *filter) filter 869 drivers/media/dvb-core/dmxdev.c filter->mode[i] ^= 0xff; filter 873 drivers/media/dvb-core/dmxdev.c struct dmxdev_filter *filter, u16 pid) filter 877 drivers/media/dvb-core/dmxdev.c if ((filter->type != DMXDEV_TYPE_PES) || filter 878 drivers/media/dvb-core/dmxdev.c (filter->state < DMXDEV_STATE_SET)) filter 882 drivers/media/dvb-core/dmxdev.c if ((filter->params.pes.output != DMX_OUT_TSDEMUX_TAP) && filter 883 drivers/media/dvb-core/dmxdev.c (!list_empty(&filter->feed.ts))) filter 891 drivers/media/dvb-core/dmxdev.c list_add(&feed->next, &filter->feed.ts); filter 893 drivers/media/dvb-core/dmxdev.c if (filter->state >= DMXDEV_STATE_GO) filter 894 drivers/media/dvb-core/dmxdev.c return dvb_dmxdev_start_feed(dmxdev, filter, feed); filter 900 drivers/media/dvb-core/dmxdev.c struct dmxdev_filter *filter, u16 pid) filter 904 drivers/media/dvb-core/dmxdev.c if ((filter->type != DMXDEV_TYPE_PES) || filter 905 drivers/media/dvb-core/dmxdev.c (filter->state < DMXDEV_STATE_SET)) filter 908 drivers/media/dvb-core/dmxdev.c list_for_each_entry_safe(feed, tmp, &filter->feed.ts, next) { filter 911 drivers/media/dvb-core/dmxdev.c filter->dev->demux->release_ts_feed(filter->dev->demux, filter 933 drivers/media/dvb-core/dmxdev.c invert_mode(&dmxdevfilter->params.sec.filter); filter 1421 drivers/media/dvb-core/dmxdev.c dmxdev->filter = vmalloc(array_size(sizeof(struct dmxdev_filter), filter 1423 drivers/media/dvb-core/dmxdev.c if (!dmxdev->filter) filter 1429 drivers/media/dvb-core/dmxdev.c dmxdev->filter[i].dev = dmxdev; filter 1430 drivers/media/dvb-core/dmxdev.c dmxdev->filter[i].buffer.data = NULL; filter 1431 drivers/media/dvb-core/dmxdev.c dvb_dmxdev_filter_state_set(&dmxdev->filter[i], filter 1462 drivers/media/dvb-core/dmxdev.c vfree(dmxdev->filter); filter 1463 drivers/media/dvb-core/dmxdev.c dmxdev->filter = NULL; filter 151 drivers/media/dvb-core/dvb_demux.c u8 xor = f->filter.filter_value[i] ^ feed->feed.sec.secbuf[i]; filter 163 drivers/media/dvb-core/dvb_demux.c NULL, 0, &f->filter, &feed->buffer_flags); filter 169 drivers/media/dvb-core/dvb_demux.c struct dvb_demux_filter *f = feed->filter; filter 631 drivers/media/dvb-core/dvb_demux.c if (demux->filter[i].state == DMX_STATE_FREE) filter 637 drivers/media/dvb-core/dvb_demux.c demux->filter[i].state = DMX_STATE_ALLOCATED; filter 639 drivers/media/dvb-core/dvb_demux.c return &demux->filter[i]; filter 830 drivers/media/dvb-core/dvb_demux.c if (!(feed->filter = dvb_dmx_filter_alloc(demux))) { filter 836 drivers/media/dvb-core/dvb_demux.c feed->filter->type = DMX_TYPE_TS; filter 837 drivers/media/dvb-core/dvb_demux.c feed->filter->feed = feed; filter 838 drivers/media/dvb-core/dvb_demux.c feed->filter->state = DMX_STATE_READY; filter 859 drivers/media/dvb-core/dvb_demux.c feed->filter->state = DMX_STATE_FREE; filter 877 drivers/media/dvb-core/dvb_demux.c struct dmx_section_filter **filter) filter 893 drivers/media/dvb-core/dvb_demux.c *filter = &dvbdmxfilter->filter; filter 894 drivers/media/dvb-core/dvb_demux.c (*filter)->parent = feed; filter 895 drivers/media/dvb-core/dvb_demux.c (*filter)->priv = NULL; filter 899 drivers/media/dvb-core/dvb_demux.c dvbdmxfilter->next = dvbdmxfeed->filter; filter 900 drivers/media/dvb-core/dvb_demux.c dvbdmxfeed->filter = dvbdmxfilter; filter 936 drivers/media/dvb-core/dvb_demux.c if (!(f = dvbdmxfeed->filter)) filter 939 drivers/media/dvb-core/dvb_demux.c sf = &f->filter; filter 965 drivers/media/dvb-core/dvb_demux.c if (!dvbdmxfeed->filter) { filter 1021 drivers/media/dvb-core/dvb_demux.c struct dmx_section_filter *filter) filter 1023 drivers/media/dvb-core/dvb_demux.c struct dvb_demux_filter *dvbdmxfilter = (struct dvb_demux_filter *)filter, *f; filter 1043 drivers/media/dvb-core/dvb_demux.c f = dvbdmxfeed->filter; filter 1046 drivers/media/dvb-core/dvb_demux.c dvbdmxfeed->filter = dvbdmxfilter->next; filter 1082 drivers/media/dvb-core/dvb_demux.c dvbdmxfeed->filter = NULL; filter 1250 drivers/media/dvb-core/dvb_demux.c dvbdemux->filter = vmalloc(array_size(sizeof(struct dvb_demux_filter), filter 1253 drivers/media/dvb-core/dvb_demux.c if (!dvbdemux->filter) filter 1259 drivers/media/dvb-core/dvb_demux.c vfree(dvbdemux->filter); filter 1260 drivers/media/dvb-core/dvb_demux.c dvbdemux->filter = NULL; filter 1264 drivers/media/dvb-core/dvb_demux.c dvbdemux->filter[i].state = DMX_STATE_FREE; filter 1265 drivers/media/dvb-core/dvb_demux.c dvbdemux->filter[i].index = i; filter 1323 drivers/media/dvb-core/dvb_demux.c vfree(dvbdemux->filter); filter 985 drivers/media/dvb-core/dvb_net.c struct dmx_section_filter *filter, u32 *buffer_flags) filter 987 drivers/media/dvb-core/dvb_net.c struct net_device *dev = filter->priv; filter 126 drivers/media/dvb-frontends/tda8083.c u8 filter; filter 133 drivers/media/dvb-frontends/tda8083.c filter = 0; filter 135 drivers/media/dvb-frontends/tda8083.c filter = 2; filter 137 drivers/media/dvb-frontends/tda8083.c filter = 3; filter 150 drivers/media/dvb-frontends/tda8083.c tda8083_writereg (state, 0x05, filter); filter 1756 drivers/media/i2c/cx25840/cx25840-core.c int filter; filter 1825 drivers/media/i2c/cx25840/cx25840-core.c filter = 0; filter 1827 drivers/media/i2c/cx25840/cx25840-core.c filter = 1; filter 1829 drivers/media/i2c/cx25840/cx25840-core.c filter = 2; filter 1831 drivers/media/i2c/cx25840/cx25840-core.c filter = 3; filter 1842 drivers/media/i2c/cx25840/cx25840-core.c cx25840_write4(client, 0x438, vsc | (1 << 19) | (filter << 16)); filter 1851 drivers/media/i2c/cx25840/cx25840-core.c cx25840_write(client, 0x41e, 0x8 | filter); filter 939 drivers/media/pci/cx18/cx18-av-core.c int HSC, VSC, Vsrc, Hsrc, filter, Vlines; filter 985 drivers/media/pci/cx18/cx18-av-core.c filter = 0; filter 987 drivers/media/pci/cx18/cx18-av-core.c filter = 1; filter 989 drivers/media/pci/cx18/cx18-av-core.c filter = 2; filter 991 drivers/media/pci/cx18/cx18-av-core.c filter = 3; filter 1005 drivers/media/pci/cx18/cx18-av-core.c cx18_av_write(cx, 0x41e, 0x8 | filter); filter 277 drivers/media/pci/saa7134/saa7134-dvb.c u8 band, cp, filter; filter 319 drivers/media/pci/saa7134/saa7134-dvb.c filter = 0; filter 323 drivers/media/pci/saa7134/saa7134-dvb.c filter = 0; filter 327 drivers/media/pci/saa7134/saa7134-dvb.c filter = 1; filter 343 drivers/media/pci/saa7134/saa7134-dvb.c tuner_buf[3] = (cp << 5) | (filter << 3) | band; filter 296 drivers/media/pci/ttpci/av7110.c struct dmx_section_filter *filter = &dvbdmxfilter->filter; filter 301 drivers/media/pci/ttpci/av7110.c xor = filter->filter_value[i] ^ buffer1[i]; filter 309 drivers/media/pci/ttpci/av7110.c &dvbdmxfilter->filter, NULL); filter 787 drivers/media/pci/ttpci/av7110.c buf[4] = (dvbdmxfilter->filter.filter_value[0] << 8) | filter 791 drivers/media/pci/ttpci/av7110.c (dvbdmxfilter->filter.filter_value[i] << 8) | filter 876 drivers/media/pci/ttpci/av7110.c ret = StartHWFilter(dvbdmxfeed->filter); filter 927 drivers/media/pci/ttpci/av7110.c ret = StopHWFilter(dvbdmxfeed->filter); filter 979 drivers/media/pci/ttpci/av7110.c ret = StartHWFilter(feed->filter); filter 992 drivers/media/pci/ttpci/av7110.c if (demux->filter[i].state != DMX_STATE_READY) filter 994 drivers/media/pci/ttpci/av7110.c if (demux->filter[i].type != DMX_TYPE_SEC) filter 996 drivers/media/pci/ttpci/av7110.c if (demux->filter[i].filter.parent != &feed->feed.sec) filter 998 drivers/media/pci/ttpci/av7110.c demux->filter[i].state = DMX_STATE_GO; filter 1000 drivers/media/pci/ttpci/av7110.c ret = StartHWFilter(&demux->filter[i]); filter 1032 drivers/media/pci/ttpci/av7110.c ret = StopHWFilter(feed->filter); filter 1042 drivers/media/pci/ttpci/av7110.c if (demux->filter[i].state == DMX_STATE_GO && filter 1043 drivers/media/pci/ttpci/av7110.c demux->filter[i].filter.parent == &feed->feed.sec) { filter 1044 drivers/media/pci/ttpci/av7110.c demux->filter[i].state = DMX_STATE_READY; filter 1046 drivers/media/pci/ttpci/av7110.c rc = StopHWFilter(&demux->filter[i]); filter 1080 drivers/media/pci/ttpci/av7110.c if (dvbdmx->filter[j].type != DMX_TYPE_SEC) filter 1082 drivers/media/pci/ttpci/av7110.c if (dvbdmx->filter[j].filter.parent != &feed->feed.sec) filter 1084 drivers/media/pci/ttpci/av7110.c if (dvbdmx->filter[j].state == DMX_STATE_GO) filter 1085 drivers/media/pci/ttpci/av7110.c dvbdmx->filter[j].state = DMX_STATE_READY; filter 692 drivers/media/pci/ttpci/budget-av.c u8 band, cp, filter; filter 734 drivers/media/pci/ttpci/budget-av.c filter = 0; filter 738 drivers/media/pci/ttpci/budget-av.c filter = 0; filter 742 drivers/media/pci/ttpci/budget-av.c filter = 1; filter 757 drivers/media/pci/ttpci/budget-av.c tuner_buf[3] = (cp << 5) | (filter << 3) | band; filter 735 drivers/media/pci/ttpci/budget-ci.c u8 band, cp, filter; filter 778 drivers/media/pci/ttpci/budget-ci.c filter = 0; filter 783 drivers/media/pci/ttpci/budget-ci.c filter = 0; filter 788 drivers/media/pci/ttpci/budget-ci.c filter = 1; filter 803 drivers/media/pci/ttpci/budget-ci.c tuner_buf[3] = (cp << 5) | (filter << 3) | band; filter 854 drivers/media/pci/ttpci/budget-ci.c u8 band, cp, filter; filter 891 drivers/media/pci/ttpci/budget-ci.c filter = 1; filter 900 drivers/media/pci/ttpci/budget-ci.c tuner_buf[3] = (cp << 5) | (filter << 3) | band; filter 261 drivers/media/rc/img-ir/img-ir-hw.c static u32 img_ir_free_timing_dynamic(u32 st_ft, struct img_ir_filter *filter) filter 266 drivers/media/rc/img-ir/img-ir-hw.c newminlen = filter->minlen & -2; filter 267 drivers/media/rc/img-ir/img-ir-hw.c newmaxlen = (filter->maxlen + 1) & -2; filter 394 drivers/media/rc/img-ir/img-ir-hw.c struct img_ir_filter *filter) filter 396 drivers/media/rc/img-ir/img-ir-hw.c if (filter) { filter 398 drivers/media/rc/img-ir/img-ir-hw.c (unsigned long long)filter->data, filter 399 drivers/media/rc/img-ir/img-ir-hw.c (unsigned long long)filter->mask); filter 400 drivers/media/rc/img-ir/img-ir-hw.c img_ir_write(priv, IMG_IR_IRQ_MSG_DATA_LW, (u32)filter->data); filter 401 drivers/media/rc/img-ir/img-ir-hw.c img_ir_write(priv, IMG_IR_IRQ_MSG_DATA_UP, (u32)(filter->data filter 403 drivers/media/rc/img-ir/img-ir-hw.c img_ir_write(priv, IMG_IR_IRQ_MSG_MASK_LW, (u32)filter->mask); filter 404 drivers/media/rc/img-ir/img-ir-hw.c img_ir_write(priv, IMG_IR_IRQ_MSG_MASK_UP, (u32)(filter->mask filter 415 drivers/media/rc/img-ir/img-ir-hw.c struct img_ir_filter *filter) filter 421 drivers/media/rc/img-ir/img-ir-hw.c if (filter) { filter 423 drivers/media/rc/img-ir/img-ir-hw.c hw->filters[RC_FILTER_NORMAL] = *filter; filter 435 drivers/media/rc/img-ir/img-ir-hw.c img_ir_write_filter(priv, filter); filter 443 drivers/media/rc/img-ir/img-ir-hw.c struct img_ir_filter *filter) filter 446 drivers/media/rc/img-ir/img-ir-hw.c if (filter) { filter 448 drivers/media/rc/img-ir/img-ir-hw.c hw->filters[RC_FILTER_WAKEUP] = *filter; filter 462 drivers/media/rc/img-ir/img-ir-hw.c struct img_ir_filter filter, *filter_ptr = &filter; filter 479 drivers/media/rc/img-ir/img-ir-hw.c if (!hw->decoder || !hw->decoder->filter) { filter 485 drivers/media/rc/img-ir/img-ir-hw.c filter.minlen = 0; filter 486 drivers/media/rc/img-ir/img-ir-hw.c filter.maxlen = ~0; filter 489 drivers/media/rc/img-ir/img-ir-hw.c ret = hw->decoder->filter(sc_filter, &filter, filter 493 drivers/media/rc/img-ir/img-ir-hw.c ret = hw->decoder->filter(sc_filter, &filter, filter 500 drivers/media/rc/img-ir/img-ir-hw.c (unsigned long long)filter.data, filter 501 drivers/media/rc/img-ir/img-ir-hw.c (unsigned long long)filter.mask); filter 690 drivers/media/rc/img-ir/img-ir-hw.c if (!hw->decoder || !hw->decoder->filter) filter 177 drivers/media/rc/img-ir/img-ir-hw.h int (*filter)(const struct rc_scancode_filter *in, filter 83 drivers/media/rc/img-ir/img-ir-jvc.c .filter = img_ir_jvc_filter, filter 172 drivers/media/rc/img-ir/img-ir-nec.c .filter = img_ir_nec_filter, filter 83 drivers/media/rc/img-ir/img-ir-rc5.c .filter = img_ir_rc5_filter, filter 112 drivers/media/rc/img-ir/img-ir-rc6.c .filter = img_ir_rc6_filter, filter 124 drivers/media/rc/img-ir/img-ir-sanyo.c .filter = img_ir_sanyo_filter, filter 101 drivers/media/rc/img-ir/img-ir-sharp.c .filter = img_ir_sharp_filter, filter 160 drivers/media/rc/img-ir/img-ir-sony.c .filter = img_ir_sony_filter, filter 908 drivers/media/rc/rc-main.c struct rc_scancode_filter *filter) filter 910 drivers/media/rc/rc-main.c u32 mask, s = filter->data; filter 921 drivers/media/rc/rc-main.c filter->data &= mask; filter 922 drivers/media/rc/rc-main.c filter->mask &= mask; filter 927 drivers/media/rc/rc-main.c if (dev->encode_wakeup && filter->mask != 0 && filter->mask != mask) filter 1245 drivers/media/rc/rc-main.c struct rc_scancode_filter *filter; filter 1251 drivers/media/rc/rc-main.c filter = &dev->scancode_filter; filter 1289 drivers/media/rc/rc-main.c if (dev->s_filter && filter->mask) { filter 1291 drivers/media/rc/rc-main.c rc = dev->s_filter(dev, filter); filter 1296 drivers/media/rc/rc-main.c filter->data = 0; filter 1297 drivers/media/rc/rc-main.c filter->mask = 0; filter 1298 drivers/media/rc/rc-main.c dev->s_filter(dev, filter); filter 1332 drivers/media/rc/rc-main.c struct rc_scancode_filter *filter; filter 1338 drivers/media/rc/rc-main.c filter = &dev->scancode_filter; filter 1340 drivers/media/rc/rc-main.c filter = &dev->scancode_wakeup_filter; filter 1343 drivers/media/rc/rc-main.c val = filter->mask; filter 1345 drivers/media/rc/rc-main.c val = filter->data; filter 1376 drivers/media/rc/rc-main.c struct rc_scancode_filter new_filter, *filter; filter 1379 drivers/media/rc/rc-main.c int (*set_filter)(struct rc_dev *dev, struct rc_scancode_filter *filter); filter 1387 drivers/media/rc/rc-main.c filter = &dev->scancode_filter; filter 1390 drivers/media/rc/rc-main.c filter = &dev->scancode_wakeup_filter; filter 1398 drivers/media/rc/rc-main.c new_filter = *filter; filter 1429 drivers/media/rc/rc-main.c *filter = new_filter; filter 1598 drivers/media/rc/rc-main.c static RC_FILTER_ATTR(filter, S_IRUGO|S_IWUSR, filter 871 drivers/media/rc/winbond-cir.c wbcir_set_wakeup_filter(struct rc_dev *rc, struct rc_scancode_filter *filter) filter 115 drivers/media/usb/as102/as102_drv.c struct as10x_ts_filter filter; filter 117 drivers/media/usb/as102/as102_drv.c filter.type = TS_PID_TYPE_TS; filter 118 drivers/media/usb/as102/as102_drv.c filter.idx = 0xFF; filter 119 drivers/media/usb/as102/as102_drv.c filter.pid = pid; filter 121 drivers/media/usb/as102/as102_drv.c ret = as10x_cmd_add_PID_filter(bus_adap, &filter); filter 124 drivers/media/usb/as102/as102_drv.c index, filter.idx, filter.pid, ret); filter 497 drivers/media/usb/as102/as10x_cmd.h struct as10x_ts_filter *filter); filter 19 drivers/media/usb/as102/as10x_cmd_stream.c struct as10x_ts_filter *filter) filter 34 drivers/media/usb/as102/as10x_cmd_stream.c pcmd->body.add_pid_filter.req.pid = cpu_to_le16(filter->pid); filter 35 drivers/media/usb/as102/as10x_cmd_stream.c pcmd->body.add_pid_filter.req.stream_type = filter->type; filter 37 drivers/media/usb/as102/as10x_cmd_stream.c if (filter->idx < 16) filter 38 drivers/media/usb/as102/as10x_cmd_stream.c pcmd->body.add_pid_filter.req.idx = filter->idx; filter 61 drivers/media/usb/as102/as10x_cmd_stream.c filter->idx = prsp->body.add_pid_filter.rsp.filter_id; filter 339 drivers/media/usb/dvb-usb/m920x.c int i, ret = 0, filter = 0; filter 360 drivers/media/usb/dvb-usb/m920x.c if ((ret = m920x_set_filter(adap->dev, ep, filter + 2, m->filters[adap->id][i])) != 0) filter 363 drivers/media/usb/dvb-usb/m920x.c filter++; filter 367 drivers/media/usb/ttusb-budget/dvb-ttusb-budget.c int associated_chan, u8 filter[8], u8 mask[8]) filter 372 drivers/media/usb/ttusb-budget/dvb-ttusb-budget.c filter[0], filter[1], filter[2], filter[3], filter 373 drivers/media/usb/ttusb-budget/dvb-ttusb-budget.c filter[4], filter[5], filter[6], filter[7], filter 374 drivers/media/usb/ttusb-budget/dvb-ttusb-budget.c filter[8], filter[9], filter[10], filter[11], filter 1069 drivers/media/usb/ttusb-budget/dvb-ttusb-budget.c u8 band, cp, filter; filter 1100 drivers/media/usb/ttusb-budget/dvb-ttusb-budget.c filter = 0; filter 1105 drivers/media/usb/ttusb-budget/dvb-ttusb-budget.c filter = 0; filter 1110 drivers/media/usb/ttusb-budget/dvb-ttusb-budget.c filter = 1; filter 1125 drivers/media/usb/ttusb-budget/dvb-ttusb-budget.c tuner_buf[3] = (cp << 5) | (filter << 3) | band; filter 1396 drivers/media/usb/ttusb-budget/dvb-ttusb-budget.c u8 band, cp, filter; filter 1413 drivers/media/usb/ttusb-budget/dvb-ttusb-budget.c filter = 1; filter 1423 drivers/media/usb/ttusb-budget/dvb-ttusb-budget.c tuner_buf[3] = (cp << 5) | (filter << 3) | band; filter 164 drivers/media/usb/ttusb-dec/ttusb_dec.c struct dvb_demux_filter *filter; filter 564 drivers/media/usb/ttusb-dec/ttusb_dec.c struct dvb_demux_filter *filter = NULL; filter 574 drivers/media/usb/ttusb-dec/ttusb_dec.c filter = finfo->filter; filter 580 drivers/media/usb/ttusb-dec/ttusb_dec.c if (filter) filter 581 drivers/media/usb/ttusb-dec/ttusb_dec.c filter->feed->cb.sec(&packet[2], length - 2, NULL, 0, filter 582 drivers/media/usb/ttusb-dec/ttusb_dec.c &filter->filter, NULL); filter 994 drivers/media/usb/ttusb-dec/ttusb_dec.c dec->video_filter = dvbdmxfeed->filter; filter 1001 drivers/media/usb/ttusb-dec/ttusb_dec.c dec->audio_filter = dvbdmxfeed->filter; filter 1058 drivers/media/usb/ttusb-dec/ttusb_dec.c memcpy(&b0[5], &dvbdmxfeed->filter->filter.filter_value[0], 1); filter 1070 drivers/media/usb/ttusb-dec/ttusb_dec.c finfo->filter = dvbdmxfeed->filter; filter 2679 drivers/media/v4l2-core/v4l2-ctrls.c bool (*filter)(const struct v4l2_ctrl *ctrl), filter 2701 drivers/media/v4l2-core/v4l2-ctrls.c if (filter && !filter(ctrl)) filter 1134 drivers/mmc/host/mxcmmc.c host->dma = dma_request_channel(mask, filter, host); filter 38 drivers/mmc/host/renesas_sdhi.h bool (*filter)(struct dma_chan *chan, void *arg); filter 757 drivers/mmc/host/renesas_sdhi_core.c dma_priv->filter = shdma_chan_filter; filter 359 drivers/mmc/host/renesas_sdhi_sys_dmac.c priv->dma_priv.filter, pdata->chan_priv_tx, filter 379 drivers/mmc/host/renesas_sdhi_sys_dmac.c priv->dma_priv.filter, pdata->chan_priv_rx, filter 1066 drivers/mtd/nand/raw/fsmc_nand.c host->read_dma_chan = dma_request_channel(mask, filter, NULL); filter 1071 drivers/mtd/nand/raw/fsmc_nand.c host->write_dma_chan = dma_request_channel(mask, filter, NULL); filter 170 drivers/net/can/usb/esd_usb2.c struct id_filter_msg filter; filter 632 drivers/net/can/usb/esd_usb2.c msg->msg.filter.net = priv->index; filter 633 drivers/net/can/usb/esd_usb2.c msg->msg.filter.option = ESD_ID_ENABLE; /* start with segment 0 */ filter 635 drivers/net/can/usb/esd_usb2.c msg->msg.filter.mask[i] = cpu_to_le32(0xffffffff); filter 637 drivers/net/can/usb/esd_usb2.c msg->msg.filter.mask[ESD_MAX_ID_SEGMENT] = cpu_to_le32(0x00000001); filter 843 drivers/net/can/usb/esd_usb2.c msg->msg.filter.net = priv->index; filter 844 drivers/net/can/usb/esd_usb2.c msg->msg.filter.option = ESD_ID_ENABLE; /* start with segment 0 */ filter 846 drivers/net/can/usb/esd_usb2.c msg->msg.filter.mask[i] = 0; filter 864 drivers/net/ethernet/3com/typhoon.c __le16 filter; filter 866 drivers/net/ethernet/3com/typhoon.c filter = TYPHOON_RX_FILTER_DIRECTED | TYPHOON_RX_FILTER_BROADCAST; filter 868 drivers/net/ethernet/3com/typhoon.c filter |= TYPHOON_RX_FILTER_PROMISCOUS; filter 872 drivers/net/ethernet/3com/typhoon.c filter |= TYPHOON_RX_FILTER_ALL_MCAST; filter 889 drivers/net/ethernet/3com/typhoon.c filter |= TYPHOON_RX_FILTER_MCAST_HASH; filter 893 drivers/net/ethernet/3com/typhoon.c xp_cmd.parm1 = filter; filter 3666 drivers/net/ethernet/agere/et131x.c int filter = adapter->packet_filter; filter 3679 drivers/net/ethernet/agere/et131x.c if ((filter & ET131X_PACKET_TYPE_PROMISCUOUS) || filter == 0) filter 3686 drivers/net/ethernet/agere/et131x.c if (filter & ET131X_PACKET_TYPE_ALL_MULTICAST) filter 3695 drivers/net/ethernet/agere/et131x.c if (filter & ET131X_PACKET_TYPE_DIRECTED) { filter 3702 drivers/net/ethernet/agere/et131x.c if (filter & ET131X_PACKET_TYPE_BROADCAST) { filter 223 drivers/net/ethernet/amd/7990.c ib->filter[0] = 0; filter 224 drivers/net/ethernet/amd/7990.c ib->filter[1] = 0; filter 602 drivers/net/ethernet/amd/7990.c volatile u16 *mcast_table = (u16 *)&ib->filter; filter 608 drivers/net/ethernet/amd/7990.c ib->filter[0] = 0xffffffff; filter 609 drivers/net/ethernet/amd/7990.c ib->filter[1] = 0xffffffff; filter 613 drivers/net/ethernet/amd/7990.c ib->filter[0] = 0; filter 614 drivers/net/ethernet/amd/7990.c ib->filter[1] = 0; filter 76 drivers/net/ethernet/amd/7990.h volatile unsigned filter[2]; /* Multicast filter (64 bits) */ filter 87 drivers/net/ethernet/amd/a2065.c unsigned filter[2]; /* Multicast filter. */ filter 218 drivers/net/ethernet/amd/a2065.c ib->filter[0] = 0; filter 219 drivers/net/ethernet/amd/a2065.c ib->filter[1] = 0; filter 588 drivers/net/ethernet/amd/a2065.c volatile u16 *mcast_table = (u16 *)&ib->filter; filter 594 drivers/net/ethernet/amd/a2065.c ib->filter[0] = 0xffffffff; filter 595 drivers/net/ethernet/amd/a2065.c ib->filter[1] = 0xffffffff; filter 599 drivers/net/ethernet/amd/a2065.c ib->filter[0] = 0; filter 600 drivers/net/ethernet/amd/a2065.c ib->filter[1] = 0; filter 148 drivers/net/ethernet/amd/atarilance.c unsigned filter[2]; /* Multicast filter (unused). */ filter 615 drivers/net/ethernet/amd/atarilance.c MEM->init.filter[0] = 0x00000000; filter 616 drivers/net/ethernet/amd/atarilance.c MEM->init.filter[1] = 0x00000000; filter 211 drivers/net/ethernet/amd/declance.c unsigned short filter[4]; /* multicast filter */ filter 798 drivers/net/ethernet/amd/declance.c *lib_ptr(ib, filter[0], lp->type) = 0; filter 799 drivers/net/ethernet/amd/declance.c *lib_ptr(ib, filter[1], lp->type) = 0; filter 800 drivers/net/ethernet/amd/declance.c *lib_ptr(ib, filter[2], lp->type) = 0; filter 801 drivers/net/ethernet/amd/declance.c *lib_ptr(ib, filter[3], lp->type) = 0; filter 952 drivers/net/ethernet/amd/declance.c *lib_ptr(ib, filter[0], lp->type) = 0xffff; filter 953 drivers/net/ethernet/amd/declance.c *lib_ptr(ib, filter[1], lp->type) = 0xffff; filter 954 drivers/net/ethernet/amd/declance.c *lib_ptr(ib, filter[2], lp->type) = 0xffff; filter 955 drivers/net/ethernet/amd/declance.c *lib_ptr(ib, filter[3], lp->type) = 0xffff; filter 959 drivers/net/ethernet/amd/declance.c *lib_ptr(ib, filter[0], lp->type) = 0; filter 960 drivers/net/ethernet/amd/declance.c *lib_ptr(ib, filter[1], lp->type) = 0; filter 961 drivers/net/ethernet/amd/declance.c *lib_ptr(ib, filter[2], lp->type) = 0; filter 962 drivers/net/ethernet/amd/declance.c *lib_ptr(ib, filter[3], lp->type) = 0; filter 968 drivers/net/ethernet/amd/declance.c *lib_ptr(ib, filter[crc >> 4], lp->type) |= 1 << (crc & 0xf); filter 229 drivers/net/ethernet/amd/lance.c u32 filter[2]; /* Multicast filter (unused). */ filter 572 drivers/net/ethernet/amd/lance.c lp->init_block.filter[0] = 0x00000000; filter 573 drivers/net/ethernet/amd/lance.c lp->init_block.filter[1] = 0x00000000; filter 895 drivers/net/ethernet/amd/lance.c lp->init_block.filter[0] = 0x00000000; filter 896 drivers/net/ethernet/amd/lance.c lp->init_block.filter[1] = 0x00000000; filter 569 drivers/net/ethernet/amd/ni65.c static void ni65_init_lance(struct priv *p,unsigned char *daddr,int filter,int mode) filter 580 drivers/net/ethernet/amd/ni65.c p->ib.filter[i] = filter; filter 92 drivers/net/ethernet/amd/ni65.h unsigned char filter[8]; filter 238 drivers/net/ethernet/amd/pcnet32.c __le32 filter[2]; filter 1910 drivers/net/ethernet/amd/pcnet32.c lp->init_block->filter[0] = 0x00000000; filter 1911 drivers/net/ethernet/amd/pcnet32.c lp->init_block->filter[1] = 0x00000000; filter 2687 drivers/net/ethernet/amd/pcnet32.c volatile __le16 *mcast_table = (__le16 *)ib->filter; filter 2695 drivers/net/ethernet/amd/pcnet32.c ib->filter[0] = cpu_to_le32(~0U); filter 2696 drivers/net/ethernet/amd/pcnet32.c ib->filter[1] = cpu_to_le32(~0U); filter 2704 drivers/net/ethernet/amd/pcnet32.c ib->filter[0] = 0; filter 2705 drivers/net/ethernet/amd/pcnet32.c ib->filter[1] = 0; filter 130 drivers/net/ethernet/amd/sun3lance.c unsigned int filter[2]; /* Multicast filter (unused). */ filter 394 drivers/net/ethernet/amd/sun3lance.c MEM->init.filter[0] = 0x00000000; filter 395 drivers/net/ethernet/amd/sun3lance.c MEM->init.filter[1] = 0x00000000; filter 492 drivers/net/ethernet/amd/sun3lance.c MEM->init.filter[0] = 0x00000000; filter 493 drivers/net/ethernet/amd/sun3lance.c MEM->init.filter[1] = 0x00000000; filter 218 drivers/net/ethernet/amd/sunlance.c u32 filter[2]; /* Multicast filter. */ filter 943 drivers/net/ethernet/amd/sunlance.c sbus_writel(0, &ib->filter[0]); filter 944 drivers/net/ethernet/amd/sunlance.c sbus_writel(0, &ib->filter[1]); filter 948 drivers/net/ethernet/amd/sunlance.c ib->filter [0] = 0; filter 949 drivers/net/ethernet/amd/sunlance.c ib->filter [1] = 0; filter 1179 drivers/net/ethernet/amd/sunlance.c sbus_writel(val, &ib->filter[0]); filter 1180 drivers/net/ethernet/amd/sunlance.c sbus_writel(val, &ib->filter[1]); filter 1183 drivers/net/ethernet/amd/sunlance.c ib->filter [0] = val; filter 1184 drivers/net/ethernet/amd/sunlance.c ib->filter [1] = val; filter 1196 drivers/net/ethernet/amd/sunlance.c u16 __iomem *mcast_table = (u16 __iomem *) &ib->filter; filter 1202 drivers/net/ethernet/amd/sunlance.c u16 *mcast_table = (u16 *) &ib->filter; filter 493 drivers/net/ethernet/aquantia/atlantic/hw_atl/hw_atl_llh.c u32 filter) filter 495 drivers/net/ethernet/aquantia/atlantic/hw_atl/hw_atl_llh.c aq_hw_write_reg(aq_hw, HW_ATL_RX_FLR_MCST_FLR_ADR(filter), filter 675 drivers/net/ethernet/aquantia/atlantic/hw_atl/hw_atl_llh.c u32 filter) filter 677 drivers/net/ethernet/aquantia/atlantic/hw_atl/hw_atl_llh.c aq_hw_write_reg_bit(aq_hw, HW_ATL_RPFL2MC_ENF_ADR(filter), filter 693 drivers/net/ethernet/aquantia/atlantic/hw_atl/hw_atl_llh.c u32 filter) filter 695 drivers/net/ethernet/aquantia/atlantic/hw_atl/hw_atl_llh.c aq_hw_write_reg_bit(aq_hw, HW_ATL_RPFL2UC_ACTF_ADR(filter), filter 701 drivers/net/ethernet/aquantia/atlantic/hw_atl/hw_atl_llh.c u32 filter) filter 703 drivers/net/ethernet/aquantia/atlantic/hw_atl/hw_atl_llh.c aq_hw_write_reg_bit(aq_hw, HW_ATL_RPFL2UC_ENF_ADR(filter), filter 710 drivers/net/ethernet/aquantia/atlantic/hw_atl/hw_atl_llh.c u32 filter) filter 712 drivers/net/ethernet/aquantia/atlantic/hw_atl/hw_atl_llh.c aq_hw_write_reg(aq_hw, HW_ATL_RPFL2UC_DAFLSW_ADR(filter), filter 718 drivers/net/ethernet/aquantia/atlantic/hw_atl/hw_atl_llh.c u32 filter) filter 720 drivers/net/ethernet/aquantia/atlantic/hw_atl/hw_atl_llh.c aq_hw_write_reg_bit(aq_hw, HW_ATL_RPFL2UC_DAFMSW_ADR(filter), filter 875 drivers/net/ethernet/aquantia/atlantic/hw_atl/hw_atl_llh.c u32 filter) filter 877 drivers/net/ethernet/aquantia/atlantic/hw_atl/hw_atl_llh.c aq_hw_write_reg_bit(aq_hw, HW_ATL_RPF_VL_EN_F_ADR(filter), filter 884 drivers/net/ethernet/aquantia/atlantic/hw_atl/hw_atl_llh.c u32 filter) filter 886 drivers/net/ethernet/aquantia/atlantic/hw_atl/hw_atl_llh.c aq_hw_write_reg_bit(aq_hw, HW_ATL_RPF_VL_ACT_F_ADR(filter), filter 893 drivers/net/ethernet/aquantia/atlantic/hw_atl/hw_atl_llh.c u32 filter) filter 895 drivers/net/ethernet/aquantia/atlantic/hw_atl/hw_atl_llh.c aq_hw_write_reg_bit(aq_hw, HW_ATL_RPF_VL_ID_F_ADR(filter), filter 902 drivers/net/ethernet/aquantia/atlantic/hw_atl/hw_atl_llh.c u32 filter) filter 904 drivers/net/ethernet/aquantia/atlantic/hw_atl/hw_atl_llh.c aq_hw_write_reg_bit(aq_hw, HW_ATL_RPF_VL_RXQ_EN_F_ADR(filter), filter 911 drivers/net/ethernet/aquantia/atlantic/hw_atl/hw_atl_llh.c u32 filter) filter 913 drivers/net/ethernet/aquantia/atlantic/hw_atl/hw_atl_llh.c aq_hw_write_reg_bit(aq_hw, HW_ATL_RPF_VL_RXQ_F_ADR(filter), filter 920 drivers/net/ethernet/aquantia/atlantic/hw_atl/hw_atl_llh.c u32 filter) filter 922 drivers/net/ethernet/aquantia/atlantic/hw_atl/hw_atl_llh.c aq_hw_write_reg_bit(aq_hw, HW_ATL_RPF_ET_ENF_ADR(filter), filter 928 drivers/net/ethernet/aquantia/atlantic/hw_atl/hw_atl_llh.c u32 etht_user_priority_en, u32 filter) filter 930 drivers/net/ethernet/aquantia/atlantic/hw_atl/hw_atl_llh.c aq_hw_write_reg_bit(aq_hw, HW_ATL_RPF_ET_UPFEN_ADR(filter), filter 937 drivers/net/ethernet/aquantia/atlantic/hw_atl/hw_atl_llh.c u32 filter) filter 939 drivers/net/ethernet/aquantia/atlantic/hw_atl/hw_atl_llh.c aq_hw_write_reg_bit(aq_hw, HW_ATL_RPF_ET_RXQFEN_ADR(filter), filter 947 drivers/net/ethernet/aquantia/atlantic/hw_atl/hw_atl_llh.c u32 filter) filter 949 drivers/net/ethernet/aquantia/atlantic/hw_atl/hw_atl_llh.c aq_hw_write_reg_bit(aq_hw, HW_ATL_RPF_ET_UPF_ADR(filter), filter 955 drivers/net/ethernet/aquantia/atlantic/hw_atl/hw_atl_llh.c u32 filter) filter 957 drivers/net/ethernet/aquantia/atlantic/hw_atl/hw_atl_llh.c aq_hw_write_reg_bit(aq_hw, HW_ATL_RPF_ET_RXQF_ADR(filter), filter 963 drivers/net/ethernet/aquantia/atlantic/hw_atl/hw_atl_llh.c u32 filter) filter 965 drivers/net/ethernet/aquantia/atlantic/hw_atl/hw_atl_llh.c aq_hw_write_reg_bit(aq_hw, HW_ATL_RPF_ET_MNG_RXQF_ADR(filter), filter 972 drivers/net/ethernet/aquantia/atlantic/hw_atl/hw_atl_llh.c u32 filter) filter 974 drivers/net/ethernet/aquantia/atlantic/hw_atl/hw_atl_llh.c aq_hw_write_reg_bit(aq_hw, HW_ATL_RPF_ET_ACTF_ADR(filter), filter 979 drivers/net/ethernet/aquantia/atlantic/hw_atl/hw_atl_llh.c void hw_atl_rpf_etht_flr_set(struct aq_hw_s *aq_hw, u32 etht_flr, u32 filter) filter 981 drivers/net/ethernet/aquantia/atlantic/hw_atl/hw_atl_llh.c aq_hw_write_reg_bit(aq_hw, HW_ATL_RPF_ET_VALF_ADR(filter), filter 986 drivers/net/ethernet/aquantia/atlantic/hw_atl/hw_atl_llh.c void hw_atl_rpf_l4_spd_set(struct aq_hw_s *aq_hw, u32 val, u32 filter) filter 988 drivers/net/ethernet/aquantia/atlantic/hw_atl/hw_atl_llh.c aq_hw_write_reg_bit(aq_hw, HW_ATL_RPF_L4_SPD_ADR(filter), filter 993 drivers/net/ethernet/aquantia/atlantic/hw_atl/hw_atl_llh.c void hw_atl_rpf_l4_dpd_set(struct aq_hw_s *aq_hw, u32 val, u32 filter) filter 995 drivers/net/ethernet/aquantia/atlantic/hw_atl/hw_atl_llh.c aq_hw_write_reg_bit(aq_hw, HW_ATL_RPF_L4_DPD_ADR(filter), filter 243 drivers/net/ethernet/aquantia/atlantic/hw_atl/hw_atl_llh.h u32 filter); filter 342 drivers/net/ethernet/aquantia/atlantic/hw_atl/hw_atl_llh.h u32 filter); filter 351 drivers/net/ethernet/aquantia/atlantic/hw_atl/hw_atl_llh.h u32 filter); filter 355 drivers/net/ethernet/aquantia/atlantic/hw_atl/hw_atl_llh.h u32 filter); filter 360 drivers/net/ethernet/aquantia/atlantic/hw_atl/hw_atl_llh.h u32 filter); filter 365 drivers/net/ethernet/aquantia/atlantic/hw_atl/hw_atl_llh.h u32 filter); filter 425 drivers/net/ethernet/aquantia/atlantic/hw_atl/hw_atl_llh.h u32 filter); filter 429 drivers/net/ethernet/aquantia/atlantic/hw_atl/hw_atl_llh.h u32 filter); filter 433 drivers/net/ethernet/aquantia/atlantic/hw_atl/hw_atl_llh.h u32 filter); filter 437 drivers/net/ethernet/aquantia/atlantic/hw_atl/hw_atl_llh.h u32 filter); filter 441 drivers/net/ethernet/aquantia/atlantic/hw_atl/hw_atl_llh.h u32 filter); filter 445 drivers/net/ethernet/aquantia/atlantic/hw_atl/hw_atl_llh.h u32 filter); filter 450 drivers/net/ethernet/aquantia/atlantic/hw_atl/hw_atl_llh.h u32 filter); filter 455 drivers/net/ethernet/aquantia/atlantic/hw_atl/hw_atl_llh.h u32 filter); filter 459 drivers/net/ethernet/aquantia/atlantic/hw_atl/hw_atl_llh.h u32 filter); filter 464 drivers/net/ethernet/aquantia/atlantic/hw_atl/hw_atl_llh.h u32 filter); filter 468 drivers/net/ethernet/aquantia/atlantic/hw_atl/hw_atl_llh.h u32 filter); filter 472 drivers/net/ethernet/aquantia/atlantic/hw_atl/hw_atl_llh.h u32 filter); filter 475 drivers/net/ethernet/aquantia/atlantic/hw_atl/hw_atl_llh.h void hw_atl_rpf_etht_flr_set(struct aq_hw_s *aq_hw, u32 etht_flr, u32 filter); filter 478 drivers/net/ethernet/aquantia/atlantic/hw_atl/hw_atl_llh.h void hw_atl_rpf_l4_spd_set(struct aq_hw_s *aq_hw, u32 val, u32 filter); filter 481 drivers/net/ethernet/aquantia/atlantic/hw_atl/hw_atl_llh.h void hw_atl_rpf_l4_dpd_set(struct aq_hw_s *aq_hw, u32 val, u32 filter); filter 491 drivers/net/ethernet/aquantia/atlantic/hw_atl/hw_atl_llh_internal.h #define HW_ATL_RX_FLR_MCST_FLR_ADR(filter) (0x00005250u + (filter) * 0x4) filter 748 drivers/net/ethernet/aquantia/atlantic/hw_atl/hw_atl_llh_internal.h #define HW_ATL_RPFL2MC_ENF_ADR(filter) (0x00005250 + (filter) * 0x4) filter 785 drivers/net/ethernet/aquantia/atlantic/hw_atl/hw_atl_llh_internal.h #define HW_ATL_RPFL2UC_ACTF_ADR(filter) (0x00005114 + (filter) * 0x8) filter 804 drivers/net/ethernet/aquantia/atlantic/hw_atl/hw_atl_llh_internal.h #define HW_ATL_RPFL2UC_ENF_ADR(filter) (0x00005114 + (filter) * 0x8) filter 817 drivers/net/ethernet/aquantia/atlantic/hw_atl/hw_atl_llh_internal.h #define HW_ATL_RPFL2UC_DAFLSW_ADR(filter) (0x00005110 + (filter) * 0x8) filter 819 drivers/net/ethernet/aquantia/atlantic/hw_atl/hw_atl_llh_internal.h #define HW_ATL_RPFL2UC_DAFMSW_ADR(filter) (0x00005114 + (filter) * 0x8) filter 1071 drivers/net/ethernet/aquantia/atlantic/hw_atl/hw_atl_llh_internal.h #define HW_ATL_RPF_VL_EN_F_ADR(filter) (0x00005290 + (filter) * 0x4) filter 1090 drivers/net/ethernet/aquantia/atlantic/hw_atl/hw_atl_llh_internal.h #define HW_ATL_RPF_VL_ACT_F_ADR(filter) (0x00005290 + (filter) * 0x4) filter 1109 drivers/net/ethernet/aquantia/atlantic/hw_atl/hw_atl_llh_internal.h #define HW_ATL_RPF_VL_ID_F_ADR(filter) (0x00005290 + (filter) * 0x4) filter 1128 drivers/net/ethernet/aquantia/atlantic/hw_atl/hw_atl_llh_internal.h #define HW_ATL_RPF_VL_RXQ_EN_F_ADR(filter) (0x00005290 + (filter) * 0x4) filter 1147 drivers/net/ethernet/aquantia/atlantic/hw_atl/hw_atl_llh_internal.h #define HW_ATL_RPF_VL_RXQ_F_ADR(filter) (0x00005290 + (filter) * 0x4) filter 1166 drivers/net/ethernet/aquantia/atlantic/hw_atl/hw_atl_llh_internal.h #define HW_ATL_RPF_ET_ENF_ADR(filter) (0x00005300 + (filter) * 0x4) filter 1185 drivers/net/ethernet/aquantia/atlantic/hw_atl/hw_atl_llh_internal.h #define HW_ATL_RPF_ET_UPFEN_ADR(filter) (0x00005300 + (filter) * 0x4) filter 1204 drivers/net/ethernet/aquantia/atlantic/hw_atl/hw_atl_llh_internal.h #define HW_ATL_RPF_ET_RXQFEN_ADR(filter) (0x00005300 + (filter) * 0x4) filter 1223 drivers/net/ethernet/aquantia/atlantic/hw_atl/hw_atl_llh_internal.h #define HW_ATL_RPF_ET_UPF_ADR(filter) (0x00005300 + (filter) * 0x4) filter 1242 drivers/net/ethernet/aquantia/atlantic/hw_atl/hw_atl_llh_internal.h #define HW_ATL_RPF_ET_RXQF_ADR(filter) (0x00005300 + (filter) * 0x4) filter 1261 drivers/net/ethernet/aquantia/atlantic/hw_atl/hw_atl_llh_internal.h #define HW_ATL_RPF_ET_MNG_RXQF_ADR(filter) (0x00005300 + (filter) * 0x4) filter 1280 drivers/net/ethernet/aquantia/atlantic/hw_atl/hw_atl_llh_internal.h #define HW_ATL_RPF_ET_ACTF_ADR(filter) (0x00005300 + (filter) * 0x4) filter 1299 drivers/net/ethernet/aquantia/atlantic/hw_atl/hw_atl_llh_internal.h #define HW_ATL_RPF_ET_VALF_ADR(filter) (0x00005300 + (filter) * 0x4) filter 60 drivers/net/ethernet/aquantia/atlantic/hw_atl/hw_atl_utils_fw2x.c struct fw2x_msg_wol_pattern filter[HAL_ATLANTIC_WOL_FILTERS_COUNT]; filter 526 drivers/net/ethernet/arc/emac_main.c unsigned int filter[2] = { 0, 0 }; filter 531 drivers/net/ethernet/arc/emac_main.c filter[bit >> 5] |= 1 << (bit & 31); filter 534 drivers/net/ethernet/arc/emac_main.c arc_reg_set(priv, R_LAFL, filter[0]); filter 535 drivers/net/ethernet/arc/emac_main.c arc_reg_set(priv, R_LAFH, filter[1]); filter 3481 drivers/net/ethernet/broadcom/bnx2x/bnx2x_sp.c #define BNX2X_57711_SET_MC_FILTER(filter, bit) \ filter 3483 drivers/net/ethernet/broadcom/bnx2x/bnx2x_sp.c (filter)[(bit) >> 5] |= (1 << ((bit) & 0x1f)); \ filter 401 drivers/net/ethernet/broadcom/bnx2x/bnx2x_sriov.c struct bnx2x_vf_mac_vlan_filter *filter, filter 408 drivers/net/ethernet/broadcom/bnx2x/bnx2x_sriov.c vf->abs_vfid, filter->add ? "Adding" : "Deleting", filter 409 drivers/net/ethernet/broadcom/bnx2x/bnx2x_sriov.c (filter->type == BNX2X_VF_FILTER_VLAN_MAC) ? "VLAN-MAC" : filter 410 drivers/net/ethernet/broadcom/bnx2x/bnx2x_sriov.c (filter->type == BNX2X_VF_FILTER_MAC) ? "MAC" : "VLAN"); filter 414 drivers/net/ethernet/broadcom/bnx2x/bnx2x_sriov.c if (filter->type == BNX2X_VF_FILTER_VLAN_MAC) { filter 416 drivers/net/ethernet/broadcom/bnx2x/bnx2x_sriov.c ramrod.user_req.u.vlan.vlan = filter->vid; filter 417 drivers/net/ethernet/broadcom/bnx2x/bnx2x_sriov.c memcpy(&ramrod.user_req.u.mac.mac, filter->mac, ETH_ALEN); filter 419 drivers/net/ethernet/broadcom/bnx2x/bnx2x_sriov.c } else if (filter->type == BNX2X_VF_FILTER_VLAN) { filter 421 drivers/net/ethernet/broadcom/bnx2x/bnx2x_sriov.c ramrod.user_req.u.vlan.vlan = filter->vid; filter 425 drivers/net/ethernet/broadcom/bnx2x/bnx2x_sriov.c memcpy(&ramrod.user_req.u.mac.mac, filter->mac, ETH_ALEN); filter 427 drivers/net/ethernet/broadcom/bnx2x/bnx2x_sriov.c ramrod.user_req.cmd = filter->add ? BNX2X_VLAN_MAC_ADD : filter 442 drivers/net/ethernet/broadcom/bnx2x/bnx2x_sriov.c filter->add ? "add" : "delete", filter 443 drivers/net/ethernet/broadcom/bnx2x/bnx2x_sriov.c (filter->type == BNX2X_VF_FILTER_VLAN_MAC) ? filter 445 drivers/net/ethernet/broadcom/bnx2x/bnx2x_sriov.c (filter->type == BNX2X_VF_FILTER_MAC) ? filter 450 drivers/net/ethernet/broadcom/bnx2x/bnx2x_sriov.c filter->applied = true; filter 1699 drivers/net/ethernet/broadcom/bnx2x/bnx2x_vfpf.c struct vfpf_q_mac_vlan_filter *filter) filter 1701 drivers/net/ethernet/broadcom/bnx2x/bnx2x_vfpf.c DP(msglvl, "MAC-VLAN[%d] -- flags=0x%x\n", idx, filter->flags); filter 1702 drivers/net/ethernet/broadcom/bnx2x/bnx2x_vfpf.c if (filter->flags & VFPF_Q_FILTER_VLAN_TAG_VALID) filter 1703 drivers/net/ethernet/broadcom/bnx2x/bnx2x_vfpf.c DP_CONT(msglvl, ", vlan=%d", filter->vlan_tag); filter 1704 drivers/net/ethernet/broadcom/bnx2x/bnx2x_vfpf.c if (filter->flags & VFPF_Q_FILTER_DEST_MAC_VALID) filter 1705 drivers/net/ethernet/broadcom/bnx2x/bnx2x_vfpf.c DP_CONT(msglvl, ", MAC=%pM", filter->mac); filter 1850 drivers/net/ethernet/broadcom/bnx2x/bnx2x_vfpf.c struct vfpf_q_mac_vlan_filter *filter = NULL; filter 1861 drivers/net/ethernet/broadcom/bnx2x/bnx2x_vfpf.c if (filter) { filter 1869 drivers/net/ethernet/broadcom/bnx2x/bnx2x_vfpf.c filter = &filters->filters[i]; filter 1873 drivers/net/ethernet/broadcom/bnx2x/bnx2x_vfpf.c if (filter && filter 1874 drivers/net/ethernet/broadcom/bnx2x/bnx2x_vfpf.c !ether_addr_equal(filter->mac, bulletin->mac)) { filter 545 drivers/net/ethernet/chelsio/cxgb4/t4fw_api.h __be32 filter; filter 24 drivers/net/ethernet/cisco/enic/enic_clsf.c struct filter data; filter 1206 drivers/net/ethernet/cisco/enic/vnic_dev.c struct filter *data) filter 1217 drivers/net/ethernet/cisco/enic/vnic_dev.c tlv_size = sizeof(struct filter) + filter 1228 drivers/net/ethernet/cisco/enic/vnic_dev.c tlv->length = sizeof(struct filter); filter 1229 drivers/net/ethernet/cisco/enic/vnic_dev.c *(struct filter *)&tlv->val = *data; filter 1233 drivers/net/ethernet/cisco/enic/vnic_dev.c sizeof(struct filter)); filter 180 drivers/net/ethernet/cisco/enic/vnic_dev.h struct filter *data); filter 1857 drivers/net/ethernet/cortina/gemini.c union gmac_rx_fltr filter = { .bits = { filter 1870 drivers/net/ethernet/cortina/gemini.c filter.bits.error = 1; filter 1871 drivers/net/ethernet/cortina/gemini.c filter.bits.promiscuous = 1; filter 1886 drivers/net/ethernet/cortina/gemini.c writel(filter.bits32, port->gmac_base + GMAC_RX_FLTR); filter 112 drivers/net/ethernet/freescale/enetc/enetc_pf.c static void enetc_reset_mac_addr_filter(struct enetc_mac_filter *filter) filter 114 drivers/net/ethernet/freescale/enetc/enetc_pf.c filter->mac_addr_cnt = 0; filter 116 drivers/net/ethernet/freescale/enetc/enetc_pf.c bitmap_zero(filter->mac_hash_table, filter 120 drivers/net/ethernet/freescale/enetc/enetc_pf.c static void enetc_add_mac_addr_em_filter(struct enetc_mac_filter *filter, filter 124 drivers/net/ethernet/freescale/enetc/enetc_pf.c ether_addr_copy(filter->mac_addr, addr); filter 125 drivers/net/ethernet/freescale/enetc/enetc_pf.c filter->mac_addr_cnt++; filter 128 drivers/net/ethernet/freescale/enetc/enetc_pf.c static void enetc_add_mac_addr_ht_filter(struct enetc_mac_filter *filter, filter 134 drivers/net/ethernet/freescale/enetc/enetc_pf.c __set_bit(idx, filter->mac_hash_table); filter 135 drivers/net/ethernet/freescale/enetc/enetc_pf.c filter->mac_addr_cnt++; filter 215 drivers/net/ethernet/freescale/enetc/enetc_pf.c struct enetc_mac_filter *filter; filter 238 drivers/net/ethernet/freescale/enetc/enetc_pf.c filter = &pf->mac_filter[UC]; filter 239 drivers/net/ethernet/freescale/enetc/enetc_pf.c enetc_reset_mac_addr_filter(filter); filter 244 drivers/net/ethernet/freescale/enetc/enetc_pf.c enetc_add_mac_addr_em_filter(filter, ha->addr); filter 248 drivers/net/ethernet/freescale/enetc/enetc_pf.c enetc_add_mac_addr_ht_filter(filter, ha->addr); filter 254 drivers/net/ethernet/freescale/enetc/enetc_pf.c filter = &pf->mac_filter[MC]; filter 255 drivers/net/ethernet/freescale/enetc/enetc_pf.c enetc_reset_mac_addr_filter(filter); filter 261 drivers/net/ethernet/freescale/enetc/enetc_pf.c enetc_add_mac_addr_ht_filter(filter, ha->addr); filter 1160 drivers/net/ethernet/intel/i40e/i40e.h struct i40e_cloud_filter *filter, filter 1163 drivers/net/ethernet/intel/i40e/i40e.h struct i40e_cloud_filter *filter, filter 600 drivers/net/ethernet/intel/i40e/i40e_adminq_cmd.h u8 filter[128]; filter 3474 drivers/net/ethernet/intel/i40e/i40e_main.c struct i40e_fdir_filter *filter; filter 3487 drivers/net/ethernet/intel/i40e/i40e_main.c hlist_for_each_entry_safe(filter, node, filter 3489 drivers/net/ethernet/intel/i40e/i40e_main.c i40e_add_del_fdir(vsi, filter, true); filter 7526 drivers/net/ethernet/intel/i40e/i40e_main.c i40e_set_cld_element(struct i40e_cloud_filter *filter, filter 7533 drivers/net/ethernet/intel/i40e/i40e_main.c ether_addr_copy(cld->outer_mac, filter->dst_mac); filter 7534 drivers/net/ethernet/intel/i40e/i40e_main.c ether_addr_copy(cld->inner_mac, filter->src_mac); filter 7536 drivers/net/ethernet/intel/i40e/i40e_main.c if (filter->n_proto != ETH_P_IP && filter->n_proto != ETH_P_IPV6) filter 7539 drivers/net/ethernet/intel/i40e/i40e_main.c if (filter->n_proto == ETH_P_IPV6) { filter 7540 drivers/net/ethernet/intel/i40e/i40e_main.c #define IPV6_MAX_INDEX (ARRAY_SIZE(filter->dst_ipv6) - 1) filter 7541 drivers/net/ethernet/intel/i40e/i40e_main.c for (i = 0, j = 0; i < ARRAY_SIZE(filter->dst_ipv6); filter 7543 drivers/net/ethernet/intel/i40e/i40e_main.c ipa = be32_to_cpu(filter->dst_ipv6[IPV6_MAX_INDEX - i]); filter 7548 drivers/net/ethernet/intel/i40e/i40e_main.c ipa = be32_to_cpu(filter->dst_ipv4); filter 7552 drivers/net/ethernet/intel/i40e/i40e_main.c cld->inner_vlan = cpu_to_le16(ntohs(filter->vlan_id)); filter 7557 drivers/net/ethernet/intel/i40e/i40e_main.c if (filter->tenant_id) filter 7571 drivers/net/ethernet/intel/i40e/i40e_main.c struct i40e_cloud_filter *filter, bool add) filter 7593 drivers/net/ethernet/intel/i40e/i40e_main.c if (filter->flags >= ARRAY_SIZE(flag_table)) filter 7597 drivers/net/ethernet/intel/i40e/i40e_main.c i40e_set_cld_element(filter, &cld_filter); filter 7599 drivers/net/ethernet/intel/i40e/i40e_main.c if (filter->tunnel_type != I40E_CLOUD_TNL_TYPE_NONE) filter 7600 drivers/net/ethernet/intel/i40e/i40e_main.c cld_filter.flags = cpu_to_le16(filter->tunnel_type << filter 7603 drivers/net/ethernet/intel/i40e/i40e_main.c if (filter->n_proto == ETH_P_IPV6) filter 7604 drivers/net/ethernet/intel/i40e/i40e_main.c cld_filter.flags |= cpu_to_le16(flag_table[filter->flags] | filter 7607 drivers/net/ethernet/intel/i40e/i40e_main.c cld_filter.flags |= cpu_to_le16(flag_table[filter->flags] | filter 7611 drivers/net/ethernet/intel/i40e/i40e_main.c ret = i40e_aq_add_cloud_filters(&pf->hw, filter->seid, filter 7614 drivers/net/ethernet/intel/i40e/i40e_main.c ret = i40e_aq_rem_cloud_filters(&pf->hw, filter->seid, filter 7619 drivers/net/ethernet/intel/i40e/i40e_main.c add ? "add" : "delete", filter->dst_port, ret, filter 7624 drivers/net/ethernet/intel/i40e/i40e_main.c add ? "Added" : "Deleted", filter->seid); filter 7638 drivers/net/ethernet/intel/i40e/i40e_main.c struct i40e_cloud_filter *filter, filter 7646 drivers/net/ethernet/intel/i40e/i40e_main.c if ((is_valid_ether_addr(filter->dst_mac) && filter 7647 drivers/net/ethernet/intel/i40e/i40e_main.c is_valid_ether_addr(filter->src_mac)) || filter 7648 drivers/net/ethernet/intel/i40e/i40e_main.c (is_multicast_ether_addr(filter->dst_mac) && filter 7649 drivers/net/ethernet/intel/i40e/i40e_main.c is_multicast_ether_addr(filter->src_mac))) filter 7655 drivers/net/ethernet/intel/i40e/i40e_main.c if (!filter->dst_port || filter->ip_proto == IPPROTO_UDP) filter 7659 drivers/net/ethernet/intel/i40e/i40e_main.c if (filter->src_port || filter->src_ipv4 || filter 7660 drivers/net/ethernet/intel/i40e/i40e_main.c !ipv6_addr_any(&filter->ip.v6.src_ip6)) filter 7664 drivers/net/ethernet/intel/i40e/i40e_main.c i40e_set_cld_element(filter, &cld_filter.element); filter 7666 drivers/net/ethernet/intel/i40e/i40e_main.c if (is_valid_ether_addr(filter->dst_mac) || filter 7667 drivers/net/ethernet/intel/i40e/i40e_main.c is_valid_ether_addr(filter->src_mac) || filter 7668 drivers/net/ethernet/intel/i40e/i40e_main.c is_multicast_ether_addr(filter->dst_mac) || filter 7669 drivers/net/ethernet/intel/i40e/i40e_main.c is_multicast_ether_addr(filter->src_mac)) { filter 7671 drivers/net/ethernet/intel/i40e/i40e_main.c if (filter->dst_ipv4) filter 7681 drivers/net/ethernet/intel/i40e/i40e_main.c if (filter->vlan_id) { filter 7686 drivers/net/ethernet/intel/i40e/i40e_main.c } else if (filter->dst_ipv4 || filter 7687 drivers/net/ethernet/intel/i40e/i40e_main.c !ipv6_addr_any(&filter->ip.v6.dst_ip6)) { filter 7690 drivers/net/ethernet/intel/i40e/i40e_main.c if (filter->n_proto == ETH_P_IPV6) filter 7704 drivers/net/ethernet/intel/i40e/i40e_main.c be16_to_cpu(filter->dst_port); filter 7716 drivers/net/ethernet/intel/i40e/i40e_main.c ret = i40e_aq_add_cloud_filters_bb(&pf->hw, filter->seid, filter 7719 drivers/net/ethernet/intel/i40e/i40e_main.c ret = i40e_aq_rem_cloud_filters_bb(&pf->hw, filter->seid, filter 7730 drivers/net/ethernet/intel/i40e/i40e_main.c add ? "add" : "delete", filter->seid, filter 7731 drivers/net/ethernet/intel/i40e/i40e_main.c ntohs(filter->dst_port)); filter 7744 drivers/net/ethernet/intel/i40e/i40e_main.c struct i40e_cloud_filter *filter) filter 7773 drivers/net/ethernet/intel/i40e/i40e_main.c filter->tenant_id = be32_to_cpu(match.key->keyid); filter 7787 drivers/net/ethernet/intel/i40e/i40e_main.c filter->n_proto = n_proto_key & n_proto_mask; filter 7788 drivers/net/ethernet/intel/i40e/i40e_main.c filter->ip_proto = match.key->ip_proto; filter 7816 drivers/net/ethernet/intel/i40e/i40e_main.c ether_addr_copy(filter->dst_mac, match.key->dst); filter 7817 drivers/net/ethernet/intel/i40e/i40e_main.c ether_addr_copy(filter->src_mac, match.key->src); filter 7835 drivers/net/ethernet/intel/i40e/i40e_main.c filter->vlan_id = cpu_to_be16(match.key->vlan_id); filter 7873 drivers/net/ethernet/intel/i40e/i40e_main.c filter->dst_ipv4 = match.key->dst; filter 7874 drivers/net/ethernet/intel/i40e/i40e_main.c filter->src_ipv4 = match.key->src; filter 7895 drivers/net/ethernet/intel/i40e/i40e_main.c memcpy(&filter->src_ipv6, &match.key->src.s6_addr32, filter 7896 drivers/net/ethernet/intel/i40e/i40e_main.c sizeof(filter->src_ipv6)); filter 7897 drivers/net/ethernet/intel/i40e/i40e_main.c memcpy(&filter->dst_ipv6, &match.key->dst.s6_addr32, filter 7898 drivers/net/ethernet/intel/i40e/i40e_main.c sizeof(filter->dst_ipv6)); filter 7925 drivers/net/ethernet/intel/i40e/i40e_main.c filter->dst_port = match.key->dst; filter 7926 drivers/net/ethernet/intel/i40e/i40e_main.c filter->src_port = match.key->src; filter 7928 drivers/net/ethernet/intel/i40e/i40e_main.c switch (filter->ip_proto) { filter 7938 drivers/net/ethernet/intel/i40e/i40e_main.c filter->flags = field_flags; filter 7950 drivers/net/ethernet/intel/i40e/i40e_main.c struct i40e_cloud_filter *filter) filter 7956 drivers/net/ethernet/intel/i40e/i40e_main.c filter->seid = vsi->seid; filter 7959 drivers/net/ethernet/intel/i40e/i40e_main.c if (!filter->dst_port) { filter 7969 drivers/net/ethernet/intel/i40e/i40e_main.c filter->seid = ch->seid; filter 7987 drivers/net/ethernet/intel/i40e/i40e_main.c struct i40e_cloud_filter *filter = NULL; filter 8014 drivers/net/ethernet/intel/i40e/i40e_main.c filter = kzalloc(sizeof(*filter), GFP_KERNEL); filter 8015 drivers/net/ethernet/intel/i40e/i40e_main.c if (!filter) filter 8018 drivers/net/ethernet/intel/i40e/i40e_main.c filter->cookie = cls_flower->cookie; filter 8020 drivers/net/ethernet/intel/i40e/i40e_main.c err = i40e_parse_cls_flower(vsi, cls_flower, filter); filter 8024 drivers/net/ethernet/intel/i40e/i40e_main.c err = i40e_handle_tclass(vsi, tc, filter); filter 8029 drivers/net/ethernet/intel/i40e/i40e_main.c if (filter->dst_port) filter 8030 drivers/net/ethernet/intel/i40e/i40e_main.c err = i40e_add_del_cloud_filter_big_buf(vsi, filter, true); filter 8032 drivers/net/ethernet/intel/i40e/i40e_main.c err = i40e_add_del_cloud_filter(vsi, filter, true); filter 8042 drivers/net/ethernet/intel/i40e/i40e_main.c INIT_HLIST_NODE(&filter->cloud_node); filter 8044 drivers/net/ethernet/intel/i40e/i40e_main.c hlist_add_head(&filter->cloud_node, &pf->cloud_filter_list); filter 8050 drivers/net/ethernet/intel/i40e/i40e_main.c kfree(filter); filter 8063 drivers/net/ethernet/intel/i40e/i40e_main.c struct i40e_cloud_filter *filter = NULL; filter 8066 drivers/net/ethernet/intel/i40e/i40e_main.c hlist_for_each_entry_safe(filter, node2, filter 8068 drivers/net/ethernet/intel/i40e/i40e_main.c if (!memcmp(cookie, &filter->cookie, sizeof(filter->cookie))) filter 8069 drivers/net/ethernet/intel/i40e/i40e_main.c return filter; filter 8082 drivers/net/ethernet/intel/i40e/i40e_main.c struct i40e_cloud_filter *filter = NULL; filter 8086 drivers/net/ethernet/intel/i40e/i40e_main.c filter = i40e_find_cloud_filter(vsi, &cls_flower->cookie); filter 8088 drivers/net/ethernet/intel/i40e/i40e_main.c if (!filter) filter 8091 drivers/net/ethernet/intel/i40e/i40e_main.c hash_del(&filter->cloud_node); filter 8093 drivers/net/ethernet/intel/i40e/i40e_main.c if (filter->dst_port) filter 8094 drivers/net/ethernet/intel/i40e/i40e_main.c err = i40e_add_del_cloud_filter_big_buf(vsi, filter, false); filter 8096 drivers/net/ethernet/intel/i40e/i40e_main.c err = i40e_add_del_cloud_filter(vsi, filter, false); filter 8098 drivers/net/ethernet/intel/i40e/i40e_main.c kfree(filter); filter 8308 drivers/net/ethernet/intel/i40e/i40e_main.c struct i40e_fdir_filter *filter; filter 8312 drivers/net/ethernet/intel/i40e/i40e_main.c hlist_for_each_entry_safe(filter, node2, filter 8314 drivers/net/ethernet/intel/i40e/i40e_main.c hlist_del(&filter->fdir_node); filter 8315 drivers/net/ethernet/intel/i40e/i40e_main.c kfree(filter); filter 8799 drivers/net/ethernet/intel/i40e/i40e_main.c struct i40e_fdir_filter *filter) filter 8805 drivers/net/ethernet/intel/i40e/i40e_main.c switch (filter->flow_type) { filter 8816 drivers/net/ethernet/intel/i40e/i40e_main.c switch (filter->ip4_proto) { filter 8834 drivers/net/ethernet/intel/i40e/i40e_main.c hlist_del(&filter->fdir_node); filter 8835 drivers/net/ethernet/intel/i40e/i40e_main.c kfree(filter); filter 8844 drivers/net/ethernet/intel/i40e/i40e_main.c struct i40e_fdir_filter *filter; filter 8869 drivers/net/ethernet/intel/i40e/i40e_main.c hlist_for_each_entry_safe(filter, node, filter 8871 drivers/net/ethernet/intel/i40e/i40e_main.c if (filter->fd_id == pf->fd_inv) filter 8872 drivers/net/ethernet/intel/i40e/i40e_main.c i40e_delete_invalid_filter(pf, filter); filter 2689 drivers/net/ethernet/intel/iavf/iavf_main.c struct iavf_cloud_filter *filter) filter 2699 drivers/net/ethernet/intel/iavf/iavf_main.c struct virtchnl_filter *vf = &filter->f; filter 2936 drivers/net/ethernet/intel/iavf/iavf_main.c struct iavf_cloud_filter *filter) filter 2941 drivers/net/ethernet/intel/iavf/iavf_main.c if (!filter->f.data.tcp_spec.dst_port) { filter 2948 drivers/net/ethernet/intel/iavf/iavf_main.c filter->f.action = VIRTCHNL_ACTION_TC_REDIRECT; filter 2949 drivers/net/ethernet/intel/iavf/iavf_main.c filter->f.action_meta = tc; filter 2962 drivers/net/ethernet/intel/iavf/iavf_main.c struct iavf_cloud_filter *filter = NULL; filter 2970 drivers/net/ethernet/intel/iavf/iavf_main.c filter = kzalloc(sizeof(*filter), GFP_KERNEL); filter 2971 drivers/net/ethernet/intel/iavf/iavf_main.c if (!filter) filter 2981 drivers/net/ethernet/intel/iavf/iavf_main.c filter->cookie = cls_flower->cookie; filter 2984 drivers/net/ethernet/intel/iavf/iavf_main.c memset(&filter->f.mask.tcp_spec, 0, sizeof(struct virtchnl_l4_spec)); filter 2986 drivers/net/ethernet/intel/iavf/iavf_main.c filter->f.flow_type = VIRTCHNL_TCP_V4_FLOW; filter 2987 drivers/net/ethernet/intel/iavf/iavf_main.c err = iavf_parse_cls_flower(adapter, cls_flower, filter); filter 2991 drivers/net/ethernet/intel/iavf/iavf_main.c err = iavf_handle_tclass(adapter, tc, filter); filter 2997 drivers/net/ethernet/intel/iavf/iavf_main.c list_add_tail(&filter->list, &adapter->cloud_filter_list); filter 2999 drivers/net/ethernet/intel/iavf/iavf_main.c filter->add = true; filter 3004 drivers/net/ethernet/intel/iavf/iavf_main.c kfree(filter); filter 3020 drivers/net/ethernet/intel/iavf/iavf_main.c struct iavf_cloud_filter *filter = NULL; filter 3025 drivers/net/ethernet/intel/iavf/iavf_main.c list_for_each_entry(filter, &adapter->cloud_filter_list, list) { filter 3026 drivers/net/ethernet/intel/iavf/iavf_main.c if (!memcmp(cookie, &filter->cookie, sizeof(filter->cookie))) filter 3027 drivers/net/ethernet/intel/iavf/iavf_main.c return filter; filter 3040 drivers/net/ethernet/intel/iavf/iavf_main.c struct iavf_cloud_filter *filter = NULL; filter 3044 drivers/net/ethernet/intel/iavf/iavf_main.c filter = iavf_find_cf(adapter, &cls_flower->cookie); filter 3045 drivers/net/ethernet/intel/iavf/iavf_main.c if (filter) { filter 3046 drivers/net/ethernet/intel/iavf/iavf_main.c filter->del = true; filter 447 drivers/net/ethernet/intel/igb/igb.h struct igb_nfc_input filter; filter 2468 drivers/net/ethernet/intel/igb/igb_ethtool.c if (rule->filter.match_flags) { filter 2471 drivers/net/ethernet/intel/igb/igb_ethtool.c if (rule->filter.match_flags & IGB_FILTER_FLAG_ETHER_TYPE) { filter 2472 drivers/net/ethernet/intel/igb/igb_ethtool.c fsp->h_u.ether_spec.h_proto = rule->filter.etype; filter 2475 drivers/net/ethernet/intel/igb/igb_ethtool.c if (rule->filter.match_flags & IGB_FILTER_FLAG_VLAN_TCI) { filter 2477 drivers/net/ethernet/intel/igb/igb_ethtool.c fsp->h_ext.vlan_tci = rule->filter.vlan_tci; filter 2480 drivers/net/ethernet/intel/igb/igb_ethtool.c if (rule->filter.match_flags & IGB_FILTER_FLAG_DST_MAC_ADDR) { filter 2482 drivers/net/ethernet/intel/igb/igb_ethtool.c rule->filter.dst_addr); filter 2488 drivers/net/ethernet/intel/igb/igb_ethtool.c if (rule->filter.match_flags & IGB_FILTER_FLAG_SRC_MAC_ADDR) { filter 2490 drivers/net/ethernet/intel/igb/igb_ethtool.c rule->filter.src_addr); filter 2722 drivers/net/ethernet/intel/igb/igb_ethtool.c etype = ntohs(input->filter.etype & ETHER_TYPE_FULL_MASK); filter 2749 drivers/net/ethernet/intel/igb/igb_ethtool.c vlan_priority = (ntohs(input->filter.vlan_tci) & VLAN_PRIO_MASK) filter 2774 drivers/net/ethernet/intel/igb/igb_ethtool.c !(input->filter.match_flags & ~IGB_FILTER_FLAG_SRC_MAC_ADDR)) { filter 2780 drivers/net/ethernet/intel/igb/igb_ethtool.c if (input->filter.match_flags & IGB_FILTER_FLAG_ETHER_TYPE) { filter 2786 drivers/net/ethernet/intel/igb/igb_ethtool.c if (input->filter.match_flags & IGB_FILTER_FLAG_DST_MAC_ADDR) { filter 2788 drivers/net/ethernet/intel/igb/igb_ethtool.c input->filter.dst_addr, filter 2795 drivers/net/ethernet/intel/igb/igb_ethtool.c if (input->filter.match_flags & IGB_FILTER_FLAG_SRC_MAC_ADDR) { filter 2797 drivers/net/ethernet/intel/igb/igb_ethtool.c input->filter.src_addr, filter 2805 drivers/net/ethernet/intel/igb/igb_ethtool.c if (input->filter.match_flags & IGB_FILTER_FLAG_VLAN_TCI) filter 2845 drivers/net/ethernet/intel/igb/igb_ethtool.c if (input->filter.match_flags & IGB_FILTER_FLAG_ETHER_TYPE) filter 2849 drivers/net/ethernet/intel/igb/igb_ethtool.c if (input->filter.match_flags & IGB_FILTER_FLAG_VLAN_TCI) filter 2851 drivers/net/ethernet/intel/igb/igb_ethtool.c ntohs(input->filter.vlan_tci)); filter 2853 drivers/net/ethernet/intel/igb/igb_ethtool.c if (input->filter.match_flags & IGB_FILTER_FLAG_SRC_MAC_ADDR) filter 2854 drivers/net/ethernet/intel/igb/igb_ethtool.c igb_del_mac_steering_filter(adapter, input->filter.src_addr, filter 2858 drivers/net/ethernet/intel/igb/igb_ethtool.c if (input->filter.match_flags & IGB_FILTER_FLAG_DST_MAC_ADDR) filter 2859 drivers/net/ethernet/intel/igb/igb_ethtool.c igb_del_mac_steering_filter(adapter, input->filter.dst_addr, filter 2948 drivers/net/ethernet/intel/igb/igb_ethtool.c input->filter.etype = fsp->h_u.ether_spec.h_proto; filter 2949 drivers/net/ethernet/intel/igb/igb_ethtool.c input->filter.match_flags = IGB_FILTER_FLAG_ETHER_TYPE; filter 2954 drivers/net/ethernet/intel/igb/igb_ethtool.c input->filter.match_flags |= IGB_FILTER_FLAG_SRC_MAC_ADDR; filter 2955 drivers/net/ethernet/intel/igb/igb_ethtool.c ether_addr_copy(input->filter.src_addr, filter 2961 drivers/net/ethernet/intel/igb/igb_ethtool.c input->filter.match_flags |= IGB_FILTER_FLAG_DST_MAC_ADDR; filter 2962 drivers/net/ethernet/intel/igb/igb_ethtool.c ether_addr_copy(input->filter.dst_addr, filter 2971 drivers/net/ethernet/intel/igb/igb_ethtool.c input->filter.vlan_tci = fsp->h_ext.vlan_tci; filter 2972 drivers/net/ethernet/intel/igb/igb_ethtool.c input->filter.match_flags |= IGB_FILTER_FLAG_VLAN_TCI; filter 2981 drivers/net/ethernet/intel/igb/igb_ethtool.c if (!memcmp(&input->filter, &rule->filter, filter 2982 drivers/net/ethernet/intel/igb/igb_ethtool.c sizeof(input->filter))) { filter 2611 drivers/net/ethernet/intel/igb/igb_main.c input->filter.match_flags |= filter 2613 drivers/net/ethernet/intel/igb/igb_main.c ether_addr_copy(input->filter.dst_addr, match.key->dst); filter 2622 drivers/net/ethernet/intel/igb/igb_main.c input->filter.match_flags |= filter 2624 drivers/net/ethernet/intel/igb/igb_main.c ether_addr_copy(input->filter.src_addr, match.key->src); filter 2638 drivers/net/ethernet/intel/igb/igb_main.c input->filter.match_flags |= IGB_FILTER_FLAG_ETHER_TYPE; filter 2639 drivers/net/ethernet/intel/igb/igb_main.c input->filter.etype = match.key->n_proto; filter 2653 drivers/net/ethernet/intel/igb/igb_main.c input->filter.match_flags |= IGB_FILTER_FLAG_VLAN_TCI; filter 2654 drivers/net/ethernet/intel/igb/igb_main.c input->filter.vlan_tci = match.key->vlan_priority; filter 2668 drivers/net/ethernet/intel/igb/igb_main.c struct igb_nfc_filter *filter, *f; filter 2677 drivers/net/ethernet/intel/igb/igb_main.c filter = kzalloc(sizeof(*filter), GFP_KERNEL); filter 2678 drivers/net/ethernet/intel/igb/igb_main.c if (!filter) filter 2681 drivers/net/ethernet/intel/igb/igb_main.c err = igb_parse_cls_flower(adapter, cls_flower, tc, filter); filter 2688 drivers/net/ethernet/intel/igb/igb_main.c if (!memcmp(&f->filter, &filter->filter, sizeof(f->filter))) { filter 2697 drivers/net/ethernet/intel/igb/igb_main.c if (!memcmp(&f->filter, &filter->filter, sizeof(f->filter))) { filter 2705 drivers/net/ethernet/intel/igb/igb_main.c err = igb_add_filter(adapter, filter); filter 2711 drivers/net/ethernet/intel/igb/igb_main.c hlist_add_head(&filter->nfc_node, &adapter->cls_flower_list); filter 2721 drivers/net/ethernet/intel/igb/igb_main.c kfree(filter); filter 2729 drivers/net/ethernet/intel/igb/igb_main.c struct igb_nfc_filter *filter; filter 2734 drivers/net/ethernet/intel/igb/igb_main.c hlist_for_each_entry(filter, &adapter->cls_flower_list, nfc_node) filter 2735 drivers/net/ethernet/intel/igb/igb_main.c if (filter->cookie == cls_flower->cookie) filter 2738 drivers/net/ethernet/intel/igb/igb_main.c if (!filter) { filter 2743 drivers/net/ethernet/intel/igb/igb_main.c err = igb_erase_filter(adapter, filter); filter 2747 drivers/net/ethernet/intel/igb/igb_main.c hlist_del(&filter->nfc_node); filter 2748 drivers/net/ethernet/intel/igb/igb_main.c kfree(filter); filter 329 drivers/net/ethernet/intel/igc/igc.h struct igc_nfc_input filter; filter 895 drivers/net/ethernet/intel/igc/igc_ethtool.c if (rule->filter.match_flags) { filter 898 drivers/net/ethernet/intel/igc/igc_ethtool.c if (rule->filter.match_flags & IGC_FILTER_FLAG_ETHER_TYPE) { filter 899 drivers/net/ethernet/intel/igc/igc_ethtool.c fsp->h_u.ether_spec.h_proto = rule->filter.etype; filter 902 drivers/net/ethernet/intel/igc/igc_ethtool.c if (rule->filter.match_flags & IGC_FILTER_FLAG_VLAN_TCI) { filter 904 drivers/net/ethernet/intel/igc/igc_ethtool.c fsp->h_ext.vlan_tci = rule->filter.vlan_tci; filter 907 drivers/net/ethernet/intel/igc/igc_ethtool.c if (rule->filter.match_flags & IGC_FILTER_FLAG_DST_MAC_ADDR) { filter 909 drivers/net/ethernet/intel/igc/igc_ethtool.c rule->filter.dst_addr); filter 915 drivers/net/ethernet/intel/igc/igc_ethtool.c if (rule->filter.match_flags & IGC_FILTER_FLAG_SRC_MAC_ADDR) { filter 917 drivers/net/ethernet/intel/igc/igc_ethtool.c rule->filter.src_addr); filter 1157 drivers/net/ethernet/intel/igc/igc_ethtool.c etype = ntohs(input->filter.etype & ETHER_TYPE_FULL_MASK); filter 1184 drivers/net/ethernet/intel/igc/igc_ethtool.c vlan_priority = (ntohs(input->filter.vlan_tci) & VLAN_PRIO_MASK) filter 1209 drivers/net/ethernet/intel/igc/igc_ethtool.c !(input->filter.match_flags & ~IGC_FILTER_FLAG_SRC_MAC_ADDR)) { filter 1215 drivers/net/ethernet/intel/igc/igc_ethtool.c if (input->filter.match_flags & IGC_FILTER_FLAG_ETHER_TYPE) { filter 1221 drivers/net/ethernet/intel/igc/igc_ethtool.c if (input->filter.match_flags & IGC_FILTER_FLAG_DST_MAC_ADDR) { filter 1223 drivers/net/ethernet/intel/igc/igc_ethtool.c input->filter.dst_addr, filter 1230 drivers/net/ethernet/intel/igc/igc_ethtool.c if (input->filter.match_flags & IGC_FILTER_FLAG_SRC_MAC_ADDR) { filter 1232 drivers/net/ethernet/intel/igc/igc_ethtool.c input->filter.src_addr, filter 1240 drivers/net/ethernet/intel/igc/igc_ethtool.c if (input->filter.match_flags & IGC_FILTER_FLAG_VLAN_TCI) filter 1280 drivers/net/ethernet/intel/igc/igc_ethtool.c if (input->filter.match_flags & IGC_FILTER_FLAG_ETHER_TYPE) filter 1284 drivers/net/ethernet/intel/igc/igc_ethtool.c if (input->filter.match_flags & IGC_FILTER_FLAG_VLAN_TCI) filter 1286 drivers/net/ethernet/intel/igc/igc_ethtool.c ntohs(input->filter.vlan_tci)); filter 1288 drivers/net/ethernet/intel/igc/igc_ethtool.c if (input->filter.match_flags & IGC_FILTER_FLAG_SRC_MAC_ADDR) filter 1289 drivers/net/ethernet/intel/igc/igc_ethtool.c igc_del_mac_steering_filter(adapter, input->filter.src_addr, filter 1293 drivers/net/ethernet/intel/igc/igc_ethtool.c if (input->filter.match_flags & IGC_FILTER_FLAG_DST_MAC_ADDR) filter 1294 drivers/net/ethernet/intel/igc/igc_ethtool.c igc_del_mac_steering_filter(adapter, input->filter.dst_addr, filter 1383 drivers/net/ethernet/intel/igc/igc_ethtool.c input->filter.etype = fsp->h_u.ether_spec.h_proto; filter 1384 drivers/net/ethernet/intel/igc/igc_ethtool.c input->filter.match_flags = IGC_FILTER_FLAG_ETHER_TYPE; filter 1389 drivers/net/ethernet/intel/igc/igc_ethtool.c input->filter.match_flags |= IGC_FILTER_FLAG_SRC_MAC_ADDR; filter 1390 drivers/net/ethernet/intel/igc/igc_ethtool.c ether_addr_copy(input->filter.src_addr, filter 1396 drivers/net/ethernet/intel/igc/igc_ethtool.c input->filter.match_flags |= IGC_FILTER_FLAG_DST_MAC_ADDR; filter 1397 drivers/net/ethernet/intel/igc/igc_ethtool.c ether_addr_copy(input->filter.dst_addr, filter 1406 drivers/net/ethernet/intel/igc/igc_ethtool.c input->filter.vlan_tci = fsp->h_ext.vlan_tci; filter 1407 drivers/net/ethernet/intel/igc/igc_ethtool.c input->filter.match_flags |= IGC_FILTER_FLAG_VLAN_TCI; filter 1416 drivers/net/ethernet/intel/igc/igc_ethtool.c if (!memcmp(&input->filter, &rule->filter, filter 1417 drivers/net/ethernet/intel/igc/igc_ethtool.c sizeof(input->filter))) { filter 796 drivers/net/ethernet/intel/ixgbe/ixgbe.h union ixgbe_atr_input filter; filter 2434 drivers/net/ethernet/intel/ixgbe/ixgbe_ethtool.c switch (rule->filter.formatted.flow_type) { filter 2454 drivers/net/ethernet/intel/ixgbe/ixgbe_ethtool.c fsp->h_u.tcp_ip4_spec.psrc = rule->filter.formatted.src_port; filter 2456 drivers/net/ethernet/intel/ixgbe/ixgbe_ethtool.c fsp->h_u.tcp_ip4_spec.pdst = rule->filter.formatted.dst_port; filter 2458 drivers/net/ethernet/intel/ixgbe/ixgbe_ethtool.c fsp->h_u.tcp_ip4_spec.ip4src = rule->filter.formatted.src_ip[0]; filter 2460 drivers/net/ethernet/intel/ixgbe/ixgbe_ethtool.c fsp->h_u.tcp_ip4_spec.ip4dst = rule->filter.formatted.dst_ip[0]; filter 2462 drivers/net/ethernet/intel/ixgbe/ixgbe_ethtool.c fsp->h_ext.vlan_tci = rule->filter.formatted.vlan_id; filter 2464 drivers/net/ethernet/intel/ixgbe/ixgbe_ethtool.c fsp->h_ext.vlan_etype = rule->filter.formatted.flex_bytes; filter 2466 drivers/net/ethernet/intel/ixgbe/ixgbe_ethtool.c fsp->h_ext.data[1] = htonl(rule->filter.formatted.vm_pool); filter 2598 drivers/net/ethernet/intel/ixgbe/ixgbe_ethtool.c if (!input || (rule->filter.formatted.bkt_hash != filter 2599 drivers/net/ethernet/intel/ixgbe/ixgbe_ethtool.c input->filter.formatted.bkt_hash)) { filter 2601 drivers/net/ethernet/intel/ixgbe/ixgbe_ethtool.c &rule->filter, filter 2729 drivers/net/ethernet/intel/ixgbe/ixgbe_ethtool.c &input->filter.formatted.flow_type)) { filter 2737 drivers/net/ethernet/intel/ixgbe/ixgbe_ethtool.c if (input->filter.formatted.flow_type == IXGBE_ATR_FLOW_TYPE_IPV4) filter 2741 drivers/net/ethernet/intel/ixgbe/ixgbe_ethtool.c input->filter.formatted.src_ip[0] = fsp->h_u.tcp_ip4_spec.ip4src; filter 2743 drivers/net/ethernet/intel/ixgbe/ixgbe_ethtool.c input->filter.formatted.dst_ip[0] = fsp->h_u.tcp_ip4_spec.ip4dst; filter 2745 drivers/net/ethernet/intel/ixgbe/ixgbe_ethtool.c input->filter.formatted.src_port = fsp->h_u.tcp_ip4_spec.psrc; filter 2747 drivers/net/ethernet/intel/ixgbe/ixgbe_ethtool.c input->filter.formatted.dst_port = fsp->h_u.tcp_ip4_spec.pdst; filter 2751 drivers/net/ethernet/intel/ixgbe/ixgbe_ethtool.c input->filter.formatted.vm_pool = filter 2755 drivers/net/ethernet/intel/ixgbe/ixgbe_ethtool.c input->filter.formatted.vlan_id = fsp->h_ext.vlan_tci; filter 2757 drivers/net/ethernet/intel/ixgbe/ixgbe_ethtool.c input->filter.formatted.flex_bytes = filter 2784 drivers/net/ethernet/intel/ixgbe/ixgbe_ethtool.c ixgbe_atr_compute_perfect_hash_82599(&input->filter, &mask); filter 2788 drivers/net/ethernet/intel/ixgbe/ixgbe_ethtool.c &input->filter, input->sw_idx, queue); filter 5241 drivers/net/ethernet/intel/ixgbe/ixgbe_main.c struct ixgbe_fdir_filter *filter; filter 5249 drivers/net/ethernet/intel/ixgbe/ixgbe_main.c hlist_for_each_entry_safe(filter, node2, filter 5251 drivers/net/ethernet/intel/ixgbe/ixgbe_main.c if (filter->action == IXGBE_FDIR_DROP_QUEUE) { filter 5254 drivers/net/ethernet/intel/ixgbe/ixgbe_main.c u32 ring = ethtool_get_flow_spec_ring(filter->action); filter 5255 drivers/net/ethernet/intel/ixgbe/ixgbe_main.c u8 vf = ethtool_get_flow_spec_ring_vf(filter->action); filter 5278 drivers/net/ethernet/intel/ixgbe/ixgbe_main.c &filter->filter, filter->sw_idx, queue); filter 6072 drivers/net/ethernet/intel/ixgbe/ixgbe_main.c struct ixgbe_fdir_filter *filter; filter 6076 drivers/net/ethernet/intel/ixgbe/ixgbe_main.c hlist_for_each_entry_safe(filter, node2, filter 6078 drivers/net/ethernet/intel/ixgbe/ixgbe_main.c hlist_del(&filter->fdir_node); filter 6079 drivers/net/ethernet/intel/ixgbe/ixgbe_main.c kfree(filter); filter 9371 drivers/net/ethernet/intel/ixgbe/ixgbe_main.c input->filter.formatted.flow_type |= filter 9398 drivers/net/ethernet/intel/ixgbe/ixgbe_main.c if (input->filter.formatted.flow_type == IXGBE_ATR_FLOW_TYPE_IPV4) filter 9576 drivers/net/ethernet/intel/ixgbe/ixgbe_main.c ixgbe_atr_compute_perfect_hash_82599(&input->filter, mask); filter 9577 drivers/net/ethernet/intel/ixgbe/ixgbe_main.c err = ixgbe_fdir_write_perfect_filter_82599(hw, &input->filter, filter 32 drivers/net/ethernet/intel/ixgbe/ixgbe_model.h input->filter.formatted.src_ip[0] = (__force __be32)val; filter 41 drivers/net/ethernet/intel/ixgbe/ixgbe_model.h input->filter.formatted.dst_ip[0] = (__force __be32)val; filter 58 drivers/net/ethernet/intel/ixgbe/ixgbe_model.h input->filter.formatted.src_port = (__force __be16)(val & 0xffff); filter 60 drivers/net/ethernet/intel/ixgbe/ixgbe_model.h input->filter.formatted.dst_port = (__force __be16)(val >> 16); filter 2920 drivers/net/ethernet/marvell/skge.c static void genesis_add_filter(u8 filter[8], const u8 *addr) filter 2926 drivers/net/ethernet/marvell/skge.c filter[bit/8] |= 1 << (bit%8); filter 2936 drivers/net/ethernet/marvell/skge.c u8 filter[8]; filter 2946 drivers/net/ethernet/marvell/skge.c memset(filter, 0xff, sizeof(filter)); filter 2948 drivers/net/ethernet/marvell/skge.c memset(filter, 0, sizeof(filter)); filter 2952 drivers/net/ethernet/marvell/skge.c genesis_add_filter(filter, pause_mc_addr); filter 2955 drivers/net/ethernet/marvell/skge.c genesis_add_filter(filter, ha->addr); filter 2959 drivers/net/ethernet/marvell/skge.c xm_outhash(hw, port, XM_HSM, filter); filter 2962 drivers/net/ethernet/marvell/skge.c static void yukon_add_filter(u8 filter[8], const u8 *addr) filter 2965 drivers/net/ethernet/marvell/skge.c filter[bit/8] |= 1 << (bit%8); filter 2977 drivers/net/ethernet/marvell/skge.c u8 filter[8]; filter 2979 drivers/net/ethernet/marvell/skge.c memset(filter, 0, sizeof(filter)); filter 2987 drivers/net/ethernet/marvell/skge.c memset(filter, 0xff, sizeof(filter)); filter 2994 drivers/net/ethernet/marvell/skge.c yukon_add_filter(filter, pause_mc_addr); filter 2997 drivers/net/ethernet/marvell/skge.c yukon_add_filter(filter, ha->addr); filter 3002 drivers/net/ethernet/marvell/skge.c (u16)filter[0] | ((u16)filter[1] << 8)); filter 3004 drivers/net/ethernet/marvell/skge.c (u16)filter[2] | ((u16)filter[3] << 8)); filter 3006 drivers/net/ethernet/marvell/skge.c (u16)filter[4] | ((u16)filter[5] << 8)); filter 3008 drivers/net/ethernet/marvell/skge.c (u16)filter[6] | ((u16)filter[7] << 8)); filter 3833 drivers/net/ethernet/marvell/sky2.c static inline void sky2_add_filter(u8 filter[8], const u8 *addr) filter 3838 drivers/net/ethernet/marvell/sky2.c filter[bit >> 3] |= 1 << (bit & 7); filter 3848 drivers/net/ethernet/marvell/sky2.c u8 filter[8]; filter 3853 drivers/net/ethernet/marvell/sky2.c memset(filter, 0, sizeof(filter)); filter 3861 drivers/net/ethernet/marvell/sky2.c memset(filter, 0xff, sizeof(filter)); filter 3868 drivers/net/ethernet/marvell/sky2.c sky2_add_filter(filter, pause_mc_addr); filter 3871 drivers/net/ethernet/marvell/sky2.c sky2_add_filter(filter, ha->addr); filter 3875 drivers/net/ethernet/marvell/sky2.c (u16) filter[0] | ((u16) filter[1] << 8)); filter 3877 drivers/net/ethernet/marvell/sky2.c (u16) filter[2] | ((u16) filter[3] << 8)); filter 3879 drivers/net/ethernet/marvell/sky2.c (u16) filter[4] | ((u16) filter[5] << 8)); filter 3881 drivers/net/ethernet/marvell/sky2.c (u16) filter[6] | ((u16) filter[7] << 8)); filter 199 drivers/net/ethernet/mellanox/mlx4/en_netdev.c struct mlx4_en_filter *filter = container_of(work, filter 202 drivers/net/ethernet/mellanox/mlx4/en_netdev.c struct mlx4_en_priv *priv = filter->priv; filter 204 drivers/net/ethernet/mellanox/mlx4/en_netdev.c .id = mlx4_ip_proto_to_trans_rule_id(filter->ip_proto), filter 207 drivers/net/ethernet/mellanox/mlx4/en_netdev.c .dst_port = filter->dst_port, filter 209 drivers/net/ethernet/mellanox/mlx4/en_netdev.c .src_port = filter->src_port, filter 218 drivers/net/ethernet/mellanox/mlx4/en_netdev.c .dst_ip = filter->dst_ip, filter 220 drivers/net/ethernet/mellanox/mlx4/en_netdev.c .src_ip = filter->src_ip, filter 242 drivers/net/ethernet/mellanox/mlx4/en_netdev.c filter->ip_proto); filter 249 drivers/net/ethernet/mellanox/mlx4/en_netdev.c rule.qpn = priv->rss_map.qps[filter->rxq_index].qpn; filter 253 drivers/net/ethernet/mellanox/mlx4/en_netdev.c filter->activated = 0; filter 255 drivers/net/ethernet/mellanox/mlx4/en_netdev.c if (filter->reg_id) { filter 256 drivers/net/ethernet/mellanox/mlx4/en_netdev.c rc = mlx4_flow_detach(priv->mdev->dev, filter->reg_id); filter 261 drivers/net/ethernet/mellanox/mlx4/en_netdev.c rc = mlx4_flow_attach(priv->mdev->dev, &rule, &filter->reg_id); filter 268 drivers/net/ethernet/mellanox/mlx4/en_netdev.c filter->activated = 1; filter 292 drivers/net/ethernet/mellanox/mlx4/en_netdev.c struct mlx4_en_filter *filter = NULL; filter 294 drivers/net/ethernet/mellanox/mlx4/en_netdev.c filter = kzalloc(sizeof(struct mlx4_en_filter), GFP_ATOMIC); filter 295 drivers/net/ethernet/mellanox/mlx4/en_netdev.c if (!filter) filter 298 drivers/net/ethernet/mellanox/mlx4/en_netdev.c filter->priv = priv; filter 299 drivers/net/ethernet/mellanox/mlx4/en_netdev.c filter->rxq_index = rxq_index; filter 300 drivers/net/ethernet/mellanox/mlx4/en_netdev.c INIT_WORK(&filter->work, mlx4_en_filter_work); filter 302 drivers/net/ethernet/mellanox/mlx4/en_netdev.c filter->src_ip = src_ip; filter 303 drivers/net/ethernet/mellanox/mlx4/en_netdev.c filter->dst_ip = dst_ip; filter 304 drivers/net/ethernet/mellanox/mlx4/en_netdev.c filter->ip_proto = ip_proto; filter 305 drivers/net/ethernet/mellanox/mlx4/en_netdev.c filter->src_port = src_port; filter 306 drivers/net/ethernet/mellanox/mlx4/en_netdev.c filter->dst_port = dst_port; filter 308 drivers/net/ethernet/mellanox/mlx4/en_netdev.c filter->flow_id = flow_id; filter 310 drivers/net/ethernet/mellanox/mlx4/en_netdev.c filter->id = priv->last_filter_id++ % RPS_NO_FILTER; filter 312 drivers/net/ethernet/mellanox/mlx4/en_netdev.c list_add_tail(&filter->next, &priv->filters); filter 313 drivers/net/ethernet/mellanox/mlx4/en_netdev.c hlist_add_head(&filter->filter_chain, filter 317 drivers/net/ethernet/mellanox/mlx4/en_netdev.c return filter; filter 320 drivers/net/ethernet/mellanox/mlx4/en_netdev.c static void mlx4_en_filter_free(struct mlx4_en_filter *filter) filter 322 drivers/net/ethernet/mellanox/mlx4/en_netdev.c struct mlx4_en_priv *priv = filter->priv; filter 325 drivers/net/ethernet/mellanox/mlx4/en_netdev.c list_del(&filter->next); filter 327 drivers/net/ethernet/mellanox/mlx4/en_netdev.c rc = mlx4_flow_detach(priv->mdev->dev, filter->reg_id); filter 331 drivers/net/ethernet/mellanox/mlx4/en_netdev.c kfree(filter); filter 338 drivers/net/ethernet/mellanox/mlx4/en_netdev.c struct mlx4_en_filter *filter; filter 341 drivers/net/ethernet/mellanox/mlx4/en_netdev.c hlist_for_each_entry(filter, filter 345 drivers/net/ethernet/mellanox/mlx4/en_netdev.c if (filter->src_ip == src_ip && filter 346 drivers/net/ethernet/mellanox/mlx4/en_netdev.c filter->dst_ip == dst_ip && filter 347 drivers/net/ethernet/mellanox/mlx4/en_netdev.c filter->ip_proto == ip_proto && filter 348 drivers/net/ethernet/mellanox/mlx4/en_netdev.c filter->src_port == src_port && filter 349 drivers/net/ethernet/mellanox/mlx4/en_netdev.c filter->dst_port == dst_port) { filter 350 drivers/net/ethernet/mellanox/mlx4/en_netdev.c ret = filter; filter 363 drivers/net/ethernet/mellanox/mlx4/en_netdev.c struct mlx4_en_filter *filter; filter 392 drivers/net/ethernet/mellanox/mlx4/en_netdev.c filter = mlx4_en_filter_find(priv, src_ip, dst_ip, ip_proto, filter 394 drivers/net/ethernet/mellanox/mlx4/en_netdev.c if (filter) { filter 395 drivers/net/ethernet/mellanox/mlx4/en_netdev.c if (filter->rxq_index == rxq_index) filter 398 drivers/net/ethernet/mellanox/mlx4/en_netdev.c filter->rxq_index = rxq_index; filter 400 drivers/net/ethernet/mellanox/mlx4/en_netdev.c filter = mlx4_en_filter_alloc(priv, rxq_index, filter 403 drivers/net/ethernet/mellanox/mlx4/en_netdev.c if (!filter) { filter 409 drivers/net/ethernet/mellanox/mlx4/en_netdev.c queue_work(priv->mdev->workqueue, &filter->work); filter 412 drivers/net/ethernet/mellanox/mlx4/en_netdev.c ret = filter->id; filter 421 drivers/net/ethernet/mellanox/mlx4/en_netdev.c struct mlx4_en_filter *filter, *tmp; filter 425 drivers/net/ethernet/mellanox/mlx4/en_netdev.c list_for_each_entry_safe(filter, tmp, &priv->filters, next) { filter 426 drivers/net/ethernet/mellanox/mlx4/en_netdev.c list_move(&filter->next, &del_list); filter 427 drivers/net/ethernet/mellanox/mlx4/en_netdev.c hlist_del(&filter->filter_chain); filter 431 drivers/net/ethernet/mellanox/mlx4/en_netdev.c list_for_each_entry_safe(filter, tmp, &del_list, next) { filter 432 drivers/net/ethernet/mellanox/mlx4/en_netdev.c cancel_work_sync(&filter->work); filter 433 drivers/net/ethernet/mellanox/mlx4/en_netdev.c mlx4_en_filter_free(filter); filter 439 drivers/net/ethernet/mellanox/mlx4/en_netdev.c struct mlx4_en_filter *filter = NULL, *tmp, *last_filter = NULL; filter 444 drivers/net/ethernet/mellanox/mlx4/en_netdev.c list_for_each_entry_safe(filter, tmp, &priv->filters, next) { filter 448 drivers/net/ethernet/mellanox/mlx4/en_netdev.c if (filter->activated && filter 449 drivers/net/ethernet/mellanox/mlx4/en_netdev.c !work_pending(&filter->work) && filter 451 drivers/net/ethernet/mellanox/mlx4/en_netdev.c filter->rxq_index, filter->flow_id, filter 452 drivers/net/ethernet/mellanox/mlx4/en_netdev.c filter->id)) { filter 453 drivers/net/ethernet/mellanox/mlx4/en_netdev.c list_move(&filter->next, &del_list); filter 454 drivers/net/ethernet/mellanox/mlx4/en_netdev.c hlist_del(&filter->filter_chain); filter 456 drivers/net/ethernet/mellanox/mlx4/en_netdev.c last_filter = filter; filter 466 drivers/net/ethernet/mellanox/mlx4/en_netdev.c list_for_each_entry_safe(filter, tmp, &del_list, next) filter 467 drivers/net/ethernet/mellanox/mlx4/en_netdev.c mlx4_en_filter_free(filter); filter 47 drivers/net/ethernet/mellanox/mlx4/en_port.c struct mlx4_set_vlan_fltr_mbox *filter; filter 58 drivers/net/ethernet/mellanox/mlx4/en_port.c filter = mailbox->buf; filter 64 drivers/net/ethernet/mellanox/mlx4/en_port.c filter->entry[i] = cpu_to_be32(entry); filter 390 drivers/net/ethernet/qlogic/qed/qed_dev.c union qed_llh_filter filter; filter 502 drivers/net/ethernet/qlogic/qed/qed_dev.c if (!memcmp(p_filter, &p_filters[i].filter, filter 556 drivers/net/ethernet/qlogic/qed/qed_dev.c memcpy(&p_filters[filter_idx].filter, p_filter, filter 557 drivers/net/ethernet/qlogic/qed/qed_dev.c sizeof(p_filters[filter_idx].filter)); filter 982 drivers/net/ethernet/qlogic/qed/qed_dev.c union qed_llh_filter filter = {}; filter 993 drivers/net/ethernet/qlogic/qed/qed_dev.c memcpy(filter.mac.addr, mac_addr, ETH_ALEN); filter 996 drivers/net/ethernet/qlogic/qed/qed_dev.c &filter, &filter_idx, &ref_cnt); filter 1116 drivers/net/ethernet/qlogic/qed/qed_dev.c union qed_llh_filter filter = {}; filter 1132 drivers/net/ethernet/qlogic/qed/qed_dev.c filter.protocol.type = type; filter 1133 drivers/net/ethernet/qlogic/qed/qed_dev.c filter.protocol.source_port_or_eth_type = source_port_or_eth_type; filter 1134 drivers/net/ethernet/qlogic/qed/qed_dev.c filter.protocol.dest_port = dest_port; filter 1138 drivers/net/ethernet/qlogic/qed/qed_dev.c &filter, &filter_idx, &ref_cnt); filter 1182 drivers/net/ethernet/qlogic/qed/qed_dev.c union qed_llh_filter filter = {}; filter 1193 drivers/net/ethernet/qlogic/qed/qed_dev.c ether_addr_copy(filter.mac.addr, mac_addr); filter 1194 drivers/net/ethernet/qlogic/qed/qed_dev.c rc = qed_llh_shadow_remove_filter(cdev, ppfid, &filter, &filter_idx, filter 1233 drivers/net/ethernet/qlogic/qed/qed_dev.c union qed_llh_filter filter = {}; filter 1249 drivers/net/ethernet/qlogic/qed/qed_dev.c filter.protocol.type = type; filter 1250 drivers/net/ethernet/qlogic/qed/qed_dev.c filter.protocol.source_port_or_eth_type = source_port_or_eth_type; filter 1251 drivers/net/ethernet/qlogic/qed/qed_dev.c filter.protocol.dest_port = dest_port; filter 1252 drivers/net/ethernet/qlogic/qed/qed_dev.c rc = qed_llh_shadow_remove_filter(cdev, ppfid, &filter, &filter_idx, filter 2788 drivers/net/ethernet/qlogic/qed/qed_l2.c return qed_configure_filter_ucast(cdev, ¶ms->filter.ucast); filter 2790 drivers/net/ethernet/qlogic/qed/qed_l2.c return qed_configure_filter_mcast(cdev, ¶ms->filter.mcast); filter 2792 drivers/net/ethernet/qlogic/qed/qed_l2.c accept_flags = params->filter.accept_flags; filter 1740 drivers/net/ethernet/qlogic/qed/qed_sriov.c struct qed_filter_ucast filter; filter 1744 drivers/net/ethernet/qlogic/qed/qed_sriov.c memset(&filter, 0, sizeof(filter)); filter 1745 drivers/net/ethernet/qlogic/qed/qed_sriov.c filter.is_rx_filter = 1; filter 1746 drivers/net/ethernet/qlogic/qed/qed_sriov.c filter.is_tx_filter = 1; filter 1747 drivers/net/ethernet/qlogic/qed/qed_sriov.c filter.vport_to_add_to = p_vf->vport_id; filter 1748 drivers/net/ethernet/qlogic/qed/qed_sriov.c filter.opcode = QED_FILTER_ADD; filter 1755 drivers/net/ethernet/qlogic/qed/qed_sriov.c filter.type = QED_FILTER_VLAN; filter 1756 drivers/net/ethernet/qlogic/qed/qed_sriov.c filter.vlan = p_vf->shadow_config.vlans[i].vid; filter 1759 drivers/net/ethernet/qlogic/qed/qed_sriov.c filter.vlan, p_vf->relative_vf_id); filter 1761 drivers/net/ethernet/qlogic/qed/qed_sriov.c &filter, QED_SPQ_MODE_CB, NULL); filter 1765 drivers/net/ethernet/qlogic/qed/qed_sriov.c filter.vlan, p_vf->relative_vf_id); filter 1790 drivers/net/ethernet/qlogic/qed/qed_sriov.c struct qed_filter_ucast filter; filter 1800 drivers/net/ethernet/qlogic/qed/qed_sriov.c memset(&filter, 0, sizeof(filter)); filter 1801 drivers/net/ethernet/qlogic/qed/qed_sriov.c filter.type = QED_FILTER_MAC; filter 1802 drivers/net/ethernet/qlogic/qed/qed_sriov.c filter.opcode = QED_FILTER_REPLACE; filter 1803 drivers/net/ethernet/qlogic/qed/qed_sriov.c filter.is_rx_filter = 1; filter 1804 drivers/net/ethernet/qlogic/qed/qed_sriov.c filter.is_tx_filter = 1; filter 1805 drivers/net/ethernet/qlogic/qed/qed_sriov.c filter.vport_to_add_to = p_vf->vport_id; filter 1806 drivers/net/ethernet/qlogic/qed/qed_sriov.c ether_addr_copy(filter.mac, p_vf->bulletin.p_virt->mac); filter 1809 drivers/net/ethernet/qlogic/qed/qed_sriov.c &filter, QED_SPQ_MODE_CB, NULL); filter 1828 drivers/net/ethernet/qlogic/qed/qed_sriov.c memset(&filter, 0, sizeof(filter)); filter 1829 drivers/net/ethernet/qlogic/qed/qed_sriov.c filter.type = QED_FILTER_VLAN; filter 1830 drivers/net/ethernet/qlogic/qed/qed_sriov.c filter.is_rx_filter = 1; filter 1831 drivers/net/ethernet/qlogic/qed/qed_sriov.c filter.is_tx_filter = 1; filter 1832 drivers/net/ethernet/qlogic/qed/qed_sriov.c filter.vport_to_add_to = p_vf->vport_id; filter 1833 drivers/net/ethernet/qlogic/qed/qed_sriov.c filter.vlan = p_vf->bulletin.p_virt->pvid; filter 1834 drivers/net/ethernet/qlogic/qed/qed_sriov.c filter.opcode = filter.vlan ? QED_FILTER_REPLACE : filter 1839 drivers/net/ethernet/qlogic/qed/qed_sriov.c &filter, QED_SPQ_MODE_CB, NULL); filter 1851 drivers/net/ethernet/qlogic/qed/qed_sriov.c vport_update.default_vlan_enable_flg = filter.vlan ? 1 : 0; filter 1853 drivers/net/ethernet/qlogic/qed/qed_sriov.c vport_update.default_vlan = filter.vlan; filter 1856 drivers/net/ethernet/qlogic/qed/qed_sriov.c removal = filter.vlan ? 1 filter 1859 drivers/net/ethernet/qlogic/qed/qed_sriov.c vport_update.silent_vlan_removal_flg = filter.vlan ? 1 : 0; filter 1892 drivers/net/ethernet/qlogic/qed/qed_sriov.c if (filter.vlan) filter 498 drivers/net/ethernet/qlogic/qede/qede.h void qede_arfs_filter_op(void *dev, void *filter, u8 fw_rc); filter 211 drivers/net/ethernet/qlogic/qede/qede_filter.c void qede_arfs_filter_op(void *dev, void *filter, u8 fw_rc) filter 213 drivers/net/ethernet/qlogic/qede/qede_filter.c struct qede_arfs_fltr_node *fltr = filter; filter 648 drivers/net/ethernet/qlogic/qede/qede_filter.c filter_cmd.filter.ucast.type = opcode; filter 649 drivers/net/ethernet/qlogic/qede/qede_filter.c filter_cmd.filter.ucast.mac_valid = 1; filter 650 drivers/net/ethernet/qlogic/qede/qede_filter.c ether_addr_copy(filter_cmd.filter.ucast.mac, mac); filter 663 drivers/net/ethernet/qlogic/qede/qede_filter.c filter_cmd.filter.ucast.type = opcode; filter 664 drivers/net/ethernet/qlogic/qede/qede_filter.c filter_cmd.filter.ucast.vlan_valid = 1; filter 665 drivers/net/ethernet/qlogic/qede/qede_filter.c filter_cmd.filter.ucast.vlan = vid; filter 1138 drivers/net/ethernet/qlogic/qede/qede_filter.c filter_cmd.filter.mcast.type = opcode; filter 1139 drivers/net/ethernet/qlogic/qede/qede_filter.c filter_cmd.filter.mcast.num = num_macs; filter 1142 drivers/net/ethernet/qlogic/qede/qede_filter.c ether_addr_copy(filter_cmd.filter.mcast.mac[i], mac); filter 1347 drivers/net/ethernet/qlogic/qede/qede_filter.c rx_mode.filter.accept_flags = accept_flags; filter 2169 drivers/net/ethernet/sfc/falcon/farch.c static u32 ef4_farch_filter_build(ef4_oword_t *filter, filter 2179 drivers/net/ethernet/sfc/falcon/farch.c *filter, filter 2196 drivers/net/ethernet/sfc/falcon/farch.c *filter, filter 2212 drivers/net/ethernet/sfc/falcon/farch.c EF4_POPULATE_OWORD_5(*filter, filter 2330 drivers/net/ethernet/sfc/falcon/farch.c ef4_oword_t filter; filter 2372 drivers/net/ethernet/sfc/falcon/farch.c u32 key = ef4_farch_filter_build(&filter, &spec); filter 2454 drivers/net/ethernet/sfc/falcon/farch.c ef4_writeo(efx, &filter, filter 2480 drivers/net/ethernet/sfc/falcon/farch.c static ef4_oword_t filter; filter 2489 drivers/net/ethernet/sfc/falcon/farch.c ef4_writeo(efx, &filter, table->offset + table->step * filter_idx); filter 2688 drivers/net/ethernet/sfc/falcon/farch.c ef4_oword_t filter; filter 2703 drivers/net/ethernet/sfc/falcon/farch.c ef4_farch_filter_build(&filter, &table->spec[filter_idx]); filter 2704 drivers/net/ethernet/sfc/falcon/farch.c ef4_writeo(efx, &filter, filter 2790 drivers/net/ethernet/sfc/falcon/farch.c ef4_oword_t filter; filter 2817 drivers/net/ethernet/sfc/falcon/farch.c ef4_farch_filter_build(&filter, &table->spec[filter_idx]); filter 2818 drivers/net/ethernet/sfc/falcon/farch.c ef4_writeo(efx, &filter, filter 2228 drivers/net/ethernet/sfc/farch.c static u32 efx_farch_filter_build(efx_oword_t *filter, filter 2238 drivers/net/ethernet/sfc/farch.c *filter, filter 2255 drivers/net/ethernet/sfc/farch.c *filter, filter 2271 drivers/net/ethernet/sfc/farch.c EFX_POPULATE_OWORD_5(*filter, filter 2389 drivers/net/ethernet/sfc/farch.c efx_oword_t filter; filter 2433 drivers/net/ethernet/sfc/farch.c u32 key = efx_farch_filter_build(&filter, &spec); filter 2513 drivers/net/ethernet/sfc/farch.c efx_writeo(efx, &filter, filter 2539 drivers/net/ethernet/sfc/farch.c static efx_oword_t filter; filter 2548 drivers/net/ethernet/sfc/farch.c efx_writeo(efx, &filter, table->offset + table->step * filter_idx); filter 2745 drivers/net/ethernet/sfc/farch.c efx_oword_t filter; filter 2760 drivers/net/ethernet/sfc/farch.c efx_farch_filter_build(&filter, &table->spec[filter_idx]); filter 2761 drivers/net/ethernet/sfc/farch.c efx_writeo(efx, &filter, filter 2862 drivers/net/ethernet/sfc/farch.c efx_oword_t filter; filter 2889 drivers/net/ethernet/sfc/farch.c efx_farch_filter_build(&filter, &table->spec[filter_idx]); filter 2890 drivers/net/ethernet/sfc/farch.c efx_writeo(efx, &filter, filter 303 drivers/net/ethernet/sfc/siena_sriov.c struct efx_filter_spec filter; filter 325 drivers/net/ethernet/sfc/siena_sriov.c efx_filter_init_tx(&filter, abs_index(vf, 0)); filter 326 drivers/net/ethernet/sfc/siena_sriov.c rc = efx_filter_set_eth_local(&filter, filter 331 drivers/net/ethernet/sfc/siena_sriov.c rc = efx_filter_insert_filter(efx, &filter, true); filter 347 drivers/net/ethernet/sfc/siena_sriov.c struct efx_filter_spec filter; filter 363 drivers/net/ethernet/sfc/siena_sriov.c efx_filter_init_rx(&filter, EFX_FILTER_PRI_REQUIRED, filter 366 drivers/net/ethernet/sfc/siena_sriov.c rc = efx_filter_set_eth_local(&filter, filter 371 drivers/net/ethernet/sfc/siena_sriov.c rc = efx_filter_insert_filter(efx, &filter, true); filter 166 drivers/net/hyperv/hyperv_net.h u32 filter; filter 890 drivers/net/hyperv/rndis_filter.c if (dev->filter == new_filter) filter 911 drivers/net/hyperv/rndis_filter.c dev->filter = new_filter; filter 923 drivers/net/hyperv/rndis_filter.c u32 filter = NDIS_PACKET_TYPE_DIRECTED; filter 927 drivers/net/hyperv/rndis_filter.c filter = NDIS_PACKET_TYPE_PROMISCUOUS; filter 930 drivers/net/hyperv/rndis_filter.c filter |= NDIS_PACKET_TYPE_ALL_MULTICAST; filter 932 drivers/net/hyperv/rndis_filter.c filter |= NDIS_PACKET_TYPE_BROADCAST; filter 935 drivers/net/hyperv/rndis_filter.c rndis_filter_set_packet_filter(rdev, filter); filter 779 drivers/net/macvlan.c DECLARE_BITMAP(filter, MACVLAN_MC_FILTER_SZ); filter 781 drivers/net/macvlan.c bitmap_zero(filter, MACVLAN_MC_FILTER_SZ); filter 783 drivers/net/macvlan.c __set_bit(mc_hash(vlan, ha->addr), filter); filter 786 drivers/net/macvlan.c __set_bit(mc_hash(vlan, dev->broadcast), filter); filter 788 drivers/net/macvlan.c bitmap_copy(mc_filter, filter, MACVLAN_MC_FILTER_SZ); filter 572 drivers/net/ppp/ppp_generic.c code = memdup_user(uprog.filter, len); filter 764 drivers/net/ppp/ppp_generic.c .filter = code, filter 768 drivers/net/ppp/ppp_generic.c if (fprog.filter) filter 790 drivers/net/ppp/ppp_generic.c .filter = code, filter 794 drivers/net/ppp/ppp_generic.c if (fprog.filter) filter 256 drivers/net/team/team_mode_loadbalance.c ctx->data.bin_val.ptr = lb_priv->ex->orig_fprog->filter; filter 264 drivers/net/team/team_mode_loadbalance.c struct sock_filter *filter = (struct sock_filter *) data; filter 271 drivers/net/team/team_mode_loadbalance.c fprog->filter = kmemdup(filter, data_len, GFP_KERNEL); filter 272 drivers/net/team/team_mode_loadbalance.c if (!fprog->filter) { filter 283 drivers/net/team/team_mode_loadbalance.c kfree(fprog->filter); filter 914 drivers/net/tun.c static int update_filter(struct tap_filter *filter, void __user *arg) filter 925 drivers/net/tun.c filter->count = 0; filter 937 drivers/net/tun.c filter->count = 0; filter 942 drivers/net/tun.c memcpy(filter->addr[n], addr[n].u, ETH_ALEN); filter 948 drivers/net/tun.c memset(filter->mask, 0, sizeof(filter->mask)); filter 954 drivers/net/tun.c addr_hash_set(filter->mask, addr[n].u); filter 960 drivers/net/tun.c memset(filter->mask, ~0, sizeof(filter->mask)); filter 964 drivers/net/tun.c filter->count = nexact; filter 974 drivers/net/tun.c static int run_filter(struct tap_filter *filter, const struct sk_buff *skb) filter 982 drivers/net/tun.c for (i = 0; i < filter->count; i++) filter 983 drivers/net/tun.c if (ether_addr_equal(eh->h_dest, filter->addr[i])) filter 988 drivers/net/tun.c return addr_hash_test(filter->mask, eh->h_dest); filter 997 drivers/net/tun.c static int check_filter(struct tap_filter *filter, const struct sk_buff *skb) filter 999 drivers/net/tun.c if (!filter->count) filter 1002 drivers/net/tun.c return run_filter(filter, skb); filter 110 drivers/net/usb/int51x1.c u16 filter = PACKET_TYPE_DIRECTED | PACKET_TYPE_BROADCAST; filter 114 drivers/net/usb/int51x1.c filter |= PACKET_TYPE_PROMISCUOUS; filter 118 drivers/net/usb/int51x1.c filter |= PACKET_TYPE_ALL_MULTICAST; filter 127 drivers/net/usb/int51x1.c filter, 0, NULL, 0); filter 1523 drivers/net/usb/smsc75xx.c static int smsc75xx_write_wuff(struct usbnet *dev, int filter, u32 wuf_cfg, filter 1526 drivers/net/usb/smsc75xx.c int cfg_base = WUF_CFGX + filter * 4; filter 1527 drivers/net/usb/smsc75xx.c int mask_base = WUF_MASKX + filter * 16; filter 1887 drivers/net/usb/smsc75xx.c int i, filter = 0; filter 1904 drivers/net/usb/smsc75xx.c ret = smsc75xx_write_wuff(dev, filter++, val, 0x0007); filter 1917 drivers/net/usb/smsc75xx.c ret = smsc75xx_write_wuff(dev, filter++, val, 0x0003); filter 1335 drivers/net/usb/smsc95xx.c static u32 smsc_crc(const u8 *buffer, size_t len, int filter) filter 1338 drivers/net/usb/smsc95xx.c return crc << ((filter % 2) * 16); filter 1665 drivers/net/usb/smsc95xx.c int i, filter = 0; filter 1680 drivers/net/usb/smsc95xx.c filter_mask[filter * 4] = 0x003F; filter 1681 drivers/net/usb/smsc95xx.c filter_mask[filter * 4 + 1] = 0x00; filter 1682 drivers/net/usb/smsc95xx.c filter_mask[filter * 4 + 2] = 0x00; filter 1683 drivers/net/usb/smsc95xx.c filter_mask[filter * 4 + 3] = 0x00; filter 1684 drivers/net/usb/smsc95xx.c command[filter/4] |= 0x05UL << ((filter % 4) * 8); filter 1685 drivers/net/usb/smsc95xx.c offset[filter/4] |= 0x00 << ((filter % 4) * 8); filter 1686 drivers/net/usb/smsc95xx.c crc[filter/2] |= smsc_crc(bcast, 6, filter); filter 1687 drivers/net/usb/smsc95xx.c filter++; filter 1693 drivers/net/usb/smsc95xx.c filter_mask[filter * 4] = 0x0007; filter 1694 drivers/net/usb/smsc95xx.c filter_mask[filter * 4 + 1] = 0x00; filter 1695 drivers/net/usb/smsc95xx.c filter_mask[filter * 4 + 2] = 0x00; filter 1696 drivers/net/usb/smsc95xx.c filter_mask[filter * 4 + 3] = 0x00; filter 1697 drivers/net/usb/smsc95xx.c command[filter/4] |= 0x09UL << ((filter % 4) * 8); filter 1698 drivers/net/usb/smsc95xx.c offset[filter/4] |= 0x00 << ((filter % 4) * 8); filter 1699 drivers/net/usb/smsc95xx.c crc[filter/2] |= smsc_crc(mcast, 3, filter); filter 1700 drivers/net/usb/smsc95xx.c filter++; filter 1706 drivers/net/usb/smsc95xx.c filter_mask[filter * 4] = 0x0003; filter 1707 drivers/net/usb/smsc95xx.c filter_mask[filter * 4 + 1] = 0x00; filter 1708 drivers/net/usb/smsc95xx.c filter_mask[filter * 4 + 2] = 0x00; filter 1709 drivers/net/usb/smsc95xx.c filter_mask[filter * 4 + 3] = 0x00; filter 1710 drivers/net/usb/smsc95xx.c command[filter/4] |= 0x05UL << ((filter % 4) * 8); filter 1711 drivers/net/usb/smsc95xx.c offset[filter/4] |= 0x0C << ((filter % 4) * 8); filter 1712 drivers/net/usb/smsc95xx.c crc[filter/2] |= smsc_crc(arp, 2, filter); filter 1713 drivers/net/usb/smsc95xx.c filter++; filter 1718 drivers/net/usb/smsc95xx.c filter_mask[filter * 4] = 0x003F; filter 1719 drivers/net/usb/smsc95xx.c filter_mask[filter * 4 + 1] = 0x00; filter 1720 drivers/net/usb/smsc95xx.c filter_mask[filter * 4 + 2] = 0x00; filter 1721 drivers/net/usb/smsc95xx.c filter_mask[filter * 4 + 3] = 0x00; filter 1722 drivers/net/usb/smsc95xx.c command[filter/4] |= 0x01UL << ((filter % 4) * 8); filter 1723 drivers/net/usb/smsc95xx.c offset[filter/4] |= 0x00 << ((filter % 4) * 8); filter 1724 drivers/net/usb/smsc95xx.c crc[filter/2] |= smsc_crc(dev->net->dev_addr, ETH_ALEN, filter); filter 1725 drivers/net/usb/smsc95xx.c filter++; filter 1328 drivers/net/wireless/ath/ar5523/ar5523.c u32 filter = 0; filter 1340 drivers/net/wireless/ath/ar5523/ar5523.c filter |= UATH_FILTER_RX_UCAST | UATH_FILTER_RX_MCAST | filter 1345 drivers/net/wireless/ath/ar5523/ar5523.c ar5523_set_rxfilter(ar, filter, UATH_FILTER_OP_SET); filter 1852 drivers/net/wireless/ath/ath10k/debug.c u32 filter; filter 1855 drivers/net/wireless/ath/ath10k/debug.c if (kstrtouint_from_user(ubuf, count, 0, &filter)) filter 1861 drivers/net/wireless/ath/ath10k/debug.c ar->pktlog_filter = filter; filter 1866 drivers/net/wireless/ath/ath10k/debug.c if (filter == ar->pktlog_filter) { filter 1871 drivers/net/wireless/ath/ath10k/debug.c if (filter) { filter 1872 drivers/net/wireless/ath/ath10k/debug.c ret = ath10k_wmi_pdev_pktlog_enable(ar, filter); filter 1886 drivers/net/wireless/ath/ath10k/debug.c ar->pktlog_filter = filter; filter 2045 drivers/net/wireless/ath/ath10k/debug.c u32 filter; filter 2048 drivers/net/wireless/ath/ath10k/debug.c if (kstrtouint_from_user(ubuf, count, 0, &filter)) filter 2054 drivers/net/wireless/ath/ath10k/debug.c ar->debug.enable_extd_tx_stats = filter; filter 2059 drivers/net/wireless/ath/ath10k/debug.c if (filter == ar->debug.enable_extd_tx_stats) { filter 2064 drivers/net/wireless/ath/ath10k/debug.c ar->debug.enable_extd_tx_stats = filter; filter 138 drivers/net/wireless/ath/ath10k/wmi-ops.h struct sk_buff *(*gen_pktlog_enable)(struct ath10k *ar, u32 filter); filter 1099 drivers/net/wireless/ath/ath10k/wmi-ops.h ath10k_wmi_pdev_pktlog_enable(struct ath10k *ar, u32 filter) filter 1106 drivers/net/wireless/ath/ath10k/wmi-ops.h skb = ar->wmi.ops->gen_pktlog_enable(ar, filter); filter 3020 drivers/net/wireless/ath/ath10k/wmi-tlv.c ath10k_wmi_tlv_op_gen_pktlog_enable(struct ath10k *ar, u32 filter) filter 3038 drivers/net/wireless/ath/ath10k/wmi-tlv.c cmd->filter = __cpu_to_le32(filter); filter 3044 drivers/net/wireless/ath/ath10k/wmi-tlv.c filter); filter 1961 drivers/net/wireless/ath/ath10k/wmi-tlv.h __le32 filter; filter 1547 drivers/net/wireless/ath/ath5k/ath5k.h void ath5k_hw_set_rx_filter(struct ath5k_hw *ah, u32 filter); filter 484 drivers/net/wireless/ath/ath5k/pcu.c u32 data, filter = 0; filter 486 drivers/net/wireless/ath/ath5k/pcu.c filter = ath5k_hw_reg_read(ah, AR5K_RX_FILTER); filter 493 drivers/net/wireless/ath/ath5k/pcu.c filter |= AR5K_RX_FILTER_RADARERR; filter 495 drivers/net/wireless/ath/ath5k/pcu.c filter |= AR5K_RX_FILTER_PHYERR; filter 498 drivers/net/wireless/ath/ath5k/pcu.c return filter; filter 511 drivers/net/wireless/ath/ath5k/pcu.c ath5k_hw_set_rx_filter(struct ath5k_hw *ah, u32 filter) filter 517 drivers/net/wireless/ath/ath5k/pcu.c if (filter & AR5K_RX_FILTER_RADARERR) filter 519 drivers/net/wireless/ath/ath5k/pcu.c if (filter & AR5K_RX_FILTER_PHYERR) filter 527 drivers/net/wireless/ath/ath5k/pcu.c (filter & AR5K_RX_FILTER_RADARERR)) { filter 528 drivers/net/wireless/ath/ath5k/pcu.c filter &= ~AR5K_RX_FILTER_RADARERR; filter 529 drivers/net/wireless/ath/ath5k/pcu.c filter |= AR5K_RX_FILTER_PROM; filter 539 drivers/net/wireless/ath/ath5k/pcu.c ath5k_hw_reg_write(ah, filter & 0xff, AR5K_RX_FILTER); filter 1906 drivers/net/wireless/ath/ath6kl/cfg80211.c struct cfg80211_wowlan *wow, u32 *filter) filter 1943 drivers/net/wireless/ath/ath6kl/cfg80211.c *filter |= WOW_FILTER_OPTION_NWK_DISASSOC; filter 1946 drivers/net/wireless/ath/ath6kl/cfg80211.c *filter |= WOW_FILTER_OPTION_MAGIC_PACKET; filter 1949 drivers/net/wireless/ath/ath6kl/cfg80211.c *filter |= WOW_FILTER_OPTION_GTK_ERROR; filter 1952 drivers/net/wireless/ath/ath6kl/cfg80211.c *filter |= WOW_FILTER_OPTION_EAP_REQ; filter 1955 drivers/net/wireless/ath/ath6kl/cfg80211.c *filter |= WOW_FILTER_OPTION_8021X_4WAYHS; filter 2127 drivers/net/wireless/ath/ath6kl/cfg80211.c struct cfg80211_wowlan *wow, u32 *filter) filter 2157 drivers/net/wireless/ath/ath6kl/cfg80211.c ret = ath6kl_wow_usr(ar, vif, wow, filter); filter 2225 drivers/net/wireless/ath/ath6kl/cfg80211.c u32 filter = 0; filter 2245 drivers/net/wireless/ath/ath6kl/cfg80211.c ret = ath6kl_wow_suspend_vif(vif, wow, &filter); filter 2260 drivers/net/wireless/ath/ath6kl/cfg80211.c filter, filter 2141 drivers/net/wireless/ath/ath6kl/wmi.c int ath6kl_wmi_bssfilter_cmd(struct wmi *wmi, u8 if_idx, u8 filter, u32 ie_mask) filter 2147 drivers/net/wireless/ath/ath6kl/wmi.c if (filter >= LAST_BSS_FILTER) filter 2155 drivers/net/wireless/ath/ath6kl/wmi.c cmd->bss_filter = filter; filter 2926 drivers/net/wireless/ath/ath6kl/wmi.c u32 filter, u16 host_req_delay) filter 2944 drivers/net/wireless/ath/ath6kl/wmi.c cmd->filter = cpu_to_le32(filter); filter 2954 drivers/net/wireless/ath/ath6kl/wmi.c u8 filter_offset, const u8 *filter, filter 2978 drivers/net/wireless/ath/ath6kl/wmi.c memcpy(cmd->filter, filter, filter_size); filter 2980 drivers/net/wireless/ath/ath6kl/wmi.c filter_mask = (u8 *) (cmd->filter + filter_size); filter 3252 drivers/net/wireless/ath/ath6kl/wmi.c u8 *filter, bool add_filter) filter 3258 drivers/net/wireless/ath/ath6kl/wmi.c if ((filter[0] != 0x33 || filter[1] != 0x33) && filter 3259 drivers/net/wireless/ath/ath6kl/wmi.c (filter[0] != 0x01 || filter[1] != 0x00 || filter 3260 drivers/net/wireless/ath/ath6kl/wmi.c filter[2] != 0x5e || filter[3] > 0x7f)) { filter 3270 drivers/net/wireless/ath/ath6kl/wmi.c memcpy(cmd->mcast_mac, filter, ATH6KL_MCAST_FILTER_MAC_ADDR_SIZE); filter 2122 drivers/net/wireless/ath/ath6kl/wmi.h __le32 filter; filter 2130 drivers/net/wireless/ath/ath6kl/wmi.h u8 filter[0]; filter 2584 drivers/net/wireless/ath/ath6kl/wmi.h int ath6kl_wmi_bssfilter_cmd(struct wmi *wmi, u8 if_idx, u8 filter, filter 2645 drivers/net/wireless/ath/ath6kl/wmi.h u32 filter, u16 host_req_delay); filter 2648 drivers/net/wireless/ath/ath6kl/wmi.h u8 filter_offset, const u8 *filter, filter 2661 drivers/net/wireless/ath/ath6kl/wmi.h u8 *filter, bool add_filter); filter 1034 drivers/net/wireless/ath/ath9k/mac.c u32 filter; filter 1037 drivers/net/wireless/ath/ath9k/mac.c filter = SM(set, AR_D_TXBLK_WRITE_COMMAND); filter 1038 drivers/net/wireless/ath/ath9k/mac.c filter |= SM(dcu_idx, AR_D_TXBLK_WRITE_DCU); filter 1039 drivers/net/wireless/ath/ath9k/mac.c filter |= SM((destidx / ATH9K_HW_SLICE_PER_DCU), filter 1041 drivers/net/wireless/ath/ath9k/mac.c filter |= BIT(destidx % ATH9K_HW_BIT_IN_SLICE); filter 1044 drivers/net/wireless/ath/ath9k/mac.c dcu_idx, destidx, set, filter); filter 1045 drivers/net/wireless/ath/ath9k/mac.c REG_WRITE(ah, AR_D_TXBLK_BASE, filter); filter 4948 drivers/net/wireless/broadcom/b43/phy_n.c const s16 *filter) filter 4955 drivers/net/wireless/broadcom/b43/phy_n.c b43_phy_write(dev, offset, filter[i]); filter 3479 drivers/net/wireless/broadcom/brcm80211/brcmfmac/cfg80211.c struct brcmf_fil_wowl_pattern_le *filter; filter 3487 drivers/net/wireless/broadcom/brcm80211/brcmfmac/cfg80211.c patternoffset = sizeof(*filter) - sizeof(filter->cmd) + masksize; filter 3489 drivers/net/wireless/broadcom/brcm80211/brcmfmac/cfg80211.c bufsize = sizeof(*filter) + patternsize + masksize; filter 3493 drivers/net/wireless/broadcom/brcm80211/brcmfmac/cfg80211.c filter = (struct brcmf_fil_wowl_pattern_le *)buf; filter 3495 drivers/net/wireless/broadcom/brcm80211/brcmfmac/cfg80211.c memcpy(filter->cmd, cmd, 4); filter 3496 drivers/net/wireless/broadcom/brcm80211/brcmfmac/cfg80211.c filter->masksize = cpu_to_le32(masksize); filter 3497 drivers/net/wireless/broadcom/brcm80211/brcmfmac/cfg80211.c filter->offset = cpu_to_le32(packet_offset); filter 3498 drivers/net/wireless/broadcom/brcm80211/brcmfmac/cfg80211.c filter->patternoffset = cpu_to_le32(patternoffset); filter 3499 drivers/net/wireless/broadcom/brcm80211/brcmfmac/cfg80211.c filter->patternsize = cpu_to_le32(patternsize); filter 3500 drivers/net/wireless/broadcom/brcm80211/brcmfmac/cfg80211.c filter->type = cpu_to_le32(BRCMF_WOWL_PATTERN_TYPE_BITMAP); filter 3503 drivers/net/wireless/broadcom/brcm80211/brcmfmac/cfg80211.c memcpy(buf + sizeof(*filter), mask, masksize); filter 3505 drivers/net/wireless/broadcom/brcm80211/brcmfmac/cfg80211.c memcpy(buf + sizeof(*filter) + masksize, pattern, patternsize); filter 1446 drivers/net/wireless/intel/ipw2x00/ipw2200.c priv->prom_priv->filter = simple_strtol(buf, NULL, 0); filter 1449 drivers/net/wireless/intel/ipw2x00/ipw2200.c BIT_ARG16(priv->prom_priv->filter)); filter 1460 drivers/net/wireless/intel/ipw2x00/ipw2200.c priv->prom_priv ? priv->prom_priv->filter : 0); filter 7923 drivers/net/wireless/intel/ipw2x00/ipw2200.c u16 filter = priv->prom_priv->filter; filter 7926 drivers/net/wireless/intel/ipw2x00/ipw2200.c if (filter & IPW_PROM_NO_RX) filter 7956 drivers/net/wireless/intel/ipw2x00/ipw2200.c if (filter & IPW_PROM_NO_MGMT) filter 7958 drivers/net/wireless/intel/ipw2x00/ipw2200.c if (filter & IPW_PROM_MGMT_HEADER_ONLY) filter 7961 drivers/net/wireless/intel/ipw2x00/ipw2200.c if (filter & IPW_PROM_NO_CTL) filter 7963 drivers/net/wireless/intel/ipw2x00/ipw2200.c if (filter & IPW_PROM_CTL_HEADER_ONLY) filter 7966 drivers/net/wireless/intel/ipw2x00/ipw2200.c if (filter & IPW_PROM_NO_DATA) filter 7968 drivers/net/wireless/intel/ipw2x00/ipw2200.c if (filter & IPW_PROM_DATA_HEADER_ONLY) filter 10309 drivers/net/wireless/intel/ipw2x00/ipw2200.c u16 filter = priv->prom_priv->filter; filter 10312 drivers/net/wireless/intel/ipw2x00/ipw2200.c if (filter & IPW_PROM_NO_TX) filter 10320 drivers/net/wireless/intel/ipw2x00/ipw2200.c if (filter & IPW_PROM_NO_MGMT) filter 10322 drivers/net/wireless/intel/ipw2x00/ipw2200.c if (filter & IPW_PROM_MGMT_HEADER_ONLY) filter 10325 drivers/net/wireless/intel/ipw2x00/ipw2200.c if (filter & IPW_PROM_NO_CTL) filter 10327 drivers/net/wireless/intel/ipw2x00/ipw2200.c if (filter & IPW_PROM_CTL_HEADER_ONLY) filter 10330 drivers/net/wireless/intel/ipw2x00/ipw2200.c if (filter & IPW_PROM_NO_DATA) filter 10332 drivers/net/wireless/intel/ipw2x00/ipw2200.c if (filter & IPW_PROM_DATA_HEADER_ONLY) filter 1132 drivers/net/wireless/intel/ipw2x00/ipw2200.h enum ipw_prom_filter filter; filter 1392 drivers/net/wireless/intel/iwlwifi/mvm/debugfs.c const struct iwl_fw_bcast_filter *filter; filter 1411 drivers/net/wireless/intel/iwlwifi/mvm/debugfs.c filter = &cmd.filters[i]; filter 1414 drivers/net/wireless/intel/iwlwifi/mvm/debugfs.c ADD_TEXT("\tDiscard=%d\n", filter->discard); filter 1416 drivers/net/wireless/intel/iwlwifi/mvm/debugfs.c filter->frame_type ? "IPv4" : "Generic"); filter 1418 drivers/net/wireless/intel/iwlwifi/mvm/debugfs.c for (j = 0; j < ARRAY_SIZE(filter->attrs); j++) { filter 1421 drivers/net/wireless/intel/iwlwifi/mvm/debugfs.c attr = &filter->attrs[j]; filter 1444 drivers/net/wireless/intel/iwlwifi/mvm/debugfs.c struct iwl_fw_bcast_filter filter = {}; filter 1449 drivers/net/wireless/intel/iwlwifi/mvm/debugfs.c if (sscanf(buf, "%d %hhi %hhi %n", &filter_id, &filter.discard, filter 1450 drivers/net/wireless/intel/iwlwifi/mvm/debugfs.c &filter.frame_type, &pos) != 3) filter 1454 drivers/net/wireless/intel/iwlwifi/mvm/debugfs.c filter.frame_type > BCAST_FILTER_FRAME_TYPE_IPV4) filter 1457 drivers/net/wireless/intel/iwlwifi/mvm/debugfs.c for (attr_id = 0; attr_id < ARRAY_SIZE(filter.attrs); filter 1460 drivers/net/wireless/intel/iwlwifi/mvm/debugfs.c &filter.attrs[attr_id]; filter 1473 drivers/net/wireless/intel/iwlwifi/mvm/debugfs.c filter.num_attrs++; filter 1480 drivers/net/wireless/intel/iwlwifi/mvm/debugfs.c &filter, sizeof(filter)); filter 128 drivers/net/wireless/intersil/prism54/isl_ioctl.c u32 channel, authen, wep, filter, dot1x, mlme, conformance, power, mode; filter 137 drivers/net/wireless/intersil/prism54/isl_ioctl.c filter = CARD_DEFAULT_FILTER; /* (0) Do not filter un-encrypted data */ filter 148 drivers/net/wireless/intersil/prism54/isl_ioctl.c mgt_set(priv, DOT11_OID_EXUNENCRYPTED, &filter); filter 2505 drivers/net/wireless/intersil/prism54/isl_ioctl.c u32 mlme, authen, dot1x, filter, wep; filter 2511 drivers/net/wireless/intersil/prism54/isl_ioctl.c filter = 1; /* Filter out all unencrypted frames */ filter 2523 drivers/net/wireless/intersil/prism54/isl_ioctl.c filter = 0; /* Do not filter un-encrypted data */ filter 2537 drivers/net/wireless/intersil/prism54/isl_ioctl.c mgt_set_request(priv, DOT11_OID_EXUNENCRYPTED, 0, &filter); filter 3281 drivers/net/wireless/marvell/mwifiex/cfg80211.c mef_entry->filter[filt_num].repeat = 1; filter 3282 drivers/net/wireless/marvell/mwifiex/cfg80211.c memcpy(mef_entry->filter[filt_num].byte_seq, filter 3284 drivers/net/wireless/marvell/mwifiex/cfg80211.c mef_entry->filter[filt_num]. filter 3287 drivers/net/wireless/marvell/mwifiex/cfg80211.c mef_entry->filter[filt_num].offset = 46; filter 3288 drivers/net/wireless/marvell/mwifiex/cfg80211.c mef_entry->filter[filt_num].filt_type = TYPE_EQ; filter 3290 drivers/net/wireless/marvell/mwifiex/cfg80211.c mef_entry->filter[filt_num].filt_action = filter 3296 drivers/net/wireless/marvell/mwifiex/cfg80211.c mef_entry->filter[filt_num].repeat = 1; filter 3297 drivers/net/wireless/marvell/mwifiex/cfg80211.c mef_entry->filter[filt_num].byte_seq[0] = 0x08; filter 3298 drivers/net/wireless/marvell/mwifiex/cfg80211.c mef_entry->filter[filt_num].byte_seq[1] = 0x06; filter 3299 drivers/net/wireless/marvell/mwifiex/cfg80211.c mef_entry->filter[filt_num].byte_seq[MWIFIEX_MEF_MAX_BYTESEQ] = 2; filter 3300 drivers/net/wireless/marvell/mwifiex/cfg80211.c mef_entry->filter[filt_num].offset = 20; filter 3301 drivers/net/wireless/marvell/mwifiex/cfg80211.c mef_entry->filter[filt_num].filt_type = TYPE_EQ; filter 3302 drivers/net/wireless/marvell/mwifiex/cfg80211.c mef_entry->filter[filt_num].filt_action = TYPE_AND; filter 3345 drivers/net/wireless/marvell/mwifiex/cfg80211.c mef_entry->filter[filt_num].repeat = 1; filter 3346 drivers/net/wireless/marvell/mwifiex/cfg80211.c mef_entry->filter[filt_num].offset = filter 3348 drivers/net/wireless/marvell/mwifiex/cfg80211.c memcpy(mef_entry->filter[filt_num].byte_seq, byte_seq, filter 3350 drivers/net/wireless/marvell/mwifiex/cfg80211.c mef_entry->filter[filt_num].filt_type = TYPE_EQ; filter 3356 drivers/net/wireless/marvell/mwifiex/cfg80211.c mef_entry->filter[filt_num].filt_action = TYPE_AND; filter 3364 drivers/net/wireless/marvell/mwifiex/cfg80211.c mef_entry->filter[filt_num].repeat = 16; filter 3365 drivers/net/wireless/marvell/mwifiex/cfg80211.c memcpy(mef_entry->filter[filt_num].byte_seq, priv->curr_addr, filter 3367 drivers/net/wireless/marvell/mwifiex/cfg80211.c mef_entry->filter[filt_num].byte_seq[MWIFIEX_MEF_MAX_BYTESEQ] = filter 3369 drivers/net/wireless/marvell/mwifiex/cfg80211.c mef_entry->filter[filt_num].offset = 28; filter 3370 drivers/net/wireless/marvell/mwifiex/cfg80211.c mef_entry->filter[filt_num].filt_type = TYPE_EQ; filter 3372 drivers/net/wireless/marvell/mwifiex/cfg80211.c mef_entry->filter[filt_num].filt_action = TYPE_OR; filter 3375 drivers/net/wireless/marvell/mwifiex/cfg80211.c mef_entry->filter[filt_num].repeat = 16; filter 3376 drivers/net/wireless/marvell/mwifiex/cfg80211.c memcpy(mef_entry->filter[filt_num].byte_seq, priv->curr_addr, filter 3378 drivers/net/wireless/marvell/mwifiex/cfg80211.c mef_entry->filter[filt_num].byte_seq[MWIFIEX_MEF_MAX_BYTESEQ] = filter 3380 drivers/net/wireless/marvell/mwifiex/cfg80211.c mef_entry->filter[filt_num].offset = 56; filter 3381 drivers/net/wireless/marvell/mwifiex/cfg80211.c mef_entry->filter[filt_num].filt_type = TYPE_EQ; filter 3382 drivers/net/wireless/marvell/mwifiex/cfg80211.c mef_entry->filter[filt_num].filt_action = TYPE_OR; filter 418 drivers/net/wireless/marvell/mwifiex/ioctl.h struct mwifiex_mef_filter filter[MWIFIEX_MEF_MAX_FILTERS]; filter 1391 drivers/net/wireless/marvell/mwifiex/sta_cmd.c struct mwifiex_mef_filter *filter = mef_entry->filter; filter 1396 drivers/net/wireless/marvell/mwifiex/sta_cmd.c filter = &mef_entry->filter[i]; filter 1397 drivers/net/wireless/marvell/mwifiex/sta_cmd.c if (!filter->filt_type) filter 1399 drivers/net/wireless/marvell/mwifiex/sta_cmd.c put_unaligned_le32((u32)filter->repeat, stack_ptr); filter 1404 drivers/net/wireless/marvell/mwifiex/sta_cmd.c byte_len = filter->byte_seq[MWIFIEX_MEF_MAX_BYTESEQ]; filter 1405 drivers/net/wireless/marvell/mwifiex/sta_cmd.c memcpy(stack_ptr, filter->byte_seq, byte_len); filter 1411 drivers/net/wireless/marvell/mwifiex/sta_cmd.c put_unaligned_le32((u32)filter->offset, stack_ptr); filter 1416 drivers/net/wireless/marvell/mwifiex/sta_cmd.c *stack_ptr = filter->filt_type; filter 1419 drivers/net/wireless/marvell/mwifiex/sta_cmd.c if (filter->filt_action) { filter 1420 drivers/net/wireless/marvell/mwifiex/sta_cmd.c *stack_ptr = filter->filt_action; filter 273 drivers/net/wireless/mediatek/mt7601u/phy.c u32 filter = 0; filter 277 drivers/net/wireless/mediatek/mt7601u/phy.c filter |= 0x10000; filter 279 drivers/net/wireless/mediatek/mt7601u/phy.c filter |= 0x00100; filter 282 drivers/net/wireless/mediatek/mt7601u/phy.c ret = mt7601u_mcu_calibrate(dev, MCU_CAL_BW, filter | 1); filter 286 drivers/net/wireless/mediatek/mt7601u/phy.c return mt7601u_mcu_calibrate(dev, MCU_CAL_BW, filter); filter 1582 drivers/net/wireless/rndis_wlan.c __le32 filter, basefilter; filter 1587 drivers/net/wireless/rndis_wlan.c basefilter = filter = cpu_to_le32(RNDIS_PACKET_TYPE_DIRECTED | filter 1591 drivers/net/wireless/rndis_wlan.c filter |= cpu_to_le32(RNDIS_PACKET_TYPE_PROMISCUOUS | filter 1594 drivers/net/wireless/rndis_wlan.c filter |= cpu_to_le32(RNDIS_PACKET_TYPE_ALL_MULTICAST); filter 1597 drivers/net/wireless/rndis_wlan.c if (filter != basefilter) filter 1607 drivers/net/wireless/rndis_wlan.c filter |= cpu_to_le32(RNDIS_PACKET_TYPE_ALL_MULTICAST); filter 1623 drivers/net/wireless/rndis_wlan.c if (filter != basefilter) filter 1632 drivers/net/wireless/rndis_wlan.c filter |= cpu_to_le32(RNDIS_PACKET_TYPE_MULTICAST); filter 1634 drivers/net/wireless/rndis_wlan.c filter |= cpu_to_le32(RNDIS_PACKET_TYPE_ALL_MULTICAST); filter 1641 drivers/net/wireless/rndis_wlan.c ret = rndis_set_oid(usbdev, RNDIS_OID_GEN_CURRENT_PACKET_FILTER, &filter, filter 1642 drivers/net/wireless/rndis_wlan.c sizeof(filter)); filter 1645 drivers/net/wireless/rndis_wlan.c le32_to_cpu(filter)); filter 1649 drivers/net/wireless/rndis_wlan.c le32_to_cpu(filter), ret); filter 3566 drivers/net/wireless/rndis_wlan.c __le32 filter; filter 3589 drivers/net/wireless/rndis_wlan.c filter = 0; filter 3590 drivers/net/wireless/rndis_wlan.c rndis_set_oid(usbdev, RNDIS_OID_GEN_CURRENT_PACKET_FILTER, &filter, filter 3591 drivers/net/wireless/rndis_wlan.c sizeof(filter)); filter 1812 drivers/net/wireless/st/cw1200/sta.c struct wsm_mib_arp_ipv4_filter filter = {0}; filter 1824 drivers/net/wireless/st/cw1200/sta.c filter.ipv4addrs[i] = info->arp_addr_list[i]; filter 1826 drivers/net/wireless/st/cw1200/sta.c i, filter.ipv4addrs[i]); filter 1828 drivers/net/wireless/st/cw1200/sta.c filter.enable = __cpu_to_le32(1); filter 1832 drivers/net/wireless/st/cw1200/sta.c __le32_to_cpu(filter.enable)); filter 1834 drivers/net/wireless/st/cw1200/sta.c wsm_set_arp_ipv4_filter(priv, &filter); filter 1692 drivers/net/wireless/st/cw1200/wsm.h u8 filter; filter 1700 drivers/net/wireless/st/cw1200/wsm.h .filter = !enabled, filter 306 drivers/net/wireless/ti/wl1251/acx.c int wl1251_acx_rx_config(struct wl1251 *wl, u32 config, u32 filter) filter 318 drivers/net/wireless/ti/wl1251/acx.c rx_config->filter_options = filter; filter 1449 drivers/net/wireless/ti/wl1251/acx.h int wl1251_acx_rx_config(struct wl1251 *wl, u32 config, u32 filter); filter 89 drivers/net/wireless/ti/wl1251/init.c int wl1251_hw_init_rx_config(struct wl1251 *wl, u32 config, u32 filter) filter 97 drivers/net/wireless/ti/wl1251/init.c ret = wl1251_acx_rx_config(wl, config, filter); filter 62 drivers/net/wireless/ti/wl1251/init.h int wl1251_hw_init_rx_config(struct wl1251 *wl, u32 config, u32 filter); filter 58 drivers/net/wireless/ti/wl18xx/scan.c cmd->filter = 0; filter 194 drivers/net/wireless/ti/wl18xx/scan.c cmd->filter = 1; filter 45 drivers/net/wireless/ti/wl18xx/scan.h u8 filter; /* forward only results with matching ssids */ filter 1791 drivers/net/wireless/ti/wlcore/acx.c struct wl12xx_rx_filter *filter) filter 1798 drivers/net/wireless/ti/wlcore/acx.c WARN_ON(enable && !filter); filter 1803 drivers/net/wireless/ti/wlcore/acx.c index, enable, filter); filter 1806 drivers/net/wireless/ti/wlcore/acx.c fields_size = wl1271_rx_filter_get_fields_size(filter); filter 1809 drivers/net/wireless/ti/wlcore/acx.c filter->action, filter->num_fields, fields_size); filter 1822 drivers/net/wireless/ti/wlcore/acx.c acx->num_fields = filter->num_fields; filter 1823 drivers/net/wireless/ti/wlcore/acx.c acx->action = filter->action; filter 1824 drivers/net/wireless/ti/wlcore/acx.c wl1271_rx_filter_flatten_fields(filter, acx->fields); filter 1121 drivers/net/wireless/ti/wlcore/acx.h struct wl12xx_rx_filter *filter); filter 1411 drivers/net/wireless/ti/wlcore/main.c void wl1271_rx_filter_free(struct wl12xx_rx_filter *filter) filter 1415 drivers/net/wireless/ti/wlcore/main.c if (filter == NULL) filter 1418 drivers/net/wireless/ti/wlcore/main.c for (i = 0; i < filter->num_fields; i++) filter 1419 drivers/net/wireless/ti/wlcore/main.c kfree(filter->fields[i].pattern); filter 1421 drivers/net/wireless/ti/wlcore/main.c kfree(filter); filter 1424 drivers/net/wireless/ti/wlcore/main.c int wl1271_rx_filter_alloc_field(struct wl12xx_rx_filter *filter, filter 1430 drivers/net/wireless/ti/wlcore/main.c if (filter->num_fields == WL1271_RX_FILTER_MAX_FIELDS) { filter 1435 drivers/net/wireless/ti/wlcore/main.c field = &filter->fields[filter->num_fields]; filter 1443 drivers/net/wireless/ti/wlcore/main.c filter->num_fields++; filter 1453 drivers/net/wireless/ti/wlcore/main.c int wl1271_rx_filter_get_fields_size(struct wl12xx_rx_filter *filter) filter 1457 drivers/net/wireless/ti/wlcore/main.c for (i = 0; i < filter->num_fields; i++) filter 1458 drivers/net/wireless/ti/wlcore/main.c fields_size += filter->fields[i].len + filter 1465 drivers/net/wireless/ti/wlcore/main.c void wl1271_rx_filter_flatten_fields(struct wl12xx_rx_filter *filter, filter 1471 drivers/net/wireless/ti/wlcore/main.c for (i = 0; i < filter->num_fields; i++) { filter 1474 drivers/net/wireless/ti/wlcore/main.c field->offset = filter->fields[i].offset; filter 1475 drivers/net/wireless/ti/wlcore/main.c field->flags = filter->fields[i].flags; filter 1476 drivers/net/wireless/ti/wlcore/main.c field->len = filter->fields[i].len; filter 1478 drivers/net/wireless/ti/wlcore/main.c memcpy(&field->pattern, filter->fields[i].pattern, field->len); filter 1493 drivers/net/wireless/ti/wlcore/main.c struct wl12xx_rx_filter *filter; filter 1497 drivers/net/wireless/ti/wlcore/main.c filter = wl1271_rx_filter_alloc(); filter 1498 drivers/net/wireless/ti/wlcore/main.c if (!filter) { filter 1530 drivers/net/wireless/ti/wlcore/main.c ret = wl1271_rx_filter_alloc_field(filter, filter 1540 drivers/net/wireless/ti/wlcore/main.c filter->action = FILTER_SIGNAL; filter 1542 drivers/net/wireless/ti/wlcore/main.c *f = filter; filter 1546 drivers/net/wireless/ti/wlcore/main.c wl1271_rx_filter_free(filter); filter 1593 drivers/net/wireless/ti/wlcore/main.c struct wl12xx_rx_filter *filter = NULL; filter 1597 drivers/net/wireless/ti/wlcore/main.c ret = wl1271_convert_wowlan_pattern_to_rx_filter(p, &filter); filter 1604 drivers/net/wireless/ti/wlcore/main.c ret = wl1271_rx_filter_enable(wl, i, 1, filter); filter 1606 drivers/net/wireless/ti/wlcore/main.c wl1271_rx_filter_free(filter); filter 301 drivers/net/wireless/ti/wlcore/rx.c struct wl12xx_rx_filter *filter) filter 311 drivers/net/wireless/ti/wlcore/rx.c ret = wl1271_acx_set_rx_filter(wl, index, enable, filter); filter 138 drivers/net/wireless/ti/wlcore/rx.h struct wl12xx_rx_filter *filter); filter 530 drivers/net/wireless/ti/wlcore/wlcore_i.h int wl1271_rx_filter_alloc_field(struct wl12xx_rx_filter *filter, filter 533 drivers/net/wireless/ti/wlcore/wlcore_i.h void wl1271_rx_filter_free(struct wl12xx_rx_filter *filter); filter 535 drivers/net/wireless/ti/wlcore/wlcore_i.h int wl1271_rx_filter_get_fields_size(struct wl12xx_rx_filter *filter); filter 536 drivers/net/wireless/ti/wlcore/wlcore_i.h void wl1271_rx_filter_flatten_fields(struct wl12xx_rx_filter *filter, filter 232 drivers/net/wireless/zydas/zd1211rw/zd_mac.c u32 filter = STA_RX_FILTER; filter 236 drivers/net/wireless/zydas/zd1211rw/zd_mac.c filter |= RX_FILTER_CTRL; filter 239 drivers/net/wireless/zydas/zd1211rw/zd_mac.c return zd_iowrite32(&mac->chip, CR_RX_FILTER, filter); filter 35 drivers/pwm/pwm-stm32.c u32 filter; filter 491 drivers/pwm/pwm-stm32.c int index, int level, int filter) filter 506 drivers/pwm/pwm-stm32.c bdtr |= (filter & TIM_BDTR_BKF_MASK) << shift; filter 544 drivers/pwm/pwm-stm32.c breakinput[i].filter); filter 229 drivers/rapidio/devices/rio_mport_cdev.c struct rio_pw_filter filter; filter 243 drivers/rapidio/devices/rio_mport_cdev.c struct rio_doorbell_filter filter; filter 1414 drivers/rapidio/devices/rio_mport_cdev.c if (((db_filter->filter.rioid == RIO_INVALID_DESTID || filter 1415 drivers/rapidio/devices/rio_mport_cdev.c db_filter->filter.rioid == src)) && filter 1416 drivers/rapidio/devices/rio_mport_cdev.c info >= db_filter->filter.low && filter 1417 drivers/rapidio/devices/rio_mport_cdev.c info <= db_filter->filter.high) { filter 1436 drivers/rapidio/devices/rio_mport_cdev.c struct rio_doorbell_filter filter; filter 1440 drivers/rapidio/devices/rio_mport_cdev.c if (copy_from_user(&filter, arg, sizeof(filter))) filter 1443 drivers/rapidio/devices/rio_mport_cdev.c if (filter.low > filter.high) filter 1446 drivers/rapidio/devices/rio_mport_cdev.c ret = rio_request_inb_dbell(md->mport, md, filter.low, filter.high, filter 1456 drivers/rapidio/devices/rio_mport_cdev.c rio_release_inb_dbell(md->mport, filter.low, filter.high); filter 1460 drivers/rapidio/devices/rio_mport_cdev.c db_filter->filter = filter; filter 1481 drivers/rapidio/devices/rio_mport_cdev.c struct rio_doorbell_filter filter; filter 1485 drivers/rapidio/devices/rio_mport_cdev.c if (copy_from_user(&filter, arg, sizeof(filter))) filter 1488 drivers/rapidio/devices/rio_mport_cdev.c if (filter.low > filter.high) filter 1493 drivers/rapidio/devices/rio_mport_cdev.c if (db_filter->filter.rioid == filter.rioid && filter 1494 drivers/rapidio/devices/rio_mport_cdev.c db_filter->filter.low == filter.low && filter 1495 drivers/rapidio/devices/rio_mport_cdev.c db_filter->filter.high == filter.high) { filter 1504 drivers/rapidio/devices/rio_mport_cdev.c rio_release_inb_dbell(priv->md->mport, filter.low, filter.high); filter 1510 drivers/rapidio/devices/rio_mport_cdev.c struct rio_pw_filter *filter) filter 1512 drivers/rapidio/devices/rio_mport_cdev.c if ((msg->em.comptag & filter->mask) < filter->low || filter 1513 drivers/rapidio/devices/rio_mport_cdev.c (msg->em.comptag & filter->mask) > filter->high) filter 1533 drivers/rapidio/devices/rio_mport_cdev.c if (rio_mport_match_pw(msg, &pw_filter->filter)) { filter 1555 drivers/rapidio/devices/rio_mport_cdev.c struct rio_pw_filter filter; filter 1559 drivers/rapidio/devices/rio_mport_cdev.c if (copy_from_user(&filter, arg, sizeof(filter))) filter 1566 drivers/rapidio/devices/rio_mport_cdev.c pw_filter->filter = filter; filter 1612 drivers/rapidio/devices/rio_mport_cdev.c struct rio_pw_filter filter; filter 1617 drivers/rapidio/devices/rio_mport_cdev.c if (copy_from_user(&filter, arg, sizeof(filter))) filter 1622 drivers/rapidio/devices/rio_mport_cdev.c if (rio_mport_match_pw_filter(&pw_filter->filter, &filter)) { filter 264 drivers/s390/cio/ccwreq.c if (req->filter) filter 265 drivers/s390/cio/ccwreq.c status = req->filter(cdev, req->data, irb, status); filter 540 drivers/s390/cio/device_pgid.c req->filter = nop_filter; filter 83 drivers/s390/cio/io_sch.h enum io_status (*filter)(struct ccw_device *, void *, struct irb *, filter 238 drivers/s390/scsi/zfcp_scsi.c struct zfcp_scsi_req_filter *filter = filter 248 drivers/s390/scsi/zfcp_scsi.c if (old_req->qtcb->header.port_handle != filter->port_handle) filter 251 drivers/s390/scsi/zfcp_scsi.c if (filter->tmf_scope == FCP_TMF_LUN_RESET && filter 252 drivers/s390/scsi/zfcp_scsi.c old_req->qtcb->header.lun_handle != filter->lun_handle) filter 262 drivers/s390/scsi/zfcp_scsi.c struct zfcp_scsi_req_filter filter = { filter 269 drivers/s390/scsi/zfcp_scsi.c filter.tmf_scope = FCP_TMF_LUN_RESET; filter 270 drivers/s390/scsi/zfcp_scsi.c filter.lun_handle = zsdev->lun_handle; filter 279 drivers/s390/scsi/zfcp_scsi.c &filter); filter 934 drivers/scsi/aic7xxx/aic79xx_osm.c bus_dma_filter_t *filter, void *filterarg, filter 829 drivers/scsi/aic7xxx/aic7xxx_osm.c bus_dma_filter_t *filter, void *filterarg, filter 6102 drivers/scsi/lpfc/lpfc_hbadisc.c __lpfc_find_node(struct lpfc_vport *vport, node_filter filter, void *param) filter 6107 drivers/scsi/lpfc/lpfc_hbadisc.c if (filter(ndlp, param)) { filter 6112 drivers/scsi/lpfc/lpfc_hbadisc.c filter, ndlp, ndlp->nlp_DID, filter 6120 drivers/scsi/lpfc/lpfc_hbadisc.c "3186 FIND node filter %ps NOT FOUND.\n", filter); filter 227 drivers/staging/comedi/drivers/jr3_pci.c unsigned int filter = chan / 8; filter 231 drivers/staging/comedi/drivers/jr3_pci.c val = get_s16(&spriv->sensor->filter[filter].fx); filter 234 drivers/staging/comedi/drivers/jr3_pci.c val = get_s16(&spriv->sensor->filter[filter].fy); filter 237 drivers/staging/comedi/drivers/jr3_pci.c val = get_s16(&spriv->sensor->filter[filter].fz); filter 240 drivers/staging/comedi/drivers/jr3_pci.c val = get_s16(&spriv->sensor->filter[filter].mx); filter 243 drivers/staging/comedi/drivers/jr3_pci.c val = get_s16(&spriv->sensor->filter[filter].my); filter 246 drivers/staging/comedi/drivers/jr3_pci.c val = get_s16(&spriv->sensor->filter[filter].mz); filter 249 drivers/staging/comedi/drivers/jr3_pci.c val = get_s16(&spriv->sensor->filter[filter].v1); filter 252 drivers/staging/comedi/drivers/jr3_pci.c val = get_s16(&spriv->sensor->filter[filter].v2); filter 457 drivers/staging/comedi/drivers/jr3_pci.h struct force_array filter[7]; /* filter 4640 drivers/staging/comedi/drivers/ni_mio_common.c enum ni_pfi_filter_select filter) filter 4655 drivers/staging/comedi/drivers/ni_mio_common.c bits |= NI_M_PFI_FILTER_SEL(chan, filter); filter 1184 drivers/tty/hvc/hvc_iucv.c static const char *hvc_iucv_parse_filter(const char *filter, char *dest) filter 1189 drivers/tty/hvc/hvc_iucv.c nextdelim = strchr(filter, ','); filter 1191 drivers/tty/hvc/hvc_iucv.c len = nextdelim - filter; filter 1194 drivers/tty/hvc/hvc_iucv.c len = strlen(filter); filter 1195 drivers/tty/hvc/hvc_iucv.c residual = filter + len; filter 1202 drivers/tty/hvc/hvc_iucv.c if (filter[len - 1] == '\n') filter 1206 drivers/tty/hvc/hvc_iucv.c if (len == 1 && *filter == FILTER_WILDCARD_CHAR) filter 1215 drivers/tty/hvc/hvc_iucv.c dest[len] = toupper(filter[len]); filter 733 drivers/tty/serial/pch_uart.c chan = dma_request_channel(mask, filter, param); filter 747 drivers/tty/serial/pch_uart.c chan = dma_request_channel(mask, filter, param); filter 963 drivers/tty/sysrq.c .filter = sysrq_filter, filter 313 drivers/usb/gadget/function/rndis.c *outbuf = cpu_to_le32(*params->filter); filter 516 drivers/usb/gadget/function/rndis.c *params->filter = (u16)get_unaligned_le32(buf); filter 518 drivers/usb/gadget/function/rndis.c __func__, *params->filter); filter 525 drivers/usb/gadget/function/rndis.c if (*params->filter) { filter 962 drivers/usb/gadget/function/rndis.c params->filter = cdc_filter; filter 169 drivers/usb/gadget/function/rndis.h u16 *filter; filter 1417 drivers/virt/vboxguest/vboxguest_core.c struct vbg_ioctl_change_filter *filter) filter 1421 drivers/virt/vboxguest/vboxguest_core.c if (vbg_ioctl_chk(&filter->hdr, sizeof(filter->u.in), 0)) filter 1424 drivers/virt/vboxguest/vboxguest_core.c or_mask = filter->u.in.or_mask; filter 1425 drivers/virt/vboxguest/vboxguest_core.c not_mask = filter->u.in.not_mask; filter 1619 fs/cifs/cifsglob.h __u32 filter; /* CompletionFilter (for multishot) */ filter 493 fs/cifs/cifsproto.h __u32 filter, struct file *file, int multishot, filter 276 fs/compat_ioctl.c compat_caddr_t filter; filter 291 fs/compat_ioctl.c get_user(fptr32, &u_fprog32->filter)) filter 297 fs/compat_ioctl.c put_user(fptr64, &u_fprog64->filter)) filter 846 fs/select.c __poll_t mask = 0, filter; filter 857 fs/select.c filter = demangle_poll(pollfd->events) | EPOLLERR | EPOLLHUP; filter 858 fs/select.c pwait->_key = filter | busy_flag; filter 862 fs/select.c mask &= filter; /* Mask out unneeded events. */ filter 729 include/linux/dmaengine.h struct dma_filter filter; filter 505 include/linux/filter.h compat_uptr_t filter; /* struct sock_filter * */ filter 511 include/linux/filter.h struct sock_filter *filter; filter 769 include/linux/filter.h #define bpf_classic_proglen(fprog) (fprog->len * sizeof(fprog->filter[0])) filter 826 include/linux/filter.h typedef int (*bpf_aux_classic_check_t)(struct sock_filter *filter, filter 840 include/linux/filter.h int sk_get_filter(struct sock *sk, struct sock_filter __user *filter, filter 61 include/linux/i8042.h int i8042_install_filter(bool (*filter)(unsigned char data, unsigned char str, filter 63 include/linux/i8042.h int i8042_remove_filter(bool (*filter)(unsigned char data, unsigned char str, filter 81 include/linux/i8042.h static inline int i8042_install_filter(bool (*filter)(unsigned char data, unsigned char str, filter 87 include/linux/i8042.h static inline int i8042_remove_filter(bool (*filter)(unsigned char data, unsigned char str, filter 309 include/linux/input.h bool (*filter)(struct input_handle *handle, unsigned int type, unsigned int code, int value); filter 309 include/linux/ipv6.h struct icmp6_filter filter; filter 158 include/linux/kobject.h int (* const filter)(struct kset *kset, struct kobject *kobj); filter 292 include/linux/mroute_base.h spinlock_t *lock, struct fib_dump_filter *filter); filter 300 include/linux/mroute_base.h spinlock_t *lock, struct fib_dump_filter *filter); filter 350 include/linux/mroute_base.h spinlock_t *lock, struct fib_dump_filter *filter) filter 678 include/linux/netdevice.h u16 filter; filter 136 include/linux/netlink.h int (*filter)(struct sock *dsk, struct sk_buff *skb, void *data), filter 714 include/linux/perf_event.h struct event_filter *filter; filter 189 include/linux/qed/qed_eth_if.h union qed_filter_type_params filter; filter 31 include/linux/seccomp.h struct seccomp_filter *filter; filter 56 include/linux/spi/ads7846.h int (*filter) (void *filter_data, int data_idx, int *val); filter 440 include/linux/trace_events.h extern int filter_match_preds(struct event_filter *filter, void *rec); filter 41 include/linux/uprobes.h bool (*filter)(struct uprobe_consumer *self, filter 496 include/linux/xarray.h #define xa_for_each_marked(xa, index, entry, filter) \ filter 497 include/linux/xarray.h for (index = 0, entry = xa_find(xa, &index, ULONG_MAX, filter); \ filter 498 include/linux/xarray.h entry; entry = xa_find_after(xa, &index, ULONG_MAX, filter)) filter 332 include/media/davinci/vpbe_osd.h void (*set_interpolation_filter)(struct osd_state *sd, int filter); filter 182 include/media/demux.h struct dmx_section_filter **filter); filter 184 include/media/demux.h struct dmx_section_filter *filter); filter 128 include/media/dmxdev.h } filter; filter 178 include/media/dmxdev.h struct dmxdev_filter *filter; filter 79 include/media/dvb_demux.h struct dmx_section_filter filter; filter 148 include/media/dvb_demux.h struct dvb_demux_filter *filter; filter 218 include/media/dvb_demux.h struct dvb_demux_filter *filter; filter 224 include/media/rc-core.h struct rc_scancode_filter *filter); filter 226 include/media/rc-core.h struct rc_scancode_filter *filter); filter 698 include/media/v4l2-ctrls.h v4l2_ctrl_filter filter, filter 2934 include/net/cfg80211.h const u8 *filter; filter 77 include/net/dsa.h bool (*filter)(const struct sk_buff *skb, struct net_device *dev); filter 174 include/net/dsa.h bool (*filter)(const struct sk_buff *skb, struct net_device *dev); filter 568 include/net/dsa.h return !dev->dsa_ptr->filter || dev->dsa_ptr->filter(skb, dev); filter 197 include/net/ip6_route.h struct fib_dump_filter filter; filter 262 include/net/ip_fib.h struct netlink_callback *cb, struct fib_dump_filter *filter); filter 521 include/net/ip_fib.h struct fib_dump_filter *filter, filter 65 include/net/raw.h struct icmp_filter filter; filter 21 include/net/rawv6.h int rawv6_mh_filter_register(int (*filter)(struct sock *sock, filter 23 include/net/rawv6.h int rawv6_mh_filter_unregister(int (*filter)(struct sock *sock, filter 14 include/net/tc_act/tc_bpf.h struct bpf_prog __rcu *filter; filter 125 include/net/xfrm.h struct xfrm_address_filter *filter; filter 1472 include/net/xfrm.h struct xfrm_address_filter *filter); filter 53 include/rdma/ib_cache.h bool (*filter)(const union ib_gid *gid, const struct ib_gid_attr *, filter 43 include/sound/designware_i2s.h bool (*filter)(struct dma_chan *chan, void *slave); filter 52 include/sound/designware_i2s.h bool (*filter)(struct dma_chan *chan, void *slave); filter 12 include/sound/spear_spdif.h bool (*filter)(struct dma_chan *chan, void *slave); filter 107 include/uapi/linux/atmbr2684.h struct br2684_filter filter; filter 150 include/uapi/linux/dvb/dmx.h __u8 filter[DMX_FILTER_SIZE]; filter 175 include/uapi/linux/dvb/dmx.h struct dmx_filter filter; filter 33 include/uapi/linux/filter.h struct sock_filter __user *filter; filter 19 include/uapi/linux/netfilter/xt_bpf.h struct bpf_prog *filter __attribute__((aligned(8))); filter 39 include/uapi/linux/netfilter/xt_bpf.h struct bpf_prog *filter __attribute__((aligned(8))); filter 120 include/uapi/linux/tipc.h __u32 filter; /* bitmask of filter options */ filter 356 include/uapi/sound/asequencer.h unsigned int filter; /* filter flags */ filter 760 include/uapi/sound/asound.h unsigned int filter; /* event filter (bitmask of SNDRV_TIMER_EVENT_*) */ filter 6884 kernel/events/core.c struct perf_addr_filter *filter; filter 6892 kernel/events/core.c list_for_each_entry(filter, &ifh->list, entry) { filter 6893 kernel/events/core.c if (filter->path.dentry) { filter 7564 kernel/events/core.c static bool perf_addr_filter_match(struct perf_addr_filter *filter, filter 7569 kernel/events/core.c if (!filter->path.dentry) filter 7572 kernel/events/core.c if (d_inode(filter->path.dentry) != file_inode(file)) filter 7575 kernel/events/core.c if (filter->offset > offset + size) filter 7578 kernel/events/core.c if (filter->offset + filter->size < offset) filter 7584 kernel/events/core.c static bool perf_addr_filter_vma_adjust(struct perf_addr_filter *filter, filter 7592 kernel/events/core.c if (!perf_addr_filter_match(filter, file, off, vma_size)) filter 7595 kernel/events/core.c if (filter->offset < off) { filter 7597 kernel/events/core.c fr->size = min(vma_size, filter->size - (off - filter->offset)); filter 7599 kernel/events/core.c fr->start = vma->vm_start + filter->offset - off; filter 7600 kernel/events/core.c fr->size = min(vma->vm_end - fr->start, filter->size); filter 7610 kernel/events/core.c struct perf_addr_filter *filter; filter 7621 kernel/events/core.c list_for_each_entry(filter, &ifh->list, entry) { filter 7622 kernel/events/core.c if (perf_addr_filter_vma_adjust(filter, vma, filter 8682 kernel/events/core.c if (likely(!event->filter) || filter_match_preds(event->filter, record)) filter 9159 kernel/events/core.c struct perf_addr_filter *filter; filter 9161 kernel/events/core.c filter = kzalloc_node(sizeof(*filter), GFP_KERNEL, node); filter 9162 kernel/events/core.c if (!filter) filter 9165 kernel/events/core.c INIT_LIST_HEAD(&filter->entry); filter 9166 kernel/events/core.c list_add_tail(&filter->entry, filters); filter 9168 kernel/events/core.c return filter; filter 9173 kernel/events/core.c struct perf_addr_filter *filter, *iter; filter 9175 kernel/events/core.c list_for_each_entry_safe(filter, iter, filters, entry) { filter 9176 kernel/events/core.c path_put(&filter->path); filter 9177 kernel/events/core.c list_del(&filter->entry); filter 9178 kernel/events/core.c kfree(filter); filter 9214 kernel/events/core.c static void perf_addr_filter_apply(struct perf_addr_filter *filter, filter 9224 kernel/events/core.c if (perf_addr_filter_vma_adjust(filter, vma, fr)) filter 9237 kernel/events/core.c struct perf_addr_filter *filter; filter 9258 kernel/events/core.c list_for_each_entry(filter, &ifh->list, entry) { filter 9259 kernel/events/core.c if (filter->path.dentry) { filter 9267 kernel/events/core.c perf_addr_filter_apply(filter, mm, &event->addr_filter_ranges[count]); filter 9269 kernel/events/core.c event->addr_filter_ranges[count].start = filter->offset; filter 9270 kernel/events/core.c event->addr_filter_ranges[count].size = filter->size; filter 9343 kernel/events/core.c struct perf_addr_filter *filter = NULL; filter 9367 kernel/events/core.c filter = perf_addr_filter_new(event, filters); filter 9368 kernel/events/core.c if (!filter) filter 9380 kernel/events/core.c filter->action = actions[token]; filter 9395 kernel/events/core.c ret = kstrtoul(args[0].from, 0, &filter->offset); filter 9401 kernel/events/core.c ret = kstrtoul(args[1].from, 0, &filter->size); filter 9437 kernel/events/core.c if (filter->action == PERF_ADDR_FILTER_ACTION_FILTER && filter 9438 kernel/events/core.c !filter->size) filter 9459 kernel/events/core.c &filter->path); filter 9467 kernel/events/core.c if (!filter->path.dentry || filter 9468 kernel/events/core.c !S_ISREG(d_inode(filter->path.dentry) filter 9477 kernel/events/core.c filter = NULL; filter 882 kernel/events/uprobes.c return !uc->filter || uc->filter(uc, ctx, mm); filter 903 kernel/fork.c tsk->seccomp.filter = NULL; filter 922 kernel/params.c .filter = uevent_filter, filter 174 kernel/seccomp.c static int seccomp_check_filter(struct sock_filter *filter, unsigned int flen) filter 178 kernel/seccomp.c struct sock_filter *ftest = &filter[pc]; filter 260 kernel/seccomp.c READ_ONCE(current->seccomp.filter); filter 355 kernel/seccomp.c is_ancestor(thread->seccomp.filter, filter 356 kernel/seccomp.c caller->seccomp.filter))) filter 400 kernel/seccomp.c smp_store_release(&thread->seccomp.filter, filter 401 kernel/seccomp.c caller->seccomp.filter); filter 480 kernel/seccomp.c struct seccomp_filter *filter = ERR_PTR(-EFAULT); filter 488 kernel/seccomp.c fprog.filter = compat_ptr(fprog32.filter); filter 493 kernel/seccomp.c filter = seccomp_prepare_filter(&fprog); filter 495 kernel/seccomp.c return filter; filter 511 kernel/seccomp.c struct seccomp_filter *filter) filter 519 kernel/seccomp.c total_insns = filter->prog->len; filter 520 kernel/seccomp.c for (walker = current->seccomp.filter; walker; walker = walker->prev) filter 536 kernel/seccomp.c filter->log = true; filter 542 kernel/seccomp.c filter->prev = current->seccomp.filter; filter 543 kernel/seccomp.c current->seccomp.filter = filter; filter 552 kernel/seccomp.c static void __get_seccomp_filter(struct seccomp_filter *filter) filter 554 kernel/seccomp.c refcount_inc(&filter->usage); filter 560 kernel/seccomp.c struct seccomp_filter *orig = tsk->seccomp.filter; filter 566 kernel/seccomp.c static inline void seccomp_filter_free(struct seccomp_filter *filter) filter 568 kernel/seccomp.c if (filter) { filter 569 kernel/seccomp.c bpf_prog_destroy(filter->prog); filter 570 kernel/seccomp.c kfree(filter); filter 587 kernel/seccomp.c __put_seccomp_filter(tsk->seccomp.filter); filter 725 kernel/seccomp.c static u64 seccomp_next_notify_id(struct seccomp_filter *filter) filter 731 kernel/seccomp.c lockdep_assert_held(&filter->notify_lock); filter 732 kernel/seccomp.c return filter->notif->next_id++; filter 981 kernel/seccomp.c struct seccomp_filter *filter = file->private_data; filter 984 kernel/seccomp.c if (!filter) filter 987 kernel/seccomp.c mutex_lock(&filter->notify_lock); filter 993 kernel/seccomp.c list_for_each_entry(knotif, &filter->notif->notifications, list) { filter 1004 kernel/seccomp.c kfree(filter->notif); filter 1005 kernel/seccomp.c filter->notif = NULL; filter 1006 kernel/seccomp.c mutex_unlock(&filter->notify_lock); filter 1007 kernel/seccomp.c __put_seccomp_filter(filter); filter 1011 kernel/seccomp.c static long seccomp_notify_recv(struct seccomp_filter *filter, filter 1027 kernel/seccomp.c ret = down_interruptible(&filter->notif->request); filter 1031 kernel/seccomp.c mutex_lock(&filter->notify_lock); filter 1032 kernel/seccomp.c list_for_each_entry(cur, &filter->notif->notifications, list) { filter 1054 kernel/seccomp.c wake_up_poll(&filter->notif->wqh, EPOLLOUT | EPOLLWRNORM); filter 1057 kernel/seccomp.c mutex_unlock(&filter->notify_lock); filter 1069 kernel/seccomp.c mutex_lock(&filter->notify_lock); filter 1070 kernel/seccomp.c list_for_each_entry(cur, &filter->notif->notifications, list) { filter 1079 kernel/seccomp.c up(&filter->notif->request); filter 1081 kernel/seccomp.c mutex_unlock(&filter->notify_lock); filter 1087 kernel/seccomp.c static long seccomp_notify_send(struct seccomp_filter *filter, filter 1100 kernel/seccomp.c ret = mutex_lock_interruptible(&filter->notify_lock); filter 1104 kernel/seccomp.c list_for_each_entry(cur, &filter->notif->notifications, list) { filter 1128 kernel/seccomp.c mutex_unlock(&filter->notify_lock); filter 1132 kernel/seccomp.c static long seccomp_notify_id_valid(struct seccomp_filter *filter, filter 1142 kernel/seccomp.c ret = mutex_lock_interruptible(&filter->notify_lock); filter 1147 kernel/seccomp.c list_for_each_entry(knotif, &filter->notif->notifications, list) { filter 1156 kernel/seccomp.c mutex_unlock(&filter->notify_lock); filter 1163 kernel/seccomp.c struct seccomp_filter *filter = file->private_data; filter 1168 kernel/seccomp.c return seccomp_notify_recv(filter, buf); filter 1170 kernel/seccomp.c return seccomp_notify_send(filter, buf); filter 1172 kernel/seccomp.c return seccomp_notify_id_valid(filter, buf); filter 1181 kernel/seccomp.c struct seccomp_filter *filter = file->private_data; filter 1185 kernel/seccomp.c poll_wait(file, &filter->notif->wqh, poll_tab); filter 1187 kernel/seccomp.c if (mutex_lock_interruptible(&filter->notify_lock) < 0) filter 1190 kernel/seccomp.c list_for_each_entry(cur, &filter->notif->notifications, list) { filter 1199 kernel/seccomp.c mutex_unlock(&filter->notify_lock); filter 1211 kernel/seccomp.c static struct file *init_listener(struct seccomp_filter *filter) filter 1216 kernel/seccomp.c for (cur = current->seccomp.filter; cur; cur = cur->prev) { filter 1222 kernel/seccomp.c filter->notif = kzalloc(sizeof(*(filter->notif)), GFP_KERNEL); filter 1223 kernel/seccomp.c if (!filter->notif) filter 1226 kernel/seccomp.c sema_init(&filter->notif->request, 0); filter 1227 kernel/seccomp.c filter->notif->next_id = get_random_u64(); filter 1228 kernel/seccomp.c INIT_LIST_HEAD(&filter->notif->notifications); filter 1229 kernel/seccomp.c init_waitqueue_head(&filter->notif->wqh); filter 1232 kernel/seccomp.c filter, O_RDWR); filter 1237 kernel/seccomp.c __get_seccomp_filter(filter); filter 1241 kernel/seccomp.c kfree(filter->notif); filter 1260 kernel/seccomp.c const char __user *filter) filter 1283 kernel/seccomp.c prepared = seccomp_prepare_user_filter(filter); filter 1343 kernel/seccomp.c const char __user *filter) filter 1426 kernel/seccomp.c long prctl_set_seccomp(unsigned long seccomp_mode, void __user *filter) filter 1443 kernel/seccomp.c uargs = filter; filter 1457 kernel/seccomp.c struct seccomp_filter *orig, *filter; filter 1471 kernel/seccomp.c orig = task->seccomp.filter; filter 1476 kernel/seccomp.c for (filter = orig; filter; filter = filter->prev) filter 1480 kernel/seccomp.c filter = ERR_PTR(-ENOENT); filter 1485 kernel/seccomp.c for (filter = orig; filter && count > 1; filter = filter->prev) filter 1488 kernel/seccomp.c if (WARN_ON(count != 1 || !filter)) { filter 1489 kernel/seccomp.c filter = ERR_PTR(-ENOENT); filter 1493 kernel/seccomp.c __get_seccomp_filter(filter); filter 1497 kernel/seccomp.c return filter; filter 1503 kernel/seccomp.c struct seccomp_filter *filter; filter 1512 kernel/seccomp.c filter = get_nth_filter(task, filter_off); filter 1513 kernel/seccomp.c if (IS_ERR(filter)) filter 1514 kernel/seccomp.c return PTR_ERR(filter); filter 1516 kernel/seccomp.c fprog = filter->prog->orig_prog; filter 1530 kernel/seccomp.c if (copy_to_user(data, fprog->filter, bpf_classic_proglen(fprog))) filter 1534 kernel/seccomp.c __put_seccomp_filter(filter); filter 1542 kernel/seccomp.c struct seccomp_filter *filter; filter 1558 kernel/seccomp.c filter = get_nth_filter(task, kmd.filter_off); filter 1559 kernel/seccomp.c if (IS_ERR(filter)) filter 1560 kernel/seccomp.c return PTR_ERR(filter); filter 1562 kernel/seccomp.c if (filter->log) filter 1569 kernel/seccomp.c __put_seccomp_filter(filter); filter 330 kernel/trace/trace.c !filter_match_preds(call->filter, rec)) { filter 71 kernel/trace/trace.h #define FTRACE_ENTRY(name, struct_name, id, tstruct, print, filter) \ filter 78 kernel/trace/trace.h #define FTRACE_ENTRY_DUP(name, name_struct, id, tstruct, printk, filter) filter 82 kernel/trace/trace.h filter, regfn) \ filter 84 kernel/trace/trace.h filter) filter 88 kernel/trace/trace.h filter) \ filter 90 kernel/trace/trace.h filter) __packed filter 1357 kernel/trace/trace.h struct event_filter *filter; filter 1432 kernel/trace/trace.h !filter_match_preds(file->filter, entry))) { filter 1576 kernel/trace/trace.h extern void free_event_filter(struct event_filter *filter); filter 1622 kernel/trace/trace.h struct event_filter __rcu *filter; filter 1921 kernel/trace/trace.h #define FTRACE_ENTRY(call, struct_name, id, tstruct, print, filter) \ filter 1925 kernel/trace/trace.h #define FTRACE_ENTRY_DUP(call, struct_name, id, tstruct, print, filter) \ filter 1927 kernel/trace/trace.h filter) filter 1929 kernel/trace/trace.h #define FTRACE_ENTRY_PACKED(call, struct_name, id, tstruct, print, filter) \ filter 1931 kernel/trace/trace.h filter) filter 647 kernel/trace/trace_events.c struct event_filter *filter = system->filter; filter 655 kernel/trace/trace_events.c if (filter) { filter 656 kernel/trace/trace_events.c kfree(filter->filter_string); filter 657 kernel/trace/trace_events.c kfree(filter); filter 724 kernel/trace/trace_events.c free_event_filter(file->filter); filter 1857 kernel/trace/trace_events.c system->filter = NULL; filter 1859 kernel/trace/trace_events.c system->filter = kzalloc(sizeof(struct event_filter), GFP_KERNEL); filter 1860 kernel/trace/trace_events.c if (!system->filter) filter 1927 kernel/trace/trace_events.c kfree(system->filter); filter 1928 kernel/trace/trace_events.c system->filter = NULL; filter 2321 kernel/trace/trace_events.c free_event_filter(call->filter); filter 2322 kernel/trace/trace_events.c call->filter = NULL; filter 896 kernel/trace/trace_events_filter.c int filter_match_preds(struct event_filter *filter, void *rec) filter 902 kernel/trace/trace_events_filter.c if (!filter) filter 906 kernel/trace/trace_events_filter.c prog = rcu_dereference_raw(filter->prog); filter 920 kernel/trace/trace_events_filter.c static void remove_filter_string(struct event_filter *filter) filter 922 kernel/trace/trace_events_filter.c if (!filter) filter 925 kernel/trace/trace_events_filter.c kfree(filter->filter_string); filter 926 kernel/trace/trace_events_filter.c filter->filter_string = NULL; filter 931 kernel/trace/trace_events_filter.c struct event_filter *filter) filter 938 kernel/trace/trace_events_filter.c if (WARN_ON(!filter->filter_string)) filter 946 kernel/trace/trace_events_filter.c len = strlen(filter->filter_string); filter 954 kernel/trace/trace_events_filter.c trace_seq_puts(s, filter->filter_string); filter 959 kernel/trace/trace_events_filter.c filter->filter_string, err_text, filter 964 kernel/trace/trace_events_filter.c filter->filter_string, err_text, filter 970 kernel/trace/trace_events_filter.c kfree(filter->filter_string); filter 971 kernel/trace/trace_events_filter.c filter->filter_string = buf; filter 978 kernel/trace/trace_events_filter.c return file->filter; filter 984 kernel/trace/trace_events_filter.c struct event_filter *filter = event_filter(file); filter 986 kernel/trace/trace_events_filter.c if (filter && filter->filter_string) filter 987 kernel/trace/trace_events_filter.c trace_seq_printf(s, "%s\n", filter->filter_string); filter 995 kernel/trace/trace_events_filter.c struct event_filter *filter; filter 998 kernel/trace/trace_events_filter.c filter = system->filter; filter 999 kernel/trace/trace_events_filter.c if (filter && filter->filter_string) filter 1000 kernel/trace/trace_events_filter.c trace_seq_printf(s, "%s\n", filter->filter_string); filter 1006 kernel/trace/trace_events_filter.c static void free_prog(struct event_filter *filter) filter 1011 kernel/trace/trace_events_filter.c prog = rcu_access_pointer(filter->prog); filter 1030 kernel/trace/trace_events_filter.c static void __free_filter(struct event_filter *filter) filter 1032 kernel/trace/trace_events_filter.c if (!filter) filter 1035 kernel/trace/trace_events_filter.c free_prog(filter); filter 1036 kernel/trace/trace_events_filter.c kfree(filter->filter_string); filter 1037 kernel/trace/trace_events_filter.c kfree(filter); filter 1040 kernel/trace/trace_events_filter.c void free_event_filter(struct event_filter *filter) filter 1042 kernel/trace/trace_events_filter.c __free_filter(filter); filter 1048 kernel/trace/trace_events_filter.c remove_filter_string(file->filter); filter 1065 kernel/trace/trace_events_filter.c __free_filter(file->filter); filter 1066 kernel/trace/trace_events_filter.c file->filter = NULL; filter 1507 kernel/trace/trace_events_filter.c struct event_filter *filter, filter 1539 kernel/trace/trace_events_filter.c rcu_assign_pointer(filter->prog, prog); filter 1554 kernel/trace/trace_events_filter.c struct event_filter *filter) filter 1556 kernel/trace/trace_events_filter.c rcu_assign_pointer(file->filter, filter); filter 1561 kernel/trace/trace_events_filter.c RCU_INIT_POINTER(file->filter, NULL); filter 1587 kernel/trace/trace_events_filter.c struct event_filter *filter; filter 1597 kernel/trace/trace_events_filter.c struct event_filter *filter = NULL; filter 1608 kernel/trace/trace_events_filter.c filter = kzalloc(sizeof(*filter), GFP_KERNEL); filter 1609 kernel/trace/trace_events_filter.c if (!filter) filter 1612 kernel/trace/trace_events_filter.c filter->filter_string = kstrdup(filter_string, GFP_KERNEL); filter 1613 kernel/trace/trace_events_filter.c if (!filter->filter_string) filter 1616 kernel/trace/trace_events_filter.c err = process_preds(file->event_call, filter_string, filter, pe); filter 1620 kernel/trace/trace_events_filter.c append_filter_err(tr, pe, filter); filter 1634 kernel/trace/trace_events_filter.c filter_item->filter = event_filter(file); filter 1635 kernel/trace/trace_events_filter.c event_set_filter(file, filter); filter 1636 kernel/trace/trace_events_filter.c filter = NULL; filter 1651 kernel/trace/trace_events_filter.c __free_filter(filter_item->filter); filter 1665 kernel/trace/trace_events_filter.c __free_filter(filter); filter 1670 kernel/trace/trace_events_filter.c __free_filter(filter_item->filter); filter 1681 kernel/trace/trace_events_filter.c struct event_filter *filter; filter 1688 kernel/trace/trace_events_filter.c filter = kzalloc(sizeof(*filter), GFP_KERNEL); filter 1689 kernel/trace/trace_events_filter.c if (filter && set_str) { filter 1690 kernel/trace/trace_events_filter.c filter->filter_string = kstrdup(filter_string, GFP_KERNEL); filter 1691 kernel/trace/trace_events_filter.c if (!filter->filter_string) filter 1697 kernel/trace/trace_events_filter.c if (!filter || !pe || err) { filter 1699 kernel/trace/trace_events_filter.c __free_filter(filter); filter 1704 kernel/trace/trace_events_filter.c *filterp = filter; filter 1800 kernel/trace/trace_events_filter.c struct event_filter *filter = NULL; filter 1805 kernel/trace/trace_events_filter.c filter = event_filter(file); filter 1807 kernel/trace/trace_events_filter.c if (!filter) filter 1814 kernel/trace/trace_events_filter.c __free_filter(filter); filter 1819 kernel/trace/trace_events_filter.c err = create_filter(file->tr, call, filter_string, true, &filter); filter 1827 kernel/trace/trace_events_filter.c if (filter) { filter 1836 kernel/trace/trace_events_filter.c event_set_filter(file, filter); filter 1853 kernel/trace/trace_events_filter.c struct event_filter *filter = NULL; filter 1866 kernel/trace/trace_events_filter.c remove_filter_string(system->filter); filter 1867 kernel/trace/trace_events_filter.c filter = system->filter; filter 1868 kernel/trace/trace_events_filter.c system->filter = NULL; filter 1872 kernel/trace/trace_events_filter.c __free_filter(filter); filter 1876 kernel/trace/trace_events_filter.c err = create_system_filter(dir, tr, filter_string, &filter); filter 1877 kernel/trace/trace_events_filter.c if (filter) { filter 1882 kernel/trace/trace_events_filter.c __free_filter(system->filter); filter 1883 kernel/trace/trace_events_filter.c system->filter = filter; filter 1895 kernel/trace/trace_events_filter.c struct event_filter *filter = event->filter; filter 1897 kernel/trace/trace_events_filter.c event->filter = NULL; filter 1898 kernel/trace/trace_events_filter.c __free_filter(filter); filter 1928 kernel/trace/trace_events_filter.c static int ftrace_function_set_regexp(struct ftrace_ops *ops, int filter, filter 1933 kernel/trace/trace_events_filter.c if (filter) filter 1941 kernel/trace/trace_events_filter.c static int __ftrace_function_set_filter(int filter, char *buf, int len, filter 1948 kernel/trace/trace_events_filter.c reset = filter ? &data->first_filter : &data->first_notrace; filter 1960 kernel/trace/trace_events_filter.c ret = ftrace_function_set_regexp(data->ops, filter, *reset, filter 2026 kernel/trace/trace_events_filter.c struct event_filter *filter) filter 2028 kernel/trace/trace_events_filter.c struct prog_entry *prog = rcu_dereference_protected(filter->prog, filter 2050 kernel/trace/trace_events_filter.c struct event_filter *filter) filter 2060 kernel/trace/trace_events_filter.c struct event_filter *filter = NULL; filter 2072 kernel/trace/trace_events_filter.c if (event->filter) filter 2075 kernel/trace/trace_events_filter.c err = create_filter(NULL, call, filter_str, false, &filter); filter 2080 kernel/trace/trace_events_filter.c err = ftrace_function_set_filter(event, filter); filter 2082 kernel/trace/trace_events_filter.c event->filter = filter; filter 2086 kernel/trace/trace_events_filter.c __free_filter(filter); filter 2106 kernel/trace/trace_events_filter.c .filter = FILTER, \ filter 2116 kernel/trace/trace_events_filter.c char *filter; filter 2189 kernel/trace/trace_events_filter.c static void update_pred_fn(struct event_filter *filter, char *fields) filter 2191 kernel/trace/trace_events_filter.c struct prog_entry *prog = rcu_dereference_protected(filter->prog, filter 2220 kernel/trace/trace_events_filter.c struct event_filter *filter = NULL; filter 2225 kernel/trace/trace_events_filter.c d->filter, false, &filter); filter 2229 kernel/trace/trace_events_filter.c d->filter, err); filter 2230 kernel/trace/trace_events_filter.c __free_filter(filter); filter 2242 kernel/trace/trace_events_filter.c update_pred_fn(filter, d->not_visited); filter 2245 kernel/trace/trace_events_filter.c err = filter_match_preds(filter, &d->rec); filter 2250 kernel/trace/trace_events_filter.c __free_filter(filter); filter 2255 kernel/trace/trace_events_filter.c d->filter); filter 2262 kernel/trace/trace_events_filter.c d->filter, d->match); filter 6292 kernel/trace/trace_events_hist.c RCU_INIT_POINTER(trigger_data->filter, NULL); filter 61 kernel/trace/trace_events_trigger.c struct event_filter *filter; filter 73 kernel/trace/trace_events_trigger.c filter = rcu_dereference_sched(data->filter); filter 74 kernel/trace/trace_events_trigger.c if (filter && !filter_match_preds(filter, rec)) filter 508 kernel/trace/trace_events_trigger.c if (data->filter || event_command_post_trigger(data->cmd_ops) || filter 731 kernel/trace/trace_events_trigger.c struct event_filter *filter = NULL, *tmp; filter 748 kernel/trace/trace_events_trigger.c filter_str, false, &filter); filter 754 kernel/trace/trace_events_trigger.c tmp = rcu_access_pointer(data->filter); filter 756 kernel/trace/trace_events_trigger.c rcu_assign_pointer(data->filter, filter); filter 770 kernel/trace/trace_events_trigger.c free_event_filter(rcu_access_pointer(data->filter)); filter 771 kernel/trace/trace_events_trigger.c data->filter = NULL; filter 1409 kernel/trace/trace_events_trigger.c RCU_INIT_POINTER(trigger_data->filter, NULL); filter 33 kernel/trace/trace_export.c filter, regfn) \ filter 35 kernel/trace/trace_export.c filter) filter 63 kernel/trace/trace_export.c #define FTRACE_ENTRY(name, struct_name, id, tstruct, print, filter) \ filter 76 kernel/trace/trace_export.c #define FTRACE_ENTRY_DUP(name, struct_name, id, tstruct, print, filter) \ filter 78 kernel/trace/trace_export.c filter) filter 134 kernel/trace/trace_export.c #define FTRACE_ENTRY(name, struct_name, id, tstruct, print, filter) \ filter 140 kernel/trace/trace_export.c int filter_type = filter; \ filter 171 kernel/trace/trace_export.c #define FTRACE_ENTRY_REG(call, struct_name, etype, tstruct, print, filter,\ filter 194 kernel/trace/trace_export.c #define FTRACE_ENTRY(call, struct_name, etype, tstruct, print, filter) \ filter 196 kernel/trace/trace_export.c PARAMS(tstruct), PARAMS(print), filter, NULL) filter 239 kernel/trace/trace_probe.h struct trace_uprobe_filter filter[0]; filter 260 kernel/trace/trace_uprobe.c static inline void init_trace_uprobe_filter(struct trace_uprobe_filter *filter) filter 262 kernel/trace/trace_uprobe.c rwlock_init(&filter->rwlock); filter 263 kernel/trace/trace_uprobe.c filter->nr_systemwide = 0; filter 264 kernel/trace/trace_uprobe.c INIT_LIST_HEAD(&filter->perf_events); filter 267 kernel/trace/trace_uprobe.c static inline bool uprobe_filter_is_empty(struct trace_uprobe_filter *filter) filter 269 kernel/trace/trace_uprobe.c return !filter->nr_systemwide && list_empty(&filter->perf_events); filter 355 kernel/trace/trace_uprobe.c init_trace_uprobe_filter(tu->tp.event->filter); filter 1039 kernel/trace/trace_uprobe.c static int trace_uprobe_enable(struct trace_uprobe *tu, filter_func_t filter) filter 1043 kernel/trace/trace_uprobe.c tu->consumer.filter = filter; filter 1064 kernel/trace/trace_uprobe.c WARN_ON(!uprobe_filter_is_empty(tu->tp.event->filter)); filter 1077 kernel/trace/trace_uprobe.c struct trace_event_file *file, filter_func_t filter) filter 1105 kernel/trace/trace_uprobe.c WARN_ON(!uprobe_filter_is_empty(tu->tp.event->filter)); filter 1116 kernel/trace/trace_uprobe.c ret = trace_uprobe_enable(tu, filter); filter 1186 kernel/trace/trace_uprobe.c __uprobe_perf_filter(struct trace_uprobe_filter *filter, struct mm_struct *mm) filter 1190 kernel/trace/trace_uprobe.c if (filter->nr_systemwide) filter 1193 kernel/trace/trace_uprobe.c list_for_each_entry(event, &filter->perf_events, hw.tp_list) { filter 1202 kernel/trace/trace_uprobe.c trace_uprobe_filter_event(struct trace_uprobe_filter *filter, filter 1205 kernel/trace/trace_uprobe.c return __uprobe_perf_filter(filter, event->hw.target->mm); filter 1208 kernel/trace/trace_uprobe.c static bool trace_uprobe_filter_remove(struct trace_uprobe_filter *filter, filter 1213 kernel/trace/trace_uprobe.c write_lock(&filter->rwlock); filter 1216 kernel/trace/trace_uprobe.c done = filter->nr_systemwide || filter 1218 kernel/trace/trace_uprobe.c trace_uprobe_filter_event(filter, event); filter 1220 kernel/trace/trace_uprobe.c filter->nr_systemwide--; filter 1221 kernel/trace/trace_uprobe.c done = filter->nr_systemwide; filter 1223 kernel/trace/trace_uprobe.c write_unlock(&filter->rwlock); filter 1229 kernel/trace/trace_uprobe.c static bool trace_uprobe_filter_add(struct trace_uprobe_filter *filter, filter 1234 kernel/trace/trace_uprobe.c write_lock(&filter->rwlock); filter 1244 kernel/trace/trace_uprobe.c done = filter->nr_systemwide || filter 1246 kernel/trace/trace_uprobe.c trace_uprobe_filter_event(filter, event); filter 1247 kernel/trace/trace_uprobe.c list_add(&event->hw.tp_list, &filter->perf_events); filter 1249 kernel/trace/trace_uprobe.c done = filter->nr_systemwide; filter 1250 kernel/trace/trace_uprobe.c filter->nr_systemwide++; filter 1252 kernel/trace/trace_uprobe.c write_unlock(&filter->rwlock); filter 1269 kernel/trace/trace_uprobe.c if (trace_uprobe_filter_remove(tu->tp.event->filter, event)) filter 1294 kernel/trace/trace_uprobe.c if (trace_uprobe_filter_add(tu->tp.event->filter, event)) filter 1311 kernel/trace/trace_uprobe.c struct trace_uprobe_filter *filter; filter 1316 kernel/trace/trace_uprobe.c filter = tu->tp.event->filter; filter 1318 kernel/trace/trace_uprobe.c read_lock(&filter->rwlock); filter 1319 kernel/trace/trace_uprobe.c ret = __uprobe_perf_filter(filter, mm); filter 1320 kernel/trace/trace_uprobe.c read_unlock(&filter->rwlock); filter 502 lib/kobject_uevent.c if (uevent_ops && uevent_ops->filter) filter 503 lib/kobject_uevent.c if (!uevent_ops->filter(kset, kobj)) { filter 11 lib/show_mem.c void show_mem(unsigned int filter, nodemask_t *nodemask) filter 17 lib/show_mem.c show_free_areas(filter, nodemask); filter 6588 lib/test_bpf.c fprog.filter = fptr; filter 1816 lib/xarray.c unsigned long max, xa_mark_t filter) filter 1823 lib/xarray.c if ((__force unsigned int)filter < XA_MAX_MARKS) filter 1824 lib/xarray.c entry = xas_find_marked(&xas, max, filter); filter 1866 lib/xarray.c unsigned long max, xa_mark_t filter) filter 1876 lib/xarray.c if ((__force unsigned int)filter < XA_MAX_MARKS) filter 1877 lib/xarray.c entry = xas_find_marked(&xas, max, filter); filter 1963 lib/xarray.c unsigned long max, unsigned int n, xa_mark_t filter) filter 1970 lib/xarray.c if ((__force unsigned int)filter < XA_MAX_MARKS) filter 1971 lib/xarray.c return xas_extract_marked(&xas, dst, max, n, filter); filter 3728 mm/page_alloc.c unsigned int filter = SHOW_MEM_FILTER_NODES; filter 3738 mm/page_alloc.c filter &= ~SHOW_MEM_FILTER_NODES; filter 3740 mm/page_alloc.c filter &= ~SHOW_MEM_FILTER_NODES; filter 3742 mm/page_alloc.c show_mem(filter, nodemask); filter 5248 mm/page_alloc.c void show_free_areas(unsigned int filter, nodemask_t *nodemask) filter 5256 mm/page_alloc.c if (show_mem_node_skip(filter, zone_to_nid(zone), nodemask)) filter 5290 mm/page_alloc.c if (show_mem_node_skip(filter, pgdat->node_id, nodemask)) filter 5341 mm/page_alloc.c if (show_mem_node_skip(filter, zone_to_nid(zone), nodemask)) filter 5402 mm/page_alloc.c if (show_mem_node_skip(filter, zone_to_nid(zone), nodemask)) filter 5668 mm/slub.c .filter = uevent_filter, filter 77 net/atm/br2684.c struct br2684_filter filter; filter 385 net/atm/br2684.c memcpy(&brvcc->filter, &fs.filter, sizeof(brvcc->filter)); filter 393 net/atm/br2684.c if (brvcc->filter.netmask == 0) filter 396 net/atm/br2684.c (((struct iphdr *)(skb->data))->daddr & brvcc->filter. filter 397 net/atm/br2684.c netmask) == brvcc->filter.prefix) filter 805 net/atm/br2684.c if (brvcc->filter.netmask != 0) filter 807 net/atm/br2684.c &brvcc->filter.prefix, filter 808 net/atm/br2684.c &brvcc->filter.netmask); filter 54 net/bluetooth/hci_sock.c struct hci_filter filter; filter 159 net/bluetooth/hci_sock.c flt = &hci_pi(sk)->filter; filter 1862 net/bluetooth/hci_sock.c struct hci_filter *f = &hci_pi(sk)->filter; filter 1883 net/bluetooth/hci_sock.c struct hci_filter *f = &hci_pi(sk)->filter; filter 1947 net/bluetooth/hci_sock.c struct hci_filter *f = &hci_pi(sk)->filter; filter 469 net/bridge/br_netlink.c u32 filter = RTEXT_FILTER_BRVLAN_COMPRESSED; filter 490 net/bridge/br_netlink.c skb = nlmsg_new(br_nlmsg_size(dev, filter), GFP_ATOMIC); filter 494 net/bridge/br_netlink.c err = br_fill_ifinfo(skb, port, 0, 0, event, 0, filter, dev); filter 122 net/can/gw.c struct can_filter filter; filter 508 net/can/gw.c return can_rx_register(net, gwj->src.dev, gwj->ccgw.filter.can_id, filter 509 net/can/gw.c gwj->ccgw.filter.can_mask, can_can_gw_rcv, filter 515 net/can/gw.c can_rx_unregister(net, gwj->src.dev, gwj->ccgw.filter.can_id, filter 516 net/can/gw.c gwj->ccgw.filter.can_mask, can_can_gw_rcv, gwj); filter 665 net/can/gw.c if (gwj->ccgw.filter.can_id || gwj->ccgw.filter.can_mask) { filter 667 net/can/gw.c &gwj->ccgw.filter) < 0) filter 962 net/can/gw.c nla_memcpy(&ccgw->filter, tb[CGW_FILTER], filter 93 net/can/raw.c struct can_filter *filter; /* pointer to filter(s) */ filter 182 net/can/raw.c struct sock *sk, struct can_filter *filter, filter 189 net/can/raw.c err = can_rx_register(net, dev, filter[i].can_id, filter 190 net/can/raw.c filter[i].can_mask, filter 195 net/can/raw.c can_rx_unregister(net, dev, filter[i].can_id, filter 196 net/can/raw.c filter[i].can_mask, filter 218 net/can/raw.c struct sock *sk, struct can_filter *filter, filter 224 net/can/raw.c can_rx_unregister(net, dev, filter[i].can_id, filter 225 net/can/raw.c filter[i].can_mask, raw_rcv, sk); filter 245 net/can/raw.c raw_disable_filters(net, dev, sk, ro->filter, ro->count); filter 255 net/can/raw.c err = raw_enable_filters(net, dev, sk, ro->filter, ro->count); filter 259 net/can/raw.c raw_disable_filters(net, dev, sk, ro->filter, filter 290 net/can/raw.c kfree(ro->filter); filter 322 net/can/raw.c ro->filter = &ro->dfilter; filter 374 net/can/raw.c kfree(ro->filter); filter 492 net/can/raw.c struct can_filter *filter = NULL; /* dyn. alloc'ed filters */ filter 514 net/can/raw.c filter = memdup_user(optval, optlen); filter 515 net/can/raw.c if (IS_ERR(filter)) filter 516 net/can/raw.c return PTR_ERR(filter); filter 534 net/can/raw.c filter, count); filter 537 net/can/raw.c kfree(filter); filter 542 net/can/raw.c raw_disable_filters(sock_net(sk), dev, sk, ro->filter, filter 548 net/can/raw.c kfree(ro->filter); filter 554 net/can/raw.c filter = &ro->dfilter; filter 556 net/can/raw.c ro->filter = filter; filter 672 net/can/raw.c if (copy_to_user(optval, ro->filter, len)) filter 332 net/compat.c f.filter = compat_ptr(f32.filter); filter 3929 net/core/dev.c rflow->filter = rc; filter 3930 net/core/dev.c if (old_rflow->filter == rflow->filter) filter 3931 net/core/dev.c old_rflow->filter = RPS_NO_FILTER; filter 4069 net/core/dev.c if (rflow->filter == filter_id && cpu < nr_cpu_ids && filter 93 net/core/filter.c struct sk_filter *filter; filter 113 net/core/filter.c filter = rcu_dereference(sk->sk_filter); filter 114 net/core/filter.c if (filter) { filter 119 net/core/filter.c pkt_len = bpf_prog_run_save_cb(filter->prog, skb); filter 888 net/core/filter.c static int check_load_and_stores(const struct sock_filter *filter, int flen) filter 904 net/core/filter.c switch (filter[pc].code) { filter 907 net/core/filter.c memvalid |= (1 << filter[pc].k); filter 911 net/core/filter.c if (!(memvalid & (1 << filter[pc].k))) { filter 918 net/core/filter.c masks[pc + 1 + filter[pc].k] &= memvalid; filter 930 net/core/filter.c masks[pc + 1 + filter[pc].jt] &= memvalid; filter 931 net/core/filter.c masks[pc + 1 + filter[pc].jf] &= memvalid; filter 1007 net/core/filter.c static bool bpf_check_basics_ok(const struct sock_filter *filter, filter 1010 net/core/filter.c if (filter == NULL) filter 1032 net/core/filter.c static int bpf_check_classic(const struct sock_filter *filter, filter 1040 net/core/filter.c const struct sock_filter *ftest = &filter[pc]; filter 1101 net/core/filter.c switch (filter[flen - 1].code) { filter 1104 net/core/filter.c return check_load_and_stores(filter, flen); filter 1123 net/core/filter.c fkprog->filter = kmemdup(fp->insns, fsize, filter 1125 net/core/filter.c if (!fkprog->filter) { filter 1138 net/core/filter.c kfree(fprog->filter); filter 1344 net/core/filter.c if (!bpf_check_basics_ok(fprog->filter, fprog->len)) filter 1351 net/core/filter.c memcpy(fp->insns, fprog->filter, fsize); filter 1391 net/core/filter.c if (!bpf_check_basics_ok(fprog->filter, fprog->len)) filter 1398 net/core/filter.c if (copy_from_user(fp->insns, fprog->filter, fsize)) { filter 1469 net/core/filter.c if (!bpf_check_basics_ok(fprog->filter, fprog->len)) filter 1476 net/core/filter.c if (copy_from_user(prog->insns, fprog->filter, fsize)) { filter 8613 net/core/filter.c struct sk_filter *filter; filter 8618 net/core/filter.c filter = rcu_dereference_protected(sk->sk_filter, filter 8620 net/core/filter.c if (filter) { filter 8622 net/core/filter.c sk_filter_uncharge(sk, filter); filter 8634 net/core/filter.c struct sk_filter *filter; filter 8638 net/core/filter.c filter = rcu_dereference_protected(sk->sk_filter, filter 8640 net/core/filter.c if (!filter) filter 8648 net/core/filter.c fprog = filter->prog->orig_prog; filter 8662 net/core/filter.c if (copy_to_user(ubuf, fprog->filter, bpf_classic_proglen(fprog))) filter 2547 net/core/neighbour.c struct neigh_dump_filter *filter) filter 2556 net/core/neighbour.c if (filter->dev_idx || filter->master_idx) filter 2570 net/core/neighbour.c if (neigh_ifindex_filtered(n->dev, filter->dev_idx) || filter 2571 net/core/neighbour.c neigh_master_filtered(n->dev, filter->master_idx)) filter 2594 net/core/neighbour.c struct neigh_dump_filter *filter) filter 2602 net/core/neighbour.c if (filter->dev_idx || filter->master_idx) filter 2613 net/core/neighbour.c if (neigh_ifindex_filtered(n->dev, filter->dev_idx) || filter 2614 net/core/neighbour.c neigh_master_filtered(n->dev, filter->master_idx)) filter 2639 net/core/neighbour.c struct neigh_dump_filter *filter, filter 2682 net/core/neighbour.c filter->dev_idx = nla_get_u32(tb[i]); filter 2685 net/core/neighbour.c filter->master_idx = nla_get_u32(tb[i]); filter 2701 net/core/neighbour.c struct neigh_dump_filter filter = {}; filter 2716 net/core/neighbour.c err = neigh_valid_dump_req(nlh, cb->strict_check, &filter, cb->extack); filter 2733 net/core/neighbour.c err = pneigh_dump_table(tbl, skb, cb, &filter); filter 2735 net/core/neighbour.c err = neigh_dump_table(tbl, skb, cb, &filter); filter 183 net/core/ptp_classifier.c ptp_prog.filter = ptp_filter; filter 1694 net/core/sock.c struct sk_filter *filter; filter 1699 net/core/sock.c filter = rcu_dereference_check(sk->sk_filter, filter 1701 net/core/sock.c if (filter) { filter 1702 net/core/sock.c sk_filter_uncharge(sk, filter); filter 1802 net/core/sock.c struct sk_filter *filter; filter 1842 net/core/sock.c filter = rcu_dereference(sk->sk_filter); filter 1843 net/core/sock.c if (filter != NULL) filter 1848 net/core/sock.c is_charged = sk_filter_charge(newsk, filter); filter 1849 net/core/sock.c RCU_INIT_POINTER(newsk->sk_filter, filter); filter 74 net/core/sock_diag.c struct sk_filter *filter; filter 85 net/core/sock_diag.c filter = rcu_dereference(sk->sk_filter); filter 86 net/core/sock_diag.c if (!filter) filter 89 net/core/sock_diag.c fprog = filter->prog->orig_prog; filter 101 net/core/sock_diag.c memcpy(nla_data(attr), fprog->filter, flen); filter 648 net/dsa/dsa2.c dp->filter = tag_ops->filter; filter 300 net/dsa/tag_sja1105.c .filter = sja1105_filter, filter 901 net/ipv4/fib_frontend.c struct fib_dump_filter *filter, filter 928 net/ipv4/fib_frontend.c filter->dump_routes = false; filter 930 net/ipv4/fib_frontend.c filter->dump_exceptions = false; filter 932 net/ipv4/fib_frontend.c filter->flags = rtm->rtm_flags; filter 933 net/ipv4/fib_frontend.c filter->protocol = rtm->rtm_protocol; filter 934 net/ipv4/fib_frontend.c filter->rt_type = rtm->rtm_type; filter 935 net/ipv4/fib_frontend.c filter->table_id = rtm->rtm_table; filter 950 net/ipv4/fib_frontend.c filter->table_id = nla_get_u32(tb[i]); filter 954 net/ipv4/fib_frontend.c filter->dev = __dev_get_by_index(net, ifindex); filter 955 net/ipv4/fib_frontend.c if (!filter->dev) filter 964 net/ipv4/fib_frontend.c if (filter->flags || filter->protocol || filter->rt_type || filter 965 net/ipv4/fib_frontend.c filter->table_id || filter->dev) { filter 966 net/ipv4/fib_frontend.c filter->filter_set = 1; filter 976 net/ipv4/fib_frontend.c struct fib_dump_filter filter = { .dump_routes = true, filter 987 net/ipv4/fib_frontend.c err = ip_valid_fib_dump_req(net, nlh, &filter, cb); filter 993 net/ipv4/fib_frontend.c filter.flags = rtm->rtm_flags & (RTM_F_PREFIX | RTM_F_CLONED); filter 997 net/ipv4/fib_frontend.c if (filter.flags & RTM_F_PREFIX) filter 1000 net/ipv4/fib_frontend.c if (filter.table_id) { filter 1001 net/ipv4/fib_frontend.c tb = fib_get_table(net, filter.table_id); filter 1011 net/ipv4/fib_frontend.c err = fib_table_dump(tb, skb, cb, &filter); filter 1030 net/ipv4/fib_frontend.c err = fib_table_dump(tb, skb, cb, &filter); filter 2089 net/ipv4/fib_trie.c struct fib_dump_filter *filter) filter 2096 net/ipv4/fib_trie.c if (filter->filter_set || filter 2097 net/ipv4/fib_trie.c !filter->dump_exceptions || !filter->dump_routes) filter 2116 net/ipv4/fib_trie.c if (filter->filter_set) { filter 2117 net/ipv4/fib_trie.c if (filter->rt_type && fa->fa_type != filter->rt_type) filter 2120 net/ipv4/fib_trie.c if ((filter->protocol && filter 2121 net/ipv4/fib_trie.c fi->fib_protocol != filter->protocol)) filter 2124 net/ipv4/fib_trie.c if (filter->dev && filter 2125 net/ipv4/fib_trie.c !fib_info_nh_uses_dev(fi, filter->dev)) filter 2129 net/ipv4/fib_trie.c if (filter->dump_routes) { filter 2146 net/ipv4/fib_trie.c if (filter->dump_exceptions) { filter 2168 net/ipv4/fib_trie.c struct netlink_callback *cb, struct fib_dump_filter *filter) filter 2187 net/ipv4/fib_trie.c err = fn_trie_dump_leaf(l, tb, skb, cb, filter); filter 2597 net/ipv4/ipmr.c struct fib_dump_filter filter = {}; filter 2602 net/ipv4/ipmr.c &filter, cb); filter 2607 net/ipv4/ipmr.c if (filter.table_id) { filter 2610 net/ipv4/ipmr.c mrt = ipmr_get_table(sock_net(skb->sk), filter.table_id); filter 2619 net/ipv4/ipmr.c &mfc_unres_lock, &filter); filter 2624 net/ipv4/ipmr.c _ipmr_fill_mroute, &mfc_unres_lock, &filter); filter 294 net/ipv4/ipmr_base.c spinlock_t *lock, struct fib_dump_filter *filter) filter 301 net/ipv4/ipmr_base.c if (filter->filter_set) filter 307 net/ipv4/ipmr_base.c if (filter->dev && filter 308 net/ipv4/ipmr_base.c !mr_mfc_uses_dev(mrt, mfc, filter->dev)) filter 323 net/ipv4/ipmr_base.c if (filter->dev && filter 324 net/ipv4/ipmr_base.c !mr_mfc_uses_dev(mrt, mfc, filter->dev)) filter 351 net/ipv4/ipmr_base.c spinlock_t *lock, struct fib_dump_filter *filter) filter 361 net/ipv4/ipmr_base.c if (filter->filter_set) { filter 362 net/ipv4/ipmr_base.c if (filter->protocol || filter->flags || filter 363 net/ipv4/ipmr_base.c (filter->rt_type && filter->rt_type != RTN_MULTICAST)) filter 372 net/ipv4/ipmr_base.c err = mr_table_dump(mrt, skb, cb, fill, lock, filter); filter 154 net/ipv4/raw.c __u32 data = raw_sk(sk)->filter.data; filter 808 net/ipv4/raw.c memset(&rp->filter, 0, sizeof(rp->filter)); filter 816 net/ipv4/raw.c if (copy_from_user(&raw_sk(sk)->filter, optval, optlen)) filter 834 net/ipv4/raw.c copy_to_user(optval, &raw_sk(sk)->filter, len)) filter 979 net/ipv4/raw.c .useroffset = offsetof(struct raw_sock, filter), filter 980 net/ipv4/raw.c .usersize = sizeof_field(struct raw_sock, filter), filter 565 net/ipv6/ip6_fib.c struct rt6_rtnl_dump_arg arg = { .filter.dump_exceptions = true, filter 566 net/ipv6/ip6_fib.c .filter.dump_routes = true }; filter 579 net/ipv6/ip6_fib.c err = ip_valid_fib_dump_req(net, nlh, &arg.filter, cb); filter 586 net/ipv6/ip6_fib.c arg.filter.flags = RTM_F_PREFIX; filter 613 net/ipv6/ip6_fib.c if (arg.filter.table_id) { filter 614 net/ipv6/ip6_fib.c tb = fib6_get_table(net, arg.filter.table_id); filter 2486 net/ipv6/ip6mr.c struct fib_dump_filter filter = {}; filter 2491 net/ipv6/ip6mr.c &filter, cb); filter 2496 net/ipv6/ip6mr.c if (filter.table_id) { filter 2499 net/ipv6/ip6mr.c mrt = ip6mr_get_table(sock_net(skb->sk), filter.table_id); filter 2508 net/ipv6/ip6mr.c &mfc_unres_lock, &filter); filter 2513 net/ipv6/ip6mr.c _ip6mr_fill_mroute, &mfc_unres_lock, &filter); filter 120 net/ipv6/raw.c const __u32 *data = &raw6_sk(sk)->filter.data[0]; filter 133 net/ipv6/raw.c int rawv6_mh_filter_register(mh_filter_t filter) filter 135 net/ipv6/raw.c rcu_assign_pointer(mh_filter, filter); filter 140 net/ipv6/raw.c int rawv6_mh_filter_unregister(mh_filter_t filter) filter 199 net/ipv6/raw.c mh_filter_t *filter; filter 201 net/ipv6/raw.c filter = rcu_dereference(mh_filter); filter 202 net/ipv6/raw.c filtered = filter ? (*filter)(sk, skb) : 0; filter 981 net/ipv6/raw.c if (copy_from_user(&raw6_sk(sk)->filter, optval, optlen)) filter 1006 net/ipv6/raw.c if (copy_to_user(optval, &raw6_sk(sk)->filter, len)) filter 1296 net/ipv6/raw.c .useroffset = offsetof(struct raw6_sock, filter), filter 1297 net/ipv6/raw.c .usersize = sizeof_field(struct raw6_sock, filter), filter 5665 net/ipv6/route.c struct fib_dump_filter *filter = &arg->filter; filter 5673 net/ipv6/route.c if ((filter->flags & RTM_F_PREFIX) && filter 5678 net/ipv6/route.c if (filter->filter_set && filter 5679 net/ipv6/route.c ((filter->rt_type && rt->fib6_type != filter->rt_type) || filter 5680 net/ipv6/route.c (filter->dev && !fib6_info_uses_dev(rt, filter->dev)) || filter 5681 net/ipv6/route.c (filter->protocol && rt->fib6_protocol != filter->protocol))) { filter 5685 net/ipv6/route.c if (filter->filter_set || filter 5686 net/ipv6/route.c !filter->dump_routes || !filter->dump_exceptions) { filter 5690 net/ipv6/route.c if (filter->dump_routes) { filter 5704 net/ipv6/route.c if (filter->dump_exceptions) { filter 1834 net/key/af_key.c struct xfrm_address_filter *filter = NULL; filter 1852 net/key/af_key.c filter = kmalloc(sizeof(*filter), GFP_KERNEL); filter 1853 net/key/af_key.c if (filter == NULL) { filter 1858 net/key/af_key.c memcpy(&filter->saddr, &xfilter->sadb_x_filter_saddr, filter 1860 net/key/af_key.c memcpy(&filter->daddr, &xfilter->sadb_x_filter_daddr, filter 1862 net/key/af_key.c filter->family = xfilter->sadb_x_filter_family; filter 1863 net/key/af_key.c filter->splen = xfilter->sadb_x_filter_splen; filter 1864 net/key/af_key.c filter->dplen = xfilter->sadb_x_filter_dplen; filter 1871 net/key/af_key.c xfrm_state_walk_init(&pfk->dump.u.state, proto, filter); filter 1984 net/mac80211/ieee80211_i.h u64 filter, u32 crc, u8 *transmitter_bssid, filter 897 net/mac80211/util.c u64 filter, u32 crc, filter 901 net/mac80211/util.c bool calc_crc = filter != 0; filter 964 net/mac80211/util.c if (calc_crc && id < 64 && (filter & (1ULL << id))) filter 1344 net/mac80211/util.c u64 filter, u32 crc, u8 *transmitter_bssid, filter 1368 net/mac80211/util.c crc = _ieee802_11_parse_elems_crc(start, len, action, elems, filter, filter 2075 net/mpls/af_mpls.c struct fib_dump_filter *filter, filter 2078 net/mpls/af_mpls.c return ip_valid_fib_dump_req(net, nlh, filter, cb); filter 2082 net/mpls/af_mpls.c struct fib_dump_filter *filter, filter 2104 net/mpls/af_mpls.c filter->protocol = rtm->rtm_protocol; filter 2105 net/mpls/af_mpls.c filter->filter_set = 1; filter 2119 net/mpls/af_mpls.c filter->dev = __dev_get_by_index(net, ifindex); filter 2120 net/mpls/af_mpls.c if (!filter->dev) filter 2122 net/mpls/af_mpls.c filter->filter_set = 1; filter 2160 net/mpls/af_mpls.c struct fib_dump_filter filter = {}; filter 2170 net/mpls/af_mpls.c err = mpls_valid_fib_dump_req(net, nlh, &filter, cb); filter 2177 net/mpls/af_mpls.c if ((filter.table_id && filter.table_id != RT_TABLE_MAIN) || filter 2178 net/mpls/af_mpls.c (filter.rt_type && filter.rt_type != RTN_UNICAST) || filter 2179 net/mpls/af_mpls.c filter.flags) filter 2190 net/mpls/af_mpls.c if (filter.filter_set) filter 2200 net/mpls/af_mpls.c if ((filter.dev && !mpls_rt_uses_dev(rt, filter.dev)) || filter 2201 net/mpls/af_mpls.c (filter.protocol && rt->rt_protocol != filter.protocol)) filter 838 net/netfilter/nf_conntrack_netlink.c struct ctnetlink_filter *filter; filter 845 net/netfilter/nf_conntrack_netlink.c filter = kzalloc(sizeof(*filter), GFP_KERNEL); filter 846 net/netfilter/nf_conntrack_netlink.c if (filter == NULL) filter 849 net/netfilter/nf_conntrack_netlink.c filter->family = family; filter 853 net/netfilter/nf_conntrack_netlink.c filter->mark.val = ntohl(nla_get_be32(cda[CTA_MARK])); filter 854 net/netfilter/nf_conntrack_netlink.c filter->mark.mask = ntohl(nla_get_be32(cda[CTA_MARK_MASK])); filter 857 net/netfilter/nf_conntrack_netlink.c return filter; filter 863 net/netfilter/nf_conntrack_netlink.c struct ctnetlink_filter *filter = NULL; filter 868 net/netfilter/nf_conntrack_netlink.c filter = ctnetlink_alloc_filter(cda, family); filter 869 net/netfilter/nf_conntrack_netlink.c if (IS_ERR(filter)) filter 870 net/netfilter/nf_conntrack_netlink.c return PTR_ERR(filter); filter 873 net/netfilter/nf_conntrack_netlink.c cb->data = filter; filter 879 net/netfilter/nf_conntrack_netlink.c struct ctnetlink_filter *filter = data; filter 881 net/netfilter/nf_conntrack_netlink.c if (filter == NULL) filter 888 net/netfilter/nf_conntrack_netlink.c if (filter->family && nf_ct_l3num(ct) != filter->family) filter 892 net/netfilter/nf_conntrack_netlink.c if ((ct->mark & filter->mark.mask) != filter->mark.val) filter 1237 net/netfilter/nf_conntrack_netlink.c struct ctnetlink_filter *filter = NULL; filter 1240 net/netfilter/nf_conntrack_netlink.c filter = ctnetlink_alloc_filter(cda, family); filter 1241 net/netfilter/nf_conntrack_netlink.c if (IS_ERR(filter)) filter 1242 net/netfilter/nf_conntrack_netlink.c return PTR_ERR(filter); filter 1245 net/netfilter/nf_conntrack_netlink.c nf_ct_iterate_cleanup_net(net, ctnetlink_flush_iterate, filter, filter 1247 net/netfilter/nf_conntrack_netlink.c kfree(filter); filter 5355 net/netfilter/nf_tables_api.c struct nft_obj_filter *filter = cb->data; filter 5379 net/netfilter/nf_tables_api.c if (filter && filter->table && filter 5380 net/netfilter/nf_tables_api.c strcmp(filter->table, table->name)) filter 5382 net/netfilter/nf_tables_api.c if (filter && filter 5383 net/netfilter/nf_tables_api.c filter->type != NFT_OBJECT_UNSPEC && filter 5384 net/netfilter/nf_tables_api.c obj->ops->type->type != filter->type) filter 5410 net/netfilter/nf_tables_api.c struct nft_obj_filter *filter = NULL; filter 5413 net/netfilter/nf_tables_api.c filter = kzalloc(sizeof(*filter), GFP_ATOMIC); filter 5414 net/netfilter/nf_tables_api.c if (!filter) filter 5418 net/netfilter/nf_tables_api.c filter->table = nla_strdup(nla[NFTA_OBJ_TABLE], GFP_ATOMIC); filter 5419 net/netfilter/nf_tables_api.c if (!filter->table) { filter 5420 net/netfilter/nf_tables_api.c kfree(filter); filter 5426 net/netfilter/nf_tables_api.c filter->type = ntohl(nla_get_be32(nla[NFTA_OBJ_TYPE])); filter 5429 net/netfilter/nf_tables_api.c cb->data = filter; filter 5435 net/netfilter/nf_tables_api.c struct nft_obj_filter *filter = cb->data; filter 5437 net/netfilter/nf_tables_api.c if (filter) { filter 5438 net/netfilter/nf_tables_api.c kfree(filter->table); filter 5439 net/netfilter/nf_tables_api.c kfree(filter); filter 6047 net/netfilter/nf_tables_api.c struct nft_flowtable_filter *filter = cb->data; filter 6069 net/netfilter/nf_tables_api.c if (filter && filter->table && filter 6070 net/netfilter/nf_tables_api.c strcmp(filter->table, table->name)) filter 6095 net/netfilter/nf_tables_api.c struct nft_flowtable_filter *filter = NULL; filter 6098 net/netfilter/nf_tables_api.c filter = kzalloc(sizeof(*filter), GFP_ATOMIC); filter 6099 net/netfilter/nf_tables_api.c if (!filter) filter 6102 net/netfilter/nf_tables_api.c filter->table = nla_strdup(nla[NFTA_FLOWTABLE_TABLE], filter 6104 net/netfilter/nf_tables_api.c if (!filter->table) { filter 6105 net/netfilter/nf_tables_api.c kfree(filter); filter 6110 net/netfilter/nf_tables_api.c cb->data = filter; filter 6116 net/netfilter/nf_tables_api.c struct nft_flowtable_filter *filter = cb->data; filter 6118 net/netfilter/nf_tables_api.c if (!filter) filter 6121 net/netfilter/nf_tables_api.c kfree(filter->table); filter 6122 net/netfilter/nf_tables_api.c kfree(filter); filter 192 net/netfilter/nfnetlink_acct.c const struct nfacct_filter *filter = cb->data; filter 210 net/netfilter/nfnetlink_acct.c if (filter && (cur->flags & filter->mask) != filter->value) filter 242 net/netfilter/nfnetlink_acct.c struct nfacct_filter *filter; filter 256 net/netfilter/nfnetlink_acct.c filter = kzalloc(sizeof(struct nfacct_filter), GFP_KERNEL); filter 257 net/netfilter/nfnetlink_acct.c if (!filter) filter 260 net/netfilter/nfnetlink_acct.c filter->mask = ntohl(nla_get_be32(tb[NFACCT_FILTER_MASK])); filter 261 net/netfilter/nfnetlink_acct.c filter->value = ntohl(nla_get_be32(tb[NFACCT_FILTER_VALUE])); filter 262 net/netfilter/nfnetlink_acct.c cb->data = filter; filter 33 net/netfilter/xt_bpf.c program.filter = insns; filter 70 net/netfilter/xt_bpf.c &info->filter); filter 80 net/netfilter/xt_bpf.c &info->filter); filter 82 net/netfilter/xt_bpf.c return __bpf_mt_check_fd(info->fd, &info->filter); filter 84 net/netfilter/xt_bpf.c return __bpf_mt_check_path(info->path, &info->filter); filter 93 net/netfilter/xt_bpf.c return BPF_PROG_RUN(info->filter, skb); filter 100 net/netfilter/xt_bpf.c return !!bpf_prog_run_save_cb(info->filter, (struct sk_buff *) skb); filter 107 net/netfilter/xt_bpf.c bpf_prog_destroy(info->filter); filter 114 net/netfilter/xt_bpf.c bpf_prog_destroy(info->filter); filter 126 net/netfilter/xt_bpf.c .usersize = offsetof(struct xt_bpf_info, filter), filter 137 net/netfilter/xt_bpf.c .usersize = offsetof(struct xt_bpf_info_v1, filter), filter 1483 net/netlink/af_netlink.c int (*filter)(struct sock *dsk, struct sk_buff *skb, void *data), filter 1503 net/netlink/af_netlink.c info.tx_filter = filter; filter 2006 net/packet/af_packet.c struct sk_filter *filter; filter 2009 net/packet/af_packet.c filter = rcu_dereference(sk->sk_filter); filter 2010 net/packet/af_packet.c if (filter != NULL) filter 2011 net/packet/af_packet.c res = bpf_prog_run_clear_cb(filter->prog, skb); filter 24 net/sched/act_bpf.c struct bpf_prog *filter; filter 39 net/sched/act_bpf.c struct bpf_prog *filter; filter 46 net/sched/act_bpf.c filter = rcu_dereference(prog->filter); filter 50 net/sched/act_bpf.c filter_res = BPF_PROG_RUN(filter, skb); filter 54 net/sched/act_bpf.c filter_res = BPF_PROG_RUN(filter, skb); filter 122 net/sched/act_bpf.c if (nla_put_u32(skb, TCA_ACT_BPF_ID, prog->filter->aux->id)) filter 125 net/sched/act_bpf.c nla = nla_reserve(skb, TCA_ACT_BPF_TAG, sizeof(prog->filter->tag)); filter 129 net/sched/act_bpf.c memcpy(nla_data(nla), prog->filter->tag, nla_len(nla)); filter 204 net/sched/act_bpf.c fprog_tmp.filter = bpf_ops; filter 214 net/sched/act_bpf.c cfg->filter = fp; filter 241 net/sched/act_bpf.c cfg->filter = fp; filter 249 net/sched/act_bpf.c struct bpf_prog *filter = cfg->filter; filter 251 net/sched/act_bpf.c if (filter) { filter 253 net/sched/act_bpf.c bpf_prog_put(filter); filter 255 net/sched/act_bpf.c bpf_prog_destroy(filter); filter 269 net/sched/act_bpf.c cfg->filter = rcu_dereference_protected(prog->filter, 1); filter 358 net/sched/act_bpf.c rcu_assign_pointer(prog->filter, cfg.filter); filter 38 net/sched/cls_bpf.c struct bpf_prog *filter; filter 101 net/sched/cls_bpf.c filter_res = BPF_PROG_RUN(prog->filter, skb); filter 105 net/sched/cls_bpf.c filter_res = BPF_PROG_RUN(prog->filter, skb); filter 160 net/sched/cls_bpf.c cls_bpf.prog = prog ? prog->filter : NULL; filter 161 net/sched/cls_bpf.c cls_bpf.oldprog = oldprog ? oldprog->filter : NULL; filter 235 net/sched/cls_bpf.c cls_bpf.prog = prog->filter; filter 260 net/sched/cls_bpf.c bpf_prog_put(prog->filter); filter 262 net/sched/cls_bpf.c bpf_prog_destroy(prog->filter); filter 359 net/sched/cls_bpf.c fprog_tmp.filter = bpf_ops; filter 370 net/sched/cls_bpf.c prog->filter = fp; filter 400 net/sched/cls_bpf.c prog->filter = fp; filter 569 net/sched/cls_bpf.c if (nla_put_u32(skb, TCA_BPF_ID, prog->filter->aux->id)) filter 572 net/sched/cls_bpf.c nla = nla_reserve(skb, TCA_BPF_TAG, sizeof(prog->filter->tag)); filter 576 net/sched/cls_bpf.c memcpy(nla_data(nla), prog->filter->tag, nla_len(nla)); filter 682 net/sched/cls_bpf.c cls_bpf.prog = add ? prog->filter : NULL; filter 683 net/sched/cls_bpf.c cls_bpf.oldprog = add ? NULL : prog->filter; filter 200 net/sched/cls_flower.c static bool fl_range_port_dst_cmp(struct cls_fl_filter *filter, filter 206 net/sched/cls_flower.c min_mask = htons(filter->mask->key.tp_range.tp_min.dst); filter 207 net/sched/cls_flower.c max_mask = htons(filter->mask->key.tp_range.tp_max.dst); filter 208 net/sched/cls_flower.c min_val = htons(filter->key.tp_range.tp_min.dst); filter 209 net/sched/cls_flower.c max_val = htons(filter->key.tp_range.tp_max.dst); filter 217 net/sched/cls_flower.c mkey->tp_range.tp_min.dst = filter->mkey.tp_range.tp_min.dst; filter 218 net/sched/cls_flower.c mkey->tp_range.tp_max.dst = filter->mkey.tp_range.tp_max.dst; filter 223 net/sched/cls_flower.c static bool fl_range_port_src_cmp(struct cls_fl_filter *filter, filter 229 net/sched/cls_flower.c min_mask = htons(filter->mask->key.tp_range.tp_min.src); filter 230 net/sched/cls_flower.c max_mask = htons(filter->mask->key.tp_range.tp_max.src); filter 231 net/sched/cls_flower.c min_val = htons(filter->key.tp_range.tp_min.src); filter 232 net/sched/cls_flower.c max_val = htons(filter->key.tp_range.tp_max.src); filter 240 net/sched/cls_flower.c mkey->tp_range.tp_min.src = filter->mkey.tp_range.tp_min.src; filter 241 net/sched/cls_flower.c mkey->tp_range.tp_max.src = filter->mkey.tp_range.tp_max.src; filter 257 net/sched/cls_flower.c struct cls_fl_filter *filter, *f; filter 259 net/sched/cls_flower.c list_for_each_entry_rcu(filter, &mask->filters, list) { filter 260 net/sched/cls_flower.c if (!fl_range_port_dst_cmp(filter, key, mkey)) filter 263 net/sched/cls_flower.c if (!fl_range_port_src_cmp(filter, key, mkey)) filter 29 net/sched/cls_route.c struct route4_filter *filter; filter 85 net/sched/cls_route.c head->fastmap[h].filter = f; filter 147 net/sched/cls_route.c (f = head->fastmap[h].filter) != NULL) { filter 1594 net/sched/sch_cake.c struct tcf_proto *filter; filter 1599 net/sched/sch_cake.c filter = rcu_dereference_bh(q->filter_list); filter 1600 net/sched/sch_cake.c if (!filter) filter 1604 net/sched/sch_cake.c result = tcf_classify(skb, filter, &res, false); filter 81 net/sched/sch_fq_codel.c struct tcf_proto *filter; filter 90 net/sched/sch_fq_codel.c filter = rcu_dereference_bh(q->filter_list); filter 91 net/sched/sch_fq_codel.c if (!filter) filter 95 net/sched/sch_fq_codel.c result = tcf_classify(skb, filter, &res, false); filter 295 net/smc/smc_wr.c smc_wr_tx_filter filter, filter 308 net/smc/smc_wr.c if (filter(tx_pend, data)) filter 96 net/smc/smc_wr.h smc_wr_tx_filter filter, filter 166 net/tipc/group.c u32 filter = TIPC_SUB_PORTS | TIPC_SUB_NO_STATUS; filter 188 net/tipc/group.c filter |= global ? TIPC_SUB_CLUSTER_SCOPE : TIPC_SUB_NODE_SCOPE; filter 190 net/tipc/group.c filter, &grp->subid)) filter 1112 net/tipc/msg.h static inline u32 tipc_skb_peek_port(struct sk_buff_head *list, u32 filter) filter 1121 net/tipc/msg.h if (!filter || skb_queue_is_last(list, skb)) filter 1123 net/tipc/msg.h if (dport == filter) filter 302 net/tipc/name_table.c if (tipc_sub_read(sb, filter) & TIPC_SUB_NO_STATUS) filter 81 net/tipc/subscr.c u32 filter = tipc_sub_read(s, filter); filter 91 net/tipc/subscr.c if (!must && !(filter & TIPC_SUB_PORTS)) filter 93 net/tipc/subscr.c if (filter & TIPC_SUB_CLUSTER_SCOPE && scope == TIPC_NODE_SCOPE) filter 95 net/tipc/subscr.c if (filter & TIPC_SUB_NODE_SCOPE && scope != TIPC_NODE_SCOPE) filter 134 net/tipc/subscr.c u32 filter = tipc_sub_read(s, filter); filter 138 net/tipc/subscr.c if ((filter & TIPC_SUB_PORTS && filter & TIPC_SUB_SERVICE) || filter 95 net/tipc/subscr.h int swap_ = !((sub__)->filter & TIPC_FILTER_MASK); \ filter 105 net/tipc/subscr.h int swap_ = !((evt__)->s.filter & (TIPC_FILTER_MASK)); \ filter 366 net/tipc/topsrv.c if (tipc_sub_read(s, filter) & TIPC_SUB_CANCEL) { filter 367 net/tipc/topsrv.c s->filter &= __constant_ntohl(~TIPC_SUB_CANCEL); filter 558 net/tipc/topsrv.c u32 upper, u32 filter, int *conid) filter 568 net/tipc/topsrv.c sub.filter = filter; filter 51 net/tipc/topsrv.h u32 upper, u32 filter, int *conid); filter 12301 net/wireless/nl80211.c struct cfg80211_nan_func_filter *filter; filter 12309 net/wireless/nl80211.c filter = kcalloc(n_entries, sizeof(*func->rx_filters), GFP_KERNEL); filter 12310 net/wireless/nl80211.c if (!filter) filter 12315 net/wireless/nl80211.c filter[i].filter = nla_memdup(attr, GFP_KERNEL); filter 12316 net/wireless/nl80211.c filter[i].len = nla_len(attr); filter 12321 net/wireless/nl80211.c func->tx_filters = filter; filter 12324 net/wireless/nl80211.c func->rx_filters = filter; filter 1932 net/wireless/util.c kfree(f->rx_filters[i].filter); filter 1935 net/wireless/util.c kfree(f->tx_filters[i].filter); filter 2020 net/xfrm/xfrm_state.c struct xfrm_address_filter *filter) filter 2022 net/xfrm/xfrm_state.c if (filter) { filter 2023 net/xfrm/xfrm_state.c if ((filter->family == AF_INET || filter 2024 net/xfrm/xfrm_state.c filter->family == AF_INET6) && filter 2025 net/xfrm/xfrm_state.c x->props.family != filter->family) filter 2028 net/xfrm/xfrm_state.c return addr_match(&x->props.saddr, &filter->saddr, filter 2029 net/xfrm/xfrm_state.c filter->splen) && filter 2030 net/xfrm/xfrm_state.c addr_match(&x->id.daddr, &filter->daddr, filter 2031 net/xfrm/xfrm_state.c filter->dplen); filter 2058 net/xfrm/xfrm_state.c if (!__xfrm_state_filter_match(state, walk->filter)) filter 2079 net/xfrm/xfrm_state.c struct xfrm_address_filter *filter) filter 2085 net/xfrm/xfrm_state.c walk->filter = filter; filter 2091 net/xfrm/xfrm_state.c kfree(walk->filter); filter 1026 net/xfrm/xfrm_user.c struct xfrm_address_filter *filter = NULL; filter 1036 net/xfrm/xfrm_user.c filter = kmemdup(nla_data(attrs[XFRMA_ADDRESS_FILTER]), filter 1037 net/xfrm/xfrm_user.c sizeof(*filter), GFP_KERNEL); filter 1038 net/xfrm/xfrm_user.c if (filter == NULL) filter 1045 net/xfrm/xfrm_user.c xfrm_state_walk_init(walk, proto, filter); filter 17 samples/bpf/tracex5_user.c struct sock_filter filter[] = { filter 21 samples/bpf/tracex5_user.c .len = (unsigned short)(sizeof(filter)/sizeof(filter[0])), filter 22 samples/bpf/tracex5_user.c .filter = filter, filter 113 samples/seccomp/bpf-direct.c struct sock_filter filter[] = { filter 146 samples/seccomp/bpf-direct.c .len = (unsigned short)(sizeof(filter)/sizeof(filter[0])), filter 147 samples/seccomp/bpf-direct.c .filter = filter, filter 35 samples/seccomp/bpf-fancy.c struct sock_filter filter[] = { filter 82 samples/seccomp/bpf-fancy.c .filter = filter, filter 83 samples/seccomp/bpf-fancy.c .len = (unsigned short)(sizeof(filter)/sizeof(filter[0])), filter 86 samples/seccomp/bpf-fancy.c bpf_resolve_jumps(&l, filter, sizeof(filter)/sizeof(*filter)); filter 20 samples/seccomp/bpf-helper.c struct sock_filter *filter, size_t count) filter 32 samples/seccomp/bpf-helper.c struct sock_filter *instr = &filter[offset]; filter 90 samples/seccomp/bpf-helper.c void seccomp_bpf_print(struct sock_filter *filter, size_t count) filter 92 samples/seccomp/bpf-helper.c struct sock_filter *end = filter + count; filter 93 samples/seccomp/bpf-helper.c for ( ; filter < end; ++filter) filter 95 samples/seccomp/bpf-helper.c filter->code, filter->jt, filter->jf, filter->k); filter 36 samples/seccomp/bpf-helper.h struct sock_filter *filter, size_t count); filter 38 samples/seccomp/bpf-helper.h void seccomp_bpf_print(struct sock_filter *filter, size_t count); filter 30 samples/seccomp/dropper.c struct sock_filter filter[] = { filter 42 samples/seccomp/dropper.c .len = (unsigned short)(sizeof(filter)/sizeof(filter[0])), filter 43 samples/seccomp/dropper.c .filter = filter, filter 88 samples/seccomp/user-trap.c struct sock_filter filter[] = { filter 97 samples/seccomp/user-trap.c .len = (unsigned short)ARRAY_SIZE(filter), filter 98 samples/seccomp/user-trap.c .filter = filter, filter 71 sound/core/seq/seq_clientmgr.c int filter, int atomic, int hop); filter 500 sound/core/seq/seq_clientmgr.c int filter) filter 509 sound/core/seq/seq_clientmgr.c if ((dest->filter & SNDRV_SEQ_FILTER_USE_EVENT) && filter 512 sound/core/seq/seq_clientmgr.c if (filter && !(dest->filter & filter)) filter 541 sound/core/seq/seq_clientmgr.c ! (client->filter & SNDRV_SEQ_FILTER_BOUNCE) || filter 603 sound/core/seq/seq_clientmgr.c int filter, int atomic, int hop) filter 612 sound/core/seq/seq_clientmgr.c dest = get_event_dest_client(event, filter); filter 1230 sound/core/seq/seq_clientmgr.c info->filter = cptr->filter; filter 1283 sound/core/seq/seq_clientmgr.c client->filter = client_info->filter; filter 40 sound/core/seq/seq_clientmgr.h unsigned int filter; /* filter flags */ filter 61 sound/core/timer.c unsigned int filter; filter 1348 sound/core/timer.c if ((tu->filter & (1 << event)) == 0 || !tu->tread) filter 1381 sound/core/timer.c if ((tu->filter & ((1 << SNDRV_TIMER_EVENT_RESOLUTION) | filter 1392 sound/core/timer.c if ((tu->filter & (1 << SNDRV_TIMER_EVENT_RESOLUTION)) && filter 1401 sound/core/timer.c if ((tu->filter & (1 << SNDRV_TIMER_EVENT_TICK)) == 0) filter 1820 sound/core/timer.c if (params.filter & ~((1<<SNDRV_TIMER_EVENT_RESOLUTION)| filter 1874 sound/core/timer.c tu->filter = params.filter; filter 708 sound/pci/au88x0/au88x0_a3d.c static void vortex_a3d_translate_filter(a3d_atmos_t filter, int *params) filter 825 sound/pci/au88x0/au88x0_a3d.c vortex_a3d_translate_filter(a->filter, params); filter 827 sound/pci/au88x0/au88x0_a3d.c a3dsrc_SetAtmosTarget(a, a->filter[0], filter 828 sound/pci/au88x0/au88x0_a3d.c a->filter[1], a->filter[2], filter 829 sound/pci/au88x0/au88x0_a3d.c a->filter[3], a->filter[4]); filter 830 sound/pci/au88x0/au88x0_a3d.c a3dsrc_SetAtmosCurrent(a, a->filter[0], filter 831 sound/pci/au88x0/au88x0_a3d.c a->filter[1], a->filter[2], filter 832 sound/pci/au88x0/au88x0_a3d.c a->filter[3], a->filter[4]); filter 43 sound/pci/au88x0/au88x0_a3d.h a3d_atmos_t filter; filter 138 sound/soc/codecs/88pm860x-codec.c unsigned int filter; filter 565 sound/soc/dwc/dwc-i2s.c dev->play_dma_data.pd.filter = pdata->filter; filter 566 sound/soc/dwc/dwc-i2s.c dev->capture_dma_data.pd.filter = pdata->filter; filter 216 sound/soc/fsl/fsl_asrc_dma.c pair->dma_chan[dir] = dma_request_channel(mask, filter, &pair->dma_data); filter 34 sound/soc/fsl/imx-pcm-dma.c .compat_filter_fn = filter, filter 116 sound/soc/pxa/mmp-pcm.c return snd_dmaengine_pcm_open_request_chan(substream, filter, filter 15 sound/soc/samsung/dma.h int samsung_asoc_dma_platform_register(struct device *dev, dma_filter_fn filter, filter 17 sound/soc/samsung/dmaengine.c int samsung_asoc_dma_platform_register(struct device *dev, dma_filter_fn filter, filter 28 sound/soc/samsung/dmaengine.c pcm_conf->compat_filter_fn = filter; filter 82 sound/soc/samsung/i2s.c dma_filter_fn filter; filter 1432 sound/soc/samsung/i2s.c pri_dai->filter = i2s_pdata->dma_filter; filter 1474 sound/soc/samsung/i2s.c ret = samsung_asoc_dma_platform_register(&pdev->dev, pri_dai->filter, filter 1487 sound/soc/samsung/i2s.c sec_dai->filter = i2s_pdata->dma_filter; filter 1501 sound/soc/samsung/i2s.c sec_dai->filter, "tx-sec", NULL, filter 486 sound/soc/samsung/pcm.c dma_filter_fn filter; filter 540 sound/soc/samsung/pcm.c filter = NULL; filter 544 sound/soc/samsung/pcm.c filter = pcm_pdata->dma_filter; filter 550 sound/soc/samsung/pcm.c ret = samsung_asoc_dma_platform_register(&pdev->dev, filter, filter 359 sound/soc/samsung/spdif.c dma_filter_fn filter; filter 420 sound/soc/samsung/spdif.c filter = NULL; filter 423 sound/soc/samsung/spdif.c filter = spdif_pdata->dma_filter; filter 427 sound/soc/samsung/spdif.c ret = samsung_asoc_dma_platform_register(&pdev->dev, filter, filter 359 sound/soc/sh/siu_pcm.c siu_stream->chan = dma_request_channel(mask, filter, param); filter 259 sound/soc/spear/spdif_in.c pdata->filter); filter 312 sound/soc/spear/spdif_out.c pdata->filter); filter 42 sound/soc/spear/spear_pcm.c bool (*filter)(struct dma_chan *chan, void *slave)) filter 45 sound/soc/spear/spear_pcm.c config->compat_filter_fn = filter; filter 11 sound/soc/spear/spear_pcm.h bool (*filter)(struct dma_chan *chan, void *slave)); filter 364 sound/soc/txx9/txx9aclc.c dmadata->dma_chan = dma_request_channel(mask, filter, dmadata); filter 502 tools/bpf/bpf_dbg.c .filter = f, filter 898 tools/firewire/nosy-dump.c uint32_t filter; filter 956 tools/firewire/nosy-dump.c filter = ~0; filter 958 tools/firewire/nosy-dump.c filter &= ~(1 << TCODE_STREAM_DATA); filter 960 tools/firewire/nosy-dump.c filter &= ~(1 << TCODE_CYCLE_START); filter 962 tools/firewire/nosy-dump.c filter = ~(1 << TCODE_CYCLE_START); filter 964 tools/firewire/nosy-dump.c ioctl(fd, NOSY_IOC_FILTER, filter); filter 760 tools/include/uapi/sound/asound.h unsigned int filter; /* event filter (bitmask of SNDRV_TIMER_EVENT_*) */ filter 708 tools/lib/traceevent/event-parse.h struct tep_filter_arg *filter; filter 728 tools/lib/traceevent/event-parse.h enum tep_errno tep_filter_add_filter_str(struct tep_event_filter *filter, filter 731 tools/lib/traceevent/event-parse.h enum tep_errno tep_filter_match(struct tep_event_filter *filter, filter 734 tools/lib/traceevent/event-parse.h int tep_filter_strerror(struct tep_event_filter *filter, enum tep_errno err, filter 737 tools/lib/traceevent/event-parse.h int tep_event_filtered(struct tep_event_filter *filter, filter 740 tools/lib/traceevent/event-parse.h void tep_filter_reset(struct tep_event_filter *filter); filter 742 tools/lib/traceevent/event-parse.h void tep_filter_free(struct tep_event_filter *filter); filter 744 tools/lib/traceevent/event-parse.h char *tep_filter_make_string(struct tep_event_filter *filter, int event_id); filter 746 tools/lib/traceevent/event-parse.h int tep_filter_remove_event(struct tep_event_filter *filter, filter 111 tools/lib/traceevent/parse-filter.c find_filter_type(struct tep_event_filter *filter, int id) filter 118 tools/lib/traceevent/parse-filter.c filter_type = bsearch(&key, filter->event_filters, filter 119 tools/lib/traceevent/parse-filter.c filter->filters, filter 120 tools/lib/traceevent/parse-filter.c sizeof(*filter->event_filters), filter 127 tools/lib/traceevent/parse-filter.c add_filter_type(struct tep_event_filter *filter, int id) filter 132 tools/lib/traceevent/parse-filter.c filter_type = find_filter_type(filter, id); filter 136 tools/lib/traceevent/parse-filter.c filter_type = realloc(filter->event_filters, filter 137 tools/lib/traceevent/parse-filter.c sizeof(*filter->event_filters) * filter 138 tools/lib/traceevent/parse-filter.c (filter->filters + 1)); filter 142 tools/lib/traceevent/parse-filter.c filter->event_filters = filter_type; filter 144 tools/lib/traceevent/parse-filter.c for (i = 0; i < filter->filters; i++) { filter 145 tools/lib/traceevent/parse-filter.c if (filter->event_filters[i].event_id > id) filter 149 tools/lib/traceevent/parse-filter.c if (i < filter->filters) filter 150 tools/lib/traceevent/parse-filter.c memmove(&filter->event_filters[i+1], filter 151 tools/lib/traceevent/parse-filter.c &filter->event_filters[i], filter 152 tools/lib/traceevent/parse-filter.c sizeof(*filter->event_filters) * filter 153 tools/lib/traceevent/parse-filter.c (filter->filters - i)); filter 155 tools/lib/traceevent/parse-filter.c filter_type = &filter->event_filters[i]; filter 157 tools/lib/traceevent/parse-filter.c filter_type->event = tep_find_event(filter->tep, id); filter 158 tools/lib/traceevent/parse-filter.c filter_type->filter = NULL; filter 160 tools/lib/traceevent/parse-filter.c filter->filters++; filter 171 tools/lib/traceevent/parse-filter.c struct tep_event_filter *filter; filter 173 tools/lib/traceevent/parse-filter.c filter = malloc(sizeof(*filter)); filter 174 tools/lib/traceevent/parse-filter.c if (filter == NULL) filter 177 tools/lib/traceevent/parse-filter.c memset(filter, 0, sizeof(*filter)); filter 178 tools/lib/traceevent/parse-filter.c filter->tep = tep; filter 181 tools/lib/traceevent/parse-filter.c return filter; filter 1208 tools/lib/traceevent/parse-filter.c filter_event(struct tep_event_filter *filter, struct tep_event *event, filter 1230 tools/lib/traceevent/parse-filter.c filter_type = add_filter_type(filter, event->id); filter 1236 tools/lib/traceevent/parse-filter.c if (filter_type->filter) filter 1237 tools/lib/traceevent/parse-filter.c free_arg(filter_type->filter); filter 1238 tools/lib/traceevent/parse-filter.c filter_type->filter = arg; filter 1243 tools/lib/traceevent/parse-filter.c static void filter_init_error_buf(struct tep_event_filter *filter) filter 1247 tools/lib/traceevent/parse-filter.c filter->error_buffer[0] = '\0'; filter 1259 tools/lib/traceevent/parse-filter.c enum tep_errno tep_filter_add_filter_str(struct tep_event_filter *filter, filter 1262 tools/lib/traceevent/parse-filter.c struct tep_handle *tep = filter->tep; filter 1275 tools/lib/traceevent/parse-filter.c filter_init_error_buf(filter); filter 1333 tools/lib/traceevent/parse-filter.c ret = filter_event(filter, event->event, filter_start, filter 1334 tools/lib/traceevent/parse-filter.c filter->error_buffer); filter 1341 tools/lib/traceevent/parse-filter.c test = tep_filter_make_string(filter, event->event->id); filter 1356 tools/lib/traceevent/parse-filter.c free_arg(filter_type->filter); filter 1368 tools/lib/traceevent/parse-filter.c int tep_filter_strerror(struct tep_event_filter *filter, enum tep_errno err, filter 1374 tools/lib/traceevent/parse-filter.c if (strlen(filter->error_buffer) > 0) { filter 1375 tools/lib/traceevent/parse-filter.c size_t len = snprintf(buf, buflen, "%s", filter->error_buffer); filter 1382 tools/lib/traceevent/parse-filter.c return tep_strerror(filter->tep, err, buf, buflen); filter 1396 tools/lib/traceevent/parse-filter.c int tep_filter_remove_event(struct tep_event_filter *filter, filter 1402 tools/lib/traceevent/parse-filter.c if (!filter->filters) filter 1405 tools/lib/traceevent/parse-filter.c filter_type = find_filter_type(filter, event_id); filter 1413 tools/lib/traceevent/parse-filter.c len = (unsigned long)(filter->event_filters + filter->filters) - filter 1417 tools/lib/traceevent/parse-filter.c filter->filters--; filter 1419 tools/lib/traceevent/parse-filter.c memset(&filter->event_filters[filter->filters], 0, filter 1431 tools/lib/traceevent/parse-filter.c void tep_filter_reset(struct tep_event_filter *filter) filter 1435 tools/lib/traceevent/parse-filter.c for (i = 0; i < filter->filters; i++) filter 1436 tools/lib/traceevent/parse-filter.c free_filter_type(&filter->event_filters[i]); filter 1438 tools/lib/traceevent/parse-filter.c free(filter->event_filters); filter 1439 tools/lib/traceevent/parse-filter.c filter->filters = 0; filter 1440 tools/lib/traceevent/parse-filter.c filter->event_filters = NULL; filter 1443 tools/lib/traceevent/parse-filter.c void tep_filter_free(struct tep_event_filter *filter) filter 1445 tools/lib/traceevent/parse-filter.c tep_unref(filter->tep); filter 1447 tools/lib/traceevent/parse-filter.c tep_filter_reset(filter); filter 1449 tools/lib/traceevent/parse-filter.c free(filter); filter 1452 tools/lib/traceevent/parse-filter.c static char *arg_to_str(struct tep_event_filter *filter, struct tep_filter_arg *arg); filter 1454 tools/lib/traceevent/parse-filter.c static int copy_filter_type(struct tep_event_filter *filter, filter 1467 tools/lib/traceevent/parse-filter.c event = tep_find_event_by_name(filter->tep, sys, name); filter 1471 tools/lib/traceevent/parse-filter.c str = arg_to_str(source, filter_type->filter); filter 1489 tools/lib/traceevent/parse-filter.c filter_type = add_filter_type(filter, event->id); filter 1496 tools/lib/traceevent/parse-filter.c filter_type->filter = arg; filter 1502 tools/lib/traceevent/parse-filter.c filter_event(filter, event, str, NULL); filter 1855 tools/lib/traceevent/parse-filter.c int tep_event_filtered(struct tep_event_filter *filter, int event_id) filter 1859 tools/lib/traceevent/parse-filter.c if (!filter->filters) filter 1862 tools/lib/traceevent/parse-filter.c filter_type = find_filter_type(filter, event_id); filter 1879 tools/lib/traceevent/parse-filter.c enum tep_errno tep_filter_match(struct tep_event_filter *filter, filter 1882 tools/lib/traceevent/parse-filter.c struct tep_handle *tep = filter->tep; filter 1888 tools/lib/traceevent/parse-filter.c filter_init_error_buf(filter); filter 1890 tools/lib/traceevent/parse-filter.c if (!filter->filters) filter 1895 tools/lib/traceevent/parse-filter.c filter_type = find_filter_type(filter, event_id); filter 1899 tools/lib/traceevent/parse-filter.c ret = test_filter(filter_type->event, filter_type->filter, record, &err); filter 1906 tools/lib/traceevent/parse-filter.c static char *op_to_str(struct tep_event_filter *filter, struct tep_filter_arg *arg) filter 1924 tools/lib/traceevent/parse-filter.c left = arg_to_str(filter, arg->op.left); filter 1925 tools/lib/traceevent/parse-filter.c right = arg_to_str(filter, arg->op.right); filter 1984 tools/lib/traceevent/parse-filter.c right = arg_to_str(filter, arg->op.right); filter 2010 tools/lib/traceevent/parse-filter.c static char *val_to_str(struct tep_event_filter *filter, struct tep_filter_arg *arg) filter 2019 tools/lib/traceevent/parse-filter.c static char *field_to_str(struct tep_event_filter *filter, struct tep_filter_arg *arg) filter 2024 tools/lib/traceevent/parse-filter.c static char *exp_to_str(struct tep_event_filter *filter, struct tep_filter_arg *arg) filter 2031 tools/lib/traceevent/parse-filter.c lstr = arg_to_str(filter, arg->exp.left); filter 2032 tools/lib/traceevent/parse-filter.c rstr = arg_to_str(filter, arg->exp.right); filter 2080 tools/lib/traceevent/parse-filter.c static char *num_to_str(struct tep_event_filter *filter, struct tep_filter_arg *arg) filter 2087 tools/lib/traceevent/parse-filter.c lstr = arg_to_str(filter, arg->num.left); filter 2088 tools/lib/traceevent/parse-filter.c rstr = arg_to_str(filter, arg->num.right); filter 2130 tools/lib/traceevent/parse-filter.c static char *str_to_str(struct tep_event_filter *filter, struct tep_filter_arg *arg) filter 2162 tools/lib/traceevent/parse-filter.c static char *arg_to_str(struct tep_event_filter *filter, struct tep_filter_arg *arg) filter 2172 tools/lib/traceevent/parse-filter.c return op_to_str(filter, arg); filter 2175 tools/lib/traceevent/parse-filter.c return num_to_str(filter, arg); filter 2178 tools/lib/traceevent/parse-filter.c return str_to_str(filter, arg); filter 2181 tools/lib/traceevent/parse-filter.c return val_to_str(filter, arg); filter 2184 tools/lib/traceevent/parse-filter.c return field_to_str(filter, arg); filter 2187 tools/lib/traceevent/parse-filter.c return exp_to_str(filter, arg); filter 2206 tools/lib/traceevent/parse-filter.c tep_filter_make_string(struct tep_event_filter *filter, int event_id) filter 2210 tools/lib/traceevent/parse-filter.c if (!filter->filters) filter 2213 tools/lib/traceevent/parse-filter.c filter_type = find_filter_type(filter, event_id); filter 2218 tools/lib/traceevent/parse-filter.c return arg_to_str(filter, filter_type->filter); filter 2253 tools/lib/traceevent/parse-filter.c if (filter_type1->filter->type != filter_type2->filter->type) filter 2256 tools/lib/traceevent/parse-filter.c str1 = arg_to_str(filter1, filter_type1->filter); filter 2257 tools/lib/traceevent/parse-filter.c str2 = arg_to_str(filter2, filter_type2->filter); filter 281 tools/perf/arch/x86/util/intel-pt.c return evsel->filter; filter 287 tools/perf/arch/x86/util/intel-pt.c static size_t intel_pt_filter_bytes(const char *filter) filter 289 tools/perf/arch/x86/util/intel-pt.c size_t len = filter ? strlen(filter) : 0; filter 299 tools/perf/arch/x86/util/intel-pt.c const char *filter = intel_pt_find_filter(evlist, ptr->intel_pt_pmu); filter 302 tools/perf/arch/x86/util/intel-pt.c intel_pt_filter_bytes(filter); filter 331 tools/perf/arch/x86/util/intel-pt.c const char *filter; filter 352 tools/perf/arch/x86/util/intel-pt.c filter = intel_pt_find_filter(session->evlist, ptr->intel_pt_pmu); filter 353 tools/perf/arch/x86/util/intel-pt.c filter_str_len = filter ? strlen(filter) : 0; filter 395 tools/perf/arch/x86/util/intel-pt.c size_t len = intel_pt_filter_bytes(filter); filter 397 tools/perf/arch/x86/util/intel-pt.c strncpy((char *)info, filter, len); filter 48 tools/perf/builtin-probe.c struct strfilter *filter; filter 87 tools/perf/builtin-probe.c if (!params.filter) { filter 88 tools/perf/builtin-probe.c params.filter = strfilter__new(str, &err); filter 89 tools/perf/builtin-probe.c if (!params.filter) filter 92 tools/perf/builtin-probe.c ret = strfilter__or(params.filter, str, &err); filter 320 tools/perf/builtin-probe.c strfilter__delete(params.filter); filter 391 tools/perf/builtin-probe.c static int del_perf_probe_caches(struct strfilter *filter) filter 409 tools/perf/builtin-probe.c if (probe_cache__filter_purge(cache, filter) < 0 || filter 417 tools/perf/builtin-probe.c static int perf_del_probe_events(struct strfilter *filter) filter 420 tools/perf/builtin-probe.c char *str = strfilter__string(filter); filter 430 tools/perf/builtin-probe.c return del_perf_probe_caches(filter); filter 444 tools/perf/builtin-probe.c ret = probe_file__get_events(kfd, filter, klist); filter 454 tools/perf/builtin-probe.c ret2 = probe_file__get_events(ufd, filter, ulist); filter 654 tools/perf/builtin-probe.c ret = show_perf_probe_events(params.filter); filter 660 tools/perf/builtin-probe.c params.filter, params.uprobes); filter 672 tools/perf/builtin-probe.c if (!params.filter) filter 673 tools/perf/builtin-probe.c params.filter = strfilter__new(DEFAULT_VAR_FILTER, filter 677 tools/perf/builtin-probe.c params.filter); filter 683 tools/perf/builtin-probe.c ret = perf_del_probe_events(params.filter); filter 805 tools/perf/builtin-record.c pos->filter, perf_evsel__name(pos), errno, filter 1774 tools/perf/builtin-script.c if (thread->filter) { filter 1776 tools/perf/builtin-script.c thread->filter = false; filter 1793 tools/perf/builtin-script.c thread->filter = true; filter 527 tools/perf/builtin-stat.c counter->filter, perf_evsel__name(counter), errno, filter 1646 tools/perf/builtin-timechart.c char *filter = NULL; filter 1726 tools/perf/builtin-timechart.c if (asprintf(&filter, "common_pid != %d", getpid()) < 0) { filter 1744 tools/perf/builtin-timechart.c *p++ = filter; filter 1755 tools/perf/builtin-timechart.c *p++ = filter; filter 1766 tools/perf/builtin-timechart.c *p++ = filter; filter 2767 tools/perf/builtin-trace.c char *filter = asprintf_expr_inout_ints("id", !trace->not_ev_qualifier, filter 2771 tools/perf/builtin-trace.c if (filter == NULL) filter 2775 tools/perf/builtin-trace.c filter)) { filter 2777 tools/perf/builtin-trace.c err = perf_evsel__append_tp_filter(sys_exit, filter); filter 2780 tools/perf/builtin-trace.c free(filter); filter 3391 tools/perf/builtin-trace.c trace->syscalls.events.sys_exit->filter); filter 3546 tools/perf/builtin-trace.c evsel->filter, perf_evsel__name(evsel), errno, filter 212 tools/perf/lib/evsel.c int perf_evsel__apply_filter(struct perf_evsel *evsel, const char *filter) filter 216 tools/perf/lib/evsel.c (void *)filter); filter 57 tools/perf/lib/include/internal/evsel.h int perf_evsel__apply_filter(struct perf_evsel *evsel, const char *filter); filter 480 tools/perf/pmu-events/jevents.c char **name, char **long_desc, char **pmu, char **filter, filter 533 tools/perf/pmu-events/jevents.c char *filter = NULL; filter 612 tools/perf/pmu-events/jevents.c addfield(map, &filter, "", "", val); filter 646 tools/perf/pmu-events/jevents.c if (filter) filter 647 tools/perf/pmu-events/jevents.c addfield(map, &event, ",", filter, NULL); filter 659 tools/perf/pmu-events/jevents.c &long_desc, &pmu, &filter, &perpkg, filter 674 tools/perf/pmu-events/jevents.c free(filter); filter 82 tools/perf/ui/browser.c if (!browser->filter || !browser->filter(browser, pos)) filter 95 tools/perf/ui/browser.c if (!browser->filter || !browser->filter(browser, pos)) filter 510 tools/perf/ui/browser.c if (!browser->filter || !browser->filter(browser, pos)) { filter 639 tools/perf/ui/browser.c if (!browser->filter || !browser->filter(browser, *pos)) { filter 31 tools/perf/ui/browser.h bool (*filter)(struct ui_browser *browser, void *entry); filter 906 tools/perf/ui/browsers/annotate.c .filter = disasm_line__filter, filter 3387 tools/perf/ui/browsers/hists.c .filter = filter_group_entries, filter 1684 tools/perf/util/auxtrace.c const char *filter) filter 1687 tools/perf/util/auxtrace.c const char *fstr = filter; filter 2083 tools/perf/util/auxtrace.c char *filter; filter 2094 tools/perf/util/auxtrace.c err = asprintf(&filter, "%s 0x%"PRIx64"/0x%"PRIx64"%s%s", filter 2097 tools/perf/util/auxtrace.c err = asprintf(&filter, "%s 0x%"PRIx64"%s%s", filter 2101 tools/perf/util/auxtrace.c return err < 0 ? NULL : filter; filter 2104 tools/perf/util/auxtrace.c static int parse_addr_filter(struct evsel *evsel, const char *filter, filter 2113 tools/perf/util/auxtrace.c err = addr_filters__parse_bare_filter(&filts, filter); filter 2147 tools/perf/util/auxtrace.c pr_err("Failed to parse address filter: '%s'\n", filter); filter 2183 tools/perf/util/auxtrace.c char *filter; filter 2187 tools/perf/util/auxtrace.c filter = evsel->filter; filter 2189 tools/perf/util/auxtrace.c if (!filter || !max_nr) filter 2191 tools/perf/util/auxtrace.c evsel->filter = NULL; filter 2192 tools/perf/util/auxtrace.c err = parse_addr_filter(evsel, filter, max_nr); filter 2193 tools/perf/util/auxtrace.c free(filter); filter 2196 tools/perf/util/auxtrace.c pr_debug("Address filter: %s\n", evsel->filter); filter 547 tools/perf/util/auxtrace.h const char *filter); filter 1010 tools/perf/util/evlist.c if (evsel->filter == NULL) filter 1017 tools/perf/util/evlist.c err = perf_evsel__apply_filter(&evsel->core, evsel->filter); filter 1027 tools/perf/util/evlist.c int perf_evlist__set_tp_filter(struct evlist *evlist, const char *filter) filter 1036 tools/perf/util/evlist.c err = perf_evsel__set_filter(evsel, filter); filter 1046 tools/perf/util/evlist.c char *filter; filter 1052 tools/perf/util/evlist.c if (asprintf(&filter, "common_pid != %d", pids[i]) < 0) filter 1057 tools/perf/util/evlist.c if (asprintf(&tmp, "%s && common_pid != %d", filter, pids[i]) < 0) filter 1060 tools/perf/util/evlist.c free(filter); filter 1061 tools/perf/util/evlist.c filter = tmp; filter 1065 tools/perf/util/evlist.c ret = perf_evlist__set_tp_filter(evlist, filter); filter 1067 tools/perf/util/evlist.c free(filter); filter 132 tools/perf/util/evlist.h int perf_evlist__set_tp_filter(struct evlist *evlist, const char *filter); filter 1168 tools/perf/util/evsel.c int perf_evsel__set_filter(struct evsel *evsel, const char *filter) filter 1170 tools/perf/util/evsel.c char *new_filter = strdup(filter); filter 1173 tools/perf/util/evsel.c free(evsel->filter); filter 1174 tools/perf/util/evsel.c evsel->filter = new_filter; filter 1182 tools/perf/util/evsel.c const char *fmt, const char *filter) filter 1186 tools/perf/util/evsel.c if (evsel->filter == NULL) filter 1187 tools/perf/util/evsel.c return perf_evsel__set_filter(evsel, filter); filter 1189 tools/perf/util/evsel.c if (asprintf(&new_filter, fmt, evsel->filter, filter) > 0) { filter 1190 tools/perf/util/evsel.c free(evsel->filter); filter 1191 tools/perf/util/evsel.c evsel->filter = new_filter; filter 1198 tools/perf/util/evsel.c int perf_evsel__append_tp_filter(struct evsel *evsel, const char *filter) filter 1200 tools/perf/util/evsel.c return perf_evsel__append_filter(evsel, "(%s) && (%s)", filter); filter 1203 tools/perf/util/evsel.c int perf_evsel__append_addr_filter(struct evsel *evsel, const char *filter) filter 1205 tools/perf/util/evsel.c return perf_evsel__append_filter(evsel, "%s,%s", filter); filter 46 tools/perf/util/evsel.h char *filter; filter 217 tools/perf/util/evsel.h int perf_evsel__set_filter(struct evsel *evsel, const char *filter); filter 218 tools/perf/util/evsel.h int perf_evsel__append_tp_filter(struct evsel *evsel, const char *filter); filter 220 tools/perf/util/evsel.h const char *filter); filter 1999 tools/perf/util/hist.c enum hist_filter filter) filter 2001 tools/perf/util/hist.c h->filtered &= ~(1 << filter); filter 2009 tools/perf/util/hist.c parent->filtered &= ~(1 << filter); filter 2091 tools/perf/util/hist.c static void hists__filter_by_type(struct hists *hists, int type, filter_fn_t filter) filter 2103 tools/perf/util/hist.c if (filter(hists, h)) filter 412 tools/perf/util/intel-bts.c u32 filter = btsq->bts->branches_filter; filter 436 tools/perf/util/intel-bts.c if (filter && !(filter & btsq->sample_flags)) filter 122 tools/perf/util/intel-pt.c char *filter; filter 2635 tools/perf/util/intel-pt.c zfree(&pt->filter); filter 3148 tools/perf/util/intel-pt.c const char *filter = (const char *)info; filter 3157 tools/perf/util/intel-pt.c pt->filter = memdup(filter, len); filter 3158 tools/perf/util/intel-pt.c if (!pt->filter) { filter 3163 tools/perf/util/intel-pt.c mem_bswap_64(pt->filter, len); filter 3164 tools/perf/util/intel-pt.c if (pt->filter[len - 1]) { filter 3170 tools/perf/util/intel-pt.c filter); filter 3174 tools/perf/util/intel-pt.c intel_pt_print_info_str("Filter string", pt->filter); filter 3305 tools/perf/util/intel-pt.c zfree(&pt->filter); filter 299 tools/perf/util/metricgroup.c void metricgroup__print(bool metrics, bool metricgroups, char *filter, filter 350 tools/perf/util/metricgroup.c if (filter && !strstr(g, filter)) filter 34 tools/perf/util/metricgroup.h void metricgroup__print(bool metrics, bool groups, char *filter, filter 1171 tools/perf/util/probe-event.c struct strfilter *filter __maybe_unused) filter 2508 tools/perf/util/probe-event.c struct strfilter *filter) filter 2513 tools/perf/util/probe-event.c if (strfilter__compare(filter, tev->event)) filter 2519 tools/perf/util/probe-event.c return strfilter__compare(filter, tmp); filter 2523 tools/perf/util/probe-event.c struct strfilter *filter) filter 2541 tools/perf/util/probe-event.c if (!filter_probe_trace_event(&tev, filter)) filter 2565 tools/perf/util/probe-event.c int show_perf_probe_events(struct strfilter *filter) filter 2572 tools/perf/util/probe-event.c return probe_cache__show_all_caches(filter); filter 2583 tools/perf/util/probe-event.c ret = __show_perf_probe_events(kp_fd, true, filter); filter 2585 tools/perf/util/probe-event.c ret = __show_perf_probe_events(up_fd, false, filter); filter 3465 tools/perf/util/probe-event.c int del_perf_probe_events(struct strfilter *filter) filter 3468 tools/perf/util/probe-event.c char *str = strfilter__string(filter); filter 3478 tools/perf/util/probe-event.c ret = probe_file__del_events(kfd, filter); filter 3482 tools/perf/util/probe-event.c ret2 = probe_file__del_events(ufd, filter); filter 167 tools/perf/util/probe-event.h int del_perf_probe_events(struct strfilter *filter); filter 172 tools/perf/util/probe-event.h int show_perf_probe_events(struct strfilter *filter); filter 176 tools/perf/util/probe-event.h struct strfilter *filter); filter 178 tools/perf/util/probe-event.h struct strfilter *filter, bool user); filter 288 tools/perf/util/probe-file.c int probe_file__get_events(int fd, struct strfilter *filter, filter 305 tools/perf/util/probe-file.c if ((p && strfilter__compare(filter, p + 1)) || filter 306 tools/perf/util/probe-file.c strfilter__compare(filter, ent->s)) { filter 329 tools/perf/util/probe-file.c int probe_file__del_events(int fd, struct strfilter *filter) filter 338 tools/perf/util/probe-file.c ret = probe_file__get_events(fd, filter, namelist); filter 937 tools/perf/util/probe-file.c struct strfilter *filter) filter 945 tools/perf/util/probe-file.c return strfilter__compare(filter, ptr); filter 949 tools/perf/util/probe-file.c struct strfilter *filter) filter 954 tools/perf/util/probe-file.c if (probe_cache_entry__compare(entry, filter)) { filter 964 tools/perf/util/probe-file.c struct strfilter *filter) filter 969 tools/perf/util/probe-file.c if (probe_cache_entry__compare(entry, filter)) filter 976 tools/perf/util/probe-file.c int probe_cache__show_all_caches(struct strfilter *filter) filter 981 tools/perf/util/probe-file.c char *buf = strfilter__string(filter); filter 999 tools/perf/util/probe-file.c probe_cache__show_entries(pcache, filter); filter 47 tools/perf/util/probe-file.h int probe_file__del_events(int fd, struct strfilter *filter); filter 48 tools/perf/util/probe-file.h int probe_file__get_events(int fd, struct strfilter *filter, filter 64 tools/perf/util/probe-file.h struct strfilter *filter); filter 69 tools/perf/util/probe-file.h int probe_cache__show_all_caches(struct strfilter *filter); filter 30 tools/perf/util/strfilter.c void strfilter__delete(struct strfilter *filter) filter 32 tools/perf/util/strfilter.c if (filter) { filter 33 tools/perf/util/strfilter.c strfilter_node__delete(filter->root); filter 34 tools/perf/util/strfilter.c free(filter); filter 162 tools/perf/util/strfilter.c struct strfilter *filter = zalloc(sizeof(*filter)); filter 165 tools/perf/util/strfilter.c if (filter) filter 166 tools/perf/util/strfilter.c filter->root = strfilter_node__new(rules, &ep); filter 168 tools/perf/util/strfilter.c if (!filter || !filter->root || *ep != '\0') { filter 171 tools/perf/util/strfilter.c strfilter__delete(filter); filter 172 tools/perf/util/strfilter.c filter = NULL; filter 175 tools/perf/util/strfilter.c return filter; filter 178 tools/perf/util/strfilter.c static int strfilter__append(struct strfilter *filter, bool _or, filter 184 tools/perf/util/strfilter.c if (!filter || !rules) filter 193 tools/perf/util/strfilter.c root = strfilter_node__alloc(_or ? OP_or : OP_and, filter->root, right); filter 199 tools/perf/util/strfilter.c filter->root = root; filter 207 tools/perf/util/strfilter.c int strfilter__or(struct strfilter *filter, const char *rules, const char **err) filter 209 tools/perf/util/strfilter.c return strfilter__append(filter, true, rules, err); filter 212 tools/perf/util/strfilter.c int strfilter__and(struct strfilter *filter, const char *rules, filter 215 tools/perf/util/strfilter.c return strfilter__append(filter, false, rules, err); filter 239 tools/perf/util/strfilter.c bool strfilter__compare(struct strfilter *filter, const char *str) filter 241 tools/perf/util/strfilter.c if (!filter) filter 243 tools/perf/util/strfilter.c return strfilter_node__compare(filter->root, str); filter 298 tools/perf/util/strfilter.c char *strfilter__string(struct strfilter *filter) filter 303 tools/perf/util/strfilter.c len = strfilter_node__sprint(filter->root, NULL); filter 309 tools/perf/util/strfilter.c strfilter_node__sprint(filter->root, ret); filter 42 tools/perf/util/strfilter.h int strfilter__or(struct strfilter *filter, filter 55 tools/perf/util/strfilter.h int strfilter__and(struct strfilter *filter, filter 65 tools/perf/util/strfilter.h bool strfilter__compare(struct strfilter *filter, const char *str); filter 73 tools/perf/util/strfilter.h void strfilter__delete(struct strfilter *filter); filter 82 tools/perf/util/strfilter.h char *strfilter__string(struct strfilter *filter); filter 47 tools/perf/util/thread.h bool filter; filter 42 tools/perf/util/thread_map.c items = scandir(name, &namelist, filter, NULL); filter 110 tools/perf/util/thread_map.c items = scandir(path, &namelist, filter, NULL); filter 208 tools/perf/util/thread_map.c items = scandir(name, &namelist, filter, NULL); filter 209 tools/perf/util/util.c bool (*filter)(const char *, struct dirent *)) filter 226 tools/perf/util/util.c if (!filter || filter(name, d)) filter 25 tools/perf/util/util.h struct strlist *lsdir(const char *name, bool (*filter)(const char *, struct dirent *)); filter 106 tools/testing/selftests/net/psock_fanout.c bpf_prog.filter = bpf_filter; filter 65 tools/testing/selftests/net/psock_lib.h bpf_prog.filter = bpf_filter; filter 145 tools/testing/selftests/net/reuseport_bpf.c .filter = code, filter 364 tools/testing/selftests/net/reuseport_bpf.c cprog.filter = ccode; filter 87 tools/testing/selftests/net/reuseport_bpf_cpu.c .filter = code, filter 62 tools/testing/selftests/seccomp/seccomp_benchmark.c struct sock_filter filter[] = { filter 66 tools/testing/selftests/seccomp/seccomp_benchmark.c .len = (unsigned short)ARRAY_SIZE(filter), filter 67 tools/testing/selftests/seccomp/seccomp_benchmark.c .filter = filter, filter 283 tools/testing/selftests/seccomp/seccomp_bpf.c struct sock_filter filter[] = { filter 287 tools/testing/selftests/seccomp/seccomp_bpf.c .len = (unsigned short)ARRAY_SIZE(filter), filter 288 tools/testing/selftests/seccomp/seccomp_bpf.c .filter = filter, filter 317 tools/testing/selftests/seccomp/seccomp_bpf.c struct sock_filter *filter; filter 321 tools/testing/selftests/seccomp/seccomp_bpf.c filter = calloc(count, sizeof(*filter)); filter 322 tools/testing/selftests/seccomp/seccomp_bpf.c ASSERT_NE(NULL, filter); filter 325 tools/testing/selftests/seccomp/seccomp_bpf.c filter[i] = allow[0]; filter 330 tools/testing/selftests/seccomp/seccomp_bpf.c prog.filter = filter; filter 354 tools/testing/selftests/seccomp/seccomp_bpf.c struct sock_filter *filter; filter 358 tools/testing/selftests/seccomp/seccomp_bpf.c filter = calloc(count, sizeof(*filter)); filter 359 tools/testing/selftests/seccomp/seccomp_bpf.c ASSERT_NE(NULL, filter); filter 362 tools/testing/selftests/seccomp/seccomp_bpf.c filter[i] = allow[0]; filter 367 tools/testing/selftests/seccomp/seccomp_bpf.c prog.filter = filter; filter 389 tools/testing/selftests/seccomp/seccomp_bpf.c struct sock_filter filter[] = { filter 393 tools/testing/selftests/seccomp/seccomp_bpf.c .len = (unsigned short)ARRAY_SIZE(filter), filter 394 tools/testing/selftests/seccomp/seccomp_bpf.c .filter = filter, filter 412 tools/testing/selftests/seccomp/seccomp_bpf.c struct sock_filter filter[] = { filter 416 tools/testing/selftests/seccomp/seccomp_bpf.c .len = (unsigned short)ARRAY_SIZE(filter), filter 417 tools/testing/selftests/seccomp/seccomp_bpf.c .filter = filter, filter 437 tools/testing/selftests/seccomp/seccomp_bpf.c struct sock_filter filter[] = { filter 441 tools/testing/selftests/seccomp/seccomp_bpf.c .len = (unsigned short)ARRAY_SIZE(filter), filter 442 tools/testing/selftests/seccomp/seccomp_bpf.c .filter = filter, filter 455 tools/testing/selftests/seccomp/seccomp_bpf.c struct sock_filter filter[] = { filter 458 tools/testing/selftests/seccomp/seccomp_bpf.c .len = (unsigned short)ARRAY_SIZE(filter), filter 459 tools/testing/selftests/seccomp/seccomp_bpf.c .filter = filter, filter 473 tools/testing/selftests/seccomp/seccomp_bpf.c struct sock_filter filter[] = { filter 477 tools/testing/selftests/seccomp/seccomp_bpf.c .len = (unsigned short)ARRAY_SIZE(filter), filter 478 tools/testing/selftests/seccomp/seccomp_bpf.c .filter = filter, filter 495 tools/testing/selftests/seccomp/seccomp_bpf.c struct sock_filter filter[] = { filter 499 tools/testing/selftests/seccomp/seccomp_bpf.c .len = (unsigned short)ARRAY_SIZE(filter), filter 500 tools/testing/selftests/seccomp/seccomp_bpf.c .filter = filter, filter 517 tools/testing/selftests/seccomp/seccomp_bpf.c struct sock_filter filter[] = { filter 521 tools/testing/selftests/seccomp/seccomp_bpf.c .len = (unsigned short)ARRAY_SIZE(filter), filter 522 tools/testing/selftests/seccomp/seccomp_bpf.c .filter = filter, filter 538 tools/testing/selftests/seccomp/seccomp_bpf.c struct sock_filter filter[] = { filter 542 tools/testing/selftests/seccomp/seccomp_bpf.c .len = (unsigned short)ARRAY_SIZE(filter), filter 543 tools/testing/selftests/seccomp/seccomp_bpf.c .filter = filter, filter 556 tools/testing/selftests/seccomp/seccomp_bpf.c struct sock_filter filter[] = { filter 564 tools/testing/selftests/seccomp/seccomp_bpf.c .len = (unsigned short)ARRAY_SIZE(filter), filter 565 tools/testing/selftests/seccomp/seccomp_bpf.c .filter = filter, filter 584 tools/testing/selftests/seccomp/seccomp_bpf.c struct sock_filter filter[] = { filter 597 tools/testing/selftests/seccomp/seccomp_bpf.c .len = (unsigned short)ARRAY_SIZE(filter), filter 598 tools/testing/selftests/seccomp/seccomp_bpf.c .filter = filter, filter 624 tools/testing/selftests/seccomp/seccomp_bpf.c struct sock_filter filter[] = { filter 636 tools/testing/selftests/seccomp/seccomp_bpf.c .len = (unsigned short)ARRAY_SIZE(filter), filter 637 tools/testing/selftests/seccomp/seccomp_bpf.c .filter = filter, filter 699 tools/testing/selftests/seccomp/seccomp_bpf.c .filter = filter_thread, filter 710 tools/testing/selftests/seccomp/seccomp_bpf.c .filter = filter_process, filter 785 tools/testing/selftests/seccomp/seccomp_bpf.c struct sock_filter filter[] = { filter 790 tools/testing/selftests/seccomp/seccomp_bpf.c .len = (unsigned short)ARRAY_SIZE(filter), filter 791 tools/testing/selftests/seccomp/seccomp_bpf.c .filter = filter, filter 813 tools/testing/selftests/seccomp/seccomp_bpf.c .filter = _read_filter_##name, \ filter 911 tools/testing/selftests/seccomp/seccomp_bpf.c struct sock_filter filter[] = { filter 920 tools/testing/selftests/seccomp/seccomp_bpf.c self->prog.filter = malloc(sizeof(filter)); filter 921 tools/testing/selftests/seccomp/seccomp_bpf.c ASSERT_NE(NULL, self->prog.filter); filter 922 tools/testing/selftests/seccomp/seccomp_bpf.c memcpy(self->prog.filter, filter, sizeof(filter)); filter 923 tools/testing/selftests/seccomp/seccomp_bpf.c self->prog.len = (unsigned short)ARRAY_SIZE(filter); filter 928 tools/testing/selftests/seccomp/seccomp_bpf.c if (self->prog.filter) filter 929 tools/testing/selftests/seccomp/seccomp_bpf.c free(self->prog.filter); filter 1068 tools/testing/selftests/seccomp/seccomp_bpf.c self->_x.filter = malloc(sizeof(_x##_insns)); \ filter 1069 tools/testing/selftests/seccomp/seccomp_bpf.c ASSERT_NE(NULL, self->_x.filter); \ filter 1070 tools/testing/selftests/seccomp/seccomp_bpf.c memcpy(self->_x.filter, &_x##_insns, sizeof(_x##_insns)); \ filter 1082 tools/testing/selftests/seccomp/seccomp_bpf.c #define FILTER_FREE(_x) if (self->_x.filter) free(self->_x.filter) filter 1514 tools/testing/selftests/seccomp/seccomp_bpf.c struct sock_filter filter[] = { filter 1524 tools/testing/selftests/seccomp/seccomp_bpf.c self->prog.filter = malloc(sizeof(filter)); filter 1525 tools/testing/selftests/seccomp/seccomp_bpf.c ASSERT_NE(NULL, self->prog.filter); filter 1526 tools/testing/selftests/seccomp/seccomp_bpf.c memcpy(self->prog.filter, filter, sizeof(filter)); filter 1527 tools/testing/selftests/seccomp/seccomp_bpf.c self->prog.len = (unsigned short)ARRAY_SIZE(filter); filter 1540 tools/testing/selftests/seccomp/seccomp_bpf.c if (self->prog.filter) filter 1541 tools/testing/selftests/seccomp/seccomp_bpf.c free(self->prog.filter); filter 1816 tools/testing/selftests/seccomp/seccomp_bpf.c struct sock_filter filter[] = { filter 1831 tools/testing/selftests/seccomp/seccomp_bpf.c self->prog.filter = malloc(sizeof(filter)); filter 1832 tools/testing/selftests/seccomp/seccomp_bpf.c ASSERT_NE(NULL, self->prog.filter); filter 1833 tools/testing/selftests/seccomp/seccomp_bpf.c memcpy(self->prog.filter, filter, sizeof(filter)); filter 1834 tools/testing/selftests/seccomp/seccomp_bpf.c self->prog.len = (unsigned short)ARRAY_SIZE(filter); filter 1859 tools/testing/selftests/seccomp/seccomp_bpf.c if (self->prog.filter) filter 1860 tools/testing/selftests/seccomp/seccomp_bpf.c free(self->prog.filter); filter 1956 tools/testing/selftests/seccomp/seccomp_bpf.c struct sock_filter filter[] = { filter 1964 tools/testing/selftests/seccomp/seccomp_bpf.c .len = (unsigned short)ARRAY_SIZE(filter), filter 1965 tools/testing/selftests/seccomp/seccomp_bpf.c .filter = filter, filter 1988 tools/testing/selftests/seccomp/seccomp_bpf.c struct sock_filter filter[] = { filter 1996 tools/testing/selftests/seccomp/seccomp_bpf.c .len = (unsigned short)ARRAY_SIZE(filter), filter 1997 tools/testing/selftests/seccomp/seccomp_bpf.c .filter = filter, filter 2018 tools/testing/selftests/seccomp/seccomp_bpf.c struct sock_filter filter[] = { filter 2026 tools/testing/selftests/seccomp/seccomp_bpf.c .len = (unsigned short)ARRAY_SIZE(filter), filter 2027 tools/testing/selftests/seccomp/seccomp_bpf.c .filter = filter, filter 2050 tools/testing/selftests/seccomp/seccomp_bpf.c struct sock_filter filter[] = { filter 2058 tools/testing/selftests/seccomp/seccomp_bpf.c .len = (unsigned short)ARRAY_SIZE(filter), filter 2059 tools/testing/selftests/seccomp/seccomp_bpf.c .filter = filter, filter 2081 tools/testing/selftests/seccomp/seccomp_bpf.c struct sock_filter filter[] = { filter 2085 tools/testing/selftests/seccomp/seccomp_bpf.c .len = (unsigned short)ARRAY_SIZE(filter), filter 2086 tools/testing/selftests/seccomp/seccomp_bpf.c .filter = filter, filter 2133 tools/testing/selftests/seccomp/seccomp_bpf.c struct sock_filter filter[] = { filter 2137 tools/testing/selftests/seccomp/seccomp_bpf.c .len = (unsigned short)ARRAY_SIZE(filter), filter 2138 tools/testing/selftests/seccomp/seccomp_bpf.c .filter = filter, filter 2259 tools/testing/selftests/seccomp/seccomp_bpf.c struct sock_filter filter[] = { filter 2263 tools/testing/selftests/seccomp/seccomp_bpf.c .len = (unsigned short)ARRAY_SIZE(filter), filter 2264 tools/testing/selftests/seccomp/seccomp_bpf.c .filter = filter, filter 2338 tools/testing/selftests/seccomp/seccomp_bpf.c self->root_prog.filter = malloc(sizeof(root_filter)); filter 2339 tools/testing/selftests/seccomp/seccomp_bpf.c ASSERT_NE(NULL, self->root_prog.filter); filter 2340 tools/testing/selftests/seccomp/seccomp_bpf.c memcpy(self->root_prog.filter, &root_filter, sizeof(root_filter)); filter 2343 tools/testing/selftests/seccomp/seccomp_bpf.c self->apply_prog.filter = malloc(sizeof(apply_filter)); filter 2344 tools/testing/selftests/seccomp/seccomp_bpf.c ASSERT_NE(NULL, self->apply_prog.filter); filter 2345 tools/testing/selftests/seccomp/seccomp_bpf.c memcpy(self->apply_prog.filter, &apply_filter, sizeof(apply_filter)); filter 2374 tools/testing/selftests/seccomp/seccomp_bpf.c if (self->root_prog.filter) filter 2375 tools/testing/selftests/seccomp/seccomp_bpf.c free(self->root_prog.filter); filter 2376 tools/testing/selftests/seccomp/seccomp_bpf.c if (self->apply_prog.filter) filter 2377 tools/testing/selftests/seccomp/seccomp_bpf.c free(self->apply_prog.filter); filter 2436 tools/testing/selftests/seccomp/seccomp_bpf.c struct sock_filter filter[] = { filter 2444 tools/testing/selftests/seccomp/seccomp_bpf.c .len = (unsigned short)ARRAY_SIZE(filter), filter 2445 tools/testing/selftests/seccomp/seccomp_bpf.c .filter = filter, filter 2736 tools/testing/selftests/seccomp/seccomp_bpf.c struct sock_filter filter[] = { filter 2759 tools/testing/selftests/seccomp/seccomp_bpf.c .len = (unsigned short)ARRAY_SIZE(filter), filter 2760 tools/testing/selftests/seccomp/seccomp_bpf.c .filter = filter, filter 2915 tools/testing/selftests/seccomp/seccomp_bpf.c .filter = allow_filter, filter 2919 tools/testing/selftests/seccomp/seccomp_bpf.c .filter = kill_filter, filter 3013 tools/testing/selftests/seccomp/seccomp_bpf.c struct sock_filter filter[] = { filter 3017 tools/testing/selftests/seccomp/seccomp_bpf.c .len = (unsigned short)ARRAY_SIZE(filter), filter 3018 tools/testing/selftests/seccomp/seccomp_bpf.c .filter = filter, filter 3065 tools/testing/selftests/seccomp/seccomp_bpf.c struct sock_filter filter[] = { filter 3074 tools/testing/selftests/seccomp/seccomp_bpf.c .len = (unsigned short)ARRAY_SIZE(filter), filter 3075 tools/testing/selftests/seccomp/seccomp_bpf.c .filter = filter, filter 3091 tools/testing/selftests/seccomp/seccomp_bpf.c struct sock_filter filter[] = { filter 3095 tools/testing/selftests/seccomp/seccomp_bpf.c .len = (unsigned short)ARRAY_SIZE(filter), filter 3096 tools/testing/selftests/seccomp/seccomp_bpf.c .filter = filter,