Lines Matching +full:non +full:- +full:exclusive
1 .. SPDX-License-Identifier: GPL-2.0
25 FS-Cache has an asynchronous operations handling facility that it uses for its
31 and FS-Cache will create operations and pass them off to the appropriate cache
34 To make use of this facility, <linux/fscache-cache.h> should be #included.
60 The op->flags parameter should be set to indicate the CPU time provision and
63 The op->fast_work, op->slow_work and op->processor flags should be set as
66 FSCACHE_OP_WAITING may be set in op->flags prior to each submission of the
84 synchronously - and the netfs does not proceed until this has been
87 If this option is to be used, FSCACHE_OP_WAITING must be set in op->flags
91 wait_on_bit(&op->flags, FSCACHE_OP_WAITING,
102 If this option is used, op->fast_work and op->processor must be
105 INIT_WORK(&op->fast_work, do_some_work);
112 This is, for example, used by FS-Cache to handle background writes of
115 If this option is used, op->slow_work and op->processor must be
123 (1) Exclusive (FSCACHE_OP_EXCLUSIVE). Operations of this type may not run in
152 The first function should be used to submit non-exclusive ops and the
153 second to submit exclusive ones. The caller must still set the
157 object and return 0. -ENOBUFS will be returned if the object specified is
178 exclusive ops conflicting until it is released. The operation can be
182 op->flags &= ~FSCACHE_OP_TYPE;
183 op->flags |= ~FSCACHE_OP_FAST;