/linux-6.6.21/arch/mips/bcm47xx/ |
D | board.c | 238 char buf1[30]; in bcm47xx_board_get_nvram() local 245 if (bcm47xx_nvram_getenv("model_name", buf1, sizeof(buf1)) >= 0) { in bcm47xx_board_get_nvram() 247 if (!strcmp(buf1, e1->value1)) in bcm47xx_board_get_nvram() 252 if (bcm47xx_nvram_getenv("hardware_version", buf1, sizeof(buf1)) >= 0) { in bcm47xx_board_get_nvram() 254 if (strstarts(buf1, e1->value1)) in bcm47xx_board_get_nvram() 259 if (bcm47xx_nvram_getenv("hardware_version", buf1, sizeof(buf1)) >= 0 && in bcm47xx_board_get_nvram() 262 if (!strstarts(buf1, e2->value1) && in bcm47xx_board_get_nvram() 268 if (bcm47xx_nvram_getenv("productid", buf1, sizeof(buf1)) >= 0) { in bcm47xx_board_get_nvram() 270 if (!strcmp(buf1, e1->value1)) in bcm47xx_board_get_nvram() 275 if (bcm47xx_nvram_getenv("ModelId", buf1, sizeof(buf1)) >= 0) { in bcm47xx_board_get_nvram() [all …]
|
/linux-6.6.21/tools/testing/selftests/proc/ |
D | proc-self-syscall.c | 32 char buf1[64]; in main() local 45 snprintf(buf1, sizeof(buf1), "%ld 0x%lx 0x%lx 0x%lx", in main() 52 if (rv < strlen(buf1)) in main() 54 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-6.6.21/arch/mips/kernel/ |
D | cevt-r4k.c | 52 unsigned int buf1[4], buf2[3]; in calculate_min_delta() local 71 if (cnt < buf1[k]) { in calculate_min_delta() 73 j, ARRAY_SIZE(buf1) - 1); in calculate_min_delta() 75 buf1[l] = buf1[l - 1]; in calculate_min_delta() 79 if (k < ARRAY_SIZE(buf1)) in calculate_min_delta() 80 buf1[k] = cnt; in calculate_min_delta() 85 if (buf1[ARRAY_SIZE(buf1) - 1] < buf2[k]) { in calculate_min_delta() 94 buf2[k] = buf1[ARRAY_SIZE(buf1) - 1]; in calculate_min_delta()
|
/linux-6.6.21/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-6.6.21/fs/nfsd/ |
D | nfs4idmap.c | 209 char *buf1, *bp; in idtoname_parse() local 217 buf1 = kmalloc(PAGE_SIZE, GFP_KERNEL); in idtoname_parse() 218 if (buf1 == NULL) in idtoname_parse() 224 len = qword_get(&buf, buf1, PAGE_SIZE); in idtoname_parse() 227 memcpy(ent.authname, buf1, sizeof(ent.authname)); in idtoname_parse() 230 if (qword_get(&buf, buf1, PAGE_SIZE) <= 0) in idtoname_parse() 232 ent.type = strcmp(buf1, "user") == 0 ? in idtoname_parse() 236 if (qword_get(&buf, buf1, PAGE_SIZE) <= 0) in idtoname_parse() 238 ent.id = simple_strtoul(buf1, &bp, 10); in idtoname_parse() 239 if (bp == buf1) in idtoname_parse() [all …]
|
/linux-6.6.21/tools/perf/tests/workloads/ |
D | datasym.c | 10 static buf buf1 = { variable 18 buf1.data1++; in datasym() 19 buf1.data2 += buf1.data1; in datasym()
|
/linux-6.6.21/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-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 332 memcpy(buf1 + off, src, copy); 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 354 crc = crc_itu_t(crc, buf1 + off, copy); 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() 388 udf_copy_to_bufs(buf1, len1, buf2, len2, off, zeros, in udf_copy_fi_to_bufs() 392 crc = udf_crc_fi_bufs(buf1, len1, buf2, len2, crcoff, crclen); in udf_copy_fi_to_bufs() [all …]
|
/linux-6.6.21/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()
|
/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 598 memset(buf1, 0, sizeof(buf1)); in iscsit_ta_authentication() 606 snprintf(buf1, sizeof(buf1), "%s", param->value); in iscsit_ta_authentication() 607 none = strstr(buf1, NONE); in iscsit_ta_authentication() 611 if (!strcmp(buf1, none)) in iscsit_ta_authentication() 616 len = sprintf(buf2, "%s", buf1); in iscsit_ta_authentication() 623 sprintf(buf2, "%s", buf1); in iscsit_ta_authentication() 628 snprintf(buf1, sizeof(buf1), "%s", param->value); in iscsit_ta_authentication() 629 none = strstr(buf1, NONE); in iscsit_ta_authentication() 632 strlcat(buf1, "," NONE, sizeof(buf1)); in iscsit_ta_authentication() [all …]
|
/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 235 scnprintf(buf1, sizeof(buf1), "cycles: %ld, hits: %.2f%%", in print_callchain_pair() 242 printf("%35s\t%35s\n", buf1, buf2); in print_callchain_pair() 261 scnprintf(buf1, sizeof(buf1), "%35s\t%35s", s1, s2); in print_callchain_pair() 262 printf("%s\n", buf1); in print_callchain_pair()
|
/linux-6.6.21/fs/nfs/ |
D | dns_resolve.c | 231 char buf1[NFS_DNS_HOSTNAME_MAXLEN+1]; in nfs_dns_parse() local 241 len = qword_get(&buf, buf1, sizeof(buf1)); in nfs_dns_parse() 244 key.addrlen = rpc_pton(cd->net, buf1, len, in nfs_dns_parse() 248 len = qword_get(&buf, buf1, sizeof(buf1)); in nfs_dns_parse() 252 key.hostname = buf1; in nfs_dns_parse()
|
/linux-6.6.21/drivers/mfd/ |
D | pcf50633-core.c | 86 char *buf1 = buf; in dump_regs_show() local 104 buf1 += sprintf(buf1, "%*ph\n", (int)sizeof(dump), dump); in dump_regs_show() 107 return buf1 - buf; in dump_regs_show()
|
/linux-6.6.21/lib/kunit/ |
D | assert.c | 219 const u8 *buf1 = buf; in kunit_assert_hexdump() local 228 if (buf1[i] != buf2[i]) in kunit_assert_hexdump() 229 string_stream_add(stream, "<%02x>", buf1[i]); in kunit_assert_hexdump() 231 string_stream_add(stream, " %02x ", buf1[i]); in kunit_assert_hexdump()
|
/linux-6.6.21/drivers/macintosh/ |
D | rack-meter.c | 45 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-6.6.21/drivers/net/wireless/mediatek/mt76/ |
D | dma.c | 216 u32 buf1 = 0, ctrl; in mt76_dma_add_rx_buf() local 233 buf1 |= FIELD_PREP(MT_DMA_CTL_TOKEN, rx_token); in mt76_dma_add_rx_buf() 238 WRITE_ONCE(desc->buf1, cpu_to_le32(buf1)); in mt76_dma_add_rx_buf() 270 u32 buf0 = buf[0].addr, buf1 = 0; in mt76_dma_add_buf() local 289 buf1 = buf[1].addr; in mt76_dma_add_buf() 301 WRITE_ONCE(desc->buf1, cpu_to_le32(buf1)); in mt76_dma_add_buf() 402 u32 buf1 = le32_to_cpu(desc->buf1); in mt76_dma_get_buf() local 403 u32 token = FIELD_GET(MT_DMA_CTL_TOKEN, buf1); in mt76_dma_get_buf() 425 *drop |= !!(buf1 & MT_DMA_CTL_WO_DROP); in mt76_dma_get_buf()
|
/linux-6.6.21/kernel/kcsan/ |
D | report.c | 358 char buf1[64]; in sym_strcmp() local 361 snprintf(buf1, sizeof(buf1), "%pS", addr1); in sym_strcmp() 364 return strncmp(buf1, buf2, sizeof(buf1)); in sym_strcmp()
|
/linux-6.6.21/drivers/mtd/ubi/ |
D | io.c | 1296 void *buf1; in self_check_write() local 1302 buf1 = __vmalloc(len, GFP_NOFS); in self_check_write() 1303 if (!buf1) { in self_check_write() 1308 err = mtd_read(ubi->mtd, addr, len, &read, buf1); in self_check_write() 1314 uint8_t c1 = ((uint8_t *)buf1)[i]; in self_check_write() 1331 buf1 + i, dump_len, 1); in self_check_write() 1337 vfree(buf1); in self_check_write() 1341 vfree(buf1); in self_check_write()
|
/linux-6.6.21/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-6.6.21/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-6.6.21/drivers/net/wireless/intel/iwlwifi/ |
D | iwl-devtrace-iwlwifi.h | 94 __dynamic_array(u8, buf1, hdr_len > 0 && iwl_trace_data(skb) ? 107 __get_dynamic_array(buf1),
|
/linux-6.6.21/kernel/rcu/ |
D | refscale.c | 893 char buf1[64]; in process_durations() local 906 sprintf(buf1, "%d: %llu\t", i, rt->last_duration_ns); in process_durations() 914 strcat(buf, buf1); in process_durations() 933 char buf1[64]; in main_func() local 996 sprintf(buf1, "%d\t%llu.%03u\n", exp + 1, avg, rem); in main_func() 997 strcat(buf, buf1); in main_func()
|
/linux-6.6.21/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()
|