buf2 231 arch/mips/bcm47xx/board.c char buf2[30]; buf2 252 arch/mips/bcm47xx/board.c bcm47xx_nvram_getenv("boardnum", buf2, sizeof(buf2)) >= 0) { buf2 255 arch/mips/bcm47xx/board.c !strcmp(buf2, e2->value2)) buf2 284 arch/mips/bcm47xx/board.c bcm47xx_nvram_getenv("boot_hw_ver", buf2, sizeof(buf2)) >= 0) { buf2 287 arch/mips/bcm47xx/board.c !strcmp(buf2, e2->value2)) buf2 300 arch/mips/bcm47xx/board.c bcm47xx_nvram_getenv("boardnum", buf2, sizeof(buf2)) >= 0 && buf2 304 arch/mips/bcm47xx/board.c !strcmp(buf2, e3->value2) && buf2 311 arch/mips/bcm47xx/board.c bcm47xx_nvram_getenv("boardrev", buf2, sizeof(buf2)) >= 0 && buf2 315 arch/mips/bcm47xx/board.c !strcmp(buf2, e2->value2)) buf2 51 arch/mips/kernel/cevt-r4k.c unsigned int buf1[4], buf2[3]; buf2 83 arch/mips/kernel/cevt-r4k.c for (k = 0; k < i && k < ARRAY_SIZE(buf2); ++k) { buf2 84 arch/mips/kernel/cevt-r4k.c if (buf1[ARRAY_SIZE(buf1) - 1] < buf2[k]) { buf2 86 arch/mips/kernel/cevt-r4k.c i, ARRAY_SIZE(buf2) - 1); buf2 88 arch/mips/kernel/cevt-r4k.c buf2[l] = buf2[l - 1]; buf2 92 arch/mips/kernel/cevt-r4k.c if (k < ARRAY_SIZE(buf2)) buf2 93 arch/mips/kernel/cevt-r4k.c buf2[k] = buf1[ARRAY_SIZE(buf1) - 1]; buf2 97 arch/mips/kernel/cevt-r4k.c min_delta = buf2[ARRAY_SIZE(buf2) - 1] * 2; buf2 104 arch/mips/kernel/cevt-r4k.c __func__, buf2[ARRAY_SIZE(buf2) - 1], min_delta); buf2 640 arch/um/drivers/ubd_kern.c struct uml_stat buf1, buf2; buf2 654 arch/um/drivers/ubd_kern.c err = os_stat_file(from_cow, &buf2); buf2 660 arch/um/drivers/ubd_kern.c if ((buf1.ust_dev == buf2.ust_dev) && (buf1.ust_ino == buf2.ust_ino)) buf2 65 drivers/edac/octeon_edac-l2c.c char buf2[80]; buf2 76 drivers/edac/octeon_edac-l2c.c snprintf(buf2, sizeof(buf2), buf2 79 drivers/edac/octeon_edac-l2c.c edac_device_handle_ue(l2c, tad, 1, buf2); buf2 82 drivers/edac/octeon_edac-l2c.c snprintf(buf2, sizeof(buf2), buf2 85 drivers/edac/octeon_edac-l2c.c edac_device_handle_ce(l2c, tad, 1, buf2); buf2 88 drivers/edac/octeon_edac-l2c.c snprintf(buf2, sizeof(buf2), buf2 91 drivers/edac/octeon_edac-l2c.c edac_device_handle_ue(l2c, tad, 1, buf2); buf2 94 drivers/edac/octeon_edac-l2c.c snprintf(buf2, sizeof(buf2), buf2 97 drivers/edac/octeon_edac-l2c.c edac_device_handle_ce(l2c, tad, 1, buf2); buf2 111 drivers/edac/octeon_edac-l2c.c snprintf(buf2, sizeof(buf2), buf2 114 drivers/edac/octeon_edac-l2c.c edac_device_handle_ue(l2c, tad, 0, buf2); buf2 117 drivers/edac/octeon_edac-l2c.c snprintf(buf2, sizeof(buf2), buf2 120 drivers/edac/octeon_edac-l2c.c edac_device_handle_ce(l2c, tad, 0, buf2); buf2 118 drivers/input/keyboard/cros_ec_keyb.c int col1, col2, buf1, buf2; buf2 138 drivers/input/keyboard/cros_ec_keyb.c buf2 = buf[col2] & valid_keys[col2]; buf2 139 drivers/input/keyboard/cros_ec_keyb.c if (hweight8(buf1 & buf2) > 1) { buf2 141 drivers/input/keyboard/cros_ec_keyb.c col1, buf1, col2, buf2); buf2 47 drivers/macintosh/rack-meter.c u32 buf2[SAMPLE_COUNT] ____cacheline_aligned; buf2 156 drivers/macintosh/rack-meter.c memset(rdma->buf2, 0, sizeof(rdma->buf2)); buf2 179 drivers/macintosh/rack-meter.c offsetof(struct rackmeter_dma, buf2)); buf2 206 drivers/macintosh/rack-meter.c offsetof(struct rackmeter_dma, buf2)); buf2 354 drivers/macintosh/rack-meter.c buf = mark == 1 ? db->buf1 : db->buf2; buf2 3940 drivers/md/dm-thin.c char buf2[BDEVNAME_SIZE]; buf2 4041 drivers/md/dm-thin.c format_dev_t(buf2, pt->data_dev->bdev->bd_dev), buf2 31 drivers/media/dvb-frontends/atbm8830.c u8 buf2[] = { data }; buf2 33 drivers/media/dvb-frontends/atbm8830.c struct i2c_msg msg2 = { .flags = 0, .buf = buf2, .len = 1 }; buf2 56 drivers/media/dvb-frontends/atbm8830.c u8 buf2[] = { 0 }; buf2 58 drivers/media/dvb-frontends/atbm8830.c struct i2c_msg msg2 = { .flags = I2C_M_RD, .buf = buf2, .len = 1 }; buf2 74 drivers/media/dvb-frontends/atbm8830.c *p_data = buf2[0]; buf2 77 drivers/media/dvb-frontends/atbm8830.c __func__, reg, buf2[0]); buf2 87 drivers/media/dvb-frontends/nxt200x.c u8 buf2[MAX_XFER_SIZE]; buf2 89 drivers/media/dvb-frontends/nxt200x.c struct i2c_msg msg = { .addr = state->config->demod_address, .flags = 0, .buf = buf2, .len = len + 1 }; buf2 91 drivers/media/dvb-frontends/nxt200x.c if (1 + len > sizeof(buf2)) { buf2 97 drivers/media/dvb-frontends/nxt200x.c buf2[0] = reg; buf2 98 drivers/media/dvb-frontends/nxt200x.c memcpy(&buf2[1], buf, len); buf2 426 drivers/media/i2c/saa6752hs.c unsigned char buf[9], buf2[4]; buf2 520 drivers/media/i2c/saa6752hs.c i2c_master_recv(client, buf2, 4); buf2 528 drivers/media/i2c/saa6752hs.c buf[5] = buf2[0]; buf2 531 drivers/media/i2c/saa6752hs.c buf[6] = buf2[1] | 0x40; buf2 535 drivers/media/i2c/saa6752hs.c buf[6] = buf2[1] & 0xBF; buf2 538 drivers/media/i2c/saa6752hs.c buf[7] = buf2[2]; buf2 539 drivers/media/i2c/saa6752hs.c buf[8] = buf2[3]; buf2 228 drivers/media/i2c/sony-btf-mpx.c u8 buf1[3], buf2[2]; buf2 251 drivers/media/i2c/sony-btf-mpx.c msgs[1].buf = buf2; buf2 254 drivers/media/i2c/sony-btf-mpx.c buf2[0], buf2[1]); buf2 260 drivers/media/i2c/sony-btf-mpx.c buf2[0], buf2[1]); buf2 138 drivers/media/usb/em28xx/em28xx-i2c.c u8 buf2[4]; buf2 146 drivers/media/usb/em28xx/em28xx-i2c.c buf2[1] = 0x84 + len - 1; buf2 147 drivers/media/usb/em28xx/em28xx-i2c.c buf2[0] = addr; buf2 148 drivers/media/usb/em28xx/em28xx-i2c.c ret = dev->em28xx_write_regs(dev, 0x04, buf2, 2); buf2 178 drivers/media/usb/em28xx/em28xx-i2c.c ret = dev->em28xx_read_reg_req_len(dev, 0x00, 4 - len, buf2, len); buf2 186 drivers/media/usb/em28xx/em28xx-i2c.c buf[i] = buf2[len - 1 - i]; buf2 1106 drivers/misc/sgi-gru/grukservices.c char buf1[BUFSIZE], buf2[BUFSIZE]; buf2 1109 drivers/misc/sgi-gru/grukservices.c memset(buf2, 0, sizeof(buf2)); buf2 1111 drivers/misc/sgi-gru/grukservices.c gru_copy_gpa(uv_gpa(buf2), uv_gpa(buf1), BUFSIZE); buf2 1112 drivers/misc/sgi-gru/grukservices.c if (memcmp(buf1, buf2, BUFSIZE)) { buf2 628 drivers/s390/cio/device_pgid.c static void stlck_build_cp(struct ccw_device *cdev, void *buf1, void *buf2) buf2 638 drivers/s390/cio/device_pgid.c cp[1].cda = (u32) (addr_t) buf2; buf2 662 drivers/s390/cio/device_pgid.c void *buf1, void *buf2) buf2 676 drivers/s390/cio/device_pgid.c stlck_build_cp(cdev, buf1, buf2); buf2 2113 drivers/scsi/arcmsr/arcmsr_hba.c uint32_t iop_len, data_len, *buf2 = NULL; buf2 2119 drivers/scsi/arcmsr/arcmsr_hba.c buf2 = (uint32_t *)buf1; buf2 2124 drivers/scsi/arcmsr/arcmsr_hba.c *buf2++ = readl(iop_data); buf2 2129 drivers/scsi/arcmsr/arcmsr_hba.c *buf2 = readl(iop_data); buf2 2130 drivers/scsi/arcmsr/arcmsr_hba.c buf2 = (uint32_t *)buf1; buf2 2141 drivers/scsi/arcmsr/arcmsr_hba.c kfree(buf2); buf2 2195 drivers/scsi/arcmsr/arcmsr_hba.c uint32_t allxfer_len = 0, data_len, *buf2 = NULL, data; buf2 2199 drivers/scsi/arcmsr/arcmsr_hba.c buf2 = (uint32_t *)buf1; buf2 2216 drivers/scsi/arcmsr/arcmsr_hba.c buf1 = (uint8_t *)buf2; buf2 2218 drivers/scsi/arcmsr/arcmsr_hba.c data = *buf2++; buf2 2224 drivers/scsi/arcmsr/arcmsr_hba.c data = *buf2; buf2 820 drivers/soundwire/bus.c u8 buf, buf2[2], _buf, _buf2[2]; buf2 833 drivers/soundwire/bus.c ret = sdw_nread(slave, SDW_SCP_INTSTAT2, 2, buf2); buf2 880 drivers/soundwire/bus.c port = buf2[0] & SDW_SCP_INTSTAT2_PORT4_10; buf2 891 drivers/soundwire/bus.c if (buf2[0] & SDW_SCP_INTSTAT2_SCP3_CASCADE) { buf2 892 drivers/soundwire/bus.c port = buf2[1] & SDW_SCP_INTSTAT3_PORT11_14; buf2 941 drivers/soundwire/bus.c buf2[0] &= _buf2[0]; buf2 942 drivers/soundwire/bus.c buf2[1] &= _buf2[1]; buf2 943 drivers/soundwire/bus.c stat = buf || buf2[0] || buf2[1]; buf2 3804 drivers/staging/rts5208/ms.c u8 buf1[32], buf2[12]; buf2 3824 drivers/staging/rts5208/ms.c rtsx_stor_get_xfer_buf(buf2, min_t(int, 12, scsi_bufflen(srb)), srb); buf2 3826 drivers/staging/rts5208/ms.c buf1[8 + i] = buf2[4 + i]; buf2 3974 drivers/staging/rts5208/ms.c u8 buf1[32], buf2[36]; buf2 4000 drivers/staging/rts5208/ms.c buf2[0] = 0x00; buf2 4001 drivers/staging/rts5208/ms.c buf2[1] = 0x22; buf2 4002 drivers/staging/rts5208/ms.c buf2[2] = 0x00; buf2 4003 drivers/staging/rts5208/ms.c buf2[3] = 0x00; buf2 4005 drivers/staging/rts5208/ms.c memcpy(buf2 + 4, ms_card->magic_gate_id, 16); buf2 4006 drivers/staging/rts5208/ms.c memcpy(buf2 + 20, buf1, 16); buf2 4009 drivers/staging/rts5208/ms.c rtsx_stor_set_xfer_buf(buf2, bufflen, srb); buf2 586 drivers/target/iscsi/iscsi_target_tpg.c unsigned char buf1[256], buf2[256], *none = NULL; buf2 598 drivers/target/iscsi/iscsi_target_tpg.c memset(buf2, 0, sizeof(buf2)); buf2 611 drivers/target/iscsi/iscsi_target_tpg.c sprintf(buf2, "%s", none+5); buf2 615 drivers/target/iscsi/iscsi_target_tpg.c len = sprintf(buf2, "%s", buf1); buf2 617 drivers/target/iscsi/iscsi_target_tpg.c sprintf(buf2 + len, "%s", none); buf2 622 drivers/target/iscsi/iscsi_target_tpg.c sprintf(buf2, "%s", buf1); buf2 624 drivers/target/iscsi/iscsi_target_tpg.c if (iscsi_update_param_value(param, buf2) < 0) buf2 1064 drivers/usb/host/ehci-sched.c stream->buf2 = cpu_to_hc32(ehci, multi); buf2 1683 drivers/usb/host/ehci-sched.c itd->hw_bufp[2] = stream->buf2; buf2 494 drivers/usb/host/ehci.h __hc32 buf2; buf2 3951 drivers/usb/host/fotg210-hcd.c stream->buf2 = cpu_to_hc32(fotg210, multi); buf2 4295 drivers/usb/host/fotg210-hcd.c itd->hw_bufp[2] = stream->buf2; buf2 529 drivers/usb/host/fotg210.h __hc32 buf2; buf2 229 fs/ubifs/recovery.c void *buf1 = NULL, *buf2 = NULL, *cor1 = NULL, *cor2 = NULL; buf2 240 fs/ubifs/recovery.c err = get_master_node(c, UBIFS_MST_LNUM + 1, &buf2, &mst2, &cor2); buf2 255 fs/ubifs/recovery.c offs2 = (void *)mst2 - buf2; buf2 291 fs/ubifs/recovery.c offs2 = (void *)mst2 - buf2; buf2 344 fs/ubifs/recovery.c vfree(buf2); buf2 361 fs/ubifs/recovery.c vfree(buf2); buf2 58 fs/unicode/mkutf8data.c char buf2[LINESIZE]; buf2 3182 fs/unicode/mkutf8data.c s = buf2; buf2 3195 fs/unicode/mkutf8data.c s = buf2; buf2 3237 fs/unicode/mkutf8data.c t = buf2; buf2 361 lib/test-string_helpers.c char buf2[string_get_size_maxbuf]; buf2 364 lib/test-string_helpers.c string_get_size(size, blk_size, STRING_UNITS_2, buf2, sizeof(buf2)); buf2 369 lib/test-string_helpers.c test_string_get_size_check("STRING_UNITS_2", exp_result2, buf2, buf2 2263 net/decnet/af_decnet.c char buf2[DN_ASCBUF_LEN]; buf2 2281 net/decnet/af_decnet.c dn_addr2asc(le16_to_cpu(dn_saddr2dn(&scp->peer)), buf2), buf2 1832 net/decnet/dn_route.c char buf1[DN_ASCBUF_LEN], buf2[DN_ASCBUF_LEN]; buf2 1837 net/decnet/dn_route.c dn_addr2asc(le16_to_cpu(rt->rt_saddr), buf2), buf2 2633 net/ipv4/fib_trie.c char buf1[32], buf2[32]; buf2 2640 net/ipv4/fib_trie.c rtn_type(buf2, sizeof(buf2), buf2 908 security/tomoyo/file.c struct tomoyo_path_info buf2; buf2 920 security/tomoyo/file.c buf2.name = NULL; buf2 923 security/tomoyo/file.c !tomoyo_get_realpath(&buf2, path2)) buf2 933 security/tomoyo/file.c tomoyo_add_slash(&buf2); buf2 940 security/tomoyo/file.c r.param.path2.filename2 = &buf2; buf2 947 security/tomoyo/file.c kfree(buf2.name); buf2 375 sound/pci/hda/hda_eld.c char buf2[8 + SND_PRINT_BITS_ADVISED_BUFSIZE] = ", bits ="; buf2 383 sound/pci/hda/hda_eld.c snd_print_pcm_bits(a->sample_bits, buf2 + 8, sizeof(buf2) - 8); buf2 385 sound/pci/hda/hda_eld.c snprintf(buf2, sizeof(buf2), buf2 388 sound/pci/hda/hda_eld.c buf2[0] = '\0'; buf2 393 sound/pci/hda/hda_eld.c a->channels, buf, buf2); buf2 946 tools/perf/arch/x86/util/intel-pt.c void *buf2, size_t offs2, size_t buf2_size) buf2 951 tools/perf/arch/x86/util/intel-pt.c return memcmp(buf1, buf2 + offs2, compare_size); buf2 954 tools/perf/arch/x86/util/intel-pt.c if (memcmp(buf1, buf2 + offs2, part_size)) buf2 959 tools/perf/arch/x86/util/intel-pt.c return memcmp(buf1 + part_size, buf2, compare_size); buf2 240 tools/perf/tests/code-reading.c unsigned char buf2[BUFSZ]; buf2 325 tools/perf/tests/code-reading.c ret = read_via_objdump(objdump_name, objdump_addr, buf2, len); buf2 359 tools/perf/tests/code-reading.c if (memcmp(buf1, buf2, len)) { buf2 364 tools/perf/tests/code-reading.c dump_buf(buf2, len); buf2 11 tools/perf/tests/is_printable_array.c char buf2[] = { 'k', 'r', 'a', 'v', 4, 0 }; buf2 23 tools/perf/tests/is_printable_array.c { buf2, sizeof(buf2), 0 }, buf2 128 tools/power/acpi/tools/ec/ec_access.c char buf2[EC_SPACE_SIZE]; buf2 154 tools/power/acpi/tools/ec/ec_access.c bytes_read = read(fd, buf2, EC_SPACE_SIZE); buf2 167 tools/power/acpi/tools/ec/ec_access.c if (buf[byte_off] == buf2[byte_off]) buf2 168 tools/power/acpi/tools/ec/ec_access.c printf(" %.2x ", (uint8_t)buf2[byte_off]); buf2 170 tools/power/acpi/tools/ec/ec_access.c printf("*%.2x ", (uint8_t)buf2[byte_off]); buf2 34 tools/testing/selftests/proc/proc-self-syscall.c char buf2[64]; buf2 47 tools/testing/selftests/proc/proc-self-syscall.c (long)SYS_read, (long)fd, (long)buf2, (long)sizeof(buf2)); buf2 49 tools/testing/selftests/proc/proc-self-syscall.c memset(buf2, 0, sizeof(buf2)); buf2 50 tools/testing/selftests/proc/proc-self-syscall.c rv = sys_read(fd, buf2, sizeof(buf2)); buf2 55 tools/testing/selftests/proc/proc-self-syscall.c if (strncmp(buf1, buf2, strlen(buf1)) != 0) buf2 26 tools/testing/selftests/proc/self.c char buf1[64], buf2[64]; buf2 33 tools/testing/selftests/proc/self.c rv = readlink("/proc/self", buf2, sizeof(buf2)); buf2 35 tools/testing/selftests/proc/self.c buf2[rv] = '\0'; buf2 36 tools/testing/selftests/proc/self.c assert(streq(buf1, buf2)); buf2 29 tools/testing/selftests/proc/thread-self.c char buf1[64], buf2[64]; buf2 37 tools/testing/selftests/proc/thread-self.c rv = readlink("/proc/thread-self", buf2, sizeof(buf2)); buf2 39 tools/testing/selftests/proc/thread-self.c buf2[rv] = '\0'; buf2 40 tools/testing/selftests/proc/thread-self.c assert(streq(buf1, buf2));