| /* SPDX-License-Identifier: GPL-2.0 */ |
| #include <uapi/linux/shm.h> |
| #include <asm/shmparam.h> |
| struct list_head shm_clist; |
| long do_shmat(int shmid, char __user *shmaddr, int shmflg, unsigned long *addr, |
| bool is_file_shm_hugepages(struct file *file); |
| void exit_shm(struct task_struct *task); |
| #define shm_init_task(task) INIT_LIST_HEAD(&(task)->sysvshm.shm_clist) |
| static inline long do_shmat(int shmid, char __user *shmaddr, |
| int shmflg, unsigned long *addr, |
| static inline bool is_file_shm_hugepages(struct file *file) |
| static inline void exit_shm(struct task_struct *task) |
| static inline void shm_init_task(struct task_struct *task) |
| #endif /* _LINUX_SHM_H_ */ |