Home
last modified time | relevance | path

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

12

/linux/fs/fscache/
A Dnetfs.c16 int __fscache_register_netfs(struct fscache_netfs *netfs) in __fscache_register_netfs() argument
20 _enter("{%s}", netfs->name); in __fscache_register_netfs()
25 netfs->name, strlen(netfs->name), in __fscache_register_netfs()
26 &netfs->version, sizeof(netfs->version), in __fscache_register_netfs()
27 netfs, 0); in __fscache_register_netfs()
47 netfs->primary_index = cookie; in __fscache_register_netfs()
49 pr_notice("Netfs '%s' registered for caching\n", netfs->name); in __fscache_register_netfs()
50 trace_fscache_netfs(netfs); in __fscache_register_netfs()
65 void __fscache_unregister_netfs(struct fscache_netfs *netfs) in __fscache_unregister_netfs() argument
67 _enter("{%s.%u}", netfs->name, netfs->version); in __fscache_unregister_netfs()
[all …]
A Dfsdef.c80 struct fscache_netfs *netfs = cookie_netfs_data; in fscache_fsdef_netfs_check_aux() local
83 _enter("{%s},,%hu", netfs->name, datalen); in fscache_fsdef_netfs_check_aux()
91 if (version != netfs->version) { in fscache_fsdef_netfs_check_aux()
92 _leave(" = OBSOLETE [ver=%x net=%x]", version, netfs->version); in fscache_fsdef_netfs_check_aux()
A DMakefile12 netfs.o \
/linux/fs/netfs/
A D.built-in.a.cmd1netfs/built-in.a := echo >/dev/null; rm -f fs/netfs/built-in.a; /usr/bin/ccache /home/test/workspa…
A DMakefile3 netfs-y := read_helper.o stats.o
5 obj-$(CONFIG_NETFS_SUPPORT) := netfs.o
A D.read_helper.o.cmd1netfs/read_helper.o := /usr/bin/ccache /home/test/workspace/code/optee_3.16/build/../toolchains/aa…
3 source_fs/netfs/read_helper.o := fs/netfs/read_helper.c
5 deps_fs/netfs/read_helper.o := \
1091 include/linux/netfs.h \
1092 fs/netfs/internal.h \
1095 include/trace/events/netfs.h \
1147 fs/netfs/read_helper.o: $(deps_fs/netfs/read_helper.o)
1149 $(deps_fs/netfs/read_helper.o):
A D.stats.o.cmd1netfs/stats.o := /usr/bin/ccache /home/test/workspace/code/optee_3.16/build/../toolchains/aarch64/…
3 source_fs/netfs/stats.o := fs/netfs/stats.c
5 deps_fs/netfs/stats.o := \
826 include/linux/netfs.h \
1090 fs/netfs/internal.h \
1094 fs/netfs/stats.o: $(deps_fs/netfs/stats.o)
1096 $(deps_fs/netfs/stats.o):
/linux/Documentation/filesystems/caching/
A Dobject.rst26 FS-Cache maintains an in-kernel representation of each object that a netfs is
88 As far as the netfs API goes, the netfs is only actually permitted to see
111 (3) Normal running: states that allow netfs operations on objects to proceed
114 (4) Termination: states that detach objects from their netfs cookies, that
182 At the completion of lookup, FS-Cache will let the netfs go ahead with
205 servicing netfs requests:
260 all its children, if it is dying because the netfs relinquished its
285 netfs for details of the change through its cookie definition ops.
301 These are signalled when the netfs relinquishes a cookie it was using.
302 The event selected depends on whether the netfs asks for the backing
[all …]
A Dfscache.rst71 FS-Cache does not follow the idea of completely loading every netfs file
88 the netfs('s) using it.
98 (3) The netfs is provided with an interface that allows either party to
102 rather to let the netfs remain oblivious.
105 netfs. The simplest cookie is just a NULL pointer - indicating nothing
108 (6) The netfs is allowed to propose - dynamically - any index hierarchy it
113 (7) Data I/O is done direct to and from the netfs's pages. The netfs
116 not start I/O on that page, but if it does, a netfs callback will be
184 The netfs API to FS-Cache can be found in:
186 Documentation/filesystems/caching/netfs-api.rst
[all …]
A Dbackend-api.rst78 (1) that of the userspace process that issued the netfs operation that caused
109 struct fscache_netfs *netfs;
115 definition, the netfs definition and the netfs's data for this cookie.
255 object is found to exist and the netfs indicates that it is valid then
366 * Notification that the attributes on a netfs file changed [mandatory]::
411 This is called to attempt to read a netfs page from the cache, or to
480 allocated, then the netfs page should be marked and 0 returned.
511 If this method returns success then FS-Cache will inform the netfs
535 release) will be passed from the netfs to the cache backend for the
587 the netfs must call fscache_uncache_page() to unmark the pages.
[all …]
A Dnetfs-api.rst16 may or may not have anything associated with it, but the netfs doesn't
19 (3) Barring the top-level index (one entry per cached netfs), the index
20 hierarchy for each netfs is structured according the whim of the netfs.
65 (1) The name of the netfs (used as the key in the toplevel index).
68 entire in-cache hierarchy for this netfs will be scrapped and begun
201 the cache and copy it into the netfs's structures.
249 int fscache_register_netfs(struct fscache_netfs *netfs);
260 void fscache_unregister_netfs(struct fscache_netfs *netfs);
333 This is all handled transparently, and the netfs doesn't see any of it.
471 * The netfs data supplied when the cookie was created.
[all …]
A Dindex.rst13 netfs-api
A Doperations.rst84 synchronously - and the netfs does not proceed until this has been
100 page to a netfs page after the backing fs has read the page in.
A Dcachefiles.rst283 the netfs. The latter is used to detect stale objects in the cache and update
396 process issued the original syscall on the netfs.
/linux/include/linux/
A Dfscache.h240 int fscache_register_netfs(struct fscache_netfs *netfs) in fscache_register_netfs() argument
243 return __fscache_register_netfs(netfs); in fscache_register_netfs()
260 void fscache_unregister_netfs(struct fscache_netfs *netfs) in fscache_unregister_netfs() argument
263 __fscache_unregister_netfs(netfs); in fscache_unregister_netfs()
/linux/include/trace/events/
A Dfscache.h187 TP_PROTO(struct fscache_netfs *netfs),
189 TP_ARGS(netfs),
197 __entry->cookie = netfs->primary_index->debug_id;
198 strncpy(__entry->name, netfs->name, 8);
A Dnetfs.h8 #define TRACE_SYSTEM netfs
/linux/Documentation/filesystems/
A Dnetfs_library.rst28 access must be provided by the netfs.
42 * Insulate the netfs from VM interface changes.
44 * Allow the netfs to arbitrarily split reads up into pieces, even ones that
47 * Allow the netfs to expand a readahead request in both directions to meet its
50 * Allow the netfs to partially fulfil a read, which will then be resubmitted.
148 The above fields are the ones the netfs can use. They are:
276 cache (if present) to initialise the caching state for this read. The netfs
544 .. kernel-doc:: include/linux/netfs.h
545 .. kernel-doc:: fs/netfs/read_helper.c
/linux/fs/
A Dbuilt-in.a132 netfs/read_helper.o/
133 netfs/stats.o/
A D.built-in.a.cmd1 …t-in.a fs/sysfs/built-in.a fs/configfs/built-in.a fs/devpts/built-in.a fs/netfs/built-in.a fs/ext4…
A DMakefile69 obj-$(CONFIG_NETFS_SUPPORT) += netfs/
A DKconfig133 source "fs/netfs/Kconfig"
/linux/
A Dmodules.builtin17 kernel/fs/netfs/netfs.ko
A Dmodules.builtin.modinfo1netfs.parm=netfs_debug:Netfs support debugging mask�netfs.parmtype=debug:uint�netfs.license=GPL�ne…
/linux/fs/9p/
A D.v9fs.o.cmd1206 include/linux/netfs.h \

Completed in 607 milliseconds

12