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.c496 struct mutex _dso__data_open_lock; variable
498 static long dso__data_open_cnt GUARDED_BY(_dso__data_open_lock);
502 mutex_init(&_dso__data_open_lock); in dso__data_open_lock_init()
505 static struct mutex *dso__data_open_lock(void) LOCK_RETURNED(_dso__data_open_lock) in dso__data_open_lock()
511 return &_dso__data_open_lock; in dso__data_open_lock()
514 static void dso__list_add(struct dso *dso) EXCLUSIVE_LOCKS_REQUIRED(_dso__data_open_lock) in dso__list_add()
525 static void dso__list_del(struct dso *dso) EXCLUSIVE_LOCKS_REQUIRED(_dso__data_open_lock) in dso__list_del()
540 static int do_open(char *name) EXCLUSIVE_LOCKS_REQUIRED(_dso__data_open_lock) in do_open()
567 EXCLUSIVE_LOCKS_REQUIRED(_dso__data_open_lock) in __open_dso()
633 EXCLUSIVE_LOCKS_REQUIRED(_dso__data_open_lock) in open_dso()
[all …]
H A Ddso.h311 extern struct mutex _dso__data_open_lock;
724 void dso__put(struct dso *dso) LOCKS_EXCLUDED(_dso__data_open_lock);
830 EXCLUSIVE_TRYLOCK_FUNCTION(true, _dso__data_open_lock);
831 void dso__data_put_fd(struct dso *dso) UNLOCK_FUNCTION(_dso__data_open_lock);
832 void dso__data_close(struct dso *dso) LOCKS_EXCLUDED(_dso__data_open_lock);