#include <linux/slab.h>
#include <linux/mm.h>
#include <linux/hugetlb.h>
#include <linux/shm.h>
#include <linux/init.h>
#include <linux/file.h>
#include <linux/mman.h>
#include <linux/shmem_fs.h>
#include <linux/security.h>
#include <linux/syscalls.h>
#include <linux/audit.h>
#include <linux/capability.h>
#include <linux/ptrace.h>
#include <linux/seq_file.h>
#include <linux/rwsem.h>
#include <linux/nsproxy.h>
#include <linux/mount.h>
#include <linux/ipc_namespace.h>
#include <asm/uaccess.h>
#include "util.h"
Go to the source code of this file.
|
void | shm_init_ns (struct ipc_namespace *ns) |
|
| pure_initcall (ipc_ns_init) |
|
void __init | shm_init (void) |
|
void | shm_destroy_orphaned (struct ipc_namespace *ns) |
|
void | exit_shm (struct task_struct *task) |
|
int | is_file_shm_hugepages (struct file *file) |
|
| SYSCALL_DEFINE3 (shmget, key_t, key, size_t, size, int, shmflg) |
|
| SYSCALL_DEFINE3 (shmctl, int, shmid, int, cmd, struct shmid_ds __user *, buf) |
|
long | do_shmat (int shmid, char __user *shmaddr, int shmflg, ulong *raddr, unsigned long shmlba) |
|
| SYSCALL_DEFINE3 (shmat, int, shmid, char __user *, shmaddr, int, shmflg) |
|
| SYSCALL_DEFINE1 (shmdt, char __user *, shmaddr) |
|
Definition at line 54 of file shm.c.
Definition at line 59 of file shm.c.
#define shm_unlock |
( |
|
shp | ) |
ipc_unlock(&(shp)->shm_perm) |
Definition at line 61 of file shm.c.
pure_initcall |
( |
ipc_ns_init |
| ) |
|
Definition at line 72 of file shm.c.
SYSCALL_DEFINE1 |
( |
shmdt |
, |
|
|
char __user * |
, |
|
|
shmaddr |
|
|
) |
| |
SYSCALL_DEFINE3 |
( |
shmat |
, |
|
|
int |
, |
|
|
shmid |
, |
|
|
char __user * |
, |
|
|
shmaddr |
, |
|
|
int |
, |
|
|
shmflg |
|
|
) |
| |