Searched refs:topdir (Results 1 – 2 of 2) sorted by relevance
/linux/net/sunrpc/ |
H A D | debugfs.c | 15 static struct dentry *topdir; variable 278 debugfs_remove_recursive(topdir); in sunrpc_debugfs_exit() 279 topdir = NULL; in sunrpc_debugfs_exit() 287 topdir = debugfs_create_dir("sunrpc", NULL); in sunrpc_debugfs_init() 289 rpc_clnt_dir = debugfs_create_dir("rpc_clnt", topdir); in sunrpc_debugfs_init() 291 rpc_xprt_dir = debugfs_create_dir("rpc_xprt", topdir); in sunrpc_debugfs_init()
|
/linux/tools/perf/util/ |
H A D | build-id.c | 395 char *topdir, *linkdir = NULL; in build_id_cache__list_all() local 403 if (asprintf(&topdir, "%s/.build-id/", buildid_dir) < 0) in build_id_cache__list_all() 410 toplist = lsdir(topdir, lsdir_bid_head_filter); in build_id_cache__list_all() 412 pr_debug("Error in lsdir(%s): %d\n", topdir, errno); in build_id_cache__list_all() 420 if (asprintf(&linkdir, "%s/%s", topdir, nd->s) < 0) in build_id_cache__list_all() 444 free(topdir); in build_id_cache__list_all()
|