Lines Matching refs:new_bh
123 struct buffer_head *new_bh;
130 new_bh = affs_getzeroblk(sb, blocknr);
131 if (!new_bh) {
136 AFFS_HEAD(new_bh)->ptype = cpu_to_be32(T_LIST);
137 AFFS_HEAD(new_bh)->key = cpu_to_be32(blocknr);
138 AFFS_TAIL(sb, new_bh)->stype = cpu_to_be32(ST_FILE);
139 AFFS_TAIL(sb, new_bh)->parent = cpu_to_be32(inode->i_ino);
140 affs_fix_checksum(sb, new_bh);
142 mark_buffer_dirty_inode(new_bh, inode);
154 return new_bh;