Searched refs:new_dirs (Results 1 – 1 of 1) sorted by relevance
701 struct dentry *root, **new_dirs, *new_dir; in dbgfs_mk_context() local713 new_dirs = krealloc(dbgfs_dirs, sizeof(*dbgfs_dirs) * in dbgfs_mk_context()715 if (!new_dirs) in dbgfs_mk_context()717 dbgfs_dirs = new_dirs; in dbgfs_mk_context()787 struct dentry *root, *dir, **new_dirs; in dbgfs_rm_context() local810 new_dirs = kmalloc_array(dbgfs_nr_ctxs - 1, sizeof(*dbgfs_dirs), in dbgfs_rm_context()812 if (!new_dirs) { in dbgfs_rm_context()830 new_dirs[j] = dbgfs_dirs[i]; in dbgfs_rm_context()837 dbgfs_dirs = new_dirs; in dbgfs_rm_context()844 kfree(new_dirs); in dbgfs_rm_context()