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_free() - Release an allocated ID.*@ida: IDA handle.*@id: Previously allocated ID.* Context: Any context.
Proto:void ida_free(struct ida *ida, unsigned int id)
Type:void
Parameter:
Type | Parameter | Name |
---|---|---|
struct ida * | ida | |
unsigned int | id |
487 | bit = id % IDA_BITMAP_BITS |
493 | xas_lock_irqsave( & xas, flags) |
497 | v = xa_to_value() - Get value stored in an XArray entry.*@entry: XArray entry.* Context: Any context.* Return: The value stored in the XArray entry. |
506 | Else |
507 | If Not st_bit - Determine whether a bit is set*@nr: bit number to test*@addr: Address to start counting from Then Go to err |
511 | If bitmap_empty(bitmap, IDA_BITMAP_BITS) Then |
517 | xas_unlock_irqrestore( & xas, flags) |
518 | Return |
519 | err : |
520 | xas_unlock_irqrestore( & xas, flags) |
Name | Describe |
---|---|
ida_check_alloc | Straightforward checks that allocating and freeing IDs 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_conv | Check handling of conversions between exceptional entries and full bitmaps. |
memregion_free | |
objagg_obj_root_id_free | |
mnt_free_id | |
mnt_release_group_id | Release a peer group ID |
devpts_kill_index |
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 |