Function report | 
Source Code:lib\bitmap.c | 
Create Date:2022-07-28 06:20:24 | 
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick | 
| home page | Tree | 
| Annotation kernel can get tool activity | Download SCCT | Chinese | 
Name:__bitmap_weight
Proto:int __bitmap_weight(const unsigned long *bitmap, unsigned int bits)
Type:int
Parameter:
| Type | Parameter | Name | 
|---|---|---|
| const unsigned long * | bitmap | |
| unsigned int | bits | 
| 269 | lim = bits / BITS_PER_LONG | 
| 270 | w = 0 | 
| 275 | If bits % BITS_PER_LONG Then w += hweight_long(bitmap[k] & BITMAP_LAST_WORD_MASK(bits)) | 
| 278 | Return w | 
| Name | Describe | 
|---|---|
| bitmap_pos_to_ord | map_pos_to_ord - find ordinal of set bit at given position in bitmap*@buf: pointer to a bitmap*@pos: a bit position in @buf (0 <= @pos < @nbits)*@nbits: number of valid bit positions in @buf* Map the bit at position @pos in @buf (of length @nbits) to the | 
| bitmap_weight | 
| 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  |