Searched refs:stat_buf (Results 1 – 6 of 6) sorted by relevance
| /linux-6.15/tools/testing/selftests/nolibc/ |
| H A D | nolibc-test.c | 931 struct stat stat_buf; in test_mmap_munmap() local 954 ret = stat(files[i], &stat_buf); in test_mmap_munmap() 962 file_size = stat_buf.st_size; in test_mmap_munmap() 1055 struct stat stat_buf; in run_syscall() local 1066 proc = stat("/proc", &stat_buf) == 0; in run_syscall() 1513 struct stat stat_buf; in prepare() local 1519 if (stat("/dev/.", &stat_buf) == 0 || mkdir("/dev", 0755) == 0) { in prepare() 1520 if (stat("/dev/console", &stat_buf) != 0 || in prepare() 1521 stat("/dev/null", &stat_buf) != 0 || in prepare() 1522 stat("/dev/zero", &stat_buf) != 0) { in prepare() [all …]
|
| /linux-6.15/drivers/tty/ |
| H A D | amiserial.c | 1367 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()
|
| H A D | synclink_gt.c | 1168 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.15/drivers/tty/serial/ |
| H A D | serial_core.c | 2021 char stat_buf[32]; in uart_line_info() local 2069 strncat(stat_buf, (str), sizeof(stat_buf) - \ in uart_line_info() 2070 strlen(stat_buf) - 2) in uart_line_info() 2073 strncat(stat_buf, (str), sizeof(stat_buf) - \ in uart_line_info() 2074 strlen(stat_buf) - 2) in uart_line_info() 2076 stat_buf[0] = '\0'; in uart_line_info() 2077 stat_buf[1] = '\0'; in uart_line_info() 2084 if (stat_buf[0]) in uart_line_info() 2085 stat_buf[0] = ' '; in uart_line_info() 2087 seq_puts(m, stat_buf); in uart_line_info()
|
| /linux-6.15/drivers/net/wireless/atmel/ |
| H A 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()
|
| /linux-6.15/drivers/net/wireless/ath/ath12k/ |
| H A D | debugfs_htt_stats.c | 3637 const struct ath12k_htt_dl_pager_stats_tlv *stat_buf = tag_buf; in ath12k_htt_print_dlpager_stats_tlv() local 3647 if (tag_len < sizeof(*stat_buf)) in ath12k_htt_print_dlpager_stats_tlv() 3650 dword_lock = le32_get_bits(stat_buf->info2, in ath12k_htt_print_dlpager_stats_tlv() 3652 dword_unlock = le32_get_bits(stat_buf->info2, in ath12k_htt_print_dlpager_stats_tlv() 3660 le32_get_bits(stat_buf->info0, in ath12k_htt_print_dlpager_stats_tlv() 3663 le32_get_bits(stat_buf->info0, in ath12k_htt_print_dlpager_stats_tlv() 3666 le32_get_bits(stat_buf->info1, in ath12k_htt_print_dlpager_stats_tlv() 3669 le32_get_bits(stat_buf->info1, in ath12k_htt_print_dlpager_stats_tlv() 3678 ath12k_htt_print_dlpager_entry(&stat_buf->pgs_info[pg_locked][i], in ath12k_htt_print_dlpager_stats_tlv() 3689 ath12k_htt_print_dlpager_entry(&stat_buf->pgs_info[pg_unlock][i], in ath12k_htt_print_dlpager_stats_tlv()
|