Home
last modified time | relevance | path

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

/linux-4.4.14/tools/perf/
Dbuiltin-lock.c41 struct lock_stat { struct
206 static int lock_stat_key_ ## member(struct lock_stat *one, \
207 struct lock_stat *two) \
218 static int lock_stat_key_wait_time_min(struct lock_stat *one, in SINGLE_KEY()
219 struct lock_stat *two) in SINGLE_KEY()
237 int (*key)(struct lock_stat*, struct lock_stat*);
242 static int (*compare)(struct lock_stat *, struct lock_stat *);
277 static void insert_to_result(struct lock_stat *st, in insert_to_result() argument
278 int (*bigger)(struct lock_stat *, struct lock_stat *)) in insert_to_result() argument
282 struct lock_stat *p; in insert_to_result()
[all …]
/linux-4.4.14/drivers/tty/
Dtty_ldsem.c54 # define lock_stat(_lock, stat) lock_##stat(&(_lock)->dep_map, _RET_IP_) macro
56 # define lock_stat(_lock, stat) do { } while (0) macro
331 lock_stat(sem, contended); in __ldsem_down_read_nested()
337 lock_stat(sem, acquired); in __ldsem_down_read_nested()
350 lock_stat(sem, contended); in __ldsem_down_write_nested()
356 lock_stat(sem, acquired); in __ldsem_down_write_nested()
380 lock_stat(sem, acquired); in ldsem_down_read_trylock()
406 lock_stat(sem, acquired); in ldsem_down_write_trylock()
/linux-4.4.14/Documentation/locking/
Dlockstat.txt72 # echo 1 >/proc/sys/kernel/lock_stat
76 # echo 0 >/proc/sys/kernel/lock_stat
83 # less /proc/lock_stat
85 01 lock_stat version 0.4
169 # grep : /proc/lock_stat | head
183 # echo 0 > /proc/lock_stat
/linux-4.4.14/kernel/locking/
Dlockdep.c64 int lock_stat = 1; variable
65 module_param(lock_stat, int, 0644);
67 #define lock_stat 0 macro
262 if (!lock_stat) in lock_release_holdtime()
3822 if (unlikely(!lock_stat)) in lock_contended()
3842 if (unlikely(!lock_stat)) in lock_acquired()
/linux-4.4.14/include/linux/
Dlockdep.h17 extern int lock_stat;
/linux-4.4.14/drivers/media/dvb-frontends/drx39xyj/
Ddrxj.c1025 ctrl_lock_status(struct drx_demod_instance *demod, enum drx_lock_status *lock_stat);
10773 ctrl_lock_status(struct drx_demod_instance *demod, enum drx_lock_status *lock_stat) in ctrl_lock_status() argument
10789 if ((demod == NULL) || (lock_stat == NULL)) in ctrl_lock_status()
10796 *lock_stat = DRX_NOT_LOCKED; in ctrl_lock_status()
10832 *lock_stat = DRX_NOT_LOCKED; in ctrl_lock_status()
10834 *lock_stat = DRXJ_DEMOD_LOCK; in ctrl_lock_status()
10838 *lock_stat = DRX_LOCKED; in ctrl_lock_status()
10842 *lock_stat = DRX_NEVER_LOCK; in ctrl_lock_status()
Ddrx_driver.h201 lock_stat);
/linux-4.4.14/kernel/
Dsysctl.c449 .data = &lock_stat,