Searched refs:befs_sb (Results 1 – 4 of 4) sorted by relevance
23 struct befs_sb_info *befs_sb = BEFS_SB(sb); in befs_load_sb() local27 befs_sb->byte_order = BEFS_BYTESEX_LE; in befs_load_sb()29 befs_sb->byte_order = BEFS_BYTESEX_BE; in befs_load_sb()31 befs_sb->magic1 = fs32_to_cpu(sb, disk_sb->magic1); in befs_load_sb()32 befs_sb->magic2 = fs32_to_cpu(sb, disk_sb->magic2); in befs_load_sb()33 befs_sb->magic3 = fs32_to_cpu(sb, disk_sb->magic3); in befs_load_sb()34 befs_sb->block_size = fs32_to_cpu(sb, disk_sb->block_size); in befs_load_sb()35 befs_sb->block_shift = fs32_to_cpu(sb, disk_sb->block_shift); in befs_load_sb()36 befs_sb->num_blocks = fs64_to_cpu(sb, disk_sb->num_blocks); in befs_load_sb()37 befs_sb->used_blocks = fs64_to_cpu(sb, disk_sb->used_blocks); in befs_load_sb()[all …]
302 struct befs_sb_info *befs_sb = BEFS_SB(sb); in befs_iget() local346 inode->i_uid = befs_sb->mount_opts.use_uid ? in befs_iget()347 befs_sb->mount_opts.uid : in befs_iget()349 inode->i_gid = befs_sb->mount_opts.use_gid ? in befs_iget()350 befs_sb->mount_opts.gid : in befs_iget()377 inode->i_blocks = befs_sb->block_size / VFS_BLOCK_SIZE; in befs_iget()388 num_blks * (befs_sb->block_size / VFS_BLOCK_SIZE); in befs_iget()771 struct befs_sb_info *befs_sb = BEFS_SB(root->d_sb); in befs_show_options() local772 struct befs_mount_options *opts = &befs_sb->mount_opts; in befs_show_options()812 struct befs_sb_info *befs_sb; in befs_fill_super() local[all …]
31 struct befs_sb_info *befs_sb = BEFS_SB(sb); in befs_bread_iaddr() local37 if (iaddr.allocation_group > befs_sb->num_ags) { in befs_bread_iaddr()39 iaddr.allocation_group, befs_sb->num_ags); in befs_bread_iaddr()
177 struct befs_sb_info *befs_sb = BEFS_SB(sb); in befs_count_blocks() local181 datablocks = ds->size >> befs_sb->block_shift; in befs_count_blocks()182 if (ds->size & (befs_sb->block_size - 1)) in befs_count_blocks()208 dbl_bytes / (befs_sb->block_size * BEFS_DBLINDIR_BRUN_LEN); in befs_count_blocks()