Lines Matching refs:stat_info
159 FILE_STAT_BASIC_INFORMATION stat_info, int do_lstat);
1690 FILE_STAT_BASIC_INFORMATION stat_info; in fs__stat_path() local
1698 if (!pGetFileInformationByName(path, FileStatBasicByNameInfo, &stat_info, in fs__stat_path()
1699 sizeof(stat_info))) { in fs__stat_path()
1712 if ((stat_info.FileAttributes & FILE_ATTRIBUTE_REPARSE_POINT)) { in fs__stat_path()
1716 if (stat_info.DeviceType == FILE_DEVICE_NULL) { in fs__stat_path()
1721 fs__stat_assign_statbuf(statbuf, stat_info, do_lstat); in fs__stat_path()
1733 FILE_STAT_BASIC_INFORMATION stat_info; in fs__stat_handle() local
1773 stat_info.VolumeSerialNumber.QuadPart = 0; in fs__stat_handle()
1778 stat_info.VolumeSerialNumber.QuadPart = volume_info.VolumeSerialNumber; in fs__stat_handle()
1781 stat_info.DeviceType = device_info.DeviceType; in fs__stat_handle()
1782 stat_info.FileAttributes = file_info.BasicInformation.FileAttributes; in fs__stat_handle()
1783 stat_info.NumberOfLinks = file_info.StandardInformation.NumberOfLinks; in fs__stat_handle()
1784 stat_info.FileId.QuadPart = in fs__stat_handle()
1786 stat_info.ChangeTime.QuadPart = in fs__stat_handle()
1788 stat_info.CreationTime.QuadPart = in fs__stat_handle()
1790 stat_info.LastAccessTime.QuadPart = in fs__stat_handle()
1792 stat_info.LastWriteTime.QuadPart = in fs__stat_handle()
1794 stat_info.AllocationSize.QuadPart = in fs__stat_handle()
1805 fs__stat_assign_statbuf(statbuf, stat_info, do_lstat); in fs__stat_handle()
1808 stat_info.EndOfFile.QuadPart = target_length; in fs__stat_handle()
1810 stat_info.EndOfFile.QuadPart = in fs__stat_handle()
1814 fs__stat_assign_statbuf(statbuf, stat_info, do_lstat); in fs__stat_handle()
1829 FILE_STAT_BASIC_INFORMATION stat_info, int do_lstat) { in fs__stat_assign_statbuf() argument
1830 statbuf->st_dev = stat_info.VolumeSerialNumber.QuadPart; in fs__stat_assign_statbuf()
1863 (stat_info.FileAttributes & FILE_ATTRIBUTE_REPARSE_POINT)) { in fs__stat_assign_statbuf()
1865 statbuf->st_size = stat_info.EndOfFile.QuadPart; in fs__stat_assign_statbuf()
1869 if (stat_info.FileAttributes & FILE_ATTRIBUTE_DIRECTORY) { in fs__stat_assign_statbuf()
1874 statbuf->st_size = stat_info.EndOfFile.QuadPart; in fs__stat_assign_statbuf()
1878 if (stat_info.FileAttributes & FILE_ATTRIBUTE_READONLY) in fs__stat_assign_statbuf()
1885 stat_info.LastAccessTime.QuadPart); in fs__stat_assign_statbuf()
1887 stat_info.ChangeTime.QuadPart); in fs__stat_assign_statbuf()
1889 stat_info.LastWriteTime.QuadPart); in fs__stat_assign_statbuf()
1891 stat_info.CreationTime.QuadPart); in fs__stat_assign_statbuf()
1893 statbuf->st_ino = stat_info.FileId.QuadPart; in fs__stat_assign_statbuf()
1897 (uint64_t) stat_info.AllocationSize.QuadPart >> 9; in fs__stat_assign_statbuf()
1899 statbuf->st_nlink = stat_info.NumberOfLinks; in fs__stat_assign_statbuf()