Home
last modified time | relevance | path

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

/fs/fscache/
Dnetfs.c22 int __fscache_register_netfs(struct fscache_netfs *netfs) in __fscache_register_netfs() argument
28 _enter("{%s}", netfs->name); in __fscache_register_netfs()
30 INIT_LIST_HEAD(&netfs->link); in __fscache_register_netfs()
47 cookie->netfs_data = netfs; in __fscache_register_netfs()
59 if (strcmp(ptr->name, netfs->name) == 0) in __fscache_register_netfs()
66 netfs->primary_index = cookie; in __fscache_register_netfs()
67 list_add(&netfs->link, &fscache_netfs_list); in __fscache_register_netfs()
70 pr_notice("Netfs '%s' registered for caching\n", netfs->name); in __fscache_register_netfs()
87 void __fscache_unregister_netfs(struct fscache_netfs *netfs) in __fscache_unregister_netfs() argument
89 _enter("{%s.%u}", netfs->name, netfs->version); in __fscache_unregister_netfs()
[all …]
Dfsdef.c86 const struct fscache_netfs *netfs = cookie_netfs_data; in fscache_fsdef_netfs_get_key() local
89 _enter("{%s.%u},", netfs->name, netfs->version); in fscache_fsdef_netfs_get_key()
91 klen = strlen(netfs->name); in fscache_fsdef_netfs_get_key()
95 memcpy(buffer, netfs->name, klen); in fscache_fsdef_netfs_get_key()
106 const struct fscache_netfs *netfs = cookie_netfs_data; in fscache_fsdef_netfs_get_aux() local
109 _enter("{%s.%u},", netfs->name, netfs->version); in fscache_fsdef_netfs_get_aux()
115 memcpy(buffer, &netfs->version, dlen); in fscache_fsdef_netfs_get_aux()
128 struct fscache_netfs *netfs = cookie_netfs_data; in fscache_fsdef_netfs_check_aux() local
131 _enter("{%s},,%hu", netfs->name, datalen); in fscache_fsdef_netfs_check_aux()
139 if (version != netfs->version) { in fscache_fsdef_netfs_check_aux()
[all …]
DMakefile10 netfs.o \