/linux-6.6.21/drivers/edac/ |
D | octeon_edac-l2c.c | 65 char buf2[80]; in _octeon_l2c_poll_oct2() local 76 snprintf(buf2, sizeof(buf2), in _octeon_l2c_poll_oct2() 79 edac_device_handle_ue(l2c, tad, 1, buf2); in _octeon_l2c_poll_oct2() 82 snprintf(buf2, sizeof(buf2), in _octeon_l2c_poll_oct2() 85 edac_device_handle_ce(l2c, tad, 1, buf2); in _octeon_l2c_poll_oct2() 88 snprintf(buf2, sizeof(buf2), in _octeon_l2c_poll_oct2() 91 edac_device_handle_ue(l2c, tad, 1, buf2); in _octeon_l2c_poll_oct2() 94 snprintf(buf2, sizeof(buf2), in _octeon_l2c_poll_oct2() 97 edac_device_handle_ce(l2c, tad, 1, buf2); in _octeon_l2c_poll_oct2() 111 snprintf(buf2, sizeof(buf2), in _octeon_l2c_poll_oct2() [all …]
|
/linux-6.6.21/tools/testing/selftests/proc/ |
D | proc-self-syscall.c | 33 char buf2[64]; in main() local 46 (long)SYS_read, (long)fd, (long)buf2, (long)sizeof(buf2)); in main() 48 memset(buf2, 0, sizeof(buf2)); in main() 49 rv = sys_read(fd, buf2, sizeof(buf2)); in main() 54 if (strncmp(buf1, buf2, strlen(buf1)) != 0) in main()
|
D | self.c | 26 char buf1[64], buf2[64]; in main() local 33 rv = readlink("/proc/self", buf2, sizeof(buf2)); in main() 35 buf2[rv] = '\0'; in main() 36 assert(streq(buf1, buf2)); in main()
|
D | thread-self.c | 29 char buf1[64], buf2[64]; in f() local 37 rv = readlink("/proc/thread-self", buf2, sizeof(buf2)); in f() 39 buf2[rv] = '\0'; in f() 40 assert(streq(buf1, buf2)); in f()
|
/linux-6.6.21/arch/mips/kernel/ |
D | cevt-r4k.c | 52 unsigned int buf1[4], buf2[3]; in calculate_min_delta() local 84 for (k = 0; k < i && k < ARRAY_SIZE(buf2); ++k) { in calculate_min_delta() 85 if (buf1[ARRAY_SIZE(buf1) - 1] < buf2[k]) { in calculate_min_delta() 87 i, ARRAY_SIZE(buf2) - 1); in calculate_min_delta() 89 buf2[l] = buf2[l - 1]; in calculate_min_delta() 93 if (k < ARRAY_SIZE(buf2)) in calculate_min_delta() 94 buf2[k] = buf1[ARRAY_SIZE(buf1) - 1]; in calculate_min_delta() 98 min_delta = buf2[ARRAY_SIZE(buf2) - 1] * 2; in calculate_min_delta() 105 __func__, buf2[ARRAY_SIZE(buf2) - 1], min_delta); in calculate_min_delta()
|
/linux-6.6.21/arch/mips/bcm47xx/ |
D | board.c | 239 char buf2[30]; in bcm47xx_board_get_nvram() local 260 bcm47xx_nvram_getenv("boardnum", buf2, sizeof(buf2)) >= 0) { in bcm47xx_board_get_nvram() 263 !strcmp(buf2, e2->value2)) in bcm47xx_board_get_nvram() 292 bcm47xx_nvram_getenv("boot_hw_ver", buf2, sizeof(buf2)) >= 0) { in bcm47xx_board_get_nvram() 295 !strcmp(buf2, e2->value2)) in bcm47xx_board_get_nvram() 308 bcm47xx_nvram_getenv("boardnum", buf2, sizeof(buf2)) >= 0 && in bcm47xx_board_get_nvram() 312 !strcmp(buf2, e3->value2) && in bcm47xx_board_get_nvram() 319 bcm47xx_nvram_getenv("boardrev", buf2, sizeof(buf2)) >= 0 && in bcm47xx_board_get_nvram() 323 !strcmp(buf2, e2->value2)) in bcm47xx_board_get_nvram()
|
/linux-6.6.21/fs/udf/ |
D | directory.c | 323 static void udf_copy_to_bufs(void *buf1, int len1, void *buf2, int len2, in udf_copy_to_bufs() argument 338 if (WARN_ON_ONCE(off + len > len2 || !buf2)) in udf_copy_to_bufs() 340 memcpy(buf2 + off, src, len); in udf_copy_to_bufs() 344 static uint16_t udf_crc_fi_bufs(void *buf1, int len1, void *buf2, int len2, in udf_crc_fi_bufs() argument 359 if (WARN_ON_ONCE(off + len > len2 || !buf2)) in udf_crc_fi_bufs() 361 crc = crc_itu_t(crc, buf2 + off, len); in udf_crc_fi_bufs() 366 static void udf_copy_fi_to_bufs(char *buf1, int len1, char *buf2, int len2, in udf_copy_fi_to_bufs() argument 377 udf_copy_to_bufs(buf1, len1, buf2, len2, off, fi, in udf_copy_fi_to_bufs() 381 udf_copy_to_bufs(buf1, len1, buf2, len2, off, impuse, in udf_copy_fi_to_bufs() 385 udf_copy_to_bufs(buf1, len1, buf2, len2, off, name, in udf_copy_fi_to_bufs() [all …]
|
/linux-6.6.21/tools/perf/tests/ |
D | is_printable_array.c | 11 char buf2[] = { 'k', 'r', 'a', 'v', 4, 0 }; in test__is_printable_array() local 23 { buf2, sizeof(buf2), 0 }, in test__is_printable_array()
|
/linux-6.6.21/tools/power/acpi/tools/ec/ |
D | ec_access.c | 128 char buf2[EC_SPACE_SIZE]; in dump_ec() local 154 bytes_read = read(fd, buf2, EC_SPACE_SIZE); in dump_ec() 167 if (buf[byte_off] == buf2[byte_off]) in dump_ec() 168 printf(" %.2x ", (uint8_t)buf2[byte_off]); in dump_ec() 170 printf("*%.2x ", (uint8_t)buf2[byte_off]); in dump_ec()
|
/linux-6.6.21/drivers/media/i2c/ |
D | sony-btf-mpx.c | 228 u8 buf1[3], buf2[2]; in mpx_setup() local 251 msgs[1].buf = buf2; in mpx_setup() 254 buf2[0], buf2[1]); in mpx_setup() 260 buf2[0], buf2[1]); in mpx_setup()
|
D | saa6752hs.c | 426 unsigned char buf[9], buf2[4]; in saa6752hs_init() local 520 i2c_master_recv(client, buf2, 4); in saa6752hs_init() 528 buf[5] = buf2[0]; in saa6752hs_init() 531 buf[6] = buf2[1] | 0x40; in saa6752hs_init() 535 buf[6] = buf2[1] & 0xBF; in saa6752hs_init() 538 buf[7] = buf2[2]; in saa6752hs_init() 539 buf[8] = buf2[3]; in saa6752hs_init()
|
/linux-6.6.21/tools/testing/selftests/net/mptcp/ |
D | mptcp_inq.c | 238 char buf[4096], buf2[4096]; in connect_one_server() local 254 ret = read(unixfd, buf2, 4); in connect_one_server() 257 assert(strncmp(buf2, "xmit", 4) == 0); in connect_one_server() 269 ret = read(unixfd, buf2, 4); in connect_one_server() 270 assert(strncmp(buf2, "huge", 4) == 0); in connect_one_server() 297 ret = read(unixfd, buf2, 4); in connect_one_server() 299 assert(strncmp(buf2, "shut", 4) == 0); in connect_one_server()
|
D | mptcp_sockopt.c | 562 char buf[4096], buf2[4096]; in connect_one_server() local 585 ret = read(pipefd, buf2, 4); in connect_one_server() 589 assert(strncmp(buf2, "xmit", 4) == 0); in connect_one_server() 600 ret = read(fd, buf2 + total, sizeof(buf2) - total); in connect_one_server() 614 if (memcmp(buf, buf2, len)) in connect_one_server()
|
/linux-6.6.21/drivers/media/dvb-frontends/ |
D | atbm8830.c | 31 u8 buf2[] = { data }; in atbm8830_write_reg() local 33 struct i2c_msg msg2 = { .flags = 0, .buf = buf2, .len = 1 }; in atbm8830_write_reg() 56 u8 buf2[] = { 0 }; in atbm8830_read_reg() local 58 struct i2c_msg msg2 = { .flags = I2C_M_RD, .buf = buf2, .len = 1 }; in atbm8830_read_reg() 74 *p_data = buf2[0]; in atbm8830_read_reg() 77 __func__, reg, buf2[0]); in atbm8830_read_reg()
|
/linux-6.6.21/arch/ia64/lib/ |
D | clear_user.S | 28 #define buf2 r17 macro 126 adds buf2=8,buf // setup second base pointer 151 st8 [buf2]=r0,16
|
/linux-6.6.21/drivers/target/iscsi/ |
D | iscsi_target_tpg.c | 587 unsigned char buf1[256], buf2[256], *none = NULL; in iscsit_ta_authentication() local 599 memset(buf2, 0, sizeof(buf2)); in iscsit_ta_authentication() 612 sprintf(buf2, "%s", none+5); in iscsit_ta_authentication() 616 len = sprintf(buf2, "%s", buf1); in iscsit_ta_authentication() 618 sprintf(buf2 + len, "%s", none); in iscsit_ta_authentication() 623 sprintf(buf2, "%s", buf1); in iscsit_ta_authentication() 625 if (iscsi_update_param_value(param, buf2) < 0) in iscsit_ta_authentication()
|
/linux-6.6.21/drivers/macintosh/ |
D | rack-meter.c | 46 u32 buf2[SAMPLE_COUNT] ____cacheline_aligned; member 156 memset(rdma->buf2, 0, sizeof(rdma->buf2)); in rackmeter_do_pause() 179 offsetof(struct rackmeter_dma, buf2)); in rackmeter_setup_dbdma() 206 offsetof(struct rackmeter_dma, buf2)); in rackmeter_setup_dbdma() 354 buf = mark == 1 ? db->buf1 : db->buf2; in rackmeter_irq()
|
/linux-6.6.21/sound/pci/hda/ |
D | hda_eld.c | 375 char buf2[8 + SND_PRINT_BITS_ADVISED_BUFSIZE] = ", bits ="; in hdmi_show_short_audio_desc() local 383 snd_print_pcm_bits(a->sample_bits, buf2 + 8, sizeof(buf2) - 8); in hdmi_show_short_audio_desc() 385 snprintf(buf2, sizeof(buf2), in hdmi_show_short_audio_desc() 388 buf2[0] = '\0'; in hdmi_show_short_audio_desc() 393 a->channels, buf, buf2); in hdmi_show_short_audio_desc()
|
/linux-6.6.21/tools/perf/util/ |
D | stream.c | 228 char buf1[512], buf2[512], cbuf1[256], cbuf2[256]; in print_callchain_pair() local 239 scnprintf(buf2, sizeof(buf2), "cycles: %ld, hits: %.2f%%", in print_callchain_pair() 242 printf("%35s\t%35s\n", buf1, buf2); in print_callchain_pair()
|
/linux-6.6.21/sound/core/ |
D | control_led.c | 532 char buf2[256], *s, *os; in set_led_id() local 536 if (strscpy(buf2, buf, sizeof(buf2)) < 0) in set_led_id() 540 s = buf2; in set_led_id() 555 } else if (s == buf2) { in set_led_id() 562 parse_uint(buf2, &id.numid); in set_led_id() 566 strscpy(id.name, buf2, sizeof(id.name)); in set_led_id()
|
/linux-6.6.21/mm/kfence/ |
D | kfence_test.c | 608 char *buf1, *buf2; in test_gfpzero() local 622 buf2 = test_alloc(test, size, GFP_KERNEL | __GFP_ZERO, ALLOCATE_ANY); in test_gfpzero() 623 if (buf1 == buf2) in test_gfpzero() 625 test_free(buf2); in test_gfpzero() 635 KUNIT_EXPECT_EQ(test, buf2[i], (char)0); in test_gfpzero() 637 test_free(buf2); in test_gfpzero()
|
/linux-6.6.21/kernel/kcsan/ |
D | report.c | 359 char buf2[64]; in sym_strcmp() local 362 snprintf(buf2, sizeof(buf2), "%pS", addr2); in sym_strcmp() 364 return strncmp(buf1, buf2, sizeof(buf1)); in sym_strcmp()
|
/linux-6.6.21/lib/ |
D | test-string_helpers.c | 508 char buf2[string_get_size_maxbuf]; in __test_string_get_size() local 511 string_get_size(size, blk_size, STRING_UNITS_2, buf2, sizeof(buf2)); in __test_string_get_size() 516 test_string_get_size_check("STRING_UNITS_2", exp_result2, buf2, in __test_string_get_size()
|
/linux-6.6.21/drivers/media/usb/em28xx/ |
D | em28xx-i2c.c | 128 u8 buf2[4]; in em2800_i2c_recv_bytes() local 136 buf2[1] = 0x84 + len - 1; in em2800_i2c_recv_bytes() 137 buf2[0] = addr; in em2800_i2c_recv_bytes() 138 ret = dev->em28xx_write_regs(dev, 0x04, buf2, 2); in em2800_i2c_recv_bytes() 168 ret = dev->em28xx_read_reg_req_len(dev, 0x00, 4 - len, buf2, len); in em2800_i2c_recv_bytes() 176 buf[i] = buf2[len - 1 - i]; in em2800_i2c_recv_bytes()
|
/linux-6.6.21/security/tomoyo/ |
D | file.c | 908 struct tomoyo_path_info buf2; in tomoyo_path2_perm() local 920 buf2.name = NULL; in tomoyo_path2_perm() 923 !tomoyo_get_realpath(&buf2, path2)) in tomoyo_path2_perm() 933 tomoyo_add_slash(&buf2); in tomoyo_path2_perm() 940 r.param.path2.filename2 = &buf2; in tomoyo_path2_perm() 947 kfree(buf2.name); in tomoyo_path2_perm()
|