Searched refs:sb (Results 1 – 9 of 9) sorted by relevance
21 fat32_sb_info_t *fsbi = (fat32_sb_info_t *)inode->sb->private_sb_info; in fat32_alloc_clusters()23 struct block_device *blk = inode->sb->blk_device; in fat32_alloc_clusters()64 inode->sb->sb_ops->write_inode(inode); in fat32_alloc_clusters()191 fat32_sb_info_t *fsbi = (fat32_sb_info_t *)parent_inode->sb->private_sb_info; in fat32_find_empty_dentry()195 struct block_device *blk = parent_inode->sb->blk_device; in fat32_find_empty_dentry()436 struct vfs_superblock_t *sb = dir->sb; in fat32_remove_entries() local438 fat32_sb_info_t *fsbi = (fat32_sb_info_t *)sb->private_sb_info; in fat32_remove_entries()456 …sb->blk_device->bd_disk->fops->transfer(sb->blk_device->bd_disk, AHCI_CMD_WRITE_DMA_EXT, sinfo->i_… in fat32_remove_entries()466 next_clus = fat32_read_FAT_entry(sb->blk_device, fsbi, data_cluster); in fat32_remove_entries()469 retval = fat32_write_FAT_entry(sb->blk_device, fsbi, data_cluster, 0); in fat32_remove_entries()
60 fat32_sb_info_t *fsbi = (fat32_sb_info_t *)parent_inode->sb->private_sb_info; in __fat32_search_long_short()61 struct block_device *blk = parent_inode->sb->blk_device; in __fat32_search_long_short()319 fat32_sb_info_t *fsbi = (fat32_sb_info_t *)parent_inode->sb->private_sb_info; in fat32_lookup()335 p->sb = parent_inode->sb; in fat32_lookup()434 sb_ptr->root->dir_inode->sb = sb_ptr; // 反向绑定对应的超级块 in fat32_read_superblock()457 void fat32_write_superblock(struct vfs_superblock_t *sb) in fat32_write_superblock() argument466 void fat32_put_superblock(struct vfs_superblock_t *sb) in fat32_put_superblock() argument468 kfree(sb->private_sb_info); in fat32_put_superblock()469 kfree(sb->root->dir_inode->private_inode_info); in fat32_put_superblock()470 kfree(sb->root->dir_inode); in fat32_put_superblock()[all …]
52 static void procfs_write_superblock(struct vfs_superblock_t *sb) in procfs_write_superblock() argument56 static void procfs_put_superblock(struct vfs_superblock_t *sb) in procfs_put_superblock() argument357 inode->sb = parent_inode->sb; in procfs_create()398 inode->sb = parent_inode->sb; in procfs_mkdir()426 procfs_root_dentry->dir_inode->sb = &procfs_sb; in __procfs_init_root_inode()
119 void (*write_superblock)(struct vfs_superblock_t *sb);120 void (*put_superblock)(struct vfs_superblock_t *sb);156 struct vfs_superblock_t *sb;182 **sb**
79 struct vfs_superblock_t *sb; member123 void (*write_superblock)(struct vfs_superblock_t *sb); // 将超级块信息写入磁盘124 void (*put_superblock)(struct vfs_superblock_t *sb);
45 struct vfs_superblock_t *sb = p->read_superblock(blk); in vfs_mount_fs() local48 vfs_root_sb = sb; in vfs_mount_fs()54 struct vfs_dir_entry_t *new_dentry = sb->root; in vfs_mount_fs()61 return sb; in vfs_mount_fs()
46 static void devfs_write_superblock(struct vfs_superblock_t *sb) { return; } in devfs_write_superblock() argument48 static void devfs_put_superblock(struct vfs_superblock_t *sb) { return; } in devfs_put_superblock() argument165 dEntry->dir_inode->sb = &devfs_sb; in devfs_mkdir()200 devfs_root_dentry->dir_inode->sb = &devfs_sb; in __devfs_init_root_inode()
79 dentry->dir_inode->sb = &devfs_sb; in __devfs_fill_inode()
152 dentry->dir_inode->sb = &rootfs_sb; in rootfs_init()