Lines Matching refs:p
40 struct vfs_filesystem_type_t *p = NULL; in vfs_mount_fs() local
41 for (p = &vfs_fs; p; p = p->next) in vfs_mount_fs()
43 if (!strcmp(p->name, name)) // 存在符合的文件系统 in vfs_mount_fs()
45 struct vfs_superblock_t *sb = p->read_superblock(blk); in vfs_mount_fs()
77 struct vfs_filesystem_type_t *p = NULL; in vfs_register_filesystem() local
78 for (p = &vfs_fs; p; p = p->next) in vfs_register_filesystem()
80 if (!strcmp(p->name, fs->name)) // 已经注册相同名称的文件系统 in vfs_register_filesystem()
91 struct vfs_filesystem_type_t *p = &vfs_fs; in vfs_unregister_filesystem() local
92 while (p->next) in vfs_unregister_filesystem()
94 if (p->next == fs) in vfs_unregister_filesystem()
96 p->next = p->next->next; in vfs_unregister_filesystem()
101 p = p->next; in vfs_unregister_filesystem()