Remove struct uinode.
Remove type arg to mknod (assume T_DEV).
This commit is contained in:
parent
fa1b34106a
commit
07090dd705
10 changed files with 129 additions and 140 deletions
18
defs.h
18
defs.h
|
|
@ -6,7 +6,6 @@ struct pipe;
|
|||
struct proc;
|
||||
struct spinlock;
|
||||
struct stat;
|
||||
struct uinode;
|
||||
|
||||
// 8253pit.c
|
||||
void pit8253_timerinit(void);
|
||||
|
|
@ -37,17 +36,18 @@ int filewrite(struct file*, char*, int n);
|
|||
|
||||
// fs.c
|
||||
int dirlink(struct inode*, char*, uint);
|
||||
struct uinode* dirlookup(struct inode*, char*, uint*);
|
||||
struct uinode* ialloc(uint, short);
|
||||
struct uinode* idup(struct uinode*);
|
||||
struct inode* dirlookup(struct inode*, char*, uint*);
|
||||
struct inode* ialloc(uint, short);
|
||||
struct inode* idup(struct inode*);
|
||||
void iinit(void);
|
||||
struct inode* ilock(struct uinode*);
|
||||
struct uinode* iunlock(struct inode*);
|
||||
void iput(struct uinode*);
|
||||
void ilock(struct inode*);
|
||||
void iput(struct inode*);
|
||||
void iunlock(struct inode*);
|
||||
void iunlockput(struct inode*);
|
||||
void iupdate(struct inode*);
|
||||
int namecmp(const char*, const char*);
|
||||
struct uinode* namei(char*);
|
||||
struct uinode* nameiparent(char*, char*);
|
||||
struct inode* namei(char*);
|
||||
struct inode* nameiparent(char*, char*);
|
||||
int readi(struct inode*, char*, uint, uint);
|
||||
void stati(struct inode*, struct stat*);
|
||||
int writei(struct inode*, char*, uint, uint);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue