Searched refs:new_dirs (Results 1 – 1 of 1) sorted by relevance
816 struct dentry *root, **new_dirs, *new_dir; in dbgfs_mk_context() local828 new_dirs = krealloc(dbgfs_dirs, sizeof(*dbgfs_dirs) * in dbgfs_mk_context()830 if (!new_dirs) in dbgfs_mk_context()832 dbgfs_dirs = new_dirs; in dbgfs_mk_context()902 struct dentry *root, *dir, **new_dirs; in dbgfs_rm_context() local925 new_dirs = kmalloc_array(dbgfs_nr_ctxs - 1, sizeof(*dbgfs_dirs), in dbgfs_rm_context()927 if (!new_dirs) { in dbgfs_rm_context()945 new_dirs[j] = dbgfs_dirs[i]; in dbgfs_rm_context()952 dbgfs_dirs = new_dirs; in dbgfs_rm_context()959 kfree(new_dirs); in dbgfs_rm_context()