Home
last modified time | relevance | path

Searched refs:new_dir (Results 1 – 2 of 2) sorted by relevance

/mm/damon/
Ddbgfs.c701 struct dentry *root, **new_dirs, *new_dir; in dbgfs_mk_context() local
723 new_dir = debugfs_create_dir(name, root); in dbgfs_mk_context()
725 if (IS_ERR(new_dir)) in dbgfs_mk_context()
726 return PTR_ERR(new_dir); in dbgfs_mk_context()
727 dbgfs_dirs[dbgfs_nr_ctxs] = new_dir; in dbgfs_mk_context()
731 debugfs_remove(new_dir); in dbgfs_mk_context()
/mm/
Dshmem.c3017 static int shmem_exchange(struct inode *old_dir, struct dentry *old_dentry, struct inode *new_dir, … in shmem_exchange() argument
3022 if (old_dir != new_dir && old_is_dir != new_is_dir) { in shmem_exchange()
3025 inc_nlink(new_dir); in shmem_exchange()
3027 drop_nlink(new_dir); in shmem_exchange()
3032 new_dir->i_ctime = new_dir->i_mtime = in shmem_exchange()
3071 static int shmem_rename2(struct inode *old_dir, struct dentry *old_dentry, struct inode *new_dir, s… in shmem_rename2() argument
3080 return shmem_exchange(old_dir, old_dentry, new_dir, new_dentry); in shmem_rename2()
3094 (void) shmem_unlink(new_dir, new_dentry); in shmem_rename2()
3101 inc_nlink(new_dir); in shmem_rename2()
3105 new_dir->i_size += BOGO_DIRENT_SIZE; in shmem_rename2()
[all …]