#include "fs.h"#include "buf.h"#include "file.h"#include "fproc.h"#include "inode.h"#include "super.h"Include dependency graph for inode.c:

Go to the source code of this file.
Functions | |
| FORWARD | _PROTOTYPE (void old_icopy,(struct inode *rip, d1_inode *dip, int direction, int norm)) |
| FORWARD | _PROTOTYPE (void new_icopy,(struct inode *rip, d2_inode *dip, int direction, int norm)) |
| PUBLIC struct inode * | get_inode (dev_t dev, int numb) |
| PUBLIC void | put_inode (struct inode *rip) |
| PUBLIC struct inode * | alloc_inode (dev_t dev, mode_t bits) |
| PUBLIC void | wipe_inode (struct inode *rip) |
| PUBLIC void | free_inode (dev_t dev, ino_t inumb) |
| PUBLIC void | update_times (struct inode *rip) |
| PUBLIC void | rw_inode (struct inode *rip, int rw_flag) |
| PRIVATE void | old_icopy (struct inode *rip, d1_inode *dip, int direction, int norm) |
| PRIVATE void | new_icopy (struct inode *rip, d2_inode *dip, int direction, int norm) |
| PUBLIC void | dup_inode (struct inode *ip) |
|
||||||||||||
|
|
|
||||||||||||
|
|
|
||||||||||||
|
Definition at line 104 of file inode.c. References alloc_bit(), b, BYTE, ENFILE, EROFS, err_code, fp, free_bit(), get_inode(), get_super(), inode::i_dev, inode::i_gid, inode::i_mode, inode::i_ndzones, inode::i_nindirs, inode::i_nlinks, inode::i_sp, inode::i_uid, IMAP, int(), MAJOR, major, MINOR, minor, NIL_INODE, NO_BIT, NO_DEV, printf, root_dev, sp, and wipe_inode(). |
|
|
Definition at line 358 of file inode.c. Referenced by do_chdir(), do_fchdir(), do_fork(), do_pipe(), do_rename(), fs_init(), ltraverse(), parse_path(), and unlink_file(). |
|
||||||||||||
|
Definition at line 180 of file inode.c. References b, free_bit(), get_super(), IMAP, super_block::s_isearch, and sp. Referenced by put_inode(). |
|
||||||||||||
|
Definition at line 34 of file inode.c. References inode::i_count, inode::i_dev, inode::i_num, if(), NIL_INODE, and NR_INODES. |
|
||||||||||||||||||||
|
Definition at line 315 of file inode.c. References conv2(), conv4(), i, READING, V2_INDIRECTS, V2_NR_DZONES, and V2_NR_TZONES. |
|
||||||||||||||||||||
|
Definition at line 269 of file inode.c. References conv2(), conv4(), i, READING, V1_INDIRECTS, V1_NR_DZONES, and V1_NR_TZONES. |
|
|
Definition at line 77 of file inode.c. References DIRTY, free_inode(), I_NOT_ALLOC, I_PIPE, NIL_INODE, NO_PIPE, rw_inode(), truncate_inode(), and WRITING. |
|
||||||||||||
|
Definition at line 226 of file inode.c. References b, bp, CLEAN, DIRTY, FALSE, get_block(), get_super(), INODE_BLOCK, new_icopy(), NORMAL, offset, old_icopy(), put_block(), sp, update_times(), V1, V1_INODES_PER_BLOCK, V2_INODES_PER_BLOCK, and WRITING. |
|
|
Definition at line 200 of file inode.c. References ATIME, clock_time(), CTIME, MTIME, sp, and time_t. Referenced by rw_inode(), and stat_inode(). |
|
|
Definition at line 161 of file inode.c. References ATIME, CTIME, DIRTY, i, MTIME, NO_ZONE, and V2_NR_TZONES. Referenced by alloc_inode(), common_open(), and truncate_inode(). |
1.4.6