Function report |
Source Code:kernel\futex.c |
Create Date:2022-07-28 10:53:22 |
| Last Modify:2020-03-17 15:28:32 | Copyright©Brick |
| home page | Tree |
| Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:hash_futex - Return the hash bucket in the global hash*@key: Pointer to the futex key for which the hash is calculated* We hash on the keys returned from get_futex_key (see below) and return the* corresponding hash bucket in the global hash.
Proto:static struct futex_hash_bucket *hash_futex(union futex_key *key)
Type:struct futex_hash_bucket
Parameter:
| Type | Parameter | Name |
|---|---|---|
| union futex_key * | key |
| 391 | Return futex_queues[hash & (futex_hashsize - 1)] |
| Name | Describe |
|---|---|
| futex_wake | Wake up waiters matching bitset queued on this futex (uaddr). |
| futex_wake_op | Wake up all waiters hashed on the physical page that is mapped* to this virtual address: |
| futex_requeue | ex_requeue() - Requeue waiters from uaddr1 to uaddr2*@uaddr1: source futex user address*@flags: futex flags (FLAGS_SHARED, etc |
| queue_lock | The key must be already stored in q->key. |
| futex_unlock_pi | Userspace attempted a TID -> 0 atomic transition, and failed.* This is the in-kernel slowpath: we look up the PI state (if any),* and do the rt-mutex unlock. |
| 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 |