Home
last modified time | relevance | path

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

/freebsd/sys/contrib/openzfs/tests/zfs-tests/cmd/
H A Dctime.c75 struct stat stat_buf; in get_file_time() local
81 if (stat(pfile, &stat_buf) == -1) { in get_file_time()
87 *ptr = stat_buf.st_atime; in get_file_time()
90 *ptr = stat_buf.st_ctime; in get_file_time()
93 *ptr = stat_buf.st_mtime; in get_file_time()
/freebsd/tests/sys/cddl/zfs/tests/ctime/
H A Dctime_001_pos.c184 struct stat stat_buf; in get_file_time() local
190 if (stat(pfile, &stat_buf) == -1) { in get_file_time()
196 *ptr = stat_buf.st_atime; in get_file_time()
199 *ptr = stat_buf.st_ctime; in get_file_time()
202 *ptr = stat_buf.st_mtime; in get_file_time()
/freebsd/crypto/krb5/src/appl/gss-sample/
H A Dgss-client.c333 struct stat stat_buf; in read_file() local
340 if (fstat(fd, &stat_buf) < 0) { in read_file()
344 in_buf->length = stat_buf.st_size; in read_file()
/freebsd/usr.bin/sort/
H A Dfile.c607 struct stat stat_buf; in file_reader_init() local
618 if (fstat(fd, &stat_buf) < 0) { in file_reader_init()
623 sz = stat_buf.st_size; in file_reader_init()
/freebsd/sys/contrib/dev/athk/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()