Function report |
Source Code:kernel\futex.c |
Create Date:2022-07-28 10:53:23 |
Last Modify:2020-03-17 15:28:32 | Copyright©Brick |
home page | Tree |
Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:Take a reference to the resource addressed by a key.* Can be called while holding spinlocks.
Proto:static void get_futex_key_refs(union futex_key *key)
Type:void
Parameter:
Type | Parameter | Name |
---|---|---|
union futex_key * | key |
417 | If Not ptr Then Return |
426 | smp_mb() |
427 | Return |
431 | Case & == We set bit 0 if key has a reference on inode |
434 | Case & == We set bit 1 if key has a reference on mm |
435 | futex_get_mm(key) |
436 | Break |
437 | Default |
443 | smp_mb() |
Name | Describe |
---|---|
get_futex_key | get_futex_key() - Get parameters which are the keys for a futex*@uaddr: virtual address of the futex*@fshared: 0 for a PROCESS_PRIVATE futex, 1 for PROCESS_SHARED*@key: address where result is stored |
requeue_futex | queue_futex() - Requeue a futex_q from one hb to another*@q: the futex_q to requeue*@hb1: the source hash_bucket*@hb2: the target hash_bucket*@key2: the new key for the requeued futex_q |
requeue_pi_wake_futex | queue_pi_wake_futex() - Wake a task that acquired the lock during requeue*@q: the futex_q*@key: the key of the requeue target futex*@hb: the hash_bucket of the requeue target futex* During futex_requeue, with requeue_pi=1, it is possible to acquire the |
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 |