Home
last modified time | relevance | path

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

/DragonOS-0.1.2/kernel/src/filesystem/fat32/
Dfat32.c380 …struct vfs_superblock_t *sb_ptr = (struct vfs_superblock_t *)kzalloc(sizeof(struct vfs_superblock_… in fat32_read_superblock() local
381 blk->bd_superblock = sb_ptr; in fat32_read_superblock()
382 sb_ptr->sb_ops = &fat32_sb_ops; in fat32_read_superblock()
383 sb_ptr->dir_ops = &fat32_dEntry_ops; in fat32_read_superblock()
384 sb_ptr->private_sb_info = kzalloc(sizeof(fat32_sb_info_t), 0); in fat32_read_superblock()
385 sb_ptr->blk_device = blk; in fat32_read_superblock()
389 fat32_sb_info_t *fsbi = (fat32_sb_info_t *)(sb_ptr->private_sb_info); in fat32_read_superblock()
417 sb_ptr->root = vfs_alloc_dentry(2); in fat32_read_superblock()
419 sb_ptr->root->parent = sb_ptr->root; in fat32_read_superblock()
420 sb_ptr->root->dir_ops = &fat32_dEntry_ops; in fat32_read_superblock()
[all …]