Home
last modified time | relevance | path

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

/fs/befs/
Dbefs.h123 iaddr2blockno(struct super_block *sb, const befs_inode_addr *iaddr) in iaddr2blockno() argument
125 return ((iaddr->allocation_group << BEFS_SB(sb)->ag_shift) + in iaddr2blockno()
126 iaddr->start); in iaddr2blockno()
132 befs_inode_addr iaddr; in blockno2iaddr() local
134 iaddr.allocation_group = blockno >> BEFS_SB(sb)->ag_shift; in blockno2iaddr()
135 iaddr.start = in blockno2iaddr()
136 blockno - (iaddr.allocation_group << BEFS_SB(sb)->ag_shift); in blockno2iaddr()
137 iaddr.len = 1; in blockno2iaddr()
139 return iaddr; in blockno2iaddr()
Dio.c27 befs_bread_iaddr(struct super_block *sb, befs_inode_addr iaddr) in befs_bread_iaddr() argument
34 "[%u, %hu, %hu]", __func__, iaddr.allocation_group, in befs_bread_iaddr()
35 iaddr.start, iaddr.len); in befs_bread_iaddr()
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()
43 block = iaddr2blockno(sb, &iaddr); in befs_bread_iaddr()
Dio.h6 befs_inode_addr iaddr);