super_block.h

来自「阿基米德操作系统的源代码」· C头文件 代码 · 共 22 行

H
22
字号

/////////////////////////////////////////////////////////////////////////////////////
struct super_block {
	unsigned long			s_ninodes;
	unsigned long			s_nzones;
	unsigned long			s_imap_blocks;
	unsigned long			s_zmap_blocks;
	unsigned long			s_firstdatazone;
	unsigned long			s_magic;

	struct buffer_head	*	s_imap[8];
	struct buffer_head	*	s_zmap[8];
	struct m_inode		*	s_driver_root;
	struct m_inode		*	s_driver_pwd;

	unsigned long			start_sect;	/* starting sector counting from 0 */
	unsigned long			nr_sects;		/* nr of sectors in partition      */
};
//////////////////////////////////////////////////////////////////////////////////////


⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?