android_kernel_xiaomi_sm8350/ipc
Nadia Derbey 7ca7e564e0 ipc: store ipcs into IDRs
This patch introduces ipcs storage into IDRs. The main changes are:
  . This ipc_ids structure is changed: the entries array is changed into a
    root idr structure.
  . The grow_ary() routine is removed: it is not needed anymore when adding
    an ipc structure, since we are now using the IDR facility.
  . The ipc_rmid() routine interface is changed:
       . there is no need for this routine to return the pointer passed in as
         argument: it is now declared as a void
       . since the id is now part of the kern_ipc_perm structure, no need to
         have it as an argument to the routine

Signed-off-by: Nadia Derbey <Nadia.Derbey@bull.net>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
2007-10-19 11:53:44 -07:00
..
compat_mq.c
compat.c
ipc_sysctl.c ipc namespace: remove config ipc ns fix 2007-10-17 08:42:57 -07:00
Makefile
mqueue.c pid namespaces: changes to show virtual ids to user 2007-10-19 11:53:40 -07:00
msg.c ipc: store ipcs into IDRs 2007-10-19 11:53:44 -07:00
msgutil.c
sem.c ipc: store ipcs into IDRs 2007-10-19 11:53:44 -07:00
shm.c ipc: store ipcs into IDRs 2007-10-19 11:53:44 -07:00
util.c ipc: store ipcs into IDRs 2007-10-19 11:53:44 -07:00
util.h ipc: store ipcs into IDRs 2007-10-19 11:53:44 -07:00