Home
last modified time | relevance | path

Searched refs:buf1 (Results 1 – 25 of 57) sorted by relevance

123

/linux/arch/mips/bcm47xx/
A Dboard.c230 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()
260 if (bcm47xx_nvram_getenv("productid", buf1, sizeof(buf1)) >= 0) { in bcm47xx_board_get_nvram()
267 if (bcm47xx_nvram_getenv("ModelId", buf1, sizeof(buf1)) >= 0) { in bcm47xx_board_get_nvram()
274 if (bcm47xx_nvram_getenv("melco_id", buf1, sizeof(buf1)) >= 0 || in bcm47xx_board_get_nvram()
275 bcm47xx_nvram_getenv("buf1falo_id", buf1, sizeof(buf1)) >= 0) { in bcm47xx_board_get_nvram()
283 if (bcm47xx_nvram_getenv("boot_hw_model", buf1, sizeof(buf1)) >= 0 && in bcm47xx_board_get_nvram()
292 if (bcm47xx_nvram_getenv("board_id", buf1, sizeof(buf1)) >= 0) { in bcm47xx_board_get_nvram()
299 if (bcm47xx_nvram_getenv("boardtype", buf1, sizeof(buf1)) >= 0 && in bcm47xx_board_get_nvram()
310 if (bcm47xx_nvram_getenv("boardtype", buf1, sizeof(buf1)) >= 0 && in bcm47xx_board_get_nvram()
[all …]
/linux/arch/mips/kernel/
A Dcevt-r4k.c52 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/tools/testing/selftests/proc/
A Dproc-self-syscall.c32 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()
A Dself.c26 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()
A Dthread-self.c29 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/drivers/edac/
A Docteon_edac-l2c.c64 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/fs/nfsd/
A Dnfs4idmap.c208 char *buf1, *bp; in idtoname_parse() local
216 buf1 = kmalloc(PAGE_SIZE, GFP_KERNEL); in idtoname_parse()
217 if (buf1 == NULL) in idtoname_parse()
231 ent.type = strcmp(buf1, "user") == 0 ? in idtoname_parse()
238 if (bp == buf1) in idtoname_parse()
268 kfree(buf1); in idtoname_parse()
378 char *buf1; in nametoid_parse() local
385 buf1 = kmalloc(PAGE_SIZE, GFP_KERNEL); in nametoid_parse()
386 if (buf1 == NULL) in nametoid_parse()
400 ent.type = strcmp(buf1, "user") == 0 ? in nametoid_parse()
[all …]
/linux/tools/perf/util/
A Devlist-hybrid.c114 char buf1[128], buf2[128]; in evlist__fix_hybrid_cpus() local
136 cpu_map__snprint(matched_cpus, buf1, sizeof(buf1)); in evlist__fix_hybrid_cpus()
138 buf1, pmu->name, evsel->name); in evlist__fix_hybrid_cpus()
146 cpu_map__snprint(cpus, buf1, sizeof(buf1)); in evlist__fix_hybrid_cpus()
149 buf1, pmu->name, pmu->name, buf2); in evlist__fix_hybrid_cpus()
A Dstream.c228 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/drivers/media/i2c/
A Dsony-btf-mpx.c228 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/drivers/target/iscsi/
A Discsi_target_tpg.c586 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/tools/perf/tests/
A Dis_printable_array.c10 char buf1[] = { 'k', 'r', 4, 'v', 'a', 0 }; in test__is_printable_array() local
22 { buf1, sizeof(buf1), 0 }, in test__is_printable_array()
A Dcode-reading.c232 unsigned char buf1[BUFSZ] = {0}; in read_object_code() local
272 al.addr, buf1, len); in read_object_code()
352 if (memcmp(buf1, buf2, len)) { in read_object_code()
355 dump_buf(buf1, len); in read_object_code()
/linux/fs/nfs/
A Ddns_resolve.c232 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/drivers/mfd/
A Dpcf50633-core.c86 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/drivers/macintosh/
A Drack-meter.c46 u32 buf1[SAMPLE_COUNT] ____cacheline_aligned; member
156 memset(rdma->buf1, 0, sizeof(rdma->buf1)); in rackmeter_do_pause()
178 offsetof(struct rackmeter_dma, buf1)); in rackmeter_setup_dbdma()
194 offsetof(struct rackmeter_dma, buf1)); in rackmeter_setup_dbdma()
355 buf = mark == 1 ? db->buf1 : db->buf2; in rackmeter_irq()
/linux/kernel/kcsan/
A Dreport.c354 char buf1[64]; in sym_strcmp() local
357 snprintf(buf1, sizeof(buf1), "%pS", addr1); in sym_strcmp()
360 return strncmp(buf1, buf2, sizeof(buf1)); in sym_strcmp()
/linux/kernel/rcu/
A Drefscale.c603 char buf1[64]; in process_durations() local
616 sprintf(buf1, "%d: %llu\t", i, rt->last_duration_ns); in process_durations()
620 strcat(buf, buf1); in process_durations()
642 char buf1[64]; in main_func() local
714 sprintf(buf1, "%d\t%llu.%03u\n", exp + 1, avg, rem); in main_func()
715 strcat(buf, buf1); in main_func()
/linux/drivers/mtd/ubi/
A Dio.c1296 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/drivers/media/dvb-frontends/
A Datbm8830.c30 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/drivers/net/ethernet/tundra/
A Dtsi108_eth.h304 u32 buf1; /* Base address of buffer */ member
331 u32 buf1; /* Base address of buffer */ member
/linux/drivers/net/wireless/intel/iwlwifi/
A Diwl-devtrace-iwlwifi.h94 __dynamic_array(u8, buf1, hdr_len > 0 && iwl_trace_data(skb) ?
107 __get_dynamic_array(buf1),
/linux/security/tomoyo/
A Dfile.c907 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/drivers/input/keyboard/
A Dcros_ec_keyb.c127 int col1, col2, buf1, buf2; in cros_ec_keyb_has_ghosting() local
145 buf1 = buf[col1] & valid_keys[col1]; in cros_ec_keyb_has_ghosting()
148 if (hweight8(buf1 & buf2) > 1) { in cros_ec_keyb_has_ghosting()
150 col1, buf1, col2, buf2); in cros_ec_keyb_has_ghosting()
/linux/kernel/trace/
A Dtrace_eprobe.c867 char buf1[MAX_EVENT_NAME_LEN]; in __trace_eprobe_create() local
880 ret = traceprobe_parse_event_name(&event, &group, buf1, in __trace_eprobe_create()
885 strscpy(buf1, argv[1], MAX_EVENT_NAME_LEN); in __trace_eprobe_create()
886 sanitize_event_name(buf1); in __trace_eprobe_create()
887 event = buf1; in __trace_eprobe_create()

Completed in 45 milliseconds

123