/Linux-v5.10/include/linux/ |
D | spinlock_types.h | 36 # define RAW_SPIN_DEP_MAP_INIT(lockname) \ argument 38 .name = #lockname, \ 41 # define SPIN_DEP_MAP_INIT(lockname) \ argument 43 .name = #lockname, \ 47 # define RAW_SPIN_DEP_MAP_INIT(lockname) argument 48 # define SPIN_DEP_MAP_INIT(lockname) argument 52 # define SPIN_DEBUG_INIT(lockname) \ argument 57 # define SPIN_DEBUG_INIT(lockname) argument 60 #define __RAW_SPIN_LOCK_INITIALIZER(lockname) \ argument 63 SPIN_DEBUG_INIT(lockname) \ [all …]
|
D | rwlock_types.h | 25 # define RW_DEP_MAP_INIT(lockname) \ argument 27 .name = #lockname, \ 31 # define RW_DEP_MAP_INIT(lockname) argument 35 #define __RW_LOCK_UNLOCKED(lockname) \ argument 40 RW_DEP_MAP_INIT(lockname) } 42 #define __RW_LOCK_UNLOCKED(lockname) \ argument 44 RW_DEP_MAP_INIT(lockname) }
|
D | mutex.h | 94 #define __DEBUG_MUTEX_INITIALIZER(lockname) \ argument 95 , .magic = &lockname 101 # define __DEBUG_MUTEX_INITIALIZER(lockname) argument 123 # define __DEP_MAP_MUTEX_INITIALIZER(lockname) \ argument 125 .name = #lockname, \ 129 # define __DEP_MAP_MUTEX_INITIALIZER(lockname) argument 132 #define __MUTEX_INITIALIZER(lockname) \ argument 134 , .wait_lock = __SPIN_LOCK_UNLOCKED(lockname.wait_lock) \ 135 , .wait_list = LIST_HEAD_INIT(lockname.wait_list) \ 136 __DEBUG_MUTEX_INITIALIZER(lockname) \ [all …]
|
D | seqlock.h | 84 # define SEQCOUNT_DEP_MAP_INIT(lockname) \ argument 85 .dep_map = { .name = #lockname } 109 # define SEQCOUNT_DEP_MAP_INIT(lockname) argument 176 #define seqcount_LOCKNAME_init(s, _lock, lockname) \ argument 178 seqcount_##lockname##_t *____s = (s); \ 200 #define SEQCOUNT_LOCKNAME(lockname, locktype, preemptible, lockmember, lockbase, lock_acquire) \ argument 201 typedef struct seqcount_##lockname { \ 204 } seqcount_##lockname##_t; \ 207 __seqprop_##lockname##_ptr(seqcount_##lockname##_t *s) \ 213 __seqprop_##lockname##_sequence(const seqcount_##lockname##_t *s) \ [all …]
|
D | rwsem.h | 68 # define __RWSEM_DEP_MAP_INIT(lockname) \ argument 70 .name = #lockname, \ 74 # define __RWSEM_DEP_MAP_INIT(lockname) argument 78 # define __RWSEM_DEBUG_INIT(lockname) .magic = &lockname, argument 80 # define __RWSEM_DEBUG_INIT(lockname) argument 84 #define __RWSEM_OPT_INIT(lockname) .osq = OSQ_LOCK_UNLOCKED, argument 86 #define __RWSEM_OPT_INIT(lockname) argument
|
D | local_lock_internal.h | 17 # define LL_DEP_MAP_INIT(lockname) \ argument 19 .name = #lockname, \ 23 # define LL_DEP_MAP_INIT(lockname) argument 26 #define INIT_LOCAL_LOCK(lockname) { LL_DEP_MAP_INIT(lockname) } argument
|
D | ww_mutex.h | 52 # define __WW_CLASS_MUTEX_INITIALIZER(lockname, class) \ argument 55 # define __WW_CLASS_MUTEX_INITIALIZER(lockname, class) argument 64 #define __WW_MUTEX_INITIALIZER(lockname, class) \ argument 65 { .base = __MUTEX_INITIALIZER(lockname.base) \ 66 __WW_CLASS_MUTEX_INITIALIZER(lockname, class) }
|
D | percpu-rwsem.h | 24 #define __PERCPU_RWSEM_DEP_MAP_INIT(lockname) .dep_map = { .name = #lockname }, argument 26 #define __PERCPU_RWSEM_DEP_MAP_INIT(lockname) argument
|
/Linux-v5.10/fs/ocfs2/dlm/ |
D | dlmthread.c | 117 dlm->name, res->lockname.len, res->lockname.name); in __dlm_lockres_calc_usage() 126 dlm->name, res->lockname.len, res->lockname.name); in __dlm_lockres_calc_usage() 160 dlm->name, res->lockname.len, res->lockname.name); in __dlm_do_purge_lockres() 168 dlm->name, res->lockname.len, res->lockname.name); in __dlm_do_purge_lockres() 180 dlm->name, res->lockname.len, res->lockname.name); in __dlm_do_purge_lockres() 204 res->lockname.len, res->lockname.name, master); in dlm_purge_lockres() 209 dlm->name, res->lockname.len, res->lockname.name); in dlm_purge_lockres() 236 dlm->name, res->lockname.len, res->lockname.name, master); in dlm_purge_lockres() 244 dlm->name, res->lockname.len, res->lockname.name); in dlm_purge_lockres() 251 dlm->name, res->lockname.len, res->lockname.name); in dlm_purge_lockres() [all …]
|
D | dlmmaster.c | 280 memcpy(mle->mname, res->lockname.name, res->lockname.len); in dlm_init_mle() 281 mle->mnamelen = res->lockname.len; in dlm_init_mle() 282 mle->mnamehash = res->lockname.hash; in dlm_init_mle() 476 BUG_ON(!res->lockname.name); in dlm_lockres_release() 478 mlog(0, "destroying lockres %.*s\n", res->lockname.len, in dlm_lockres_release() 479 res->lockname.name); in dlm_lockres_release() 493 res->lockname.len, res->lockname.name, in dlm_lockres_release() 515 kmem_cache_free(dlm_lockname_cache, (void *)res->lockname.name); in dlm_lockres_release() 535 qname = (char *) res->lockname.name; in dlm_init_lockres() 538 res->lockname.len = namelen; in dlm_init_lockres() [all …]
|
D | dlmast.c | 90 dlm->name, res->lockname.len, res->lockname.name, in __dlm_queue_ast() 98 dlm->name, res->lockname.len, res->lockname.name, in __dlm_queue_ast() 109 dlm->name, res->lockname.len, res->lockname.name, in __dlm_queue_ast() 156 dlm->name, res->lockname.len, res->lockname.name, in __dlm_queue_bast() 214 res->lockname.len, res->lockname.name, in dlm_do_local_ast() 234 res->lockname.len, res->lockname.name, in dlm_do_remote_ast() 258 dlm->name, res->lockname.len, res->lockname.name, in dlm_do_local_bast() 342 mlog(0, "%s: res %.*s\n", dlm->name, res->lockname.len, in dlm_proxy_ast_handler() 343 res->lockname.name); in dlm_proxy_ast_handler() 396 dlm->name, res->lockname.len, res->lockname.name, in dlm_proxy_ast_handler() [all …]
|
D | dlmrecovery.c | 54 const char *lockname, int namelen, 280 dlm->name, res->lockname.len, res->lockname.name); in dlm_print_reco_node_status() 1054 if (dlm_is_recovery_lock(res->lockname.name, in dlm_move_reco_locks_to_list() 1055 res->lockname.len)) { in dlm_move_reco_locks_to_list() 1127 dlm->name, res->lockname.len, res->lockname.name, in dlm_send_mig_lockres_msg() 1140 mres->lockname, ret, send_to, in dlm_send_mig_lockres_msg() 1158 dlm_init_migratable_lockres(mres, res->lockname.name, in dlm_send_mig_lockres_msg() 1159 res->lockname.len, mres_total_locks, in dlm_send_mig_lockres_msg() 1165 const char *lockname, int namelen, in dlm_init_migratable_lockres() argument 1172 memcpy(mres->lockname, lockname, namelen); in dlm_init_migratable_lockres() [all …]
|
D | dlmconvert.c | 190 mlog(0, "res %.*s, granting %s lock\n", res->lockname.len, in __dlmconvert_master() 191 res->lockname.name, dlm_lock_mode_name(type)); in __dlmconvert_master() 213 "%d to %d...\n", res->lockname.len, res->lockname.name, in __dlmconvert_master() 218 mlog(0, "res %.*s, queueing...\n", res->lockname.len, in __dlmconvert_master() 219 res->lockname.name); in __dlmconvert_master() 286 res->lockname.len, res->lockname.name, in dlmconvert_remote() 333 dlm->name, res->lockname.len, res->lockname.name); in dlmconvert_remote() 366 mlog(0, "%.*s\n", res->lockname.len, res->lockname.name); in dlm_send_remote_convert_request() 372 convert.namelen = res->lockname.len; in dlm_send_remote_convert_request() 374 memcpy(convert.name, res->lockname.name, convert.namelen); in dlm_send_remote_convert_request()
|
D | dlmlock.c | 139 if (!dlm_is_recovery_lock(res->lockname.name, in dlmlock_master() 140 res->lockname.len)) { in dlmlock_master() 153 if (dlm_is_recovery_lock(res->lockname.name, in dlmlock_master() 154 res->lockname.len)) { in dlmlock_master() 207 lock->ml.type, res->lockname.len, in dlmlock_remote() 208 res->lockname.name, flags); in dlmlock_remote() 237 dlm_is_recovery_lock(res->lockname.name, in dlmlock_remote() 238 res->lockname.len)) { in dlmlock_remote() 257 } else if (dlm_is_recovery_lock(res->lockname.name, in dlmlock_remote() 258 res->lockname.len)) { in dlmlock_remote() [all …]
|
D | dlmunlock.c | 111 "while waiting for an ast!", res->lockname.len, in dlmunlock_common() 112 res->lockname.name); in dlmunlock_common() 187 dlm->name, res->lockname.len, in dlmunlock_common() 188 res->lockname.name, in dlmunlock_common() 323 mlog(0, "%.*s\n", res->lockname.len, res->lockname.name); in dlm_send_remote_unlock_request() 331 res->lockname.len, res->lockname.name); in dlm_send_remote_unlock_request() 339 unlock.namelen = res->lockname.len; in dlm_send_remote_unlock_request() 340 memcpy(unlock.name, res->lockname.name, unlock.namelen); in dlm_send_remote_unlock_request()
|
D | dlmdebug.c | 32 static int stringify_lockname(const char *lockname, int locklen, char *buf, 89 stringify_lockname(res->lockname.name, res->lockname.len, in __dlm_print_one_lock_resource() 236 static int stringify_lockname(const char *lockname, int locklen, char *buf, in stringify_lockname() argument 243 if (*lockname == 'N') { in stringify_lockname() 245 (char *)&lockname[OCFS2_DENTRY_LOCK_INO_START], in stringify_lockname() 248 OCFS2_DENTRY_LOCK_INO_START - 1, lockname, in stringify_lockname() 252 locklen, lockname); in stringify_lockname() 365 out += stringify_lockname(res->lockname.name, in debug_purgelist_print() 366 res->lockname.len, in debug_purgelist_print() 495 out += stringify_lockname(res->lockname.name, res->lockname.len, in dump_lockres()
|
D | dlmdomain.c | 152 mlog(0, "%s: Unhash res %.*s\n", dlm->name, res->lockname.len, in __dlm_unhash_lockres() 153 res->lockname.name); in __dlm_unhash_lockres() 164 bucket = dlm_lockres_hash(dlm, res->lockname.hash); in __dlm_insert_lockres() 171 mlog(0, "%s: Hash res %.*s\n", dlm->name, res->lockname.len, in __dlm_insert_lockres() 172 res->lockname.name); in __dlm_insert_lockres() 190 if (res->lockname.name[0] != name[0]) in __dlm_lookup_lockres_full() 192 if (unlikely(res->lockname.len != len)) in __dlm_lookup_lockres_full() 194 if (memcmp(res->lockname.name + 1, name + 1, len - 1)) in __dlm_lookup_lockres_full()
|
D | dlmcommon.h | 282 struct qstr lockname; member 563 u8 lockname[DLM_LOCKID_NAME_MAX]; member
|