Searched refs:stat_buf (Results 1 – 6 of 6) sorted by relevance
/linux-6.1.9/tools/testing/selftests/nolibc/ |
D | nolibc-test.c | 450 struct stat stat_buf; in run_syscall() local 458 proc = stat("/proc", &stat_buf) == 0; in run_syscall() 524 …CASE_TEST(stat_blah); EXPECT_SYSER(1, stat("/proc/self/blah", &stat_buf), -1, ENOENT); bre… in run_syscall() 525 CASE_TEST(stat_fault); EXPECT_SYSER(1, stat(NULL, &stat_buf), -1, EFAULT); break; in run_syscall() 579 struct stat stat_buf; in prepare() local 585 if (stat("/dev/.", &stat_buf) == 0 || mkdir("/dev", 0755) == 0) { in prepare() 586 if (stat("/dev/console", &stat_buf) != 0 || in prepare() 587 stat("/dev/null", &stat_buf) != 0) { in prepare() 617 if (stat("/proc/.", &stat_buf) == 0 || mkdir("/proc", 0755) == 0) { in prepare() 618 if (stat("/proc/self", &stat_buf) != 0) in prepare()
|
/linux-6.1.9/drivers/tty/ |
D | amiserial.c | 1369 char stat_buf[30], control, status; in line_info() local 1379 stat_buf[0] = 0; in line_info() 1380 stat_buf[1] = 0; in line_info() 1382 strcat(stat_buf, "|RTS"); in line_info() 1384 strcat(stat_buf, "|CTS"); in line_info() 1386 strcat(stat_buf, "|DTR"); in line_info() 1388 strcat(stat_buf, "|DSR"); in line_info() 1390 strcat(stat_buf, "|CD"); in line_info() 1412 seq_printf(m, " %s\n", stat_buf+1); in line_info()
|
D | synclink_gt.c | 1169 char stat_buf[30]; in line_info() local 1181 stat_buf[0] = 0; in line_info() 1182 stat_buf[1] = 0; in line_info() 1184 strcat(stat_buf, "|RTS"); in line_info() 1186 strcat(stat_buf, "|CTS"); in line_info() 1188 strcat(stat_buf, "|DTR"); in line_info() 1190 strcat(stat_buf, "|DSR"); in line_info() 1192 strcat(stat_buf, "|CD"); in line_info() 1194 strcat(stat_buf, "|RI"); in line_info() 1225 seq_printf(m, " %s\n", stat_buf+1); in line_info()
|
/linux-6.1.9/drivers/tty/serial/ |
D | serial_core.c | 1974 char stat_buf[32]; in uart_line_info() local 2021 strncat(stat_buf, (str), sizeof(stat_buf) - \ in uart_line_info() 2022 strlen(stat_buf) - 2) in uart_line_info() 2025 strncat(stat_buf, (str), sizeof(stat_buf) - \ in uart_line_info() 2026 strlen(stat_buf) - 2) in uart_line_info() 2028 stat_buf[0] = '\0'; in uart_line_info() 2029 stat_buf[1] = '\0'; in uart_line_info() 2036 if (stat_buf[0]) in uart_line_info() 2037 stat_buf[0] = ' '; in uart_line_info() 2039 seq_puts(m, stat_buf); in uart_line_info()
|
/linux-6.1.9/drivers/char/pcmcia/ |
D | synclink_cs.c | 2533 char stat_buf[30]; in line_info() local 2544 stat_buf[0] = 0; in line_info() 2545 stat_buf[1] = 0; in line_info() 2547 strcat(stat_buf, "|RTS"); in line_info() 2549 strcat(stat_buf, "|CTS"); in line_info() 2551 strcat(stat_buf, "|DTR"); in line_info() 2553 strcat(stat_buf, "|DSR"); in line_info() 2555 strcat(stat_buf, "|CD"); in line_info() 2557 strcat(stat_buf, "|RI"); in line_info() 2588 seq_printf(m, " %s\n", stat_buf+1); in line_info()
|
/linux-6.1.9/drivers/net/wireless/atmel/ |
D | at76c50x-usb.c | 685 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()
|