Searched refs:match (Results 101 - 125 of 1154) sorted by relevance

1234567891011>>

/linux-master/tools/testing/kunit/
H A Dkunit_parser.py288 ktap_match = KTAP_START.match(lines.peek())
289 tap_match = TAP_START.match(lines.peek())
318 match = TEST_HEADER.match(lines.peek())
319 if not match:
321 test.name = match.group(1)
344 match = TEST_PLAN.match(lines.peek())
345 if not match:
348 expected_count = int(match
[all...]
/linux-master/drivers/net/dsa/sja1105/
H A Dsja1105_flower.c201 struct flow_dissector *dissector = rule->match.dissector;
218 struct flow_match_basic match; local
220 flow_rule_match_basic(rule, &match);
221 if (match.key->n_proto) {
231 struct flow_match_eth_addrs match; local
233 flow_rule_match_eth_addrs(rule, &match);
235 if (!ether_addr_equal_masked(match.key->src, null,
236 match.mask->src)) {
242 if (!ether_addr_equal(match.mask->dst, bcast)) {
248 dmac = ether_addr_to_u64(match
253 struct flow_match_vlan match; local
[all...]
/linux-master/lib/zlib_deflate/
H A Ddeflate.c19 * string matches are performed only when the previous match ends. So it
23 * is used to find longer strings when a small match has been found.
82 static void check_match (deflate_state *s, IPos start, IPos match,
128 ush good_length; /* reduce lazy search above this match length */
129 ush max_lazy; /* do not perform lazy search above this match length */
130 ush nice_length; /* quit search above this match length */
528 * Initialize the "longest match" routines for a new zlib stream
554 * Set match_start to the longest match starting at the given string and
560 * OUT assertion: the match length is not greater than s->lookahead.
562 /* For 80x86 and 680x0, an optimized version will be provided in match
572 register Byte *match; /* matched string */ local
708 check_match( deflate_state *s, IPos start, IPos match, int length ) argument
[all...]
/linux-master/net/netfilter/
H A Dxt_length.c2 /* Kernel module to match packet length. */
15 MODULE_DESCRIPTION("Xtables: Packet length (Layer3,4,5) match");
42 .match = length_mt,
49 .match = length_mt6,
H A Dxt_socket.c29 /* "socket" match based redirection (no specific rule)
40 * - match: if there's a fully established connection matching the
43 * - match: if there's a non-zero bound listener (possibly with a
234 .match = socket_mt4_v0,
243 .match = socket_mt4_v1_v2_v3,
256 .match = socket_mt6_v1_v2_v3,
269 .match = socket_mt4_v1_v2_v3,
282 .match = socket_mt6_v1_v2_v3,
295 .match = socket_mt4_v1_v2_v3,
308 .match
[all...]
/linux-master/drivers/perf/arm_cspmu/
H A Dnvidia_cspmu.c327 const struct nv_cspmu_match *match)
334 switch (match->name_fmt) {
339 name = devm_kasprintf(dev, GFP_KERNEL, match->name_pattern,
344 name = devm_kasprintf(dev, GFP_KERNEL, match->name_pattern,
361 const struct nv_cspmu_match *match = nv_cspmu_match; local
370 for (; match->prodid; match++) {
371 const u32 prodid_mask = match->prodid_mask;
373 if ((match->prodid & prodid_mask) == (prodid & prodid_mask))
377 ctx->name = nv_cspmu_format_name(cspmu, match);
326 nv_cspmu_format_name(const struct arm_cspmu *cspmu, const struct nv_cspmu_match *match) argument
[all...]
H A Darm_cspmu.c399 struct arm_cspmu_impl_match *match = impl_match; local
401 for (; match->pmiidr_val; match++) {
402 u32 mask = match->pmiidr_mask;
404 if ((match->pmiidr_val & mask) == (pmiidr & mask))
405 return match;
417 struct arm_cspmu_impl_match *match; local
439 match = arm_cspmu_impl_match_get(cspmu->impl.pmiidr);
442 if (match) {
445 if (match
1371 struct arm_cspmu_impl_match *match; local
1407 arm_cspmu_match_device(struct device *dev, const void *match) argument
1417 struct arm_cspmu_impl_match *match; local
[all...]
/linux-master/drivers/soc/rockchip/
H A Dgrf.c171 const struct of_device_id *match; local
177 &match);
180 if (!match || !match->data) {
186 grf_info = match->data;
/linux-master/drivers/dma/dw/
H A Dplatform.c28 const struct dw_dma_chip_pdata *match; local
34 match = device_get_match_data(dev);
35 if (!match)
38 data = devm_kmemdup(&pdev->dev, match, sizeof(*match), GFP_KERNEL);
/linux-master/net/sched/
H A Dem_canid.c3 * em_canid.c Ematch rule to match CAN frames according to their CAN IDs
98 int match = 0; local
108 match = 1;
114 match = (test_bit(can_id, cm->match_sff) ? 1 : 0);
117 return match;
146 * We do not support filters here that match for the same can_id
208 .match = em_canid_match,
225 MODULE_DESCRIPTION("ematch classifier to match CAN IDs embedded in skb CAN frames");
/linux-master/lib/lz4/
H A Dlz4_compress.c246 const BYTE *match; local
249 /* Find a match */
265 match = LZ4_getPositionOnHash(h,
270 if (match < (const BYTE *)source) {
284 ? (match < lowRefLimit)
288 : (match + MAX_DISTANCE < ip))
289 || (LZ4_read32(match + refDelta)
294 while (((ip > anchor) & (match + refDelta > lowLimit))
295 && (unlikely(ip[-1] == match[refDelta - 1]))) {
297 match
569 const BYTE *match; local
[all...]
/linux-master/scripts/
H A Dleaking_addresses.pl306 my ($match) = @_;
309 return is_false_positive_32bit($match);
315 if ($match =~ '\b(0x)?(f|F){15}[0-9a-f]\b' or
316 $match =~ '\b(0x)?0{16}\b') {
320 if (is_x86_64() and is_in_vsyscall_memory_region($match)) {
329 my ($match) = @_;
332 if ($match =~ '\b(0x)?(f|F){7}[0-9a-f]\b') {
336 if (hex($match) < $page_offset) {
363 my ($match) = @_;
365 my $hex = hex($match);
[all...]
/linux-master/drivers/of/
H A Dirq.c120 int imaplen, match, i, rc = -EINVAL; local
171 /* Precalculate the match array - this simplifies match loop */
218 match = 0;
219 while (imaplen > (addrsize + intsize + 1) && !match) {
221 match = 1;
223 match &= !((match_array[i] ^ *imap++) & imask[i]);
225 pr_debug(" -> match=%d (imaplen=%d)\n", match, imaplen);
242 match
530 const struct of_device_id *match; local
[all...]
/linux-master/io_uring/
H A Dio-wq.c140 struct io_cb_cancel_data *match);
786 struct io_cb_cancel_data match = { local
792 while (io_acct_cancel_pending_work(wq, acct, &match))
927 struct io_cb_cancel_data match; local
966 match.fn = io_wq_work_match_item,
967 match.data = work,
968 match.cancel_all = false,
970 io_acct_cancel_pending_work(wq, acct, &match);
987 struct io_cb_cancel_data *match,
990 if (work && match
986 __io_wq_worker_cancel(struct io_worker *worker, struct io_cb_cancel_data *match, struct io_wq_work *work) argument
1001 struct io_cb_cancel_data *match = data; local
1035 io_acct_cancel_pending_work(struct io_wq *wq, struct io_wq_acct *acct, struct io_cb_cancel_data *match) argument
1059 io_wq_cancel_pending_work(struct io_wq *wq, struct io_cb_cancel_data *match) argument
1075 io_wq_cancel_running_work(struct io_wq *wq, struct io_cb_cancel_data *match) argument
1086 struct io_cb_cancel_data match = { local
1254 struct io_cb_cancel_data match = { local
[all...]
/linux-master/drivers/clk/
H A Dclkdev.c31 * If an entry has a device ID, it must match
32 * If an entry has a connection ID, it must match
39 int match, best_found = 0, best_possible = 0; local
49 match = 0;
53 match += 2;
58 match += 1;
61 if (match > best_found) {
63 if (match != best_possible)
64 best_found = match;
/linux-master/drivers/gpu/drm/sun4i/
H A Dsun4i_drv.c189 const struct of_device_id *match; local
191 match = of_match_node(sun4i_tcon_of_table, node);
192 if (match) {
195 quirks = (struct sun4i_tcon_quirks *)match->data;
294 struct component_match **match,
328 drm_of_component_match_add(dev, match, component_compare_of, node);
367 struct component_match *match = NULL; local
393 ret = sun4i_drv_add_endpoints(&pdev->dev, &list, &match,
406 match);
292 sun4i_drv_add_endpoints(struct device *dev, struct endpoint_list *list, struct component_match **match, struct device_node *node) argument
/linux-master/drivers/soc/sunxi/
H A Dsunxi_sram.c114 const struct of_device_id *match; local
132 match = of_match_node(sunxi_sram_dt_ids, section_node);
133 if (!match)
135 sram_data = match->data;
171 const struct of_device_id *match; local
190 match = of_match_node(sunxi_sram_dt_ids, args.np);
191 if (!match) {
196 data = match->data;
217 return match->data;
/linux-master/arch/arm/mach-mvebu/
H A Dsystem-controller.c160 const struct of_device_id *match; local
164 &match);
170 mvebu_sc = (struct mvebu_system_controller *)match->data;
/linux-master/tools/perf/arch/x86/util/
H A Dheader.c99 int match; local
114 /* Warn unable to generate match particular string. */
119 match = !regexec(&re, id, 1, pmatch, 0);
121 if (match) {
/linux-master/drivers/soc/tegra/
H A Dcommon.c30 const struct of_device_id *match; local
37 match = of_match_node(tegra_machine_match, root);
40 return match != NULL;
/linux-master/tools/perf/arch/arm64/annotate/
H A Dinstructions.c73 regmatch_t match[2]; local
75 if (!regexec(&arm->jump_insn, name, 2, match, 0))
77 else if (!regexec(&arm->call_insn, name, 2, match, 0))
/linux-master/drivers/iio/imu/inv_mpu6050/
H A Dinv_mpu_spi.c37 const void *match; local
46 } else if ((match = device_get_match_data(&spi->dev))) {
47 chip_type = (uintptr_t)match;
/linux-master/drivers/net/ethernet/microchip/lan966x/
H A Dlan966x_tc_flower.c48 struct flow_match_control match; local
51 flow_rule_match_control(st->frule, &match);
52 if (match.mask->flags & FLOW_DIS_IS_FRAGMENT) {
53 if (match.key->flags & FLOW_DIS_IS_FRAGMENT)
65 if (match.mask->flags & FLOW_DIS_FIRST_FRAG) {
66 if (match.key->flags & FLOW_DIS_FIRST_FRAG)
90 struct flow_match_basic match; local
93 flow_rule_match_basic(st->frule, &match);
94 if (match.mask->n_proto) {
95 st->l3_proto = be16_to_cpu(match
[all...]
/linux-master/drivers/mmc/core/
H A Dpwrseq_sd8787.c92 const struct of_device_id *match; local
98 match = of_match_node(mmc_pwrseq_sd8787_of_match, pdev->dev.of_node);
109 pwrseq->pwrseq.ops = match->data;
/linux-master/Documentation/sphinx/
H A Dkernel_feat.py103 match = line_regex.search(line)
104 if match:
105 fname = match.group(1)

Completed in 260 milliseconds

1234567891011>>