reservation_object_wait_timeout_rcu(9) Wait on reservation's objects shared and/or exclusive fences.

SYNOPSIS

long reservation_object_wait_timeout_rcu(struct reservation_object * obj, bool wait_all, bool intr, unsigned long timeout);

ARGUMENTS

obj

the reservation object

wait_all

if true, wait on all fences, else wait on just exclusive fence

intr

if true, do interruptible wait

timeout

timeout value in jiffies or zero to return immediately

DESCRIPTION

RETURNS Returns -ERESTARTSYS if interrupted, 0 if the wait timed out, or greater than zer on success.

COPYRIGHT