Name

ipc_obtain_object_check —

Synopsis

struct kern_ipc_perm * ipc_obtain_object_check (struct ipc_ids * ids,
 int id);
 

Arguments

struct ipc_ids * ids

ipc identifier set

int id

ipc id to look for

Description

Similar to ipc_obtain_object_idr but also checks the ipc object reference counter.

Call inside the RCU critical section. The ipc object is *not* locked on exit.