/linux/include/linux/ |
A D | spinlock_types_raw.h | 30 # define RAW_SPIN_DEP_MAP_INIT(lockname) \ argument 32 .name = #lockname, \ 35 # define SPIN_DEP_MAP_INIT(lockname) \ argument 37 .name = #lockname, \ 43 .name = #lockname, \ 48 # define RAW_SPIN_DEP_MAP_INIT(lockname) argument 49 # define SPIN_DEP_MAP_INIT(lockname) argument 54 # define SPIN_DEBUG_INIT(lockname) \ argument 59 # define SPIN_DEBUG_INIT(lockname) argument 65 SPIN_DEBUG_INIT(lockname) \ [all …]
|
A D | seqlock.h | 85 .dep_map = { .name = #lockname } 109 # define SEQCOUNT_DEP_MAP_INIT(lockname) argument 178 seqcount_##lockname##_t *____s = (s); \ 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) \ 235 __seqprop_##lockname##_preemptible(const seqcount_##lockname##_t *s) \ 245 __seqprop_##lockname##_assert(const seqcount_##lockname##_t *s) \ 300 seqcount_##lockname##_t: __seqprop_##lockname##_##prop((void *)(s)) [all …]
|
A D | mutex.h | 24 # define __DEP_MAP_MUTEX_INITIALIZER(lockname) \ argument 26 .name = #lockname, \ 30 # define __DEP_MAP_MUTEX_INITIALIZER(lockname) argument 80 #define __DEBUG_MUTEX_INITIALIZER(lockname) \ argument 81 , .magic = &lockname 87 # define __DEBUG_MUTEX_INITIALIZER(lockname) argument 108 #define __MUTEX_INITIALIZER(lockname) \ argument 110 , .wait_lock = __RAW_SPIN_LOCK_UNLOCKED(lockname.wait_lock) \ 111 , .wait_list = LIST_HEAD_INIT(lockname.wait_list) \ 112 __DEBUG_MUTEX_INITIALIZER(lockname) \ [all …]
|
A D | rwsem.h | 20 # define __RWSEM_DEP_MAP_INIT(lockname) \ argument 22 .name = #lockname, \ 26 # define __RWSEM_DEP_MAP_INIT(lockname) argument 80 # define __RWSEM_DEBUG_INIT(lockname) .magic = &lockname, argument 82 # define __RWSEM_DEBUG_INIT(lockname) argument 86 #define __RWSEM_OPT_INIT(lockname) .osq = OSQ_LOCK_UNLOCKED, argument 88 #define __RWSEM_OPT_INIT(lockname) argument 141 #define DECLARE_RWSEM(lockname) \ argument 142 struct rw_semaphore lockname = __RWSEM_INITIALIZER(lockname)
|
A D | spinlock_types.h | 31 #define ___SPIN_LOCK_INITIALIZER(lockname) \ argument 34 SPIN_DEBUG_INIT(lockname) \ 35 SPIN_DEP_MAP_INIT(lockname) } 37 #define __SPIN_LOCK_INITIALIZER(lockname) \ argument 38 { { .rlock = ___SPIN_LOCK_INITIALIZER(lockname) } } 40 #define __SPIN_LOCK_UNLOCKED(lockname) \ argument 41 (spinlock_t) __SPIN_LOCK_INITIALIZER(lockname)
|
A D | rwlock_types.h | 9 # define RW_DEP_MAP_INIT(lockname) \ argument 11 .name = #lockname, \ 15 # define RW_DEP_MAP_INIT(lockname) argument 39 #define __RW_LOCK_UNLOCKED(lockname) \ argument 44 RW_DEP_MAP_INIT(lockname) } 46 #define __RW_LOCK_UNLOCKED(lockname) \ argument 48 RW_DEP_MAP_INIT(lockname) }
|
A D | local_lock_internal.h | 19 # define LOCAL_LOCK_DEBUG_INIT(lockname) \ argument 21 .name = #lockname, \ 46 # define LOCAL_LOCK_DEBUG_INIT(lockname) argument 52 #define INIT_LOCAL_LOCK(lockname) { LOCAL_LOCK_DEBUG_INIT(lockname) } argument 109 #define INIT_LOCAL_LOCK(lockname) __LOCAL_SPIN_LOCK_UNLOCKED((lockname)) argument
|
A 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/fs/ocfs2/dlm/ |
A D | dlmthread.c | 115 dlm->name, res->lockname.len, res->lockname.name); in __dlm_lockres_calc_usage() 124 dlm->name, res->lockname.len, res->lockname.name); in __dlm_lockres_calc_usage() 158 dlm->name, res->lockname.len, res->lockname.name); in __dlm_do_purge_lockres() 166 dlm->name, res->lockname.len, res->lockname.name); in __dlm_do_purge_lockres() 178 dlm->name, res->lockname.len, res->lockname.name); in __dlm_do_purge_lockres() 202 res->lockname.len, res->lockname.name, master); in dlm_purge_lockres() 207 dlm->name, res->lockname.len, res->lockname.name); in dlm_purge_lockres() 242 dlm->name, res->lockname.len, res->lockname.name); in dlm_purge_lockres() 261 res->lockname.len, res->lockname.name); in dlm_purge_lockres() 362 res->lockname.len, res->lockname.name); in dlm_shuffle_lists() [all …]
|
A D | dlmmaster.c | 491 res->lockname.len, res->lockname.name, in dlm_lockres_release() 662 dlm->name, res->lockname.len, res->lockname.name, in __dlm_lockres_grab_inflight_worker() 673 dlm->name, res->lockname.len, res->lockname.name, in __dlm_lockres_drop_inflight_worker() 1109 res->lockname.len, res->lockname.name); in dlm_wait_for_lock_mastery() 1121 res->lockname.len, res->lockname.name, m); in dlm_wait_for_lock_mastery() 1659 const char *lockname = res->lockname.name; in dlm_do_assert_master() local 1933 res->lockname.len, res->lockname.name, in dlm_assert_master_handler() 2222 lockname = res->lockname.name; in dlm_drop_lockres_ref() 2389 res->lockname.len, res->lockname.name, node); in dlm_deref_lockres_done_handler() 2416 lockname = res->lockname.name; in dlm_drop_lockres_ref_done() [all …]
|
A D | dlmast.c | 88 dlm->name, res->lockname.len, res->lockname.name, in __dlm_queue_ast() 96 dlm->name, res->lockname.len, res->lockname.name, in __dlm_queue_ast() 107 dlm->name, res->lockname.len, res->lockname.name, in __dlm_queue_ast() 154 dlm->name, res->lockname.len, res->lockname.name, in __dlm_queue_bast() 202 res->lockname.len, res->lockname.name, in dlm_do_local_ast() 222 res->lockname.len, res->lockname.name, in dlm_do_remote_ast() 246 dlm->name, res->lockname.len, res->lockname.name, in dlm_do_local_bast() 331 res->lockname.name); in dlm_proxy_ast_handler() 384 dlm->name, res->lockname.len, res->lockname.name, in dlm_proxy_ast_handler() 432 res->lockname.len, res->lockname.name, lock->ml.node, msg_type, in dlm_send_proxy_ast_msg() [all …]
|
A D | dlmrecovery.c | 271 dlm->name, res->lockname.len, res->lockname.name); in dlm_print_reco_node_status() 1118 dlm->name, res->lockname.len, res->lockname.name, in dlm_send_mig_lockres_msg() 1163 memcpy(mres->lockname, lockname, namelen); in dlm_init_migratable_lockres() 1326 res->lockname.len, res->lockname.name); in dlm_send_one_lockres() 1562 res->lockname.len, res->lockname.name); in dlm_mig_lockres_worker() 1868 res->lockname.len, res->lockname.name, in dlm_process_recovery_data() 1996 res->lockname.len, res->lockname.name, in dlm_process_recovery_data() 2074 res->lockname.len, res->lockname.name); in dlm_move_lockres_to_recovery_list() 2082 res->lockname.len, res->lockname.name); in dlm_move_lockres_to_recovery_list() 2103 res->lockname.len, res->lockname.name); in dlm_move_lockres_to_recovery_list() [all …]
|
A D | dlmconvert.c | 188 mlog(0, "res %.*s, granting %s lock\n", res->lockname.len, in __dlmconvert_master() 189 res->lockname.name, dlm_lock_mode_name(type)); in __dlmconvert_master() 211 "%d to %d...\n", res->lockname.len, res->lockname.name, in __dlmconvert_master() 216 mlog(0, "res %.*s, queueing...\n", res->lockname.len, in __dlmconvert_master() 217 res->lockname.name); in __dlmconvert_master() 284 res->lockname.len, res->lockname.name, in dlmconvert_remote() 331 dlm->name, res->lockname.len, res->lockname.name); in dlmconvert_remote() 364 mlog(0, "%.*s\n", res->lockname.len, res->lockname.name); in dlm_send_remote_convert_request() 370 convert.namelen = res->lockname.len; in dlm_send_remote_convert_request() 372 memcpy(convert.name, res->lockname.name, convert.namelen); in dlm_send_remote_convert_request()
|
A D | dlmlock.c | 137 if (!dlm_is_recovery_lock(res->lockname.name, in dlmlock_master() 138 res->lockname.len)) { in dlmlock_master() 151 if (dlm_is_recovery_lock(res->lockname.name, in dlmlock_master() 152 res->lockname.len)) { in dlmlock_master() 205 lock->ml.type, res->lockname.len, in dlmlock_remote() 206 res->lockname.name, flags); in dlmlock_remote() 235 dlm_is_recovery_lock(res->lockname.name, in dlmlock_remote() 236 res->lockname.len)) { in dlmlock_remote() 255 } else if (dlm_is_recovery_lock(res->lockname.name, in dlmlock_remote() 256 res->lockname.len)) { in dlmlock_remote() [all …]
|
A D | dlmunlock.c | 109 "while waiting for an ast!", res->lockname.len, in dlmunlock_common() 110 res->lockname.name); in dlmunlock_common() 185 dlm->name, res->lockname.len, in dlmunlock_common() 186 res->lockname.name, in dlmunlock_common() 321 mlog(0, "%.*s\n", res->lockname.len, res->lockname.name); in dlm_send_remote_unlock_request() 329 res->lockname.len, res->lockname.name); in dlm_send_remote_unlock_request() 337 unlock.namelen = res->lockname.len; in dlm_send_remote_unlock_request() 338 memcpy(unlock.name, res->lockname.name, unlock.namelen); in dlm_send_remote_unlock_request()
|
A D | dlmdebug.c | 30 static int stringify_lockname(const char *lockname, int locklen, char *buf, 87 stringify_lockname(res->lockname.name, res->lockname.len, in __dlm_print_one_lock_resource() 234 static int stringify_lockname(const char *lockname, int locklen, char *buf, in stringify_lockname() argument 241 if (*lockname == 'N') { in stringify_lockname() 243 (char *)&lockname[OCFS2_DENTRY_LOCK_INO_START], in stringify_lockname() 246 OCFS2_DENTRY_LOCK_INO_START - 1, lockname, in stringify_lockname() 250 locklen, lockname); in stringify_lockname() 363 out += stringify_lockname(res->lockname.name, in debug_purgelist_print() 364 res->lockname.len, in debug_purgelist_print() 493 out += stringify_lockname(res->lockname.name, res->lockname.len, in dump_lockres()
|
A D | dlmdomain.c | 150 mlog(0, "%s: Unhash res %.*s\n", dlm->name, res->lockname.len, in __dlm_unhash_lockres() 151 res->lockname.name); in __dlm_unhash_lockres() 162 bucket = dlm_lockres_hash(dlm, res->lockname.hash); in __dlm_insert_lockres() 169 mlog(0, "%s: Hash res %.*s\n", dlm->name, res->lockname.len, in __dlm_insert_lockres() 170 res->lockname.name); in __dlm_insert_lockres() 188 if (res->lockname.name[0] != name[0]) in __dlm_lookup_lockres_full() 190 if (unlikely(res->lockname.len != len)) in __dlm_lookup_lockres_full() 192 if (memcmp(res->lockname.name + 1, name + 1, len - 1)) in __dlm_lookup_lockres_full()
|
A D | dlmcommon.h | 277 struct qstr lockname; member 558 u8 lockname[DLM_LOCKID_NAME_MAX]; member
|