:: RootR ::  Hosting Order Map Login   Secure Inter-Network Operations  
 
fixup_owner(9) - phpMan

Command: man perldoc info search(apropos)  


FIXUP_OWNER(9)                         Futex API reference                         FIXUP_OWNER(9)



NAME
       fixup_owner - Post lock pi_state and corner case management

SYNOPSIS
       int fixup_owner(u32 __user * uaddr, struct futex_q * q, int locked);

ARGUMENTS
       uaddr
           user address of the futex

       q
           futex_q (contains pi_state and access to the rt_mutex)

       locked
           if the attempt to take the rt_mutex succeeded (1) or not (0)

DESCRIPTION
       After attempting to lock an rt_mutex, this function is called to cleanup the pi_state
       owner as well as handle race conditions that may allow us to acquire the lock. Must be
       called with the hb lock held.

RETURN
       1 - success, lock taken; 0 - success, lock not taken; <0 - on error (-EFAULT)

AUTHOR
       Rusty Russell <rusty AT rustcorp.au>
           Author.

COPYRIGHT
Kernel Hackers Manual 4.8.                 January 2017                            FIXUP_OWNER(9)


/man
rootr.net - man pages