Searched refs:befs_sb (Results 1 – 4 of 4) sorted by relevance
/fs/befs/ |
D | super.c | 27 befs_sb_info *befs_sb = BEFS_SB(sb); in befs_load_sb() local 31 befs_sb->byte_order = BEFS_BYTESEX_LE; in befs_load_sb() 33 befs_sb->byte_order = BEFS_BYTESEX_BE; in befs_load_sb() 35 befs_sb->magic1 = fs32_to_cpu(sb, disk_sb->magic1); in befs_load_sb() 36 befs_sb->magic2 = fs32_to_cpu(sb, disk_sb->magic2); in befs_load_sb() 37 befs_sb->magic3 = fs32_to_cpu(sb, disk_sb->magic3); in befs_load_sb() 38 befs_sb->block_size = fs32_to_cpu(sb, disk_sb->block_size); in befs_load_sb() 39 befs_sb->block_shift = fs32_to_cpu(sb, disk_sb->block_shift); in befs_load_sb() 40 befs_sb->num_blocks = fs64_to_cpu(sb, disk_sb->num_blocks); in befs_load_sb() 41 befs_sb->used_blocks = fs64_to_cpu(sb, disk_sb->used_blocks); in befs_load_sb() [all …]
|
D | linuxvfs.c | 309 befs_sb_info *befs_sb = BEFS_SB(sb); in befs_iget() local 354 inode->i_uid = befs_sb->mount_opts.use_uid ? in befs_iget() 355 befs_sb->mount_opts.uid : (uid_t) fs32_to_cpu(sb, raw_inode->uid); in befs_iget() 356 inode->i_gid = befs_sb->mount_opts.use_gid ? in befs_iget() 357 befs_sb->mount_opts.gid : (gid_t) fs32_to_cpu(sb, raw_inode->gid); in befs_iget() 383 inode->i_blocks = befs_sb->block_size / VFS_BLOCK_SIZE; in befs_iget() 395 num_blks * (befs_sb->block_size / VFS_BLOCK_SIZE); in befs_iget() 764 befs_sb_info *befs_sb; in befs_fill_super() local 773 sb->s_fs_info = kmalloc(sizeof (*befs_sb), GFP_KERNEL); in befs_fill_super() 780 befs_sb = BEFS_SB(sb); in befs_fill_super() [all …]
|
D | io.c | 31 befs_sb_info *befs_sb = BEFS_SB(sb); in befs_bread_iaddr() local 37 if (iaddr.allocation_group > befs_sb->num_ags) { in befs_bread_iaddr() 39 iaddr.allocation_group, befs_sb->num_ags); in befs_bread_iaddr()
|
D | datastream.c | 170 befs_sb_info *befs_sb = BEFS_SB(sb); in befs_count_blocks() local 174 datablocks = ds->size >> befs_sb->block_shift; in befs_count_blocks() 175 if (ds->size & (befs_sb->block_size - 1)) in befs_count_blocks() 201 dbl_bytes / (befs_sb->block_size * BEFS_DBLINDIR_BRUN_LEN); in befs_count_blocks() 429 befs_sb_info *befs_sb = BEFS_SB(sb); in befs_find_brun_dblindirect() local 432 data->max_indirect_range >> befs_sb->block_shift; in befs_find_brun_dblindirect()
|