Changeset b3d7277 in mainline for uspace/lib/ext4/libext4_inode.h


Ignore:
Timestamp:
2011-11-10T09:49:57Z (13 years ago)
Author:
Frantisek Princ <frantisek.princ@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
6088193
Parents:
2b9e142
Message:

getter and setter for inode blocks count

File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/lib/ext4/libext4_inode.h

    r2b9e142 rb3d7277  
    163163*/
    164164extern uint16_t ext4_inode_get_links_count(ext4_inode_t *);
    165 /*
    166 extern uint64_t ext4_inode_get_blocks_count(ext4_inode_t *)
    167 */
     165extern uint64_t ext4_inode_get_blocks_count(ext4_superblock_t *, ext4_inode_t *);
     166extern int ext4_inode_set_blocks_count(ext4_superblock_t *, ext4_inode_t *, uint64_t);
    168167extern uint32_t ext4_inode_get_flags(ext4_inode_t *);
    169 
     168void ext4_inode_set_flags(ext4_inode_t *, uint32_t);
    170169extern uint32_t ext4_inode_get_direct_block(ext4_inode_t *, uint32_t);
    171170extern void ext4_inode_set_direct_block(ext4_inode_t *, uint32_t, uint32_t);
     
    188187extern ext4_extent_header_t * ext4_inode_get_extent_header(ext4_inode_t *);
    189188extern bool ext4_inode_has_flag(ext4_inode_t *, uint32_t);
     189extern void ext4_inode_clear_flag(ext4_inode_t *, uint32_t);
     190extern void ext4_inode_set_flag(ext4_inode_t *, uint32_t);
    190191extern bool ext4_inode_can_truncate(ext4_superblock_t *, ext4_inode_t *);
    191192
Note: See TracChangeset for help on using the changeset viewer.