Home
last modified time | relevance | path

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

/Linux-v5.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()
/Linux-v5.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()
/Linux-v5.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()
1837 mutex_lock(&pfk->dump_lock); in pfkey_dump()
1839 mutex_unlock(&pfk->dump_lock); in pfkey_dump()
1845 mutex_unlock(&pfk->dump_lock); in pfkey_dump()
1856 mutex_unlock(&pfk->dump_lock); in pfkey_dump()
1861 mutex_unlock(&pfk->dump_lock); in pfkey_dump()
1879 mutex_unlock(&pfk->dump_lock); in pfkey_dump()
[all …]
/Linux-v5.10/net/core/
Ddevlink.c5823 struct mutex dump_lock; /* lock parallel read/write from dump buffers */ member
5895 mutex_init(&reporter->dump_lock); in __devlink_health_reporter_create()
5972 mutex_destroy(&reporter->dump_lock); in devlink_health_reporter_free()
6233 mutex_lock(&reporter->dump_lock); in devlink_health_report()
6236 mutex_unlock(&reporter->dump_lock); in devlink_health_report()
6547 mutex_lock(&reporter->dump_lock); in devlink_nl_cmd_health_reporter_dump_get_dumpit()
6563 mutex_unlock(&reporter->dump_lock); in devlink_nl_cmd_health_reporter_dump_get_dumpit()
6585 mutex_lock(&reporter->dump_lock); in devlink_nl_cmd_health_reporter_dump_clear_doit()
6587 mutex_unlock(&reporter->dump_lock); in devlink_nl_cmd_health_reporter_dump_clear_doit()