Lines Matching refs:operation
58 been set with this operation or set with another operation. A proper implicit
59 or explicit memory barrier is needed before the value set with the operation
178 Now, we move onto the atomic operation interfaces typically implemented with
201 atomic_t and return the new counter value after the operation is
206 the operation. It must be done such that all memory operations before
207 and after the atomic operation calls are strongly ordered with respect
208 to the atomic operation itself.
211 before and after the atomic operation.
237 the atomic operation.
243 provide explicit memory barrier semantics around the operation.
250 the operation.
256 This performs an atomic exchange operation on the atomic variable v, setting
258 just before the operation.
260 atomic_xchg must provide explicit memory barriers around the operation.
264 This performs an atomic compare exchange operation on the atomic value v,
269 atomic_cmpxchg must provide explicit memory barriers around the operation.
280 an atomic operation.
283 operation unless it fails (returns 0).
289 operation which does not return a value, a set of interfaces are
303 operation. In the above example, it guarantees that the assignment of
415 on, and that lock protects the atomic operation. Parisc uses the
446 operation.
464 All memory operations before the atomic bit operation call must be
465 made visible globally before the atomic bit operation is made visible.
466 Likewise, the atomic bit operation must be visible globally before any
467 subsequent memory operation is made visible. For example:
475 "obj->dead = 1;" is visible to cpus before the atomic memory operation
477 memory operation done by test_and_set_bit() must become visible before
480 Finally there is the basic operation:
494 They are used as follows, and are akin to their atomic_t operation
526 They have names similar to the above bitmask operation interfaces,
547 visible before any subsequent memory operation.
566 sure the spinlock operation is globally visible before any
567 subsequent memory operation.
569 We can demonstrate this operation more clearly if we define
570 an abstract atomic operation: