Function report |
Source Code:lib\bitmap.c |
Create Date:2022-07-28 06:20:25 |
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
| home page | Tree |
| Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:__bitmap_clear
Proto:void __bitmap_clear(unsigned long *map, unsigned int start, int len)
Type:void
Parameter:
| Type | Parameter | Name |
|---|---|---|
| unsigned long * | map | |
| unsigned int | start | |
| int | len |
| 307 | bits_to_clear = BITS_PER_LONG - start % BITS_PER_LONG |
| 310 | When len - bits_to_clear >= 0 cycle |
| 311 | p &= ~mask_to_clear |
| 312 | len -= bits_to_clear |
| 313 | bits_to_clear = BITS_PER_LONG |
| 314 | mask_to_clear = ~0UL |
| 315 | p++ |
| 317 | If len Then |
| 318 | mask_to_clear &= BITMAP_LAST_WORD_MASK(size) |
| 319 | p &= ~mask_to_clear |
| Name | Describe |
|---|---|
| test_mem_optimisations |
| 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 |