#include "fs.h"#include <string.h>#include <minix/com.h>#include "buf.h"#include "inode.h"#include "super.h"#include "const.h"Include dependency graph for super.c:

Go to the source code of this file.
Functions | |
| PUBLIC bit_t | alloc_bit (struct super_block *sp, int map, bit_t origin) |
| PUBLIC void | free_bit (struct super_block *sp, int map, bit_t bit_returned) |
| PUBLIC struct super_block * | get_super (dev_t dev) |
| PUBLIC int | get_block_size (dev_t dev) |
| PUBLIC int | mounted (struct inode *rip) |
| PUBLIC int | read_super (struct super_block *sp) |
|
||||||||||||||||
|
Definition at line 25 of file super.c. References b, bcount, bp, conv2(), DIRTY, FS_BITCHUNK_BITS, FS_BITMAP_CHUNKS, FS_BITS_PER_BLOCK, get_block(), i, IMAP, k, MAP_BLOCK, NO_BIT, NO_NUM, NORMAL, panic, put_block(), and START_BLOCK. Referenced by alloc_inode(), and alloc_zone(). |
|
||||||||||||||||
|
Definition at line 101 of file super.c. References bp, conv2(), DIRTY, FS_BITCHUNK_BITS, FS_BITS_PER_BLOCK, get_block(), IMAP, k, MAP_BLOCK, NO_NUM, NORMAL, panic, put_block(), and START_BLOCK. Referenced by alloc_inode(), free_inode(), and free_zone(). |
|
|
|
|
|
Definition at line 146 of file super.c. References NIL_SUPER, NO_DEV, NO_NUM, NR_SUPERS, panic, and sp. |
|
|
Definition at line 190 of file super.c. References dev, FALSE, if(), NR_SUPERS, root_dev, sp, and TRUE. Referenced by do_close(). |
|
|
Definition at line 210 of file super.c. References _MAX_BLOCK_SIZE, _MIN_BLOCK_SIZE, _STATIC_BLOCK_SIZE, BYTE_SWAP, conv2(), conv4(), dev, dev_io(), DEV_READ, EINVAL, FS_PROC_NR, magic, memcpy(), NO_DEV, NO_NUM, OK, panic, printf, r, SUPER_BLOCK_BYTES, SUPER_MAGIC, SUPER_SIZE, SUPER_V2, SUPER_V3, V1, V1_INDIRECTS, V1_INODE_SIZE, V1_INODES_PER_BLOCK, V1_NR_DZONES, V2, V2_INDIRECTS, V2_INODE_SIZE, V2_INODES_PER_BLOCK, V2_NR_DZONES, V3, and version. Referenced by init_root(). |
1.4.6