Home
last modified time | relevance | path

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

/linux-6.1.9/tools/perf/
Dbuiltin-lock.c162 static int lock_stat_key_ ## member(struct lock_stat *one, \
163 struct lock_stat *two) \
174 static int lock_stat_key_wait_time_min(struct lock_stat *one, in SINGLE_KEY()
175 struct lock_stat *two) in SINGLE_KEY()
198 int (*key)(struct lock_stat*, struct lock_stat*);
200 void (*print)(struct lock_key*, struct lock_stat*);
232 struct lock_stat *ls) \
239 struct lock_stat *ls) \
251 struct lock_stat *ls) in PRINT_KEY()
264 static int (*compare)(struct lock_stat *, struct lock_stat *);
[all …]
/linux-6.1.9/Documentation/locking/
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-6.1.9/tools/perf/util/bpf_skel/
Dlock_contention.bpf.c55 } lock_stat SEC(".maps");
148 data = bpf_map_lookup_elem(&lock_stat, &key); in contention_end()
158 bpf_map_update_elem(&lock_stat, &key, &first, BPF_NOEXIST); in contention_end()
/linux-6.1.9/tools/perf/util/
Dbpf_lock_contention.c41 bpf_map__set_max_entries(skel->maps.lock_stat, con->map_nr_entries); in lock_contention_prepare()
114 struct lock_stat *st; in lock_contention_read()
118 fd = bpf_map__fd(skel->maps.lock_stat); in lock_contention_read()
Dlock-contention.h8 struct lock_stat { struct
/linux-6.1.9/kernel/locking/
Dlockdep.c73 static int lock_stat = 1; variable
74 module_param(lock_stat, int, 0644);
76 #define lock_stat 0 macro
93 .data = &lock_stat,
346 if (!lock_stat) in lock_release_holdtime()
5897 if (unlikely(!lock_stat || !lockdep_enabled())) in lock_contended()
5915 if (unlikely(!lock_stat || !lockdep_enabled())) in lock_acquired()
/linux-6.1.9/drivers/media/dvb-frontends/drx39xyj/
Ddrxj.c1025 ctrl_lock_status(struct drx_demod_instance *demod, enum drx_lock_status *lock_stat);
10788 ctrl_lock_status(struct drx_demod_instance *demod, enum drx_lock_status *lock_stat) in ctrl_lock_status() argument
10804 if ((demod == NULL) || (lock_stat == NULL)) in ctrl_lock_status()
10811 *lock_stat = DRX_NOT_LOCKED; in ctrl_lock_status()
10847 *lock_stat = DRX_NOT_LOCKED; in ctrl_lock_status()
10849 *lock_stat = DRXJ_DEMOD_LOCK; in ctrl_lock_status()
10853 *lock_stat = DRX_LOCKED; in ctrl_lock_status()
10857 *lock_stat = DRX_NEVER_LOCK; in ctrl_lock_status()
Ddrx_driver.h201 lock_stat);