Home
last modified time | relevance | path

Searched refs:j (Results 1 – 25 of 2900) sorted by relevance

12345678910>>...116

/linux-6.6.21/drivers/staging/media/atomisp/pci/isp/kernels/eed1_8/
Dia_css_eed1_8.host.c94 unsigned int i, j, base; in ia_css_eed1_8_vmem_encode() local
130 for (j = 0; j < IA_CSS_NUMBER_OF_DEW_ENHANCE_SEGMENTS; j++) { in ia_css_eed1_8_vmem_encode()
131 assert(from->dew_enhance_seg_x[j] > -1); in ia_css_eed1_8_vmem_encode()
132 assert(from->dew_enhance_seg_y[j] > -1); in ia_css_eed1_8_vmem_encode()
135 for (j = 1; j < IA_CSS_NUMBER_OF_DEW_ENHANCE_SEGMENTS; j++) { in ia_css_eed1_8_vmem_encode()
136 assert(from->dew_enhance_seg_x[j] > from->dew_enhance_seg_x[j - 1]); in ia_css_eed1_8_vmem_encode()
137 assert(from->dew_enhance_seg_y[j] > from->dew_enhance_seg_y[j - 1]); in ia_css_eed1_8_vmem_encode()
152 for (j = 1; j < NUMBER_OF_CHGRINV_POINTS; j++) { in ia_css_eed1_8_vmem_encode()
153 assert(chgrinv_x[j] > chgrinv_x[j - 1]); in ia_css_eed1_8_vmem_encode()
156 for (j = 1; j < NUMBER_OF_TCINV_POINTS; j++) { in ia_css_eed1_8_vmem_encode()
[all …]
/linux-6.6.21/tools/testing/selftests/net/
Dreuseaddr_ports_exhausted.c84 int i, j, fd[2]; in TEST() local
89 for (j = 0; j < 2; j++) in TEST()
90 fd[j] = bind_port(_metadata, opts->reuseaddr[j], opts->reuseport[j]); in TEST()
95 for (j = 0; j < 2; j++) in TEST()
96 if (fd[j] != -1) in TEST()
97 close(fd[j]); in TEST()
104 int i, j, fd[2]; in TEST() local
109 for (j = 0; j < 2; j++) in TEST()
110 fd[j] = bind_port(_metadata, opts->reuseaddr[j], opts->reuseport[j]); in TEST()
120 for (j = 0; j < 2; j++) in TEST()
[all …]
/linux-6.6.21/tools/perf/util/
Dlevenshtein.c51 int i, j; in levenshtein() local
53 for (j = 0; j <= len2; j++) in levenshtein()
54 row1[j] = j * a; in levenshtein()
59 for (j = 0; j < len2; j++) { in levenshtein()
61 row2[j + 1] = row1[j] + s * (string1[i] != string2[j]); in levenshtein()
63 if (i > 0 && j > 0 && string1[i - 1] == string2[j] && in levenshtein()
64 string1[i] == string2[j - 1] && in levenshtein()
65 row2[j + 1] > row0[j - 1] + w) in levenshtein()
66 row2[j + 1] = row0[j - 1] + w; in levenshtein()
68 if (row2[j + 1] > row1[j + 1] + d) in levenshtein()
[all …]
Dcs-etm-base.c64 int i = *offset, j, nr_params = 0, fmt_offset; in cs_etm__print_cpu_metadata_v0() local
84 for (j = fmt_offset; j < nr_params + fmt_offset; j++, i++) in cs_etm__print_cpu_metadata_v0()
85 fprintf(stdout, cs_etm_priv_fmts[j], val[i]); in cs_etm__print_cpu_metadata_v0()
90 for (j = fmt_offset; j < nr_params + fmt_offset; j++, i++) in cs_etm__print_cpu_metadata_v0()
91 fprintf(stdout, cs_etmv4_priv_fmts[j], val[i]); in cs_etm__print_cpu_metadata_v0()
99 int i = *offset, j, total_params = 0; in cs_etm__print_cpu_metadata_v1() local
107 for (j = 0; j < total_params; j++, i++) { in cs_etm__print_cpu_metadata_v1()
109 if (j >= CS_ETM_PRIV_MAX) in cs_etm__print_cpu_metadata_v1()
110 fprintf(stdout, param_unk_fmt, j, val[i]); in cs_etm__print_cpu_metadata_v1()
112 fprintf(stdout, cs_etm_priv_fmts[j], val[i]); in cs_etm__print_cpu_metadata_v1()
[all …]
Dvalues.c136 int j; in perf_read_values__enlarge_counters() local
143 for (j = values->counters_max; j < counters_max; j++) in perf_read_values__enlarge_counters()
144 value[j] = 0; in perf_read_values__enlarge_counters()
204 int i, j; in perf_read_values__display_pretty() local
215 for (j = 0; j < values->counters; j++) in perf_read_values__display_pretty()
216 counterwidth[j] = strlen(values->countername[j]); in perf_read_values__display_pretty()
226 for (j = 0; j < values->counters; j++) { in perf_read_values__display_pretty()
227 width = snprintf(NULL, 0, "%" PRIu64, values->value[i][j]); in perf_read_values__display_pretty()
228 if (width > counterwidth[j]) in perf_read_values__display_pretty()
229 counterwidth[j] = width; in perf_read_values__display_pretty()
[all …]
/linux-6.6.21/lib/raid6/
Dmktables.c55 int i, j, k; in main() local
70 for (j = 0; j < 256; j += 8) { in main()
73 printf("0x%02x,%c", gfmul(i, j + k), in main()
89 for (j = 0; j < 16; j += 8) { in main()
92 printf("0x%02x,%c", gfmul(i, j + k), in main()
95 for (j = 0; j < 16; j += 8) { in main()
98 printf("0x%02x,%c", gfmul(i, (j + k) << 4), in main()
114 for (j = 0; j < 8; j++) { in main()
115 exptbl[i + j] = v; in main()
116 printf("0x%02x,%c", v, (j == 7) ? '\n' : ' '); in main()
[all …]
/linux-6.6.21/drivers/video/logo/
Dpnmtologo.c124 unsigned int i, j; in read_image() local
174 for (j = 0; j < logo_width; j++) in read_image()
175 logo_data[i][j].red = logo_data[i][j].green = in read_image()
176 logo_data[i][j].blue = 255*(1-get_number(fp)); in read_image()
183 for (j = 0; j < logo_width; j++) in read_image()
184 logo_data[i][j].red = logo_data[i][j].green = in read_image()
185 logo_data[i][j].blue = get_number255(fp, maxval); in read_image()
192 for (j = 0; j < logo_width; j++) { in read_image()
193 logo_data[i][j].red = get_number255(fp, maxval); in read_image()
194 logo_data[i][j].green = get_number255(fp, maxval); in read_image()
[all …]
/linux-6.6.21/drivers/acpi/acpica/
Dutbuffer.c37 u32 j; in acpi_ut_dump_buffer() local
64 for (j = 0; j < 16;) { in acpi_ut_dump_buffer()
65 if (i + j >= count) { in acpi_ut_dump_buffer()
70 j += display; in acpi_ut_dump_buffer()
79 buffer[(acpi_size)i + j]); in acpi_ut_dump_buffer()
85 &buffer[(acpi_size)i + j]); in acpi_ut_dump_buffer()
92 &buffer[(acpi_size)i + j]); in acpi_ut_dump_buffer()
99 &buffer[(acpi_size)i + j]); in acpi_ut_dump_buffer()
103 &buffer[(acpi_size)i + j + in acpi_ut_dump_buffer()
109 j += display; in acpi_ut_dump_buffer()
[all …]
/linux-6.6.21/lib/
Dgen_crc32table.c40 unsigned i, j; in crc32init_le_generic() local
47 for (j = 0; j < LE_TABLE_SIZE; j += 2 * i) in crc32init_le_generic()
48 tab[0][i + j] = crc ^ tab[0][j]; in crc32init_le_generic()
52 for (j = 1; j < LE_TABLE_ROWS; j++) { in crc32init_le_generic()
54 tab[j][i] = crc; in crc32init_le_generic()
74 unsigned i, j; in crc32init_be() local
81 for (j = 0; j < i; j++) in crc32init_be()
82 crc32table_be[0][i + j] = crc ^ crc32table_be[0][j]; in crc32init_be()
86 for (j = 1; j < BE_TABLE_ROWS; j++) { in crc32init_be()
88 crc32table_be[j][i] = crc; in crc32init_be()
[all …]
Dtest_string.c9 unsigned i, j, k; in memset16_selftest() local
17 for (j = 0; j < 256; j++) { in memset16_selftest()
19 memset16(p + i, 0xb1b2, j); in memset16_selftest()
25 } else if (k < i + j) { in memset16_selftest()
39 return (i << 24) | (j << 16) | k | 0x8000; in memset16_selftest()
45 unsigned i, j, k; in memset32_selftest() local
53 for (j = 0; j < 256; j++) { in memset32_selftest()
55 memset32(p + i, 0xb1b2b3b4, j); in memset32_selftest()
61 } else if (k < i + j) { in memset32_selftest()
75 return (i << 24) | (j << 16) | k | 0x8000; in memset32_selftest()
[all …]
Drbtree_test.c244 int i, j; in rbtree_test_init() local
260 for (j = 0; j < nnodes; j++) in rbtree_test_init()
261 insert(nodes + j, &root); in rbtree_test_init()
262 for (j = 0; j < nnodes; j++) in rbtree_test_init()
263 erase(nodes + j, &root); in rbtree_test_init()
276 for (j = 0; j < nnodes; j++) in rbtree_test_init()
277 insert_cached(nodes + j, &root); in rbtree_test_init()
278 for (j = 0; j < nnodes; j++) in rbtree_test_init()
279 erase_cached(nodes + j, &root); in rbtree_test_init()
335 for (j = 0; j < nnodes; j++) { in rbtree_test_init()
[all …]
Dhexdump.c133 int j, lx = 0; in hex_dump_to_buffer() local
159 for (j = 0; j < ngroups; j++) { in hex_dump_to_buffer()
161 "%s%16.16llx", j ? " " : "", in hex_dump_to_buffer()
162 get_unaligned(ptr8 + j)); in hex_dump_to_buffer()
170 for (j = 0; j < ngroups; j++) { in hex_dump_to_buffer()
172 "%s%8.8x", j ? " " : "", in hex_dump_to_buffer()
173 get_unaligned(ptr4 + j)); in hex_dump_to_buffer()
181 for (j = 0; j < ngroups; j++) { in hex_dump_to_buffer()
183 "%s%4.4x", j ? " " : "", in hex_dump_to_buffer()
184 get_unaligned(ptr2 + j)); in hex_dump_to_buffer()
[all …]
/linux-6.6.21/lib/reed_solomon/
Ddecode_rs.c15 int i, j, r, k, pad; variable
64 for (j = 1; j < len; j++) {
67 syn[i] = (((uint16_t) data[j]) ^
70 syn[i] = ((((uint16_t) data[j]) ^
78 for (j = 0; j < nroots; j++) {
81 syn[i] = ((uint16_t) par[j]) & msk;
83 syn[i] = (((uint16_t) par[j]) & msk) ^
115 for (j = i + 1; j > 0; j--) {
116 tmp = index_of[lambda[j - 1]];
118 lambda[j] ^=
[all …]
/linux-6.6.21/tools/testing/selftests/arm64/mte/
Dcheck_buffer_fill.c31 int i, j, item; in check_buffer_by_byte() local
43 for (j = 0; j < sizes[i]; j++) in check_buffer_by_byte()
44 ptr[j] = '1'; in check_buffer_by_byte()
48 for (j = 0; j < sizes[i] && !err; j++) { in check_buffer_by_byte()
49 if (ptr[j] != '1') in check_buffer_by_byte()
67 int i, j, item, last_index; in check_buffer_underflow_by_byte() local
83 for (j = sizes[i] - 1; (j >= -underflow_range) && in check_buffer_underflow_by_byte()
84 (!cur_mte_cxt.fault_valid); j--) { in check_buffer_underflow_by_byte()
85 ptr[j] = '1'; in check_buffer_underflow_by_byte()
86 last_index = j; in check_buffer_underflow_by_byte()
[all …]
/linux-6.6.21/drivers/net/wireless/broadcom/brcm80211/brcmsmac/
Dchannel.c233 int j; in brcms_c_channel_min_txpower_limits_with_local_constraint() local
236 for (j = 0; j < WL_TX_POWER_CCK_NUM; j++) in brcms_c_channel_min_txpower_limits_with_local_constraint()
237 txpwr->cck[j] = min(txpwr->cck[j], local_constraint_qdbm); in brcms_c_channel_min_txpower_limits_with_local_constraint()
240 for (j = 0; j < WL_TX_POWER_OFDM_NUM; j++) in brcms_c_channel_min_txpower_limits_with_local_constraint()
241 txpwr->ofdm[j] = min(txpwr->ofdm[j], local_constraint_qdbm); in brcms_c_channel_min_txpower_limits_with_local_constraint()
244 for (j = 0; j < BRCMS_NUM_RATES_OFDM; j++) in brcms_c_channel_min_txpower_limits_with_local_constraint()
245 txpwr->ofdm_cdd[j] = in brcms_c_channel_min_txpower_limits_with_local_constraint()
246 min(txpwr->ofdm_cdd[j], local_constraint_qdbm); in brcms_c_channel_min_txpower_limits_with_local_constraint()
249 for (j = 0; j < BRCMS_NUM_RATES_OFDM; j++) in brcms_c_channel_min_txpower_limits_with_local_constraint()
250 txpwr->ofdm_40_siso[j] = in brcms_c_channel_min_txpower_limits_with_local_constraint()
[all …]
/linux-6.6.21/drivers/media/platform/verisilicon/
Drockchip_av1_filmgrain.c245 s32 i, j; in rockchip_av1_generate_luma_grain_block() local
248 for (j = 0; j < 82; j++) { in rockchip_av1_generate_luma_grain_block()
252 (*luma_grain_block)[i][j] = in rockchip_av1_generate_luma_grain_block()
258 (*luma_grain_block)[i][j] = 0; in rockchip_av1_generate_luma_grain_block()
264 for (j = 3; j < 82 - 3; j++) { in rockchip_av1_generate_luma_grain_block()
276 (*luma_grain_block)[i + deltarow][j + deltacol]; in rockchip_av1_generate_luma_grain_block()
280 (*luma_grain_block)[i][j] = in rockchip_av1_generate_luma_grain_block()
281 clamp((*luma_grain_block)[i][j] + in rockchip_av1_generate_luma_grain_block()
307 s32 i, j; in rockchip_av1_generate_chroma_grain_block() local
312 for (j = 0; j < 44; j++) { in rockchip_av1_generate_chroma_grain_block()
[all …]
/linux-6.6.21/arch/x86/kernel/
Dirq.c61 int j; in arch_show_interrupts() local
64 for_each_online_cpu(j) in arch_show_interrupts()
65 seq_printf(p, "%10u ", irq_stats(j)->__nmi_count); in arch_show_interrupts()
69 for_each_online_cpu(j) in arch_show_interrupts()
70 seq_printf(p, "%10u ", irq_stats(j)->apic_timer_irqs); in arch_show_interrupts()
74 for_each_online_cpu(j) in arch_show_interrupts()
75 seq_printf(p, "%10u ", irq_stats(j)->irq_spurious_count); in arch_show_interrupts()
78 for_each_online_cpu(j) in arch_show_interrupts()
79 seq_printf(p, "%10u ", irq_stats(j)->apic_perf_irqs); in arch_show_interrupts()
82 for_each_online_cpu(j) in arch_show_interrupts()
[all …]
/linux-6.6.21/kernel/
Drange.c67 int i, j; in subtract_range() local
72 for (j = 0; j < az; j++) { in subtract_range()
73 if (!range[j].end) in subtract_range()
76 if (start <= range[j].start && end >= range[j].end) { in subtract_range()
77 range[j].start = 0; in subtract_range()
78 range[j].end = 0; in subtract_range()
82 if (start <= range[j].start && end < range[j].end && in subtract_range()
83 range[j].start < end) { in subtract_range()
84 range[j].start = end; in subtract_range()
89 if (start > range[j].start && end >= range[j].end && in subtract_range()
[all …]
/linux-6.6.21/drivers/staging/wlan-ng/
Dp80211wep.c72 u32 i, j, k, crc, keylen; in wep_decrypt() local
105 j = 0; in wep_decrypt()
107 j = (j + s[i] + key[i % keylen]) & 0xff; in wep_decrypt()
108 swap(i, j); in wep_decrypt()
113 j = 0; in wep_decrypt()
116 j = (j + s[i]) & 0xff; in wep_decrypt()
117 swap(i, j); in wep_decrypt()
118 buf[k] ^= s[(s[i] + s[j]) & 0xff]; in wep_decrypt()
130 j = (j + s[i]) & 0xff; in wep_decrypt()
131 swap(i, j); in wep_decrypt()
[all …]
/linux-6.6.21/drivers/md/bcache/
Dbset.c371 static unsigned int inorder_next(unsigned int j, unsigned int size) in inorder_next() argument
373 if (j * 2 + 1 < size) { in inorder_next()
374 j = j * 2 + 1; in inorder_next()
376 while (j * 2 < size) in inorder_next()
377 j *= 2; in inorder_next()
379 j >>= ffz(j) + 1; in inorder_next()
381 return j; in inorder_next()
388 static unsigned int inorder_prev(unsigned int j, unsigned int size) in inorder_prev() argument
390 if (j * 2 < size) { in inorder_prev()
391 j = j * 2; in inorder_prev()
[all …]
/linux-6.6.21/tools/testing/selftests/powerpc/math/
Dvmx_signal.c52 int j; in signal_vmx_sig() local
61 for (j = 20; j < 32; j++) { in signal_vmx_sig()
62 printf("%d | 0x%04x%04x%04x%04x | 0x%04x%04x%04x%04x\n", j, mc->v_regs->vrregs[j][0], in signal_vmx_sig()
63 mc->v_regs->vrregs[j][1], mc->v_regs->vrregs[j][2], mc->v_regs->vrregs[j][3], in signal_vmx_sig()
64 varray[j - 20][0], varray[j - 20][1], varray[j - 20][2], varray[j - 20][3]); in signal_vmx_sig()
74 int i, j; in signal_vmx_c() local
85 for (j = 0; j < 4; j++) in signal_vmx_c()
86 varray[i][j] = rand(); in signal_vmx_c()
95 int i, j, rc, threads; in test_signal_vmx() local
124 for (j = 0; j < threads; j++) { in test_signal_vmx()
[all …]
/linux-6.6.21/tools/arch/x86/tools/
Dgen-insn-attr-x86.awk239 function convert_operands(count,opnd, i,j,imm,mod)
243 for (j = 1; j <= count; j++) {
244 i = opnd[j]
373 for (j = 0; j < max_lprefix; j++)
374 if (etable[i,j])
375 print " ["i"]["j"] = "etable[i,j]","
382 for (j = 0; j < max_lprefix; j++)
383 if (gtable[i,j])
384 print " ["i"]["j"] = "gtable[i,j]","
391 for (j = 0; j < max_lprefix; j++)
[all …]
/linux-6.6.21/arch/x86/tools/
Dgen-insn-attr-x86.awk239 function convert_operands(count,opnd, i,j,imm,mod)
243 for (j = 1; j <= count; j++) {
244 i = opnd[j]
373 for (j = 0; j < max_lprefix; j++)
374 if (etable[i,j])
375 print " ["i"]["j"] = "etable[i,j]","
382 for (j = 0; j < max_lprefix; j++)
383 if (gtable[i,j])
384 print " ["i"]["j"] = "gtable[i,j]","
391 for (j = 0; j < max_lprefix; j++)
[all …]
/linux-6.6.21/lib/raid6/test/
Dtest.c30 int i, j; in makedata() local
33 for (j = 0; j < PAGE_SIZE; j++) in makedata()
34 data[i][j] = rand(); in makedata()
52 static int test_disks(int i, int j) in test_disks() argument
60 dataptrs[j] = recovj; in test_disks()
62 raid6_dual_recov(NDISKS, PAGE_SIZE, i, j, (void **)&dataptrs); in test_disks()
65 errb = memcmp(data[j], recovj, PAGE_SIZE); in test_disks()
67 if (i < NDISKS-2 && j == NDISKS-1) { in test_disks()
75 j, disk_type(j), in test_disks()
82 dataptrs[j] = data[j]; in test_disks()
[all …]
/linux-6.6.21/samples/auxdisplay/
Dcfag12864b-example.c153 unsigned char i, j, n; in cfag12864b_format() local
156 for (j = 0; j < CFAG12864B_WIDTH / CFAG12864B_BPB; j++) { in cfag12864b_format()
158 j] = 0; in cfag12864b_format()
161 j * CFAG12864B_BPB + n]) in cfag12864b_format()
163 CFAG12864B_BPB + j] |= in cfag12864b_format()
188 unsigned short i, j; in example() local
201 for (j = 0; j < CFAG12864B_HEIGHT; j += 2) in example()
202 cfag12864b_set(i, j); in example()
214 for (j = 0; j < CFAG12864B_HEIGHT; j += 2) in example()
215 matrix[j * CFAG12864B_WIDTH + i] = 1; in example()
[all …]

12345678910>>...116