Searched refs:buf1 (Results 1 – 3 of 3) sorted by relevance
/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 …]
|
/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()
|
/arch/um/drivers/ |
D | ubd_kern.c | 596 struct uml_stat buf1, buf2; in path_requires_switch() local 604 err = os_stat_file(from_cmdline, &buf1); in path_requires_switch() 616 if ((buf1.ust_dev == buf2.ust_dev) && (buf1.ust_ino == buf2.ust_ino)) in path_requires_switch()
|