1. NAME

ipc_lock - Lock an ipc structure without rw_mutex held

2. SYNOPSIS

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

3. ARGUMENTS

ids
    IPC identifier set

id
    ipc id to look for

4. DESCRIPTION

Look for an id in the ipc ids idr and lock the associated ipc object.

The ipc object is locked on successful exit.

5. COPYRIGHT