Release 4.17 include/linux/shm.h
/* SPDX-License-Identifier: GPL-2.0 */
#ifndef _LINUX_SHM_H_
#define _LINUX_SHM_H_
#include <linux/list.h>
#include <asm/page.h>
#include <uapi/linux/shm.h>
#include <asm/shmparam.h>
struct file;
#ifdef CONFIG_SYSVIPC
struct sysv_shm {
struct list_head shm_clist;
};
long do_shmat(int shmid, char __user *shmaddr, int shmflg, unsigned long *addr,
unsigned long shmlba);
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)
#else
struct sysv_shm {
/* empty */
};
static inline long do_shmat(int shmid, char __user *shmaddr,
int shmflg, unsigned long *addr,
unsigned long shmlba)
{
return -ENOSYS;
}
Contributors
Person | Tokens | Prop | Commits | CommitProp |
Manfred Spraul | 26 | 83.87% | 1 | 33.33% |
Will Deacon | 4 | 12.90% | 1 | 33.33% |
Andrew Morton | 1 | 3.23% | 1 | 33.33% |
Total | 31 | 100.00% | 3 | 100.00% |
static inline bool is_file_shm_hugepages(struct file *file)
{
return false;
}
Contributors
Person | Tokens | Prop | Commits | CommitProp |
Adam Litke | 13 | 86.67% | 1 | 50.00% |
Yaowei Bai | 2 | 13.33% | 1 | 50.00% |
Total | 15 | 100.00% | 2 | 100.00% |
static inline void exit_shm(struct task_struct *task)
{
}
Contributors
Person | Tokens | Prop | Commits | CommitProp |
Vasiliy Kulikov | 11 | 100.00% | 1 | 100.00% |
Total | 11 | 100.00% | 1 | 100.00% |
static inline void shm_init_task(struct task_struct *task)
{
}
Contributors
Person | Tokens | Prop | Commits | CommitProp |
Jack Miller | 11 | 100.00% | 1 | 100.00% |
Total | 11 | 100.00% | 1 | 100.00% |
#endif
#endif /* _LINUX_SHM_H_ */
Overall Contributors
Person | Tokens | Prop | Commits | CommitProp |
Jack Miller | 36 | 21.95% | 1 | 5.88% |
Manfred Spraul | 34 | 20.73% | 1 | 5.88% |
Linus Torvalds (pre-git) | 33 | 20.12% | 5 | 29.41% |
Adam Litke | 21 | 12.80% | 1 | 5.88% |
Vasiliy Kulikov | 20 | 12.20% | 1 | 5.88% |
Will Deacon | 8 | 4.88% | 1 | 5.88% |
Yaowei Bai | 3 | 1.83% | 1 | 5.88% |
Stephen Rothwell | 3 | 1.83% | 1 | 5.88% |
Kirill A. Shutemov | 2 | 1.22% | 1 | 5.88% |
David Howells | 1 | 0.61% | 1 | 5.88% |
Andrew Morton | 1 | 0.61% | 1 | 5.88% |
Linus Torvalds | 1 | 0.61% | 1 | 5.88% |
Greg Kroah-Hartman | 1 | 0.61% | 1 | 5.88% |
Total | 164 | 100.00% | 17 | 100.00% |
Information contained on this website is for historical information purposes only and does not indicate or represent copyright ownership.