Home
last modified time | relevance | path

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

/kernel/liteos_a/fs/vfs/vfs_cmd/
Dvfs_shellcmd.c595 struct stat stat_buf; in os_shell_cmd_do_cp() local
620 ret = stat(src_fullpath, &stat_buf); in os_shell_cmd_do_cp()
625 src_mode = stat_buf.st_mode; in os_shell_cmd_do_cp()
628 if (S_ISDIR(stat_buf.st_mode)) { in os_shell_cmd_do_cp()
643 ret = stat(dst_fullpath, &stat_buf); in os_shell_cmd_do_cp()
647 if (S_ISDIR(stat_buf.st_mode)) { in os_shell_cmd_do_cp()
917 struct stat stat_buf; in os_wildcard_extract_directory() local
926 ret = stat(fullpath, &stat_buf); in os_wildcard_extract_directory()
927 if (ret == 0 && (S_ISREG(stat_buf.st_mode) || S_ISLNK(stat_buf.st_mode))) { in os_wildcard_extract_directory()
967 ret = stat(src, &stat_buf); in os_wildcard_extract_directory()
[all …]
/kernel/linux/linux-5.10/drivers/tty/
Damiserial.c1407 char stat_buf[30], control, status; in line_info() local
1417 stat_buf[0] = 0; in line_info()
1418 stat_buf[1] = 0; in line_info()
1420 strcat(stat_buf, "|RTS"); in line_info()
1422 strcat(stat_buf, "|CTS"); in line_info()
1424 strcat(stat_buf, "|DTR"); in line_info()
1426 strcat(stat_buf, "|DSR"); in line_info()
1428 strcat(stat_buf, "|CD"); in line_info()
1450 seq_printf(m, " %s\n", stat_buf+1); in line_info()
Dsynclink_gt.c1176 char stat_buf[30]; in line_info() local
1188 stat_buf[0] = 0; in line_info()
1189 stat_buf[1] = 0; in line_info()
1191 strcat(stat_buf, "|RTS"); in line_info()
1193 strcat(stat_buf, "|CTS"); in line_info()
1195 strcat(stat_buf, "|DTR"); in line_info()
1197 strcat(stat_buf, "|DSR"); in line_info()
1199 strcat(stat_buf, "|CD"); in line_info()
1201 strcat(stat_buf, "|RI"); in line_info()
1232 seq_printf(m, " %s\n", stat_buf+1); in line_info()
Dsynclinkmp.c1338 char stat_buf[30]; in line_info() local
1356 stat_buf[0] = 0; in line_info()
1357 stat_buf[1] = 0; in line_info()
1359 strcat(stat_buf, "|RTS"); in line_info()
1361 strcat(stat_buf, "|CTS"); in line_info()
1363 strcat(stat_buf, "|DTR"); in line_info()
1365 strcat(stat_buf, "|DSR"); in line_info()
1367 strcat(stat_buf, "|CD"); in line_info()
1369 strcat(stat_buf, "|RI"); in line_info()
1400 seq_printf(m, " %s\n", stat_buf+1); in line_info()
Dsynclink.c3431 char stat_buf[30]; in line_info() local
3443 stat_buf[0] = 0; in line_info()
3444 stat_buf[1] = 0; in line_info()
3446 strcat(stat_buf, "|RTS"); in line_info()
3448 strcat(stat_buf, "|CTS"); in line_info()
3450 strcat(stat_buf, "|DTR"); in line_info()
3452 strcat(stat_buf, "|DSR"); in line_info()
3454 strcat(stat_buf, "|CD"); in line_info()
3456 strcat(stat_buf, "|RI"); in line_info()
3488 seq_printf(m, " %s\n", stat_buf+1); in line_info()
/kernel/linux/linux-5.10/drivers/tty/serial/
Dserial_core.c1890 char stat_buf[32]; in uart_line_info() local
1937 strncat(stat_buf, (str), sizeof(stat_buf) - \ in uart_line_info()
1938 strlen(stat_buf) - 2) in uart_line_info()
1941 strncat(stat_buf, (str), sizeof(stat_buf) - \ in uart_line_info()
1942 strlen(stat_buf) - 2) in uart_line_info()
1944 stat_buf[0] = '\0'; in uart_line_info()
1945 stat_buf[1] = '\0'; in uart_line_info()
1952 if (stat_buf[0]) in uart_line_info()
1953 stat_buf[0] = ' '; in uart_line_info()
1955 seq_puts(m, stat_buf); in uart_line_info()
/kernel/linux/linux-5.10/drivers/char/pcmcia/
Dsynclink_cs.c2540 char stat_buf[30]; in line_info() local
2551 stat_buf[0] = 0; in line_info()
2552 stat_buf[1] = 0; in line_info()
2554 strcat(stat_buf, "|RTS"); in line_info()
2556 strcat(stat_buf, "|CTS"); in line_info()
2558 strcat(stat_buf, "|DTR"); in line_info()
2560 strcat(stat_buf, "|DSR"); in line_info()
2562 strcat(stat_buf, "|CD"); in line_info()
2564 strcat(stat_buf, "|RI"); in line_info()
2595 seq_printf(m, " %s\n", stat_buf+1); in line_info()
/kernel/linux/linux-5.10/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()