Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:include\linux\ww_mutex.h Create Date:2022-07-28 06:49:04
Last Modify:2020-03-12 14:18:49 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name:ww_acquire_init - initialize a w/w acquire context*@ctx: w/w acquire context to initialize*@ww_class: w/w class of the context* Initializes an context to acquire multiple mutexes of the given w/w class

Proto:static inline void ww_acquire_init(struct ww_acquire_ctx *ctx, struct ww_class *ww_class)

Type:void

Parameter:

TypeParameterName
struct ww_acquire_ctx *ctx
struct ww_class *ww_class
132  task = current process
133  stamp = atomic_long_inc_return_relaxed( & stamp)
134  acquired = 0
135  wounded = false
136  is_wait_die = is_wait_die
143  debug_check_no_locks_freed((void * )ctx, size of ctx )
144  lockdep_init_map( & dep_map, acquire_name, & acquire_key, 0)
146  mutex_acquire( & dep_map, 0, 0, _RET_IP_)
Caller
NameDescribe
torture_ww_mutex_lock
__test_mutex
test_aa
test_abba_work
test_abba
test_cycle_work
stress_inorder_work
stress_reorder_work