Searched refs:parent_dir (Results 1 – 1 of 1) sorted by relevance
284 struct vfs_dir_entry_t *parent_dir = vfs_path_walk(buf, 0); in vfs_mkdir() local286 if (parent_dir == NULL) in vfs_mkdir()301 spin_lock(&parent_dir->lockref.lock); in vfs_mkdir()312 subdir_dentry->parent = parent_dir; in vfs_mkdir()315 spin_lock(&parent_dir->dir_inode->lockref.lock); in vfs_mkdir()316 retval = parent_dir->dir_inode->inode_ops->mkdir(parent_dir->dir_inode, subdir_dentry, 0); in vfs_mkdir()317 spin_unlock(&parent_dir->dir_inode->lockref.lock); in vfs_mkdir()321 if (vfs_dentry_put(parent_dir) != 0) // 释放dentry in vfs_mkdir()322 spin_unlock(&parent_dir->lockref.lock); in vfs_mkdir()327 struct List *target_list = &parent_dir->subdirs_list; in vfs_mkdir()[all …]