/linux/drivers/staging/media/atomisp/pci/isp/kernels/eed1_8/ |
A D | ia_css_eed1_8.host.c | 130 for (j = 0; j < IA_CSS_NUMBER_OF_DEW_ENHANCE_SEGMENTS; j++) { 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() 152 for (j = 1; j < NUMBER_OF_CHGRINV_POINTS; j++) { in ia_css_eed1_8_vmem_encode() 156 for (j = 1; j < NUMBER_OF_TCINV_POINTS; j++) { in ia_css_eed1_8_vmem_encode() 157 assert(tcinv_x[j] > tcinv_x[j - 1]); in ia_css_eed1_8_vmem_encode() 160 for (j = 1; j < NUMBER_OF_FCINV_POINTS; j++) { in ia_css_eed1_8_vmem_encode() 174 for (j = 0; j < IA_CSS_NUMBER_OF_DEW_ENHANCE_SEGMENTS; j++) { in ia_css_eed1_8_vmem_encode() 183 for (j = 0; j < (IA_CSS_NUMBER_OF_DEW_ENHANCE_SEGMENTS - 1); j++) { in ia_css_eed1_8_vmem_encode() 203 for (j = 0; j < NUMBER_OF_CHGRINV_POINTS; j++) { in ia_css_eed1_8_vmem_encode() 210 for (j = 0; j < NUMBER_OF_TCINV_POINTS; j++) { in ia_css_eed1_8_vmem_encode() [all …]
|
/linux/tools/testing/selftests/net/ |
A D | reuseaddr_ports_exhausted.c | 84 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() 97 close(fd[j]); in TEST() 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() 135 for (j = 0; j < 2; j++) { in TEST() 139 fd[j] = bind_port(_metadata, opts->reuseaddr[j], opts->reuseport[j]); in TEST() [all …]
|
/linux/lib/raid6/ |
A D | mktables.c | 55 int i, j, k; in main() local 68 for (j = 0; j < 256; j += 8) { in main() 87 for (j = 0; j < 16; j += 8) { in main() 93 for (j = 0; j < 16; j += 8) { in main() 112 for (j = 0; j < 8; j++) { in main() 113 exptbl[i + j] = v; in main() 130 for (j = 0; j < 8; j++) { in main() 133 if (exptbl[k] == (i + j)) { in main() 150 for (j = 0; j < 8; j++) { in main() 151 invtbl[i + j] = v = gfpow(i + j, 254); in main() [all …]
|
/linux/tools/perf/util/ |
A D | levenshtein.c | 51 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() 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() 69 row2[j + 1] = row1[j + 1] + d; in levenshtein() 71 if (row2[j + 1] > row2[j] + a) in levenshtein() [all …]
|
A D | values.c | 136 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() 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() 226 for (j = 0; j < values->counters; j++) { in perf_read_values__display_pretty() 234 for (j = 0; j < values->counters; j++) in perf_read_values__display_pretty() 241 for (j = 0; j < values->counters; j++) in perf_read_values__display_pretty() 243 counterwidth[j], values->value[i][j]); in perf_read_values__display_pretty() 269 for (j = 0; j < values->counters; j++) { in perf_read_values__display_raw() 278 for (j = 0; j < values->counters; j++) { in perf_read_values__display_raw() [all …]
|
/linux/drivers/video/logo/ |
A D | pnmtologo.c | 178 for (j = 0; j < logo_width; j++) in read_image() 187 for (j = 0; j < logo_width; j++) in read_image() 196 for (j = 0; j < logo_width; j++) { in read_image() 290 for (j = 0; j < logo_width; j++) in write_logo_mono() 299 for (j = 0; j < logo_width;) { in write_logo_mono() 318 for (j = 0; j < logo_width; j++) { in write_logo_vga16() 333 for (j = 0; j < logo_width; j++) { in write_logo_vga16() 357 for (j = 0; j < logo_width; j++) { in write_logo_clut224() 375 for (j = 0; j < logo_width; j++) { in write_logo_clut224() 403 for (j = 0; j < logo_width; j++) in write_logo_gray256() [all …]
|
/linux/drivers/acpi/acpica/ |
A D | utbuffer.c | 37 u32 j; in acpi_ut_dump_buffer() local 64 for (j = 0; j < 16;) { in acpi_ut_dump_buffer() 70 j += display; in acpi_ut_dump_buffer() 109 j += display; in acpi_ut_dump_buffer() 118 for (j = 0; j < 16; j++) { in acpi_ut_dump_buffer() 128 if (j == 0) { in acpi_ut_dump_buffer() 209 u32 j; in acpi_ut_dump_buffer_to_file() local 232 for (j = 0; j < 16;) { in acpi_ut_dump_buffer_to_file() 238 j += display; in acpi_ut_dump_buffer_to_file() 277 j += display; in acpi_ut_dump_buffer_to_file() [all …]
|
/linux/lib/reed_solomon/ |
A D | decode_rs.c | 64 for (j = 1; j < len; j++) { 78 for (j = 0; j < nroots; j++) { 115 for (j = i + 1; j > 0; j--) { 202 for (j = deg_lambda; j > 0; j--) { 204 reg[j] = rs_modnn(rs, reg[j] + j); 239 for (j = i; j >= 0; j--) { 240 if ((s[i - j] != nn) && (lambda[j] != nn)) 242 alpha_to[rs_modnn(rs, s[i - j] + lambda[j])]; 253 for (j = count - 1; j >= 0; j--) { 291 for (j = 0; j < count; j++) { [all …]
|
/linux/tools/testing/selftests/arm64/mte/ |
A D | check_buffer_fill.c | 43 for (j = 0; j < sizes[i]; j++) in check_buffer_by_byte() 48 for (j = 0; j < sizes[i] && !err; j++) { in check_buffer_by_byte() 91 for (j = 0; j < sizes[i]; j++) { in check_buffer_underflow_by_byte() 110 for (j = 0 ; j < underflow_range; j++) { in check_buffer_underflow_by_byte() 128 for (j = last_index ; j < 0 ; j++) { in check_buffer_underflow_by_byte() 189 for (j = 0; j < sizes[i]; j++) { in check_buffer_overflow_by_byte() 211 for (j = 0 ; j < overflow_size; j++) { in check_buffer_overflow_by_byte() 229 for (j = tagged_size ; j < last_index; j++) { in check_buffer_overflow_by_byte() 244 for (j = 0 ; j < overflow_size; j++) { in check_buffer_overflow_by_byte() 319 for (j = 0; j < size; j++) { in check_buffer_by_block_iterate() [all …]
|
/linux/drivers/net/wireless/broadcom/brcm80211/brcmsmac/ |
A D | channel.c | 236 for (j = 0; j < WL_TX_POWER_CCK_NUM; j++) 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() 244 for (j = 0; j < BRCMS_NUM_RATES_OFDM; j++) 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() 254 for (j = 0; j < BRCMS_NUM_RATES_OFDM; j++) in brcms_c_channel_min_txpower_limits_with_local_constraint() 259 for (j = 0; j < BRCMS_NUM_RATES_MCS_1_STREAM; j++) in brcms_c_channel_min_txpower_limits_with_local_constraint() 264 for (j = 0; j < BRCMS_NUM_RATES_MCS_1_STREAM; j++) in brcms_c_channel_min_txpower_limits_with_local_constraint() 269 for (j = 0; j < BRCMS_NUM_RATES_MCS_1_STREAM; j++) in brcms_c_channel_min_txpower_limits_with_local_constraint() 274 for (j = 0; j < BRCMS_NUM_RATES_MCS_2_STREAM; j++) in brcms_c_channel_min_txpower_limits_with_local_constraint() 279 for (j = 0; j < BRCMS_NUM_RATES_MCS_1_STREAM; j++) in brcms_c_channel_min_txpower_limits_with_local_constraint() [all …]
|
/linux/lib/ |
A D | gen_crc32table.c | 40 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() 95 int i, j; in output_table() local [all …]
|
A D | test_string.c | 9 unsigned i, j, k; in memset16_selftest() local 17 for (j = 0; j < 256; j++) { in memset16_selftest() 25 } else if (k < i + j) { in memset16_selftest() 45 unsigned i, j, k; in memset32_selftest() local 53 for (j = 0; j < 256; j++) { in memset32_selftest() 61 } else if (k < i + j) { in memset32_selftest() 81 unsigned i, j, k; in memset64_selftest() local 89 for (j = 0; j < 256; j++) { in memset64_selftest() 148 int i, j; in strnchr_selftest() local 151 for (j = 0; j < strlen(test_string) + 2; j++) { in strnchr_selftest() [all …]
|
A D | rbtree_test.c | 260 for (j = 0; j < nnodes; j++) in rbtree_test_init() 262 for (j = 0; j < nnodes; j++) in rbtree_test_init() 276 for (j = 0; j < nnodes; j++) in rbtree_test_init() 278 for (j = 0; j < nnodes; j++) in rbtree_test_init() 335 for (j = 0; j < nnodes; j++) { in rbtree_test_init() 339 for (j = 0; j < nnodes; j++) { in rbtree_test_init() 353 for (j = 0; j < nnodes; j++) in rbtree_test_init() 355 for (j = 0; j < nnodes; j++) in rbtree_test_init() 368 for (j = 0; j < nnodes; j++) in rbtree_test_init() 370 for (j = 0; j < nnodes; j++) in rbtree_test_init() [all …]
|
A D | hexdump.c | 112 int j, lx = 0; in hex_dump_to_buffer() local 138 for (j = 0; j < ngroups; j++) { in hex_dump_to_buffer() 149 for (j = 0; j < ngroups; j++) { in hex_dump_to_buffer() 151 "%s%8.8x", j ? " " : "", in hex_dump_to_buffer() 160 for (j = 0; j < ngroups; j++) { in hex_dump_to_buffer() 162 "%s%4.4x", j ? " " : "", in hex_dump_to_buffer() 169 for (j = 0; j < len; j++) { in hex_dump_to_buffer() 172 ch = ptr[j]; in hex_dump_to_buffer() 181 if (j) in hex_dump_to_buffer() 192 for (j = 0; j < len; j++) { in hex_dump_to_buffer() [all …]
|
/linux/drivers/md/bcache/ |
A D | bset.c | 374 j = j * 2 + 1; in inorder_next() 379 j >>= ffz(j) + 1; in inorder_next() 391 j = j * 2; in inorder_prev() 394 j = j * 2 + 1; in inorder_prev() 396 j >>= ffs(j); in inorder_prev() 428 j -= (j - extra) >> 1; in __to_inorder() 449 j += j - extra; in __inorder_to_tree() 769 j = j * 2; in bch_bset_fix_invalidated_key() 779 j = j * 2 + 1; in bch_bset_fix_invalidated_key() 807 for (; j < t->size; j++) { in bch_bset_fix_lookup_table() [all …]
|
/linux/arch/x86/kernel/ |
A D | irq.c | 61 int j; in arch_show_interrupts() local 64 for_each_online_cpu(j) in arch_show_interrupts() 69 for_each_online_cpu(j) in arch_show_interrupts() 74 for_each_online_cpu(j) in arch_show_interrupts() 78 for_each_online_cpu(j) in arch_show_interrupts() 82 for_each_online_cpu(j) in arch_show_interrupts() 86 for_each_online_cpu(j) in arch_show_interrupts() 98 for_each_online_cpu(j) in arch_show_interrupts() 102 for_each_online_cpu(j) in arch_show_interrupts() 106 for_each_online_cpu(j) in arch_show_interrupts() [all …]
|
/linux/arch/x86/tools/ |
A D | gen-insn-attr-x86.awk | 243 for (j = 1; j <= count; j++) { 244 i = opnd[j] 373 for (j = 0; j < max_lprefix; j++) 375 print " ["i"]["j"] = "etable[i,j]"," 382 for (j = 0; j < max_lprefix; j++) 384 print " ["i"]["j"] = "gtable[i,j]"," 391 for (j = 0; j < max_lprefix; j++) 393 print " ["i"]["j"] = "atable[i,j]"," 419 for (j = 0; j < max_lprefix; j++) 427 for (j = 0; j < max_lprefix; j++) [all …]
|
/linux/tools/arch/x86/tools/ |
A D | gen-insn-attr-x86.awk | 243 for (j = 1; j <= count; j++) { 244 i = opnd[j] 373 for (j = 0; j < max_lprefix; j++) 375 print " ["i"]["j"] = "etable[i,j]"," 382 for (j = 0; j < max_lprefix; j++) 384 print " ["i"]["j"] = "gtable[i,j]"," 391 for (j = 0; j < max_lprefix; j++) 393 print " ["i"]["j"] = "atable[i,j]"," 419 for (j = 0; j < max_lprefix; j++) 427 for (j = 0; j < max_lprefix; j++) [all …]
|
/linux/drivers/staging/wlan-ng/ |
A D | p80211wep.c | 126 j = 0; in wep_decrypt() 128 j = (j + s[i] + key[i % keylen]) & 0xff; in wep_decrypt() 129 swap(i, j); in wep_decrypt() 134 j = 0; in wep_decrypt() 137 j = (j + s[i]) & 0xff; in wep_decrypt() 151 j = (j + s[i]) & 0xff; in wep_decrypt() 197 j = 0; in wep_encrypt() 199 j = (j + s[i] + key[i % keylen]) & 0xff; in wep_encrypt() 205 j = 0; in wep_encrypt() 208 j = (j + s[i]) & 0xff; in wep_encrypt() [all …]
|
/linux/kernel/ |
A D | range.c | 67 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() 78 range[j].end = 0; in subtract_range() 82 if (start <= range[j].start && end < range[j].end && in subtract_range() 89 if (start > range[j].start && end >= range[j].end && in subtract_range() 95 if (start > range[j].start && end < range[j].end) { in subtract_range() 133 for (j = k; j > i; j--) { in clean_sort_range() 135 k = j; in clean_sort_range() [all …]
|
/linux/tools/testing/selftests/powerpc/math/ |
A D | vmx_signal.c | 52 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/lib/raid6/test/ |
A D | test.c | 31 int i, j; in makedata() local 34 for (j = 0; j < PAGE_SIZE; j++) in makedata() 35 data[i][j] = rand(); in makedata() 61 dataptrs[j] = recovj; in test_disks() 76 j, disk_type(j), in test_disks() 83 dataptrs[j] = data[j]; in test_disks() 92 int i, j, p1, p2; in main() local 120 for (j = i+1; j < NDISKS; j++) in main() 121 err += test_disks(i, j); in main() 137 for (j = i+1; j < NDISKS; j++) in main() [all …]
|
/linux/samples/auxdisplay/ |
A D | cfag12864b-example.c | 153 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() 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() 227 for (j = 0; j < CFAG12864B_HEIGHT; j++) in example() 234 for (j = 0; j < CFAG12864B_HEIGHT; j ++) in example() [all …]
|
/linux/crypto/ |
A D | gf128mul.c | 279 for (j = 1; j <= 64; j <<= 1) in gf128mul_init_64k_bbe() 280 gf128mul_x_bbe(&t->t[0]->t[j + j], &t->t[0]->t[j]); in gf128mul_init_64k_bbe() 283 for (j = 2; j < 256; j += j) in gf128mul_init_64k_bbe() 291 for (j = 128; j > 0; j >>= 1) { in gf128mul_init_64k_bbe() 292 t->t[i]->t[j] = t->t[i - 1]->t[j]; in gf128mul_init_64k_bbe() 351 for (j = 64; j > 0; j >>= 1) in gf128mul_init_4k_lle() 352 gf128mul_x_lle(&t->t[j], &t->t[j+j]); in gf128mul_init_4k_lle() 354 for (j = 2; j < 256; j += j) in gf128mul_init_4k_lle() 373 for (j = 1; j <= 64; j <<= 1) in gf128mul_init_4k_bbe() 374 gf128mul_x_bbe(&t->t[j + j], &t->t[j]); in gf128mul_init_4k_bbe() [all …]
|
/linux/drivers/staging/r8188eu/core/ |
A D | rtw_security.c | 1038 for (j = 0; j < 16; j++) in aes_cipher() 1046 for (j = 0; j < 8; j++) in aes_cipher() 1050 for (j = 0; j < 8; j++) in aes_cipher() 1078 for (j = 0; j < 16; j++) in aes_cipher() 1080 for (j = 0; j < 8; j++) in aes_cipher() 1085 for (j = 0; j < 8; j++) in aes_cipher() 1286 for (j = 0 ; j < 8; j++) in aes_decipher() 1290 for (j = 0; j < 8; j++) in aes_decipher() 1319 for (j = 0; j < 16; j++) in aes_decipher() 1321 for (j = 0; j < 8; j++) in aes_decipher() [all …]
|