30 #define M0_TRACE_SUBSYSTEM M0_TRACE_SUBSYS_LIB 107 #undef M0_TRACE_SUBSYSTEM M0_INTERNAL int m0_mutex_trylock(struct m0_mutex *mutex)
M0_INTERNAL void m0_mutex_unlock(struct m0_mutex *mutex)
M0_INTERNAL bool m0_mutex_is_not_locked(const struct m0_mutex *mutex)
M0_INTERNAL void m0_mutex_lock(struct m0_mutex *mutex)
M0_ADDB2_ADD(M0_AVI_FS_CREATE, new_fid.f_container, new_fid.f_key, mode, rc)
M0_INTERNAL void m0_arch_mutex_init(struct m0_arch_mutex *mutex)
M0_INTERNAL bool m0_mutex_is_locked(const struct m0_mutex *mutex)
M0_INTERNAL void m0_arch_mutex_lock(struct m0_arch_mutex *mutex)
m0_time_t m0_time_now(void)
M0_INTERNAL void m0_mutex_init(struct m0_mutex *mutex)
struct m0_mutex_addb2 * m_addb2
void m0_addb2_hist_mod_with(struct m0_addb2_hist *hist, int64_t val, uint64_t datum)
struct m0_arch_mutex m_arch
M0_INTERNAL struct m0_thread * m0_thread_self(void)
M0_INTERNAL void m0_mutex_fini(struct m0_mutex *mutex)
M0_INTERNAL void m0_arch_mutex_unlock(struct m0_arch_mutex *mutex)
M0_INTERNAL uint64_t m0_ptr_wrap(const void *p)
#define M0_ADDB2_HIST(id, hist, datum,...)
M0_INTERNAL int m0_arch_mutex_trylock(struct m0_arch_mutex *mutex)
struct m0_thread * m_owner
M0_INTERNAL void m0_arch_mutex_fini(struct m0_arch_mutex *mutex)