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,
282 an atomic operation.
285 operation unless it fails (returns 0).
291 operation which does not return a value, a set of interfaces are
305 operation. In the above example, it guarantees that the assignment of
417 on, and that lock protects the atomic operation. Parisc uses the
448 operation.
466 All memory operations before the atomic bit operation call must be
467 made visible globally before the atomic bit operation is made visible.
468 Likewise, the atomic bit operation must be visible globally before any
469 subsequent memory operation is made visible. For example:
477 "obj->dead = 1;" is visible to cpus before the atomic memory operation
479 memory operation done by test_and_set_bit() must become visible before
482 Finally there is the basic operation:
496 They are used as follows, and are akin to their atomic_t operation
528 They have names similar to the above bitmask operation interfaces,
553 visible before any subsequent memory operation.
572 sure the spinlock operation is globally visible before any
573 subsequent memory operation.
575 We can demonstrate this operation more clearly if we define
576 an abstract atomic operation: