Function report |
Source Code:lib\idr.c |
Create Date:2022-07-28 06:13:52 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
home page | Tree |
Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:da_destroy() - Free all IDs.*@ida: IDA handle.* Calling this function frees all IDs and releases all resources used* by an IDA. When this call returns, the IDA is empty and can be reused* or freed. If the IDA is already empty, there is no need to call this
Proto:void ida_destroy(struct ida *ida)
Type:void
Parameter:
Type | Parameter | Name |
---|---|---|
struct ida * | ida |
542 | xas_lock_irqsave( & xas, flags) |
544 | If Not xa_is_value() - Determine if an entry is a value.*@entry: XArray entry.* Context: Any context.* Return: True if the entry is a value, false if it is a pointer. Then kfree(bitmap) |
548 | xas_unlock_irqrestore( & xas, flags) |
Name | Describe |
---|---|
ida_check_alloc | Straightforward checks that allocating and freeing IDs work. |
ida_check_destroy_1 | Destroy an IDA with a single entry at @base |
ida_check_destroy | Check that ida_destroy and ida_is_empty work |
ida_check_leaf | Check what happens when we fill a leaf and then delete it. This may* discover mishandling of IDR_FREE. |
ida_check_max | Check allocations up to and slightly above the maximum allowed (2^31-1) ID.* Allocating up to 2^31-1 should succeed, and then allocating the next one* should fail. |
objagg_destroy | bjagg_destroy - destroys a new objagg instance*@objagg: objagg instance* Note: all locking must be provided by the caller. |
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 |