summaryrefslogtreecommitdiffstats
path: root/sw/z80/kernel/include/fs/iter.h
blob: 41f011d5854d46516fb3e85257e43cee1f1b5ca7 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
#ifndef __ITER_H__
#define __ITER_H__

struct inode_iter
{
    devsize_t   dev_seek;       /* seek position in the volume */
    devsize_t   blk_end;        /* end of the block */

    int16_t     blk_index;      /* index of the block */

    int8_t      blk_level;      /* recursion level, indirect blocks */
    
    fsize_t     fseek;          /* virtual seek in the file */
    fsize_t     size;           /* file size */
};

#endif  // __ITER_H__