OvmfPkg/FswHfsPlus/fsw_hfsplus.c
/* Get in-depth dnode information. The core ensures fsw_hfsplus_dno_fill()
 * has been called on the dnode before this function is called. Note that some
 * data is not directly stored into the structure, but passed to a host-specific
 * callback that converts it to the host-specific format.
 */
Get in-depth dnode information. The core ensures fsw_hfsplus_dno_fill()
has been called on the dnode before this function is called. Note that some
data is not directly stored into the structure, but passed to a host-specific
callback that converts it to the host-specific format.
Get in - depth dnode information . The core ensures fsw_hfsplus_dno_fill () has been called on the dnode before this function is called . Note that some data is not directly stored into the structure but passed to a host - specific callback that converts it to the host - specific format .
static fsw_status_t
fsw_hfsplus_dno_stat(struct fsw_hfsplus_volume *v, struct fsw_hfsplus_dnode *d,
                     struct fsw_dnode_stat *s)
{
    s->used_bytes = d->g.size;
    s->store_attr_posix(s, 0500);
    s->store_time_posix(s, FSW_DNODE_STAT_CTIME, fsw_hfsplus_posix_time(d->ct));
    s->store_time_posix(s, FSW_DNODE_STAT_MTIME, fsw_hfsplus_posix_time(d->mt));
    s->store_time_posix(s, FSW_DNODE_STAT_ATIME, fsw_hfsplus_posix_time(d->at));
    return FSW_SUCCESS;
}
static fsw_status_t fsw_hfsplus_dno_stat ( struct fsw_hfsplus_volume * v , struct fsw_hfsplus_dnode * d , struct fsw_dnode_stat * s ) { s -> used_bytes = d -> g . size ; s -> store_attr_posix ( s , 0500 ) ; s -> store_time_posix ( s , FSW_DNODE_STAT_CTIME , fsw_hfsplus_posix_time ( d -> ct ) ) ; s -> store_time_posix ( s , FSW_DNODE_STAT_MTIME , fsw_hfsplus_posix_time ( d -> mt ) ) ; s -> store_time_posix ( s , FSW_DNODE_STAT_ATIME , fsw_hfsplus_posix_time ( d -> at ) ) ; return FSW_SUCCESS ; }
Get in-depth dnode information.
Get in - depth dnode information .