Lines Matching refs:an

5 There's an API by which a network filesystem can make use of the FS-Cache
92 a particular key - for instance to mirror the removal of an AFS volume.
96 restraints as possible on how an index is structured and where it is placed in
106 cache. Any such objects created within an index will be created in the
107 first cache only. The cache in which an index is created can be
121 To define an object, a structure of the following type should be filled out:
166 This defines an index, which is a special FS-Cache type.
170 This defines an ordinary data file.
174 This defines an extraordinary object such as an XATTR.
179 (3) A function to select the cache in which to store an index [optional].
181 This function is invoked when an index needs to be instantiated in a cache
192 (4) A function to retrieve an object's key from the netfs [mandatory].
246 provided: one to get an extra reference on the context, and one to drop a
289 It just takes a pointer to the netfs definition. It returns 0 or an error as
316 will never return an error. It may return a dummy tag, however, if it runs out
331 The third step is to inform FS-Cache about part of an index hierarchy that can
341 This function creates an index entry in the index represented by parent,
344 Note that this function never returns an error - all errors are handled
351 object needs to be created somewhere down the hierarchy. Furthermore, an index
369 index and an inode would be allocated that acts as a volume type and hash chain
404 An optional step is to request an object of miscellaneous type be created in
407 than index type. Whilst the parent object could be an index, it's more likely
436 This operation schedules an attribute adjustment to happen asynchronously at
478 The cookie argument must specify a cookie for an object that isn't an index,
505 (*) An argument that's 0 on success or negative for an error code.
507 If an error occurs, it should be assumed that the page contains no usable
511 an error, but it might be called in interrupt context if the read is
550 Secondly, if the netfs changes the contents of the page (either due to an
612 (3) If there was an general error, then that error will be returned.
694 To make a page available for release, this function may wait for an outstanding
702 A convenience routine is provided to perform an uncache on all the pages
703 attached to an inode. This assumes that the pages on the inode correspond on a
719 To find out whether auxiliary data for an object is up to data within the
728 To request an update of the index data for an index or other object, the
773 enable and disable ops, invokes can_enable() and, if the cookie is not an index
817 Note that this doesn't pin an object in a cache; it can still be culled to
847 There is no direct way to invalidate an index subtree. To do this, the caller
855 Sometimes it will be necessary to invalidate an object that contains data.
857 change - at which point the netfs has to throw away all the state it had for an
871 The invalidation operation will perform an attribute change operation and an
889 the cache must be informed if the page is going to go away. It's an indication
890 to the netfs that the cache has an interest in this page, where an interest may