正在加载图片...
smnttail%链表尾的单项链表中增加或删除一个 amount节参 了文件系统的注册和注销操作时,将在以 vfsmntlist为链表头 具体数据结构如下 r static struct vfsmount vfsmntlist =(static struct vfsmount NULL, r static struct vfsmount * vfsmnttail=(static struct vfsmount *)NUL/*尾* r static struct vfsmount *mru-vfsmnt =(static struct vfsmount * )NULL;/ 米当 前 r struct vfsmount t kdey t mnt dev;/*文件系统所在的主次设备号* cha* mnt devname;/*文件系统所在的设备名,*/ char* mnt dirname;/*安装目录名*/ unsigned int mnt_ flags;/*设备标志,如ro* struct semaphore mnt_ sen;/*设备有关的信号量*/ struct super_ block* mnt sb;/*指向超级块* struct file* mnt_ quotas[MAXQUOTAS];/*指向配额文件的指针 r time-t mnt_jexpIMAXQUOTAS]: / expiretime for inodes * time t mnt bexp[MAXQUOTAS]: / expiretime for blocks k struct vfsmount* mnt next;/*后继指针*文件系统的注册和注销操作时,将在以vfsmntlist为链表头和 vfsmnttail为链表尾的单项链表中增加或删除一个vfsmount节点, 具体数据结构如下: static struct vfsmount vfsmntlist = (static struct vfsmount )NULL; static struct vfsmount *vfsmnttail = (static struct vfsmount *)NULL; /* 尾 */ static struct vfsmount *mru_vfsmnt = (static struct vfsmount *)NULL; /*当前*/ struct vfsmount { kdev_t mnt_dev; /* 文件系统所在的主次设备号 */ char* mnt_devname;/*文件系统所在的设备名, */ char* mnt_dirname;/* 安装目录名 */ unsigned int mnt_flags;/* 设备标志,如ro */ struct semaphore mnt_sem;/* 设备有关的信号量 */ struct super_block* mnt_sb;/* 指向超级块 */ struct file* mnt_quotas[MAXQUOTAS];/*指向配额文件的指针 time_t mnt_iexp[MAXQUOTAS]; /* expiretime for inodes */ time_t mnt_bexp[MAXQUOTAS]; /* expiretime for blocks */ struct vfsmount* mnt_next; /* 后继指针 */ };
<<向上翻页向下翻页>>
©2008-现在 cucdc.com 高等教育资讯网 版权所有