/Linux-v4.19/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-v4.19/tools/testing/selftests/proc/ |
D | proc-self-syscall.c | 35 char buf2[64]; in main() local 48 (long)SYS_read, (long)fd, (long)buf2, (long)sizeof(buf2)); in main() 50 memset(buf2, 0, sizeof(buf2)); in main() 51 rv = sys_read(fd, buf2, sizeof(buf2)); in main() 56 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-v4.19/arch/mips/kernel/ |
D | cevt-r4k.c | 51 unsigned int buf1[4], buf2[3]; in calculate_min_delta() local 83 for (k = 0; k < i && k < ARRAY_SIZE(buf2); ++k) { in calculate_min_delta() 84 if (buf1[ARRAY_SIZE(buf1) - 1] < buf2[k]) { in calculate_min_delta() 86 i, ARRAY_SIZE(buf2) - 1); in calculate_min_delta() 88 buf2[l] = buf2[l - 1]; in calculate_min_delta() 92 if (k < ARRAY_SIZE(buf2)) in calculate_min_delta() 93 buf2[k] = buf1[ARRAY_SIZE(buf1) - 1]; in calculate_min_delta() 97 min_delta = buf2[ARRAY_SIZE(buf2) - 1] * 2; in calculate_min_delta() 104 __func__, buf2[ARRAY_SIZE(buf2) - 1], min_delta); in calculate_min_delta()
|
/Linux-v4.19/arch/mips/bcm47xx/ |
D | board.c | 230 char buf2[30]; in bcm47xx_board_get_nvram() local 251 bcm47xx_nvram_getenv("boardnum", buf2, sizeof(buf2)) >= 0) { in bcm47xx_board_get_nvram() 254 !strcmp(buf2, e2->value2)) in bcm47xx_board_get_nvram() 283 bcm47xx_nvram_getenv("boot_hw_ver", buf2, sizeof(buf2)) >= 0) { in bcm47xx_board_get_nvram() 286 !strcmp(buf2, e2->value2)) in bcm47xx_board_get_nvram() 299 bcm47xx_nvram_getenv("boardnum", buf2, sizeof(buf2)) >= 0 && in bcm47xx_board_get_nvram() 303 !strcmp(buf2, e3->value2) && in bcm47xx_board_get_nvram() 310 bcm47xx_nvram_getenv("boardrev", buf2, sizeof(buf2)) >= 0 && in bcm47xx_board_get_nvram() 314 !strcmp(buf2, e2->value2)) in bcm47xx_board_get_nvram()
|
/Linux-v4.19/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()
|
D | code-reading.c | 230 unsigned char buf2[BUFSZ]; in read_object_code() local 315 ret = read_via_objdump(objdump_name, objdump_addr, buf2, len); in read_object_code() 349 if (memcmp(buf1, buf2, len)) { in read_object_code() 354 dump_buf(buf2, len); in read_object_code()
|
/Linux-v4.19/tools/power/acpi/tools/ec/ |
D | ec_access.c | 129 char buf2[EC_SPACE_SIZE]; in dump_ec() local 155 bytes_read = read(fd, buf2, EC_SPACE_SIZE); in dump_ec() 168 if (buf[byte_off] == buf2[byte_off]) in dump_ec() 169 printf(" %.2x ", (uint8_t)buf2[byte_off]); in dump_ec() 171 printf("*%.2x ", (uint8_t)buf2[byte_off]); in dump_ec()
|
/Linux-v4.19/drivers/media/i2c/ |
D | sony-btf-mpx.c | 236 u8 buf1[3], buf2[2]; in mpx_setup() local 259 msgs[1].buf = buf2; in mpx_setup() 262 buf2[0], buf2[1]); in mpx_setup() 268 buf2[0], buf2[1]); in mpx_setup()
|
D | saa6752hs.c | 438 unsigned char buf[9], buf2[4]; in saa6752hs_init() local 532 i2c_master_recv(client, buf2, 4); in saa6752hs_init() 540 buf[5] = buf2[0]; in saa6752hs_init() 543 buf[6] = buf2[1] | 0x40; in saa6752hs_init() 547 buf[6] = buf2[1] & 0xBF; in saa6752hs_init() 550 buf[7] = buf2[2]; in saa6752hs_init() 551 buf[8] = buf2[3]; in saa6752hs_init()
|
/Linux-v4.19/drivers/media/dvb-frontends/ |
D | atbm8830.c | 40 u8 buf2[] = { data }; in atbm8830_write_reg() local 42 struct i2c_msg msg2 = { .flags = 0, .buf = buf2, .len = 1 }; in atbm8830_write_reg() 65 u8 buf2[] = { 0 }; in atbm8830_read_reg() local 67 struct i2c_msg msg2 = { .flags = I2C_M_RD, .buf = buf2, .len = 1 }; in atbm8830_read_reg() 83 *p_data = buf2[0]; in atbm8830_read_reg() 86 __func__, reg, buf2[0]); in atbm8830_read_reg()
|
D | nxt200x.c | 97 u8 buf2[MAX_XFER_SIZE]; in nxt200x_writebytes() local 99 …struct i2c_msg msg = { .addr = state->config->demod_address, .flags = 0, .buf = buf2, .len = len +… in nxt200x_writebytes() 101 if (1 + len > sizeof(buf2)) { in nxt200x_writebytes() 107 buf2[0] = reg; in nxt200x_writebytes() 108 memcpy(&buf2[1], buf, len); in nxt200x_writebytes()
|
/Linux-v4.19/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-v4.19/drivers/soundwire/ |
D | bus.c | 812 u8 buf, buf2[2], _buf, _buf2[2]; in sdw_handle_slave_alerts() local 824 ret = sdw_nread(slave, SDW_SCP_INTSTAT2, 2, buf2); in sdw_handle_slave_alerts() 872 port = buf2[0] & SDW_SCP_INTSTAT2_PORT4_10; in sdw_handle_slave_alerts() 883 if (buf2[0] & SDW_SCP_INTSTAT2_SCP3_CASCADE) { in sdw_handle_slave_alerts() 884 port = buf2[1] & SDW_SCP_INTSTAT3_PORT11_14; in sdw_handle_slave_alerts() 932 buf2[0] &= _buf2[0]; in sdw_handle_slave_alerts() 933 buf2[1] &= _buf2[1]; in sdw_handle_slave_alerts() 934 stat = buf || buf2[0] || buf2[1]; in sdw_handle_slave_alerts()
|
/Linux-v4.19/drivers/target/iscsi/ |
D | iscsi_target_tpg.c | 594 unsigned char buf1[256], buf2[256], *none = NULL; in iscsit_ta_authentication() local 606 memset(buf2, 0, sizeof(buf2)); in iscsit_ta_authentication() 619 sprintf(buf2, "%s", none+5); in iscsit_ta_authentication() 623 len = sprintf(buf2, "%s", buf1); in iscsit_ta_authentication() 625 sprintf(buf2 + len, "%s", none); in iscsit_ta_authentication() 630 sprintf(buf2, "%s", buf1); in iscsit_ta_authentication() 632 if (iscsi_update_param_value(param, buf2) < 0) in iscsit_ta_authentication()
|
/Linux-v4.19/drivers/macintosh/ |
D | rack-meter.c | 49 u32 buf2[SAMPLE_COUNT] ____cacheline_aligned; member 158 memset(rdma->buf2, 0, sizeof(rdma->buf2)); in rackmeter_do_pause() 181 offsetof(struct rackmeter_dma, buf2)); in rackmeter_setup_dbdma() 208 offsetof(struct rackmeter_dma, buf2)); in rackmeter_setup_dbdma() 356 buf = mark == 1 ? db->buf1 : db->buf2; in rackmeter_irq()
|
/Linux-v4.19/sound/pci/hda/ |
D | hda_eld.c | 388 char buf2[8 + SND_PRINT_BITS_ADVISED_BUFSIZE] = ", bits ="; in hdmi_show_short_audio_desc() local 396 snd_print_pcm_bits(a->sample_bits, buf2 + 8, sizeof(buf2) - 8); in hdmi_show_short_audio_desc() 398 snprintf(buf2, sizeof(buf2), in hdmi_show_short_audio_desc() 401 buf2[0] = '\0'; in hdmi_show_short_audio_desc() 406 a->channels, buf, buf2); in hdmi_show_short_audio_desc()
|
/Linux-v4.19/lib/ |
D | test-string_helpers.c | 361 char buf2[string_get_size_maxbuf]; in __test_string_get_size() local 364 string_get_size(size, blk_size, STRING_UNITS_2, buf2, sizeof(buf2)); in __test_string_get_size() 369 test_string_get_size_check("STRING_UNITS_2", exp_result2, buf2, in __test_string_get_size()
|
/Linux-v4.19/drivers/media/usb/em28xx/ |
D | em28xx-i2c.c | 138 u8 buf2[4]; in em2800_i2c_recv_bytes() local 146 buf2[1] = 0x84 + len - 1; in em2800_i2c_recv_bytes() 147 buf2[0] = addr; in em2800_i2c_recv_bytes() 148 ret = dev->em28xx_write_regs(dev, 0x04, buf2, 2); in em2800_i2c_recv_bytes() 178 ret = dev->em28xx_read_reg_req_len(dev, 0x00, 4 - len, buf2, len); in em2800_i2c_recv_bytes() 186 buf[i] = buf2[len - 1 - i]; in em2800_i2c_recv_bytes()
|
/Linux-v4.19/drivers/input/keyboard/ |
D | cros_ec_keyb.c | 118 int col1, col2, buf1, buf2; in cros_ec_keyb_has_ghosting() local 138 buf2 = buf[col2] & valid_keys[col2]; in cros_ec_keyb_has_ghosting() 139 if (hweight8(buf1 & buf2) > 1) { in cros_ec_keyb_has_ghosting() 141 col1, buf1, col2, buf2); in cros_ec_keyb_has_ghosting()
|
/Linux-v4.19/security/tomoyo/ |
D | file.c | 891 struct tomoyo_path_info buf2; in tomoyo_path2_perm() local 903 buf2.name = NULL; in tomoyo_path2_perm() 906 !tomoyo_get_realpath(&buf2, path2)) in tomoyo_path2_perm() 916 tomoyo_add_slash(&buf2); in tomoyo_path2_perm() 923 r.param.path2.filename2 = &buf2; in tomoyo_path2_perm() 930 kfree(buf2.name); in tomoyo_path2_perm()
|
/Linux-v4.19/drivers/staging/rtlwifi/phydm/ |
D | phydm_interface.c | 141 s32 odm_compare_memory(struct phy_dm_struct *dm, void *p_buf1, void *buf2, in odm_compare_memory() argument 144 return memcmp(p_buf1, buf2, length); in odm_compare_memory()
|
/Linux-v4.19/drivers/misc/sgi-gru/ |
D | grukservices.c | 1119 char buf1[BUFSIZE], buf2[BUFSIZE]; in quicktest3() local 1122 memset(buf2, 0, sizeof(buf2)); in quicktest3() 1124 gru_copy_gpa(uv_gpa(buf2), uv_gpa(buf1), BUFSIZE); in quicktest3() 1125 if (memcmp(buf1, buf2, BUFSIZE)) { in quicktest3()
|
/Linux-v4.19/drivers/s390/cio/ |
D | device_pgid.c | 626 static void stlck_build_cp(struct ccw_device *cdev, void *buf1, void *buf2) in stlck_build_cp() argument 636 cp[1].cda = (u32) (addr_t) buf2; in stlck_build_cp() 660 void *buf1, void *buf2) in ccw_device_stlck_start() argument 674 stlck_build_cp(cdev, buf1, buf2); in ccw_device_stlck_start()
|