Lines Matching refs:tail
20 struct affs_tail *tail; in affs_iget() local
48 tail = AFFS_TAIL(sb, bh); in affs_iget()
49 prot = be32_to_cpu(tail->protect); in affs_iget()
74 id = be16_to_cpu(tail->uid); in affs_iget()
82 id = be16_to_cpu(tail->gid); in affs_iget()
90 switch (be32_to_cpu(tail->stype)) { in affs_iget()
96 if (be32_to_cpu(tail->stype) == ST_USERDIR || in affs_iget()
125 size = be32_to_cpu(tail->size); in affs_iget()
134 if (tail->link_chain) in affs_iget()
150 = (be32_to_cpu(tail->change.days) * (24 * 60 * 60) + in affs_iget()
151 be32_to_cpu(tail->change.mins) * 60 + in affs_iget()
152 be32_to_cpu(tail->change.ticks) / 50 + in affs_iget()
171 struct affs_tail *tail; in affs_write_inode() local
185 tail = AFFS_TAIL(sb, bh); in affs_write_inode()
186 if (tail->stype == cpu_to_be32(ST_ROOT)) { in affs_write_inode()
189 tail->protect = cpu_to_be32(AFFS_I(inode)->i_protect); in affs_write_inode()
190 tail->size = cpu_to_be32(inode->i_size); in affs_write_inode()
191 secs_to_datestamp(inode->i_mtime.tv_sec,&tail->change); in affs_write_inode()
202 tail->uid = cpu_to_be16(uid); in affs_write_inode()
204 tail->gid = cpu_to_be16(gid); in affs_write_inode()