Lines Matching refs:model
429 static inline void maybe_release_fence(int model)
431 switch (model) {
446 static inline void maybe_acquire_fence(int model)
448 switch (model) {
480 static inline void get_lock(void *addr, int model)
484 maybe_release_fence (model);
490 static inline void free_lock(void *addr, int model)
495 maybe_acquire_fence (model);
498 static inline UINT64 __atomic_load_8(const volatile void *mem, int model)
503 get_lock (memP, model);
505 free_lock (memP, model);
509 static inline void __atomic_store_8(volatile void *mem, UINT64 val, int model)
512 get_lock (memP, model);
514 free_lock (memP, model);
517 static inline UINT64 __atomic_exchange_8(volatile void *mem, UINT64 val, int model)
522 get_lock (memP, model);
525 free_lock (memP, model);