Function report |
Source Code:lib\debugobjects.c |
Create Date:2022-07-28 06:55:01 |
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
| home page | Tree |
| Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:fill_pool
Proto:static void fill_pool(void)
Type:void
Parameter:Nothing
| 135 | If Value is more likely to compile time(READ_ONCE(obj_pool_free) >= debug_objects_pool_min_level) Then Return |
| 147 | raw_spin_lock_irqsave( & pool_lock, flags) |
| 153 | obj = hlist_entry(first, typeof( * obj), node) |
| 155 | WRITE_ONCE(The number of objs on the global free list , The number of objs on the global free list - 1) |
| 156 | hlist_add_head( & node, & obj_pool) |
| 157 | WRITE_ONCE(obj_pool_free, obj_pool_free + 1) |
| 159 | raw_spin_unlock_irqrestore( & pool_lock, flags) |
| 162 | If Value for the false possibility is greater at compile time(!obj_cache) Then Return |
| 165 | When READ_ONCE(obj_pool_free) < debug_objects_pool_min_level cycle |
| 169 | When cnt < ODEBUG_BATCH_SIZE cycle |
| 174 | If Not cnt Then Return |
| 177 | raw_spin_lock_irqsave( & pool_lock, flags) |
| 179 | hlist_add_head( & node, & obj_pool) |
| 181 | WRITE_ONCE(obj_pool_free, obj_pool_free + 1) |
| 183 | raw_spin_unlock_irqrestore( & pool_lock, flags) |
| Name | Describe |
|---|---|
| __debug_object_init |
| 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 |