Function report |
Source Code:lib\sbitmap.c |
Create Date:2022-07-28 07:22:53 |
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
| home page | Tree |
| Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:__sbitmap_queue_get_shallow
Proto:int __sbitmap_queue_get_shallow(struct sbitmap_queue *sbq, unsigned int shallow_depth)
Type:int
Parameter:
| Type | Parameter | Name |
|---|---|---|
| struct sbitmap_queue * | sbq | |
| unsigned int | shallow_depth |
| 455 | WARN_ON_ONCE(shallow_depth < @min_shallow_depth: The minimum shallow depth which may be passed to* sbitmap_queue_get_shallow() or __sbitmap_queue_get_shallow().) |
| 459 | If Value for the false possibility is greater at compile time(hint >= depth) Then |
| 460 | hint = If depth Then prandom_u32() % depth Else 0 |
| 463 | nr = sbitmap_get_shallow( & @sb: Scalable bitmap., hint, shallow_depth) |
| 465 | If nr == -1 Then |
| 476 | Return nr |
| 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 |