Home
last modified time | relevance | path

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

/Linux-v6.6/mm/damon/
Ddbgfs.c817 struct damon_ctx **new_ctxs, *new_ctx; in dbgfs_mk_context() local
822 new_ctxs = krealloc(dbgfs_ctxs, sizeof(*dbgfs_ctxs) * in dbgfs_mk_context()
824 if (!new_ctxs) in dbgfs_mk_context()
826 dbgfs_ctxs = new_ctxs; in dbgfs_mk_context()
904 struct damon_ctx **new_ctxs; in dbgfs_rm_context() local
932 new_ctxs = kmalloc_array(dbgfs_nr_ctxs - 1, sizeof(*dbgfs_ctxs), in dbgfs_rm_context()
934 if (!new_ctxs) { in dbgfs_rm_context()
946 new_ctxs[j++] = dbgfs_ctxs[i]; in dbgfs_rm_context()
953 dbgfs_ctxs = new_ctxs; in dbgfs_rm_context()