Home
last modified time | relevance | path

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

/linux/fs/befs/
H A Dsuper.c23 struct befs_sb_info *befs_sb = BEFS_SB(sb); in befs_load_sb() local
27 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 …]
H A Dio.c31 struct 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()
H A Ddatastream.c177 struct befs_sb_info *befs_sb = BEFS_SB(sb); in befs_count_blocks() local
181 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()