view src/impl/fs_impl.h @ 302:bc2f3d24faa9

add fs_impl_private
author menikon
date Thu, 30 Jan 2020 17:14:45 +0900
parents 08a367c3124a
children 5217253368ad
line wrap: on
line source

typedef struct fs_impl<Type, Isa> impl fs{
    union Data* fs_impl;
    struct superblock* sb;
    uint dev;
    short type;
    struct buf* bp;
    struct dinode* dip;
    int inum;

    __code allocinode(Type* fs_impl, uint dev, short type, __code next(...));
    __code allocinode_loop(Type* fs_impl, int inum, uint dev, struct superblock* sb, struct buf* bp, struct dinode* dip, __code next(...));
    __code next(...);
} fs_impl;