Home
last modified time | relevance | path

Searched refs:dump_lock (Results 1 – 4 of 4) sorted by relevance

/kernel/linux/linux-5.10/lib/
Ddump_stack.c86 static atomic_t dump_lock = ATOMIC_INIT(-1); variable
102 old = atomic_cmpxchg(&dump_lock, -1, cpu); in dump_stack()
114 do { cpu_relax(); } while (atomic_read(&dump_lock) != -1); in dump_stack()
121 atomic_set(&dump_lock, -1); in dump_stack()
/kernel/linux/linux-5.10/fs/ocfs2/dlm/
Ddlmdebug.c464 static int dump_lock(struct dlm_lock *lock, int list_type, char *buf, int len) in dump_lock() function
526 out += dump_lock(lock, 0, buf + out, len - out); in dump_lockres()
530 out += dump_lock(lock, 1, buf + out, len - out); in dump_lockres()
534 out += dump_lock(lock, 2, buf + out, len - out); in dump_lockres()
/kernel/linux/linux-5.10/net/key/
Daf_key.c62 struct mutex dump_lock; member
159 mutex_init(&pfk->dump_lock); in pfkey_create()
279 mutex_lock(&pfk->dump_lock); in pfkey_do_dump()
308 mutex_unlock(&pfk->dump_lock); in pfkey_do_dump()
1840 mutex_lock(&pfk->dump_lock); in pfkey_dump()
1842 mutex_unlock(&pfk->dump_lock); in pfkey_dump()
1848 mutex_unlock(&pfk->dump_lock); in pfkey_dump()
1859 mutex_unlock(&pfk->dump_lock); in pfkey_dump()
1864 mutex_unlock(&pfk->dump_lock); in pfkey_dump()
1882 mutex_unlock(&pfk->dump_lock); in pfkey_dump()
[all …]
/kernel/linux/linux-5.10/net/core/
Ddevlink.c5830 struct mutex dump_lock; /* lock parallel read/write from dump buffers */ member
5902 mutex_init(&reporter->dump_lock); in __devlink_health_reporter_create()
5979 mutex_destroy(&reporter->dump_lock); in devlink_health_reporter_free()
6240 mutex_lock(&reporter->dump_lock); in devlink_health_report()
6243 mutex_unlock(&reporter->dump_lock); in devlink_health_report()
6554 mutex_lock(&reporter->dump_lock); in devlink_nl_cmd_health_reporter_dump_get_dumpit()
6570 mutex_unlock(&reporter->dump_lock); in devlink_nl_cmd_health_reporter_dump_get_dumpit()
6592 mutex_lock(&reporter->dump_lock); in devlink_nl_cmd_health_reporter_dump_clear_doit()
6594 mutex_unlock(&reporter->dump_lock); in devlink_nl_cmd_health_reporter_dump_clear_doit()