Home
last modified time | relevance | path

Searched refs:pattern (Results 1 – 25 of 1191) sorted by relevance

12345678910>>...48

/openbmc/linux/drivers/net/ethernet/mellanox/mlx5/core/steering/
H A Ddr_ptrn.c97 pattern = kzalloc(sizeof(*pattern), GFP_KERNEL); in dr_ptrn_alloc_pattern()
98 if (!pattern) in dr_ptrn_alloc_pattern()
103 if (!pattern->data) in dr_ptrn_alloc_pattern()
114 return pattern; in dr_ptrn_alloc_pattern()
117 kfree(pattern); in dr_ptrn_alloc_pattern()
128 kfree(pattern->data); in dr_ptrn_free_pattern()
129 kfree(pattern); in dr_ptrn_free_pattern()
146 if (!pattern) { in mlx5dr_ptrn_cache_get_pattern()
149 if (!pattern) in mlx5dr_ptrn_cache_get_pattern()
176 return pattern; in mlx5dr_ptrn_cache_get_pattern()
[all …]
/openbmc/qemu/tests/qemu-iotests/
H A D021.out5 -1 is not a valid pattern byte
8 -1 is not a valid pattern byte
11 -1 is not a valid pattern byte
14 -1 is not a valid pattern byte
17 -1 is not a valid pattern byte
20 -1 is not a valid pattern byte
23 300 is not a valid pattern byte
26 300 is not a valid pattern byte
29 300 is not a valid pattern byte
32 300 is not a valid pattern byte
[all …]
H A D07550 _use_sample_img simple-pattern.cloop.bz2
55 _use_sample_img simple-pattern.cloop.bz2
60 _use_sample_img simple-pattern.cloop.bz2
66 _use_sample_img simple-pattern.cloop.bz2
72 _use_sample_img simple-pattern.cloop.bz2
78 _use_sample_img simple-pattern.cloop.bz2
84 _use_sample_img simple-pattern.cloop.bz2
90 _use_sample_img simple-pattern.cloop.bz2
97 _use_sample_img simple-pattern.cloop.bz2
H A D024.out5 === IO: pattern 0x11
25 === IO: pattern 0x22
37 === IO: pattern 0x33
40 === IO: pattern 0x33
45 === IO: pattern 0x33
48 === IO: pattern 0x33
51 === IO: pattern 0x33
54 === IO: pattern 0x33
57 === IO: pattern 0x11
60 === IO: pattern 0x00
[all …]
/openbmc/linux/Documentation/devicetree/bindings/eeprom/
H A Dat24.yaml43 pattern: c00$
45 pattern: c01$
47 pattern: cs01$
49 pattern: c02$
51 pattern: cs02$
57 pattern: c04$
59 pattern: cs04$
61 pattern: c08$
65 pattern: c16$
69 pattern: c32$
[all …]
/openbmc/linux/lib/
H A Dts_kmp.c37 u8 * pattern; member
56 while (q > 0 && kmp->pattern[q] in kmp_find()
59 if (kmp->pattern[q] in kmp_find()
81 while (k > 0 && (icase ? toupper(pattern[k]) : pattern[k]) in compute_prefix_tbl()
82 != (icase ? toupper(pattern[q]) : pattern[q])) in compute_prefix_tbl()
84 if ((icase ? toupper(pattern[k]) : pattern[k]) in compute_prefix_tbl()
85 == (icase ? toupper(pattern[q]) : pattern[q])) in compute_prefix_tbl()
108 kmp->pattern = (u8 *) kmp->prefix_tbl + prefix_tbl_len; in kmp_init()
111 kmp->pattern[i] = toupper(((u8 *)pattern)[i]); in kmp_init()
113 memcpy(kmp->pattern, pattern, len); in kmp_init()
[all …]
H A Dts_bm.c52 u8 * pattern; member
69 if (t != *(pattern-i)) in matchpat()
96 i = matchpat(&bm->pattern[bm->patlen-1], bm->patlen, in bm_find()
119 while(pattern[x--] == pattern[y--]) { in subpattern()
125 ret = pattern[i-1] != pattern[j-1]; in subpattern()
140 bm->bad_shift[bm->pattern[i]] = bm->patlen - 1 - i; in compute_prefix_tbl()
142 bm->bad_shift[tolower(bm->pattern[i])] in compute_prefix_tbl()
153 if (subpattern(bm->pattern, i, j, g)) { in compute_prefix_tbl()
179 bm->pattern[i] = toupper(((u8 *)pattern)[i]); in bm_init()
181 memcpy(bm->pattern, pattern, len); in bm_init()
[all …]
/openbmc/linux/tools/testing/selftests/bpf/prog_tests/
H A Dctx_rewrite.c421 while (*pattern && *pattern != ';') { in print_match_error()
425 ++pattern; in print_match_error()
432 if (*pattern) in print_match_error()
433 ++pattern; in print_match_error()
499 if (isspace(*pattern) || *pattern == ';') { in match_pattern()
502 pattern = skip_space_and_semi(pattern); in match_pattern()
531 pattern += 2; in match_pattern()
536 pattern = skip_space(pattern); in match_pattern()
543 ++pattern; in match_pattern()
548 ++pattern; in match_pattern()
[all …]
/openbmc/u-boot/drivers/ddr/marvell/a38x/
H A Dddr3_training_db.c665 u32 pattern = 0; in pattern_table_get_word() local
675 pattern = PATTERN_55; in pattern_table_get_word()
677 pattern = PATTERN_AA; in pattern_table_get_word()
681 pattern = PATTERN_55; in pattern_table_get_word()
683 pattern = PATTERN_AA; in pattern_table_get_word()
687 pattern = PATTERN_00; in pattern_table_get_word()
689 pattern = PATTERN_80; in pattern_table_get_word()
755 pattern = 0; in pattern_table_get_word()
799 pattern = 0x0000ffff; in pattern_table_get_word()
838 pattern = 0; in pattern_table_get_word()
[all …]
H A Dddr3_training_bist.c48 pattern_table[pattern].tx_burst_size : 0; in ddr3_tip_bist_activate()
53 pattern_table[pattern].num_of_phases_rx, in ddr3_tip_bist_activate()
130 ret = ddr3_tip_bist_activate(dev_num, pattern, in hws_ddr3_run_bist()
141 ret = ddr3_tip_bist_activate(dev_num, pattern, in hws_ddr3_run_bist()
462 if (pattern == PATTERN_00 || pattern == PATTERN_FF) in mv_ddr_odpg_bist_prepare()
519 pattern_table[pattern].num_of_phases_tx, in mv_ddr_dm_vw_get()
520 pattern_table[pattern].tx_burst_size, in mv_ddr_dm_vw_get()
521 pattern_table[pattern].num_of_phases_rx, in mv_ddr_dm_vw_get()
552 pattern_table[pattern].num_of_phases_tx, in mv_ddr_dm_vw_get()
553 pattern_table[pattern].tx_burst_size, in mv_ddr_dm_vw_get()
[all …]
/openbmc/openbmc/meta-security/dynamic-layers/meta-perl/recipes-security/bastille/files/
H A DFileContent.pm53 my ($filename,$pattern) = @_;
67 if ($line =~ $pattern) {
126 if ($line =~ $pattern) {
555 my ($file,$pattern) = @_;
596 my ($file,$pattern) = @_;
632 my ($filename,$pattern) = @_;
638 next unless /$pattern/;
667 my ($file,$pattern) = @_;
720 my ($filename,$pattern) = @_;
778 my ($filename,$pattern) = @_;
[all …]
/openbmc/openbmc/poky/meta/recipes-extended/tcp-wrappers/tcp-wrappers-7.6/
H A D05_wildcard_matching.patch50 +int match_pattern_ylo(const char *s, const char *pattern)
55 + if (!*pattern)
59 + if (*pattern == '*')
62 + pattern++;
64 + /* If at end of pattern, accept immediately. */
65 + if (!*pattern)
69 + if (*pattern != '?' && *pattern != '*')
74 + if (*s == *pattern &&
84 + if (match_pattern_ylo(s, pattern))
96 + if (*pattern != '?' && *pattern != *s)
[all …]
/openbmc/linux/drivers/tc/
H A Dtc.c44 u8 pattern[4]; in tc_bus_add_devices() local
56 err |= tc_preadb(pattern + 0, module + offset + TC_PATTERN0); in tc_bus_add_devices()
57 err |= tc_preadb(pattern + 1, module + offset + TC_PATTERN1); in tc_bus_add_devices()
63 if (pattern[0] != 0x55 || pattern[1] != 0x00 || in tc_bus_add_devices()
64 pattern[2] != 0xaa || pattern[3] != 0xff) { in tc_bus_add_devices()
68 err |= tc_preadb(pattern + 0, in tc_bus_add_devices()
70 err |= tc_preadb(pattern + 1, in tc_bus_add_devices()
72 err |= tc_preadb(pattern + 2, in tc_bus_add_devices()
74 err |= tc_preadb(pattern + 3, in tc_bus_add_devices()
80 if (pattern[0] != 0x55 || pattern[1] != 0x00 || in tc_bus_add_devices()
[all …]
/openbmc/linux/Documentation/leds/
H A Dleds-qcom-lpg.rst11 number of PWM channels, a programmable pattern lookup table and a RGB LED
23 deeper idle states the LPG provides pattern support. This consists of a shared
25 range within the table to use, the rate and if the pattern should repeat.
27 The pattern for a channel can be programmed using the "pattern" trigger, using
33 Specify a hardware pattern for a Qualcomm LPG LED.
39 transitions expected by the leds-trigger-pattern format, each entry in the
40 pattern must be followed a zero-length entry of the same brightness.
42 Simple pattern::
55 in the pattern, the so called "low pause" and "high pause".
57 Low-pause pattern::
[all …]
/openbmc/linux/mm/
H A Dmemtest.c32 static void __init reserve_bad_mem(u64 pattern, phys_addr_t start_bad, phys_addr_t end_bad) in reserve_bad_mem() argument
35 cpu_to_be64(pattern), &start_bad, &end_bad); in reserve_bad_mem()
40 static void __init memtest(u64 pattern, phys_addr_t start_phys, phys_addr_t size) in memtest() argument
45 const size_t incr = sizeof(pattern); in memtest()
54 WRITE_ONCE(*p, pattern); in memtest()
57 if (READ_ONCE(*p) == pattern) in memtest()
64 reserve_bad_mem(pattern, start_bad, last_bad + incr); in memtest()
68 reserve_bad_mem(pattern, start_bad, last_bad + incr); in memtest()
73 static void __init do_one_pass(u64 pattern, phys_addr_t start, phys_addr_t end) in do_one_pass() argument
84 &this_start, &this_end, cpu_to_be64(pattern)); in do_one_pass()
[all …]
/openbmc/u-boot/post/cpu/mpc83xx/
H A Decc.c49 u32 pattern[2], writeback[2], retval[2]; in ecc_post_test() local
54 pattern[0] = 0xfedcba98UL; in ecc_post_test()
55 pattern[1] = 0x76543210UL; in ecc_post_test()
58 writeback[0] = ~pattern[0]; in ecc_post_test()
59 writeback[1] = ~pattern[1]; in ecc_post_test()
98 ppcDWstore((u32*)addr, pattern); in ecc_post_test()
112 (__raw_readl(&ddr->capture_data_hi) ^ pattern[0])) || in ecc_post_test()
114 (__raw_readl(&ddr->capture_data_lo) ^ pattern[1]))) { in ecc_post_test()
121 pattern[0], pattern[1], in ecc_post_test()
/openbmc/linux/Documentation/devicetree/bindings/thermal/
H A Dqcom-tsens.yaml123 - pattern: '^s[0-9]+_p1$'
124 - pattern: '^s[0-9]+_p2$'
125 - pattern: '^s[0-9]+_p1$'
126 - pattern: '^s[0-9]+_p2$'
127 - pattern: '^s[0-9]+_p1$'
128 - pattern: '^s[0-9]+_p2$'
129 - pattern: '^s[0-9]+_p1$'
130 - pattern: '^s[0-9]+_p2$'
131 - pattern: '^s[0-9]+_p1$'
132 - pattern: '^s[0-9]+_p2$'
[all …]
/openbmc/linux/Documentation/devicetree/bindings/dma/
H A Drenesas,rcar-dmac.yaml61 - pattern: "^ch([0-9]|1[0-5])$"
62 - pattern: "^ch([0-9]|1[0-5])$"
63 - pattern: "^ch([0-9]|1[0-5])$"
64 - pattern: "^ch([0-9]|1[0-5])$"
65 - pattern: "^ch([0-9]|1[0-5])$"
66 - pattern: "^ch([0-9]|1[0-5])$"
67 - pattern: "^ch([0-9]|1[0-5])$"
68 - pattern: "^ch([0-9]|1[0-5])$"
69 - pattern: "^ch([0-9]|1[0-5])$"
70 - pattern: "^ch([0-9]|1[0-5])$"
[all …]
/openbmc/linux/security/tomoyo/
H A Dutil.c708 if (*pattern != '\\') { in tomoyo_file_matches_pattern2()
714 pattern++; in tomoyo_file_matches_pattern2()
715 switch (*pattern) { in tomoyo_file_matches_pattern2()
753 pattern += 2; in tomoyo_file_matches_pattern2()
779 c = *pattern; in tomoyo_file_matches_pattern2()
799 pattern++; in tomoyo_file_matches_pattern2()
802 (*(pattern + 1) == '*' || *(pattern + 1) == '@')) in tomoyo_file_matches_pattern2()
803 pattern += 2; in tomoyo_file_matches_pattern2()
819 const char *pattern, in tomoyo_file_matches_pattern() argument
828 if (*pattern++ != '\\' || *pattern++ != '-') in tomoyo_file_matches_pattern()
[all …]
/openbmc/linux/drivers/leds/
H A Dleds-el15203000.c140 struct led_pattern *pattern, in el15203000_pattern_set_S() argument
146 pattern[0].delta_t != 4000 || pattern[0].brightness != 0 || in el15203000_pattern_set_S()
147 pattern[1].delta_t != 4000 || pattern[1].brightness != 1) in el15203000_pattern_set_S()
170 if (pattern[i].delta_t != EL_PATTERN_DELAY_MSEC || in is_cascade()
171 pattern[i].brightness != t) in is_cascade()
186 is_cascade(pattern + EL_PATTERN_HALF_LEN, in is_bounce()
191 struct led_pattern *pattern, in el15203000_pattern_set_P() argument
200 if (is_cascade(pattern, len, false, false)) { in el15203000_pattern_set_P()
205 } else if (is_cascade(pattern, len, true, false)) { in el15203000_pattern_set_P()
210 } else if (is_bounce(pattern, len, false)) { in el15203000_pattern_set_P()
[all …]
/openbmc/u-boot/cmd/
H A Dmem.c578 vu_long pattern; in mem_test_alt() local
698 pattern, temp); in mem_test_alt()
720 pattern, temp); in mem_test_alt()
746 for (pattern = 1, offset = 0; offset < num_words; pattern++, offset++) { in mem_test_alt()
754 for (pattern = 1, offset = 0; offset < num_words; pattern++, offset++) { in mem_test_alt()
761 pattern, temp); in mem_test_alt()
774 for (pattern = 1, offset = 0; offset < num_words; pattern++, offset++) { in mem_test_alt()
813 pattern = -pattern; /* complement & increment */ in mem_test_quick()
815 pattern = ~pattern; in mem_test_quick()
822 pattern, ""); in mem_test_quick()
[all …]
/openbmc/linux/tools/testing/selftests/bpf/
H A Dtest_bpftool_synctypes.py42 def parse(self, pattern, end_marker): argument
54 capture = pattern.search(line)
55 if capture and pattern.groups >= 1:
89 capture = pattern.search(line)
98 def parse(self, pattern, end_marker): argument
110 entries.update(pattern.findall(line))
185 return parser.parse(pattern, end_marker)
211 return parser.parse(pattern, end_marker)
249 pattern = re.compile('([\w/]+) [|}]')
324 return parser.parse(pattern, end_marker)
[all …]
/openbmc/linux/tools/testing/selftests/net/
H A Dnet_helper.sh11 local pattern
14 pattern=":$(printf "%04X" "${port}") "
17 [ ${protocol} = "tcp" ] && pattern="${pattern}0A"
20 /proc/net/"${protocol}"* | grep -q "${pattern}"; then
/openbmc/u-boot/drivers/ddr/marvell/axp/
H A Dddr3_sdram.c104 var2 = ((pattern[uj] >> val) & CMP_BYTE_MASK); in compare_pattern_v1()
141 var2 = (pattern[uj] >> val) & CMP_BYTE_MASK; in compare_pattern_v2()
164 u32 *new_locked_pup, u32 *pattern, in ddr3_sdram_compare() argument
196 compare_pattern_v2(uj, new_locked_pup, pattern); in ddr3_sdram_compare()
220 u32 *new_locked_pup, u32 *pattern, in ddr3_sdram_dm_compare() argument
249 if (((sdram_data[uj]) != (pattern[uj])) && in ddr3_sdram_dm_compare()
254 var2 = ((pattern[uj] >> val) & CMP_BYTE_MASK); in ddr3_sdram_dm_compare()
442 u32 *new_locked_pup, u32 *pattern, in ddr3_sdram_direct_compare() argument
459 *sdram_addr = pattern[uk]; in ddr3_sdram_direct_compare()
474 compare_pattern_v1(uj, new_locked_pup, pattern, in ddr3_sdram_direct_compare()
[all …]
/openbmc/linux/Documentation/devicetree/bindings/mailbox/
H A Dnvidia,tegra186-hsp.yaml63 pattern: "^hsp@[0-9a-f]+$"
89 - pattern: "^shared[0-7]$"
90 - pattern: "^shared[0-7]$"
91 - pattern: "^shared[0-7]$"
92 - pattern: "^shared[0-7]$"
93 - pattern: "^shared[0-7]$"
94 - pattern: "^shared[0-7]$"
95 - pattern: "^shared[0-7]$"
96 - pattern: "^shared[0-7]$"
99 - pattern: "^shared[0-7]$"
[all …]

12345678910>>...48