ipc_lock_down(9)

NAME

ipc_lock_down - Lock an ipc structure with rw_sem held

SYNOPSIS

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

ARGUMENTS

ids
IPC identifier set
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 exit.

This is the routine that should be called when the rw_mutex is already held, i.e. idr tree protected.

COPYRIGHT

Copyright © 2010-2025 Platon Technologies, s.r.o.           Home | Man pages | tLDP | Documents | Utilities | About
Design by styleshout