Home
last modified time | relevance | path

Searched refs:vfs_superblock_t (Results 1 – 11 of 11) sorted by relevance

/DragonOS-0.1.3/kernel/src/filesystem/vfs/
DVFS.h21 extern struct vfs_superblock_t *vfs_root_sb;
59 struct vfs_superblock_t struct
79 struct vfs_superblock_t *sb; argument
116 struct vfs_superblock_t *(*read_superblock)(
123 void (*write_superblock)(struct vfs_superblock_t *sb); // 将超级块信息写入磁盘
124 void (*put_superblock)(struct vfs_superblock_t *sb);
213 struct vfs_superblock_t *vfs_mount_fs(const char *path, char *name, struct block_device *blk);
DVFS.c18 struct vfs_superblock_t *vfs_root_sb = NULL;
30 struct vfs_superblock_t *vfs_mount_fs(const char *path, char *name, struct block_device *blk) in vfs_mount_fs()
45 struct vfs_superblock_t *sb = p->read_superblock(blk); in vfs_mount_fs()
/DragonOS-0.1.3/docs/kernel/filesystem/vfs/
Doverview.md56 …struct vfs_superblock_t *(*read_superblock)(void *DPTE, uint8_t DPT_type, void *buf, int8_t ahci_c…
83 ### struct vfs_superblock_t
90 struct vfs_superblock_t
119 void (*write_superblock)(struct vfs_superblock_t *sb);
120 void (*put_superblock)(struct vfs_superblock_t *sb);
156 struct vfs_superblock_t *sb;
/DragonOS-0.1.3/kernel/src/filesystem/devfs/
Ddevfs.c16 struct vfs_superblock_t devfs_sb = {0};
34 struct vfs_superblock_t *devfs_read_superblock(struct block_device *blk) in devfs_read_superblock()
46 static void devfs_write_superblock(struct vfs_superblock_t *sb) { return; } in devfs_write_superblock()
48 static void devfs_put_superblock(struct vfs_superblock_t *sb) { return; } in devfs_put_superblock()
Dinternal.h10 extern struct vfs_superblock_t devfs_sb;
/DragonOS-0.1.3/kernel/src/filesystem/fat32/
Dfat32.h193 struct vfs_superblock_t *fat32_register_partition(struct block_device *blk_dev, uint8_t part_num);
201 struct vfs_superblock_t *fat32_read_superblock(struct block_device *blk);
Dfat32.c33 struct vfs_superblock_t *fat32_register_partition(struct block_device *blk_dev, uint8_t part_num) in fat32_register_partition()
373 struct vfs_superblock_t *fat32_read_superblock(struct block_device *blk) in fat32_read_superblock()
380 …struct vfs_superblock_t *sb_ptr = (struct vfs_superblock_t *)kzalloc(sizeof(struct vfs_superblock_… in fat32_read_superblock()
457 void fat32_write_superblock(struct vfs_superblock_t *sb) in fat32_write_superblock()
466 void fat32_put_superblock(struct vfs_superblock_t *sb) in fat32_put_superblock()
1124 struct vfs_superblock_t *sb = dir->sb; in fat32_unlink()
Dfat_ent.c436 struct vfs_superblock_t *sb = dir->sb; in fat32_remove_entries()
/DragonOS-0.1.3/kernel/src/common/
Dblk_types.h70 struct vfs_superblock_t *bd_superblock; // 执行超级块的指针
/DragonOS-0.1.3/kernel/src/filesystem/procfs/
Dprocfs.c14 struct vfs_superblock_t procfs_sb = {0};
41 struct vfs_superblock_t *procfs_read_superblock(struct block_device *blk) in procfs_read_superblock()
52 static void procfs_write_superblock(struct vfs_superblock_t *sb) in procfs_write_superblock()
56 static void procfs_put_superblock(struct vfs_superblock_t *sb) in procfs_put_superblock()
/DragonOS-0.1.3/kernel/src/filesystem/rootfs/
Drootfs.c6 static struct vfs_superblock_t rootfs_sb = {0};
7 extern struct vfs_superblock_t *vfs_root_sb;