Lines Matching refs:iaddr
118 iaddr2blockno(struct super_block *sb, befs_inode_addr * iaddr) in iaddr2blockno() argument
120 return ((iaddr->allocation_group << BEFS_SB(sb)->ag_shift) + in iaddr2blockno()
121 iaddr->start); in iaddr2blockno()
127 befs_inode_addr iaddr; in blockno2iaddr() local
128 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
145 return (!iaddr->allocation_group) && (!iaddr->start) && (!iaddr->len); in befs_iaddr_is_empty()