Home
last modified time | relevance | path

Searched refs:lock_stat (Results 1 – 9 of 9) sorted by relevance

/linux/tools/perf/util/
H A Dlock-contention.h27 struct lock_stat { struct
167 struct lock_stat *lock_stat_find(u64 addr);
168 struct lock_stat *lock_stat_findnew(u64 addr, const char *name, int flags);
180 struct lock_stat *pop_owner_stack_trace(struct lock_contention *con);
201 static inline struct lock_stat *pop_owner_stack_trace(struct lock_contention *con __maybe_unused) in pop_owner_stack_trace()
H A Dbpf_lock_contention.c200 bpf_map__set_max_entries(skel->maps.lock_stat, con->map_nr_entries); in lock_contention_prepare()
501 stat_fd = bpf_map__fd(skel->maps.lock_stat); in account_end_timestamp()
661 struct lock_stat *pop_owner_stack_trace(struct lock_contention *con) in pop_owner_stack_trace()
669 struct lock_stat *st = NULL; in pop_owner_stack_trace()
687 st = zalloc(sizeof(struct lock_stat)); in pop_owner_stack_trace()
723 struct lock_stat *st = NULL; in lock_contention_read()
728 fd = bpf_map__fd(skel->maps.lock_stat); in lock_contention_read()
/linux/tools/perf/
H A Dbuiltin-lock.c158 static int lock_stat_key_ ## member(struct lock_stat *one, \
159 struct lock_stat *two) \
170 static int lock_stat_key_wait_time_min(struct lock_stat *one, in SINGLE_KEY()
171 struct lock_stat *two) in SINGLE_KEY()
194 int (*key)(struct lock_stat*, struct lock_stat*);
196 void (*print)(struct lock_key*, struct lock_stat*);
234 struct lock_stat *ls) \
241 struct lock_stat *ls) \
253 struct lock_stat *ls) in PRINT_KEY()
266 static int (*compare)(struct lock_stat *, struct lock_stat *);
[all …]
/linux/Documentation/locking/
H A Dlockstat.rst93 # echo 1 >/proc/sys/kernel/lock_stat
97 # echo 0 >/proc/sys/kernel/lock_stat
104 # less /proc/lock_stat
106 01 lock_stat version 0.4
190 # grep : /proc/lock_stat | head
204 # echo 0 > /proc/lock_stat
/linux/Documentation/translations/it_IT/locking/
H A Dlockstat.rst114 # echo 1 >/proc/sys/kernel/lock_stat
118 # echo 0 >/proc/sys/kernel/lock_stat
125 # less /proc/lock_stat
127 01 lock_stat version 0.4
216 # grep : /proc/lock_stat | head
230 # echo 0 > /proc/lock_stat
/linux/tools/perf/util/bpf_skel/
H A Dlock_contention.bpf.c90 } lock_stat SEC(".maps");
781 data = bpf_map_lookup_elem(&lock_stat, &key); in contention_end()
820 err = bpf_map_update_elem(&lock_stat, &key, &first, BPF_NOEXIST); in contention_end()
824 data = bpf_map_lookup_elem(&lock_stat, &key); in contention_end()
/linux/kernel/locking/
H A Dlockdep.c77 static int lock_stat = 1; variable
78 module_param(lock_stat, int, 0644);
80 #define lock_stat 0 macro
97 .data = &lock_stat,
350 if (!lock_stat) in lock_release_holdtime()
6136 if (unlikely(!lock_stat || !lockdep_enabled())) in lock_contended()
6154 if (unlikely(!lock_stat || !lockdep_enabled())) in lock_acquired()
/linux/drivers/media/dvb-frontends/drx39xyj/
H A Ddrxj.c1019 ctrl_lock_status(struct drx_demod_instance *demod, enum drx_lock_status *lock_stat);
10781 ctrl_lock_status(struct drx_demod_instance *demod, enum drx_lock_status *lock_stat) in ctrl_lock_status() argument
10797 if ((demod == NULL) || (lock_stat == NULL)) in ctrl_lock_status()
10804 *lock_stat = DRX_NOT_LOCKED; in ctrl_lock_status()
10840 *lock_stat = DRX_NOT_LOCKED; in ctrl_lock_status()
10842 *lock_stat = DRXJ_DEMOD_LOCK; in ctrl_lock_status()
10846 *lock_stat = DRX_LOCKED; in ctrl_lock_status()
10850 *lock_stat = DRX_NEVER_LOCK; in ctrl_lock_status()
H A Ddrx_driver.h200 lock_stat);