Lines Matching defs:dir
176 int hfsplus_create_cat(u32 cnid, struct inode *dir, struct qstr *str, struct inode *inode)
185 sb = dir->i_sb;
191 dir->i_ino, str);
202 hfsplus_cat_build_key(sb, fd.search_key, dir->i_ino, str);
215 dir->i_size++;
216 dir->i_mtime = dir->i_ctime = CURRENT_TIME_SEC;
217 mark_inode_dirty(dir);
230 int hfsplus_delete_cat(u32 cnid, struct inode *dir, struct qstr *str)
240 sb = dir->i_sb;
252 fd.search_key->cat.parent = cpu_to_be32(dir->i_ino);
258 hfsplus_cat_build_key(sb, fd.search_key, dir->i_ino, str);
272 list_for_each(pos, &HFSPLUS_I(dir).open_dir_list) {
292 dir->i_size--;
293 dir->i_mtime = dir->i_ctime = CURRENT_TIME_SEC;
294 mark_inode_dirty(dir);
317 /* find the old dir entry and read the data */
326 /* create new dir entry with the data from the old entry */