Searched refs:bakery_lock_t (Results 1 – 5 of 5) sorted by relevance
69 } bakery_lock_t; typedef91 typedef bakery_info_t bakery_lock_t; typedef95 static inline void bakery_lock_init(bakery_lock_t *bakery) {} in bakery_lock_init()96 void bakery_lock_get(bakery_lock_t *bakery);97 void bakery_lock_release(bakery_lock_t *bakery);99 #define DEFINE_BAKERY_LOCK(_name) bakery_lock_t _name __section("bakery_lock")101 #define DECLARE_BAKERY_LOCK(_name) extern bakery_lock_t _name
60 static inline bakery_lock_t *get_bakery_info(unsigned int cpu_ix, in get_bakery_info()61 bakery_lock_t *lock) in get_bakery_info()101 static unsigned int bakery_get_ticket(bakery_lock_t *lock, in bakery_get_ticket()165 void bakery_lock_get(bakery_lock_t *lock) in bakery_lock_get()229 void bakery_lock_release(bakery_lock_t *lock) in bakery_lock_release()
44 static unsigned int bakery_get_ticket(bakery_lock_t *bakery, unsigned int me) in bakery_get_ticket()92 void bakery_lock_get(bakery_lock_t *bakery) in bakery_lock_get()149 void bakery_lock_release(bakery_lock_t *bakery) in bakery_lock_release()
126 typedef bakery_lock_t scmi_lock_t;
2099 The bakery lock data structure ``bakery_lock_t`` is allocated in coherent memory2100 and is accessed by multiple CPUs with mismatched attributes. ``bakery_lock_t`` is2113 } bakery_lock_t;2119 ``bakery_lock_t`` structure for multiple CPUs may exist on a single cache line.2129 CPU1 updates its per-CPU field of the ``bakery_lock_t`` structure with data cache
Completed in 20 milliseconds