/Linux-v6.1/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-v6.1/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-v6.1/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-v6.1/arch/mips/bcm47xx/ |
D | board.c | 237 char buf2[30]; in bcm47xx_board_get_nvram() local 258 bcm47xx_nvram_getenv("boardnum", buf2, sizeof(buf2)) >= 0) { in bcm47xx_board_get_nvram() 261 !strcmp(buf2, e2->value2)) in bcm47xx_board_get_nvram() 290 bcm47xx_nvram_getenv("boot_hw_ver", buf2, sizeof(buf2)) >= 0) { in bcm47xx_board_get_nvram() 293 !strcmp(buf2, e2->value2)) in bcm47xx_board_get_nvram() 306 bcm47xx_nvram_getenv("boardnum", buf2, sizeof(buf2)) >= 0 && in bcm47xx_board_get_nvram() 310 !strcmp(buf2, e3->value2) && in bcm47xx_board_get_nvram() 317 bcm47xx_nvram_getenv("boardrev", buf2, sizeof(buf2)) >= 0 && in bcm47xx_board_get_nvram() 321 !strcmp(buf2, e2->value2)) in bcm47xx_board_get_nvram()
|
/Linux-v6.1/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-v6.1/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-v6.1/tools/perf/util/ |
D | evlist-hybrid.c | 114 char buf1[128], buf2[128]; in evlist__fix_hybrid_cpus() local 148 cpu_map__snprint(pmu->cpus, buf2, sizeof(buf2)); in evlist__fix_hybrid_cpus() 150 buf1, pmu->name, pmu->name, buf2); in evlist__fix_hybrid_cpus()
|
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-v6.1/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-v6.1/tools/testing/selftests/net/mptcp/ |
D | mptcp_inq.c | 237 char buf[4096], buf2[4096]; in connect_one_server() local 253 ret = read(unixfd, buf2, 4); in connect_one_server() 256 assert(strncmp(buf2, "xmit", 4) == 0); in connect_one_server() 268 ret = read(unixfd, buf2, 4); in connect_one_server() 269 assert(strncmp(buf2, "huge", 4) == 0); in connect_one_server() 296 ret = read(unixfd, buf2, 4); in connect_one_server() 298 assert(strncmp(buf2, "shut", 4) == 0); in connect_one_server()
|
D | mptcp_sockopt.c | 459 char buf[4096], buf2[4096]; in connect_one_server() local 482 ret = read(pipefd, buf2, 4); in connect_one_server() 486 assert(strncmp(buf2, "xmit", 4) == 0); in connect_one_server() 497 ret = read(fd, buf2 + total, sizeof(buf2) - total); in connect_one_server() 511 if (memcmp(buf, buf2, len)) in connect_one_server()
|
/Linux-v6.1/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-v6.1/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-v6.1/drivers/target/iscsi/ |
D | iscsi_target_tpg.c | 588 unsigned char buf1[256], buf2[256], *none = NULL; in iscsit_ta_authentication() local 600 memset(buf2, 0, sizeof(buf2)); in iscsit_ta_authentication() 613 sprintf(buf2, "%s", none+5); in iscsit_ta_authentication() 617 len = sprintf(buf2, "%s", buf1); in iscsit_ta_authentication() 619 sprintf(buf2 + len, "%s", none); in iscsit_ta_authentication() 624 sprintf(buf2, "%s", buf1); in iscsit_ta_authentication() 626 if (iscsi_update_param_value(param, buf2) < 0) in iscsit_ta_authentication()
|
/Linux-v6.1/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-v6.1/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-v6.1/sound/core/ |
D | control_led.c | 532 char buf2[256], *s, *os; in set_led_id() local 537 strncpy(buf2, buf, len); in set_led_id() 538 buf2[len] = '\0'; in set_led_id() 541 s = buf2; in set_led_id() 556 } else if (s == buf2) { in set_led_id() 563 parse_uint(buf2, &id.numid); in set_led_id() 567 strscpy(id.name, buf2, sizeof(id.name)); in set_led_id()
|
/Linux-v6.1/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-v6.1/tools/testing/vsock/ |
D | vsock_test.c | 482 unsigned char *buf2; in test_seqpacket_invalid_rec_buffer_client() local 497 buf2 = malloc(buf_size); in test_seqpacket_invalid_rec_buffer_client() 498 if (!buf2) { in test_seqpacket_invalid_rec_buffer_client() 504 memset(buf2, BUF_PATTERN_2, buf_size); in test_seqpacket_invalid_rec_buffer_client() 511 if (send(fd, buf2, buf_size, 0) != buf_size) { in test_seqpacket_invalid_rec_buffer_client()
|
/Linux-v6.1/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-v6.1/mm/kfence/ |
D | kfence_test.c | 606 char *buf1, *buf2; in test_gfpzero() local 620 buf2 = test_alloc(test, size, GFP_KERNEL | __GFP_ZERO, ALLOCATE_ANY); in test_gfpzero() 621 if (buf1 == buf2) in test_gfpzero() 623 test_free(buf2); in test_gfpzero() 633 KUNIT_EXPECT_EQ(test, buf2[i], (char)0); in test_gfpzero() 635 test_free(buf2); in test_gfpzero()
|
/Linux-v6.1/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()
|