Home
last modified time | relevance | path

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

/kernel/linux/linux-5.10/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()
176 v9ses->cachetag = NULL; in v9fs_parse_options()
280 kfree(v9ses->cachetag); in v9fs_parse_options()
281 v9ses->cachetag = match_strdup(&args[0]); in v9fs_parse_options()
282 if (!v9ses->cachetag) { in v9fs_parse_options()
480 kfree(v9ses->cachetag); in v9fs_session_init()
505 kfree(v9ses->cachetag); in v9fs_session_close()
560 if (v9ses->cachetag) { in caches_show()
561 n = snprintf(buf, limit, "%s\n", v9ses->cachetag); in caches_show()
Dv9fs.h91 char *cachetag; member
/kernel/linux/linux-5.10/Documentation/filesystems/
D9p.rst156 cachetag cache tag to use the specified persistent cache.
/kernel/linux/linux-5.10/Documentation/filesystems/caching/
Dbackend-api.rst97 A sysfs directory called /sys/fs/fscache/<cachetag>/ is created if CONFIG_SYSFS