table of contents
other versions
IPC_LOCK(9) | Kernel IPC facilities | IPC_LOCK(9) |
NAME¶
ipc_lock - lock an ipc structure without rwsem held
SYNOPSIS¶
struct kern_ipc_perm * ipc_lock(struct ipc_ids * ids, int id);
ARGUMENTS¶
struct ipc_ids * ids
ipc identifier set
int id
ipc id to look for
DESCRIPTION¶
Look for an id in the ipc ids idr and lock the associated ipc object.
The ipc object is locked on successful exit.
COPYRIGHT¶
June 2017 | Kernel Hackers Manual 4.11 |