Lines Matching defs:netfs
2 /* FS-Cache netfs (client) registration
16 int __fscache_register_netfs(struct fscache_netfs *netfs)
20 _enter("{%s}", netfs->name);
25 netfs->name, strlen(netfs->name),
26 &netfs->version, sizeof(netfs->version),
27 netfs, 0);
35 /* check the netfs type is not already present */
47 netfs->primary_index = cookie;
49 pr_notice("Netfs '%s' registered for caching\n", netfs->name);
50 trace_fscache_netfs(netfs);
65 void __fscache_unregister_netfs(struct fscache_netfs *netfs)
67 _enter("{%s.%u}", netfs->name, netfs->version);
69 fscache_relinquish_cookie(netfs->primary_index, NULL, false);
70 pr_notice("Netfs '%s' unregistered from caching\n", netfs->name);