Home
last modified time | relevance | path

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

/Linux-v5.15/fs/9p/
Dcache.c36 v9ses->cachetag = kmalloc(CACHETAG_LEN, GFP_KERNEL); in v9fs_random_cachetag()
37 if (!v9ses->cachetag) in v9fs_random_cachetag()
40 return scnprintf(v9ses->cachetag, CACHETAG_LEN, "%lu", jiffies); in v9fs_random_cachetag()
51 if (!v9ses->cachetag) { in v9fs_cache_session_get_cookie()
54 kfree(v9ses->cachetag); in v9fs_cache_session_get_cookie()
55 v9ses->cachetag = NULL; in v9fs_cache_session_get_cookie()
62 v9ses->cachetag, in v9fs_cache_session_get_cookie()
63 strlen(v9ses->cachetag), in v9fs_cache_session_get_cookie()
Dv9fs.c129 if (v9ses->cachetag && v9ses->cache == CACHE_FSCACHE) in v9fs_show_options()
130 seq_printf(m, ",cachetag=%s", v9ses->cachetag); in v9fs_show_options()
177 v9ses->cachetag = NULL; in v9fs_parse_options()
281 kfree(v9ses->cachetag); in v9fs_parse_options()
282 v9ses->cachetag = match_strdup(&args[0]); in v9fs_parse_options()
283 if (!v9ses->cachetag) { in v9fs_parse_options()
481 kfree(v9ses->cachetag); in v9fs_session_init()
506 kfree(v9ses->cachetag); in v9fs_session_close()
558 if (v9ses->cachetag) { in caches_show()
559 n = snprintf(buf, limit, "%s\n", v9ses->cachetag); in caches_show()
Dv9fs.h91 char *cachetag; member
/Linux-v5.15/Documentation/filesystems/
D9p.rst156 cachetag cache tag to use the specified persistent cache.
/Linux-v5.15/Documentation/filesystems/caching/
Dbackend-api.rst97 A sysfs directory called /sys/fs/fscache/<cachetag>/ is created if CONFIG_SYSFS