Function report |
Source Code:lib\sbitmap.c |
Create Date:2022-07-28 07:22:55 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
home page | Tree |
Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:__sbq_wake_up
Proto:static bool __sbq_wake_up(struct sbitmap_queue *sbq)
Type:bool
Parameter:
Type | Parameter | Name |
---|---|---|
struct sbitmap_queue * | sbq |
517 | ws = sbq_wake_ptr(sbq) |
518 | If Not ws Then Return false |
522 | If wait_cnt <= 0 Then |
525 | wake_batch = READ_ONCE(@wake_batch: Number of bits which must be freed before we wake up any* waiters.) |
532 | smp_mb__before_atomic() |
539 | ret = atomic_cmpxchg( & @wait_cnt: Number of frees remaining before we wake up., wait_cnt, wake_batch) |
542 | wake_up_nr( & @wait: Wait queue., wake_batch) |
543 | Return false |
546 | Return true |
549 | Return false |
Name | Describe |
---|---|
sbitmap_queue_wake_up |
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 |