Home
last modified time | relevance | path

Searched refs:block_device (Results 1 – 10 of 10) sorted by relevance

/DragonOS-0.1.2/kernel/src/filesystem/fat32/
Dfat_ent.h34 uint32_t fat32_read_FAT_entry(struct block_device * blk, fat32_sb_info_t *fsbi, uint32_t cluster);
45 int fat32_write_FAT_entry(struct block_device * blk, fat32_sb_info_t *fsbi, uint32_t cluster, uint3…
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);
Dfat_ent.c23 struct block_device *blk = inode->sb->blk_device; in fat32_alloc_clusters()
126 uint32_t fat32_read_FAT_entry(struct block_device *blk, fat32_sb_info_t *fsbi, uint32_t cluster) in fat32_read_FAT_entry()
152 int fat32_write_FAT_entry(struct block_device *blk, fat32_sb_info_t *fsbi, uint32_t cluster, uint32… in fat32_write_FAT_entry()
195 struct block_device *blk = parent_inode->sb->blk_device; in fat32_find_empty_dentry()
Dfat32.c33 struct vfs_superblock_t *fat32_register_partition(struct block_device *blk_dev, uint8_t part_num) in fat32_register_partition()
61 struct block_device *blk = parent_inode->sb->blk_device; in __fat32_search_long_short()
373 struct vfs_superblock_t *fat32_read_superblock(struct block_device *blk) in fat32_read_superblock()
578 struct block_device *blk = file_ptr->dEntry->dir_inode->sb->blk_device; in fat32_read()
666 struct block_device *blk = file_ptr->dEntry->dir_inode->sb->blk_device; in fat32_write()
879 struct block_device *blk = inode->sb->blk_device; in fat32_create()
988 struct block_device *blk = inode->sb->blk_device; in fat32_mkdir()
1161 struct block_device *blk = file_ptr->dEntry->dir_inode->sb->blk_device; in fat32_readdir()
/DragonOS-0.1.2/kernel/src/common/
Dblk_types.h65 struct block_device struct
88 struct block_device *partition; // 磁盘分区数组 argument
/DragonOS-0.1.2/kernel/src/filesystem/VFS/
DVFS.h64 struct block_device *blk_device;
117 struct block_device *blk); // 解析文件系统引导扇区的函数,为文件系统创建超级块结构。
213 struct vfs_superblock_t *vfs_mount_fs(const char *path, char *name, struct block_device *blk);
DVFS.c30 struct vfs_superblock_t *vfs_mount_fs(const char *path, char *name, struct block_device *blk) in vfs_mount_fs()
/DragonOS-0.1.2/kernel/src/filesystem/devfs/
Ddevfs.c34 struct vfs_superblock_t *devfs_read_superblock(struct block_device *blk) in devfs_read_superblock()
/DragonOS-0.1.2/kernel/src/driver/disk/ahci/
Dahci.c119 …ahci_gendisk0.partition = (struct block_device *)kzalloc(ahci_gendisk0.part_cnt * sizeof(struct bl… in ahci_init_gendisk()
/DragonOS-0.1.2/kernel/src/filesystem/procfs/
Dprocfs.c41 struct vfs_superblock_t *procfs_read_superblock(struct block_device *blk) in procfs_read_superblock()