Home
last modified time | relevance | path

Searched refs:stat_buf (Results 1 – 5 of 5) sorted by relevance

/linux-6.12.1/tools/testing/selftests/nolibc/
Dnolibc-test.c883 struct stat stat_buf; in test_mmap_munmap() local
906 ret = stat(files[i], &stat_buf); in test_mmap_munmap()
914 file_size = stat_buf.st_size; in test_mmap_munmap()
991 struct stat stat_buf; in run_syscall() local
1002 proc = stat("/proc", &stat_buf) == 0; in run_syscall()
1082 …CASE_TEST(stat_blah); EXPECT_SYSER(1, stat("/proc/self/blah", &stat_buf), -1, ENOENT); bre… in run_syscall()
1083 CASE_TEST(stat_fault); EXPECT_SYSER(1, stat(NULL, &stat_buf), -1, EFAULT); break; in run_syscall()
1379 struct stat stat_buf; in prepare() local
1385 if (stat("/dev/.", &stat_buf) == 0 || mkdir("/dev", 0755) == 0) { in prepare()
1386 if (stat("/dev/console", &stat_buf) != 0 || in prepare()
[all …]
/linux-6.12.1/drivers/tty/
Damiserial.c1367 char stat_buf[30], control, status; in line_info() local
1377 stat_buf[0] = 0; in line_info()
1378 stat_buf[1] = 0; in line_info()
1380 strcat(stat_buf, "|RTS"); in line_info()
1382 strcat(stat_buf, "|CTS"); in line_info()
1384 strcat(stat_buf, "|DTR"); in line_info()
1386 strcat(stat_buf, "|DSR"); in line_info()
1388 strcat(stat_buf, "|CD"); in line_info()
1410 seq_printf(m, " %s\n", stat_buf+1); in line_info()
Dsynclink_gt.c1168 char stat_buf[30]; in line_info() local
1180 stat_buf[0] = 0; in line_info()
1181 stat_buf[1] = 0; in line_info()
1183 strcat(stat_buf, "|RTS"); in line_info()
1185 strcat(stat_buf, "|CTS"); in line_info()
1187 strcat(stat_buf, "|DTR"); in line_info()
1189 strcat(stat_buf, "|DSR"); in line_info()
1191 strcat(stat_buf, "|CD"); in line_info()
1193 strcat(stat_buf, "|RI"); in line_info()
1224 seq_printf(m, " %s\n", stat_buf+1); in line_info()
/linux-6.12.1/drivers/tty/serial/
Dserial_core.c2038 char stat_buf[32]; in uart_line_info() local
2086 strncat(stat_buf, (str), sizeof(stat_buf) - \ in uart_line_info()
2087 strlen(stat_buf) - 2) in uart_line_info()
2090 strncat(stat_buf, (str), sizeof(stat_buf) - \ in uart_line_info()
2091 strlen(stat_buf) - 2) in uart_line_info()
2093 stat_buf[0] = '\0'; in uart_line_info()
2094 stat_buf[1] = '\0'; in uart_line_info()
2101 if (stat_buf[0]) in uart_line_info()
2102 stat_buf[0] = ' '; in uart_line_info()
2104 seq_puts(m, stat_buf); in uart_line_info()
/linux-6.12.1/drivers/net/wireless/atmel/
Dat76c50x-usb.c685 u8 *stat_buf; in at76_get_cmd_status() local
688 stat_buf = kmalloc(40, GFP_NOIO); in at76_get_cmd_status()
689 if (!stat_buf) in at76_get_cmd_status()
694 USB_RECIP_INTERFACE, cmd, 0, stat_buf, in at76_get_cmd_status()
697 ret = stat_buf[5]; in at76_get_cmd_status()
698 kfree(stat_buf); in at76_get_cmd_status()