Scroll to navigation

RESERVATION_OBJECT_W(9) Device drivers infrastructure RESERVATION_OBJECT_W(9)

NAME

reservation_object_wait_timeout_rcu - 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

January 2017 Kernel Hackers Manual 4.8.