Searched refs:iaddr (Results 1 – 3 of 3) sorted by relevance
118 iaddr2blockno(struct super_block *sb, befs_inode_addr * iaddr) in iaddr2blockno() argument120 return ((iaddr->allocation_group << BEFS_SB(sb)->ag_shift) + in iaddr2blockno()121 iaddr->start); in iaddr2blockno()127 befs_inode_addr iaddr; in blockno2iaddr() local128 iaddr.allocation_group = blockno >> BEFS_SB(sb)->ag_shift; in blockno2iaddr()129 iaddr.start = in blockno2iaddr()130 blockno - (iaddr.allocation_group << BEFS_SB(sb)->ag_shift); in blockno2iaddr()131 iaddr.len = 1; in blockno2iaddr()133 return iaddr; in blockno2iaddr()143 befs_iaddr_is_empty(befs_inode_addr * iaddr) in befs_iaddr_is_empty() argument[all …]
27 befs_bread_iaddr(struct super_block *sb, befs_inode_addr iaddr) in befs_bread_iaddr() argument35 iaddr.allocation_group, 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()
6 befs_inode_addr iaddr);