Lines Matching refs:tail
22 struct affs_tail *tail; in affs_iget() local
50 tail = AFFS_TAIL(sb, bh); in affs_iget()
51 prot = be32_to_cpu(tail->protect); in affs_iget()
76 id = be16_to_cpu(tail->uid); in affs_iget()
84 id = be16_to_cpu(tail->gid); in affs_iget()
92 switch (be32_to_cpu(tail->stype)) { in affs_iget()
98 if (be32_to_cpu(tail->stype) == ST_USERDIR || in affs_iget()
127 size = be32_to_cpu(tail->size); in affs_iget()
136 if (tail->link_chain) in affs_iget()
153 = (be32_to_cpu(tail->change.days) * 86400LL + in affs_iget()
154 be32_to_cpu(tail->change.mins) * 60 + in affs_iget()
155 be32_to_cpu(tail->change.ticks) / 50 + in affs_iget()
174 struct affs_tail *tail; in affs_write_inode() local
188 tail = AFFS_TAIL(sb, bh); in affs_write_inode()
189 if (tail->stype == cpu_to_be32(ST_ROOT)) { in affs_write_inode()
193 tail->protect = cpu_to_be32(AFFS_I(inode)->i_protect); in affs_write_inode()
194 tail->size = cpu_to_be32(inode->i_size); in affs_write_inode()
195 affs_secs_to_datestamp(inode->i_mtime.tv_sec, &tail->change); in affs_write_inode()
206 tail->uid = cpu_to_be16(uid); in affs_write_inode()
208 tail->gid = cpu_to_be16(gid); in affs_write_inode()