Home
last modified time | relevance | path

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

/linux/tools/testing/selftests/nolibc/
H A Dnolibc-test.c1135 struct stat stat_buf; in test_mmap_munmap() local
1158 ret = stat(files[i], &stat_buf); in test_mmap_munmap()
1166 file_size = stat_buf.st_size; in test_mmap_munmap()
1264 struct stat stat_buf; in test_namespace() local
1270 ret = fstat(original_ns, &stat_buf); in test_namespace()
1274 original_ns_ino = stat_buf.st_ino; in test_namespace()
1286 ret = fstat(new_ns, &stat_buf); in test_namespace()
1291 if (stat_buf.st_ino == original_ns_ino) { in test_namespace()
1307 ret = fstat(new_ns, &stat_buf); in test_namespace()
1313 if (stat_buf.st_ino != original_ns_ino) { in test_namespace()
[all …]
/linux/drivers/tty/
H A 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()
H A 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/drivers/tty/serial/
H A Dserial_core.c1976 char stat_buf[32]; in uart_line_info() local
2023 strncat(stat_buf, (str), sizeof(stat_buf) - \ in uart_line_info()
2024 strlen(stat_buf) - 2) in uart_line_info()
2027 strncat(stat_buf, (str), sizeof(stat_buf) - \ in uart_line_info()
2028 strlen(stat_buf) - 2) in uart_line_info()
2030 stat_buf[0] = '\0'; in uart_line_info()
2031 stat_buf[1] = '\0'; in uart_line_info()
2038 if (stat_buf[0]) in uart_line_info()
2039 stat_buf[0] = ' '; in uart_line_info()
2041 seq_puts(m, stat_buf); in uart_line_info()
/linux/drivers/net/wireless/atmel/
H A 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()
/linux/drivers/net/wireless/ath/ath12k/
H A Ddebugfs_htt_stats.c3639 const struct ath12k_htt_dl_pager_stats_tlv *stat_buf = tag_buf; in ath12k_htt_print_dlpager_stats_tlv() local
3649 if (tag_len < sizeof(*stat_buf)) in ath12k_htt_print_dlpager_stats_tlv()
3652 dword_lock = le32_get_bits(stat_buf->info2, in ath12k_htt_print_dlpager_stats_tlv()
3654 dword_unlock = le32_get_bits(stat_buf->info2, in ath12k_htt_print_dlpager_stats_tlv()
3662 le32_get_bits(stat_buf->info0, in ath12k_htt_print_dlpager_stats_tlv()
3665 le32_get_bits(stat_buf->info0, in ath12k_htt_print_dlpager_stats_tlv()
3668 le32_get_bits(stat_buf->info1, in ath12k_htt_print_dlpager_stats_tlv()
3671 le32_get_bits(stat_buf->info1, in ath12k_htt_print_dlpager_stats_tlv()
3680 ath12k_htt_print_dlpager_entry(&stat_buf->pgs_info[pg_locked][i], in ath12k_htt_print_dlpager_stats_tlv()
3691 ath12k_htt_print_dlpager_entry(&stat_buf->pgs_info[pg_unlock][i], in ath12k_htt_print_dlpager_stats_tlv()