Home
last modified time | relevance | path

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

/linux-6.6.21/tools/perf/
Dbuiltin-lock.c174 static int lock_stat_key_ ## member(struct lock_stat *one, \
175 struct lock_stat *two) \
186 static int lock_stat_key_wait_time_min(struct lock_stat *one, in SINGLE_KEY()
187 struct lock_stat *two) in SINGLE_KEY()
210 int (*key)(struct lock_stat*, struct lock_stat*);
212 void (*print)(struct lock_key*, struct lock_stat*);
250 struct lock_stat *ls) \
257 struct lock_stat *ls) \
269 struct lock_stat *ls) in PRINT_KEY()
282 static int (*compare)(struct lock_stat *, struct lock_stat *);
[all …]
/linux-6.6.21/tools/perf/util/
Dlock-contention.h17 struct lock_stat { struct
68 struct lock_stat *lock_stat_find(u64 addr);
69 struct lock_stat *lock_stat_findnew(u64 addr, const char *name, int flags);
Dbpf_lock_contention.c34 bpf_map__set_max_entries(skel->maps.lock_stat, con->map_nr_entries); in lock_contention_prepare()
254 struct lock_stat *st = NULL; in lock_contention_read()
259 fd = bpf_map__fd(skel->maps.lock_stat); in lock_contention_read()
/linux-6.6.21/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.6.21/tools/perf/util/bpf_skel/
Dlock_contention.bpf.c51 } lock_stat SEC(".maps");
376 data = bpf_map_lookup_elem(&lock_stat, &key); in contention_end()
396 err = bpf_map_update_elem(&lock_stat, &key, &first, BPF_NOEXIST); in contention_end()
/linux-6.6.21/kernel/locking/
Dlockdep.c74 static int lock_stat = 1; variable
75 module_param(lock_stat, int, 0644);
77 #define lock_stat 0 macro
94 .data = &lock_stat,
347 if (!lock_stat) in lock_release_holdtime()
6011 if (unlikely(!lock_stat || !lockdep_enabled())) in lock_contended()
6029 if (unlikely(!lock_stat || !lockdep_enabled())) in lock_acquired()
/linux-6.6.21/drivers/media/dvb-frontends/drx39xyj/
Ddrxj.c1025 ctrl_lock_status(struct drx_demod_instance *demod, enum drx_lock_status *lock_stat);
10790 ctrl_lock_status(struct drx_demod_instance *demod, enum drx_lock_status *lock_stat) in ctrl_lock_status() argument
10806 if ((demod == NULL) || (lock_stat == NULL)) in ctrl_lock_status()
10813 *lock_stat = DRX_NOT_LOCKED; in ctrl_lock_status()
10849 *lock_stat = DRX_NOT_LOCKED; in ctrl_lock_status()
10851 *lock_stat = DRXJ_DEMOD_LOCK; in ctrl_lock_status()
10855 *lock_stat = DRX_LOCKED; in ctrl_lock_status()
10859 *lock_stat = DRX_NEVER_LOCK; in ctrl_lock_status()
Ddrx_driver.h201 lock_stat);