Lines Matching refs:dir_bh
29 struct buffer_head *dir_bh; in affs_insert_hash() local
38 dir_bh = affs_bread(sb, dir->i_ino); in affs_insert_hash()
39 if (!dir_bh) in affs_insert_hash()
42 hash_ino = be32_to_cpu(AFFS_HEAD(dir_bh)->table[offset]); in affs_insert_hash()
44 affs_brelse(dir_bh); in affs_insert_hash()
45 dir_bh = affs_bread(sb, hash_ino); in affs_insert_hash()
46 if (!dir_bh) in affs_insert_hash()
48 hash_ino = be32_to_cpu(AFFS_TAIL(sb, dir_bh)->hash_chain); in affs_insert_hash()
54 if (dir->i_ino == dir_bh->b_blocknr) in affs_insert_hash()
55 AFFS_HEAD(dir_bh)->table[offset] = cpu_to_be32(ino); in affs_insert_hash()
57 AFFS_TAIL(sb, dir_bh)->hash_chain = cpu_to_be32(ino); in affs_insert_hash()
59 affs_adjust_checksum(dir_bh, ino); in affs_insert_hash()
60 mark_buffer_dirty_inode(dir_bh, dir); in affs_insert_hash()
61 affs_brelse(dir_bh); in affs_insert_hash()