filesystems/fsw_efi.c
void fsw_store_time_posix(struct fsw_dnode_stat *sb, int which, fsw_u32 posix_time)
{
    EFI_FILE_INFO       *FileInfo = (EFI_FILE_INFO *)sb->host_data;

    if (which == FSW_DNODE_STAT_CTIME)
        fsw_efi_decode_time(&FileInfo->CreateTime,       posix_time);
    else if (which == FSW_DNODE_STAT_MTIME)
        fsw_efi_decode_time(&FileInfo->ModificationTime, posix_time);
    else if (which == FSW_DNODE_STAT_ATIME)
        fsw_efi_decode_time(&FileInfo->LastAccessTime,   posix_time);
}
/**
 * Time mapping callback for the fsw_dnode_stat call. This function converts
 * a Posix style timestamp into an EFI_TIME structure and writes it to the
 * appropriate member of the EFI_FILE_INFO structure that we're filling.
 */
Time mapping callback for the fsw_dnode_stat call. This function converts
a Posix style timestamp into an EFI_TIME structure and writes it to the
appropriate member of the EFI_FILE_INFO structure that we're filling.
Time mapping callback for the fsw_dnode_stat call . This function converts a Posix style timestamp into an EFI_TIME structure and writes it to the appropriate member of the EFI_FILE_INFO structure that we ' re filling .
void fsw_store_time_posix(struct fsw_dnode_stat *sb, int which, fsw_u32 posix_time)
{
    EFI_FILE_INFO       *FileInfo = (EFI_FILE_INFO *)sb->host_data;
    if (which == FSW_DNODE_STAT_CTIME)
        fsw_efi_decode_time(&FileInfo->CreateTime,       posix_time);
    else if (which == FSW_DNODE_STAT_MTIME)
        fsw_efi_decode_time(&FileInfo->ModificationTime, posix_time);
    else if (which == FSW_DNODE_STAT_ATIME)
        fsw_efi_decode_time(&FileInfo->LastAccessTime,   posix_time);
}
void fsw_store_time_posix ( struct fsw_dnode_stat * sb , int which , fsw_u32 posix_time ) { EFI_FILE_INFO * FileInfo = ( EFI_FILE_INFO * ) sb -> host_data ; if ( which == FSW_DNODE_STAT_CTIME ) fsw_efi_decode_time ( & FileInfo -> CreateTime , posix_time ) ; else if ( which == FSW_DNODE_STAT_MTIME ) fsw_efi_decode_time ( & FileInfo -> ModificationTime , posix_time ) ; else if ( which == FSW_DNODE_STAT_ATIME ) fsw_efi_decode_time ( & FileInfo -> LastAccessTime , posix_time ) ; }
Time mapping callback for the fsw_dnode_stat call.
Time mapping callback for the fsw_dnode_stat call .