Lines Matching refs:attr_file
53 static void hfsplus_init_header_node(struct inode *attr_file, in hfsplus_init_header_node() argument
81 tmp = i_size_read(attr_file); in hfsplus_init_header_node()
125 struct inode *attr_file; in hfsplus_create_attributes_file() local
169 attr_file = hfsplus_iget(sb, HFSPLUS_ATTR_CNID); in hfsplus_create_attributes_file()
170 if (IS_ERR(attr_file)) { in hfsplus_create_attributes_file()
172 return PTR_ERR(attr_file); in hfsplus_create_attributes_file()
175 BUG_ON(i_size_read(attr_file) != 0); in hfsplus_create_attributes_file()
177 hip = HFSPLUS_I(attr_file); in hfsplus_create_attributes_file()
194 err = hfsplus_file_extend(attr_file, false); in hfsplus_create_attributes_file()
199 hip->phys_size = attr_file->i_size = in hfsplus_create_attributes_file()
202 inode_set_bytes(attr_file, attr_file->i_size); in hfsplus_create_attributes_file()
212 hfsplus_init_header_node(attr_file, clump_size, buf, node_size); in hfsplus_create_attributes_file()
214 mapping = attr_file->i_mapping; in hfsplus_create_attributes_file()
236 hfsplus_mark_inode_dirty(attr_file, HFSPLUS_I_ATTR_DIRTY); in hfsplus_create_attributes_file()
246 iput(attr_file); in hfsplus_create_attributes_file()