| /Linux-v5.4/arch/mips/bcm47xx/ |
| D | board.c | 230 char buf1[30]; in bcm47xx_board_get_nvram() local 237 if (bcm47xx_nvram_getenv("model_name", buf1, sizeof(buf1)) >= 0) { in bcm47xx_board_get_nvram() 239 if (!strcmp(buf1, e1->value1)) in bcm47xx_board_get_nvram() 244 if (bcm47xx_nvram_getenv("hardware_version", buf1, sizeof(buf1)) >= 0) { in bcm47xx_board_get_nvram() 246 if (strstarts(buf1, e1->value1)) in bcm47xx_board_get_nvram() 251 if (bcm47xx_nvram_getenv("hardware_version", buf1, sizeof(buf1)) >= 0 && in bcm47xx_board_get_nvram() 254 if (!strstarts(buf1, e2->value1) && in bcm47xx_board_get_nvram() 260 if (bcm47xx_nvram_getenv("productid", buf1, sizeof(buf1)) >= 0) { in bcm47xx_board_get_nvram() 262 if (!strcmp(buf1, e1->value1)) in bcm47xx_board_get_nvram() 267 if (bcm47xx_nvram_getenv("ModelId", buf1, sizeof(buf1)) >= 0) { in bcm47xx_board_get_nvram() [all …]
|
| /Linux-v5.4/arch/mips/kernel/ |
| D | cevt-r4k.c | 51 unsigned int buf1[4], buf2[3]; in calculate_min_delta() local 70 if (cnt < buf1[k]) { in calculate_min_delta() 72 j, ARRAY_SIZE(buf1) - 1); in calculate_min_delta() 74 buf1[l] = buf1[l - 1]; in calculate_min_delta() 78 if (k < ARRAY_SIZE(buf1)) in calculate_min_delta() 79 buf1[k] = cnt; in calculate_min_delta() 84 if (buf1[ARRAY_SIZE(buf1) - 1] < buf2[k]) { in calculate_min_delta() 93 buf2[k] = buf1[ARRAY_SIZE(buf1) - 1]; in calculate_min_delta()
|
| /Linux-v5.4/tools/testing/selftests/proc/ |
| D | proc-self-syscall.c | 33 char buf1[64]; in main() local 46 snprintf(buf1, sizeof(buf1), "%ld 0x%lx 0x%lx 0x%lx", in main() 53 if (rv < strlen(buf1)) in main() 55 if (strncmp(buf1, buf2, strlen(buf1)) != 0) in main()
|
| D | self.c | 26 char buf1[64], buf2[64]; in main() local 31 snprintf(buf1, sizeof(buf1), "%u", pid); in main() 34 assert(rv == strlen(buf1)); in main() 36 assert(streq(buf1, buf2)); in main()
|
| D | thread-self.c | 29 char buf1[64], buf2[64]; in f() local 35 snprintf(buf1, sizeof(buf1), "%u/task/%u", pid, tid); in f() 38 assert(rv == strlen(buf1)); in f() 40 assert(streq(buf1, buf2)); in f()
|
| /Linux-v5.4/drivers/edac/ |
| D | octeon_edac-l2c.c | 64 char buf1[64]; in _octeon_l2c_poll_oct2() local 71 snprintf(buf1, sizeof(buf1), in _octeon_l2c_poll_oct2() 77 "L2D Double bit error (detected):%s", buf1); in _octeon_l2c_poll_oct2() 83 "L2D Single bit error (corrected):%s", buf1); in _octeon_l2c_poll_oct2() 89 "VBF Double bit error (detected):%s", buf1); in _octeon_l2c_poll_oct2() 95 "VBF Single bit error (corrected):%s", buf1); in _octeon_l2c_poll_oct2() 106 snprintf(buf1, sizeof(buf1), in _octeon_l2c_poll_oct2() 112 "Tag Double bit error (detected):%s", buf1); in _octeon_l2c_poll_oct2() 118 "Tag Single bit error (corrected):%s", buf1); in _octeon_l2c_poll_oct2()
|
| /Linux-v5.4/fs/nfsd/ |
| D | nfs4idmap.c | 201 char *buf1, *bp; in idtoname_parse() local 209 buf1 = kmalloc(PAGE_SIZE, GFP_KERNEL); in idtoname_parse() 210 if (buf1 == NULL) in idtoname_parse() 216 len = qword_get(&buf, buf1, PAGE_SIZE); in idtoname_parse() 219 memcpy(ent.authname, buf1, sizeof(ent.authname)); in idtoname_parse() 222 if (qword_get(&buf, buf1, PAGE_SIZE) <= 0) in idtoname_parse() 224 ent.type = strcmp(buf1, "user") == 0 ? in idtoname_parse() 228 if (qword_get(&buf, buf1, PAGE_SIZE) <= 0) in idtoname_parse() 230 ent.id = simple_strtoul(buf1, &bp, 10); in idtoname_parse() 231 if (bp == buf1) in idtoname_parse() [all …]
|
| /Linux-v5.4/drivers/media/i2c/ |
| D | sony-btf-mpx.c | 228 u8 buf1[3], buf2[2]; in mpx_setup() local 241 buf1[0] = 0x11; in mpx_setup() 242 buf1[1] = 0x00; in mpx_setup() 243 buf1[2] = 0x7e; in mpx_setup() 247 msgs[0].buf = buf1; in mpx_setup() 255 buf1[0] = 0x11; in mpx_setup() 256 buf1[1] = 0x02; in mpx_setup() 257 buf1[2] = 0x00; in mpx_setup()
|
| /Linux-v5.4/tools/perf/tests/ |
| D | is_printable_array.c | 10 char buf1[] = { 'k', 'r', 4, 'v', 'a', 0 }; in test__is_printable_array() local 22 { buf1, sizeof(buf1), 0 }, in test__is_printable_array()
|
| D | code-reading.c | 239 unsigned char buf1[BUFSZ]; in read_object_code() local 279 al.addr, buf1, len); in read_object_code() 359 if (memcmp(buf1, buf2, len)) { in read_object_code() 362 dump_buf(buf1, len); in read_object_code()
|
| /Linux-v5.4/drivers/target/iscsi/ |
| D | iscsi_target_tpg.c | 586 unsigned char buf1[256], buf2[256], *none = NULL; in iscsit_ta_authentication() local 597 memset(buf1, 0, sizeof(buf1)); in iscsit_ta_authentication() 605 snprintf(buf1, sizeof(buf1), "%s", param->value); in iscsit_ta_authentication() 606 none = strstr(buf1, NONE); in iscsit_ta_authentication() 610 if (!strcmp(buf1, none)) in iscsit_ta_authentication() 615 len = sprintf(buf2, "%s", buf1); in iscsit_ta_authentication() 622 sprintf(buf2, "%s", buf1); in iscsit_ta_authentication() 627 snprintf(buf1, sizeof(buf1), "%s", param->value); in iscsit_ta_authentication() 628 none = strstr(buf1, NONE); in iscsit_ta_authentication() 631 strlcat(buf1, "," NONE, sizeof(buf1)); in iscsit_ta_authentication() [all …]
|
| /Linux-v5.4/kernel/debug/kdb/ |
| D | kdb_io.c | 749 char buf1[16] = ""; in vkdb_printf() local 784 kdb_read(buf1, 2); /* '2' indicates to return in vkdb_printf() 792 if ((buf1[0] == 'q') || (buf1[0] == 'Q')) { in vkdb_printf() 799 } else if (buf1[0] == ' ') { in vkdb_printf() 802 } else if (buf1[0] == '\n') { in vkdb_printf() 806 } else if (buf1[0] == '/' && !kdb_grepping_flag) { in vkdb_printf() 813 } else if (buf1[0] && buf1[0] != '\n') { in vkdb_printf() 816 if (buf1[0] != '/') in vkdb_printf()
|
| /Linux-v5.4/fs/nfs/ |
| D | dns_resolve.c | 232 char buf1[NFS_DNS_HOSTNAME_MAXLEN+1]; in nfs_dns_parse() local 242 len = qword_get(&buf, buf1, sizeof(buf1)); in nfs_dns_parse() 245 key.addrlen = rpc_pton(cd->net, buf1, len, in nfs_dns_parse() 249 len = qword_get(&buf, buf1, sizeof(buf1)); in nfs_dns_parse() 253 key.hostname = buf1; in nfs_dns_parse()
|
| /Linux-v5.4/drivers/macintosh/ |
| D | rack-meter.c | 46 u32 buf1[SAMPLE_COUNT] ____cacheline_aligned; member 155 memset(rdma->buf1, 0, sizeof(rdma->buf1)); in rackmeter_do_pause() 177 offsetof(struct rackmeter_dma, buf1)); in rackmeter_setup_dbdma() 193 offsetof(struct rackmeter_dma, buf1)); in rackmeter_setup_dbdma() 354 buf = mark == 1 ? db->buf1 : db->buf2; in rackmeter_irq()
|
| /Linux-v5.4/drivers/mfd/ |
| D | pcf50633-core.c | 86 char *buf1 = buf; in show_dump_regs() local 104 buf1 += sprintf(buf1, "%*ph\n", (int)sizeof(dump), dump); in show_dump_regs() 107 return buf1 - buf; in show_dump_regs()
|
| /Linux-v5.4/drivers/mtd/ubi/ |
| D | io.c | 1294 void *buf1; in self_check_write() local 1300 buf1 = __vmalloc(len, GFP_NOFS, PAGE_KERNEL); in self_check_write() 1301 if (!buf1) { in self_check_write() 1306 err = mtd_read(ubi->mtd, addr, len, &read, buf1); in self_check_write() 1312 uint8_t c1 = ((uint8_t *)buf1)[i]; in self_check_write() 1329 buf1 + i, dump_len, 1); in self_check_write() 1335 vfree(buf1); in self_check_write() 1339 vfree(buf1); in self_check_write()
|
| /Linux-v5.4/drivers/media/dvb-frontends/ |
| D | atbm8830.c | 30 u8 buf1[] = { reg >> 8, reg & 0xFF }; in atbm8830_write_reg() local 32 struct i2c_msg msg1 = { .flags = 0, .buf = buf1, .len = 2 }; in atbm8830_write_reg() 55 u8 buf1[] = { reg >> 8, reg & 0xFF }; in atbm8830_read_reg() local 57 struct i2c_msg msg1 = { .flags = 0, .buf = buf1, .len = 2 }; in atbm8830_read_reg()
|
| /Linux-v5.4/drivers/net/wireless/intel/iwlwifi/ |
| D | iwl-devtrace-iwlwifi.h | 99 __dynamic_array(u8, buf1, hdr_len > 0 && iwl_trace_data(skb) ? 112 __get_dynamic_array(buf1),
|
| /Linux-v5.4/drivers/net/ethernet/tundra/ |
| D | tsi108_eth.h | 304 u32 buf1; /* Base address of buffer */ member 331 u32 buf1; /* Base address of buffer */ member
|
| /Linux-v5.4/drivers/net/wireless/mediatek/mt76/ |
| D | dma.h | 27 __le32 buf1; member
|
| D | dma.c | 62 u32 buf0 = buf[0].addr, buf1 = 0; in mt76_dma_add_buf() local 66 buf1 = buf[1].addr; in mt76_dma_add_buf() 81 WRITE_ONCE(desc->buf1, cpu_to_le32(buf1)); in mt76_dma_add_buf() 111 __le32 addr = READ_ONCE(q->desc[idx].buf1); in mt76_dma_tx_cleanup_idx()
|
| /Linux-v5.4/drivers/input/keyboard/ |
| D | cros_ec_keyb.c | 118 int col1, col2, buf1, buf2; in cros_ec_keyb_has_ghosting() local 136 buf1 = buf[col1] & valid_keys[col1]; 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-v5.4/security/tomoyo/ |
| D | file.c | 907 struct tomoyo_path_info buf1; in tomoyo_path2_perm() local 919 buf1.name = NULL; in tomoyo_path2_perm() 922 if (!tomoyo_get_realpath(&buf1, path1) || in tomoyo_path2_perm() 932 tomoyo_add_slash(&buf1); in tomoyo_path2_perm() 939 r.param.path2.filename1 = &buf1; in tomoyo_path2_perm() 946 kfree(buf1.name); in tomoyo_path2_perm()
|
| /Linux-v5.4/sound/core/ |
| D | init.c | 659 char buf1[sizeof(card->id)]; in card_id_store_attr() local 670 memcpy(buf1, buf, copy); in card_id_store_attr() 671 buf1[copy] = '\0'; in card_id_store_attr() 673 if (!card_id_ok(NULL, buf1)) { in card_id_store_attr() 677 strcpy(card->id, buf1); in card_id_store_attr()
|
| /Linux-v5.4/drivers/misc/sgi-gru/ |
| D | grukservices.c | 1106 char buf1[BUFSIZE], buf2[BUFSIZE]; in quicktest3() local 1110 memset(buf1, get_cycles() & 255, sizeof(buf1)); in quicktest3() 1111 gru_copy_gpa(uv_gpa(buf2), uv_gpa(buf1), BUFSIZE); in quicktest3() 1112 if (memcmp(buf1, buf2, BUFSIZE)) { in quicktest3()
|