Home
last modified time | relevance | path

Searched refs:_dso__data_open_lock (Results 1 – 2 of 2) sorted by relevance

/linux/tools/perf/util/
H A Ddso.c497 struct mutex _dso__data_open_lock; variable
499 static long dso__data_open_cnt GUARDED_BY(_dso__data_open_lock);
503 mutex_init(&_dso__data_open_lock); in dso__data_open_lock_init()
506 static struct mutex *dso__data_open_lock(void) LOCK_RETURNED(_dso__data_open_lock) in dso__data_open_lock()
512 return &_dso__data_open_lock; in dso__data_open_lock()
515 static void dso__list_add(struct dso *dso) EXCLUSIVE_LOCKS_REQUIRED(_dso__data_open_lock) in dso__list_add()
526 static void dso__list_del(struct dso *dso) EXCLUSIVE_LOCKS_REQUIRED(_dso__data_open_lock) in dso__list_del()
541 static int do_open(char *name) EXCLUSIVE_LOCKS_REQUIRED(_dso__data_open_lock) in do_open()
612 EXCLUSIVE_LOCKS_REQUIRED(_dso__data_open_lock) in __open_dso()
644 EXCLUSIVE_LOCKS_REQUIRED(_dso__data_open_lock) in open_dso()
[all …]
H A Ddso.h312 extern struct mutex _dso__data_open_lock;
755 void dso__put(struct dso *dso) LOCKS_EXCLUDED(_dso__data_open_lock);
861 EXCLUSIVE_TRYLOCK_FUNCTION(true, _dso__data_open_lock);
862 void dso__data_put_fd(struct dso *dso) UNLOCK_FUNCTION(_dso__data_open_lock);
863 void dso__data_close(struct dso *dso) LOCKS_EXCLUDED(_dso__data_open_lock);