Function report |
Source Code:lib\debugobjects.c |
Create Date:2022-07-28 06:55:04 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
home page | Tree |
Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:free_obj_work
Proto:static void free_obj_work(struct work_struct *work)
Type:void
Parameter:
Type | Parameter | Name |
---|---|---|
struct work_struct * | work |
298 | WRITE_ONCE(obj_freeing, false) |
299 | If Not raw_spin_trylock_irqsave( & pool_lock, flags) Then Return |
302 | If obj_pool_free >= debug_objects_pool_size Then Go to free_objs |
313 | obj = hlist_entry(first, typeof( * obj), node) |
315 | hlist_add_head( & node, & obj_pool) |
316 | WRITE_ONCE(obj_pool_free, obj_pool_free + 1) |
319 | raw_spin_unlock_irqrestore( & pool_lock, flags) |
320 | Return |
322 | free_objs : |
328 | If The number of objs on the global free list Then |
333 | raw_spin_unlock_irqrestore( & pool_lock, flags) |
337 | kmem_cache_free(obj_cache, obj) |
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 |