Function report |
Source Code:lib\sbitmap.c |
Create Date:2022-07-28 07:22:51 |
| 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_init_node
Proto:int sbitmap_queue_init_node(struct sbitmap_queue *sbq, unsigned int depth, int shift, bool round_robin, gfp_t flags, int node)
Type:int
Parameter:
| Type | Parameter | Name |
|---|---|---|
| struct sbitmap_queue * | sbq | |
| unsigned int | depth | |
| int | shift | |
| bool | round_robin | |
| gfp_t | flags | |
| int | node |
| 358 | ret = sbitmap_init_node( & @sb: Scalable bitmap., depth, shift, flags, node) |
| 368 | If depth && Not round_robin Then |
| 369 | for_each_possible_cpu(i) |
| 373 | @min_shallow_depth: The minimum shallow depth which may be passed to* sbitmap_queue_get_shallow() or __sbitmap_queue_get_shallow(). = UINT_MAX |
| 374 | @wake_batch: Number of bits which must be freed before we wake up any* waiters. = sbq_calc_wake_batch(sbq, depth) |
| 379 | If Not @ws: Wait queues. Then |
| 382 | Return -ENOMEM |
| 385 | When i < SBQ_WAIT_QUEUES cycle |
| 391 | Return 0 |
| Name | Describe |
|---|---|
| kyber_queue_data_alloc |
| 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 |