Function report |
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 activity | Download SCCT | Chinese |
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:
Type | Parameter | Name |
---|---|---|
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_) |
Name | Describe |
---|---|
torture_ww_mutex_lock | |
__test_mutex | |
test_aa | |
test_abba_work | |
test_abba | |
test_cycle_work | |
stress_inorder_work | |
stress_reorder_work |
Source code conversion tool public plug-in interface | X |
---|---|
Support c/c++/esqlc/java Oracle/Informix/Mysql Plug-in can realize: logical Report Code generation and batch code conversion |