Lines Matching refs:AFFS_TAIL
31 offset = affs_hash_name(sb, AFFS_TAIL(sb, bh)->name + 1, AFFS_TAIL(sb, bh)->name[0]); in affs_insert_hash()
45 hash_ino = be32_to_cpu(AFFS_TAIL(sb, dir_bh)->hash_chain); in affs_insert_hash()
47 AFFS_TAIL(sb, bh)->parent = cpu_to_be32(dir->i_ino); in affs_insert_hash()
48 AFFS_TAIL(sb, bh)->hash_chain = 0; in affs_insert_hash()
54 AFFS_TAIL(sb, dir_bh)->hash_chain = cpu_to_be32(ino); in affs_insert_hash()
82 offset = affs_hash_name(sb, AFFS_TAIL(sb, rem_bh)->name+1, AFFS_TAIL(sb, rem_bh)->name[0]); in affs_remove_hash()
94 ino = AFFS_TAIL(sb, rem_bh)->hash_chain; in affs_remove_hash()
98 AFFS_TAIL(sb, bh)->hash_chain = ino; in affs_remove_hash()
101 AFFS_TAIL(sb, rem_bh)->parent = 0; in affs_remove_hash()
109 hash_ino = be32_to_cpu(AFFS_TAIL(sb, bh)->hash_chain); in affs_remove_hash()
158 link_ino = be32_to_cpu(AFFS_TAIL(sb, bh)->link_chain); in affs_remove_link()
163 dir = affs_iget(sb, be32_to_cpu(AFFS_TAIL(sb, link_bh)->parent)); in affs_remove_link()
182 memcpy(AFFS_TAIL(sb, bh)->name, AFFS_TAIL(sb, link_bh)->name, 32); in affs_remove_link()
198 while ((ino = be32_to_cpu(AFFS_TAIL(sb, bh)->link_chain)) != 0) { in affs_remove_link()
200 __be32 ino2 = AFFS_TAIL(sb, link_bh)->link_chain; in affs_remove_link()
201 AFFS_TAIL(sb, bh)->link_chain = ino2; in affs_remove_link()
206 switch (be32_to_cpu(AFFS_TAIL(sb, bh)->stype)) { in affs_remove_link()
211 if (!AFFS_TAIL(sb, bh)->link_chain) in affs_remove_link()
287 switch (be32_to_cpu(AFFS_TAIL(sb, bh)->stype)) { in affs_remove_header()