Lines Matching refs:sysmsg
57 static int shmget_allocate_segment(struct proc *p, struct sysmsg *sysmsg,
59 static int shmget_existing(struct proc *p, struct sysmsg *sysmsg,
223 sys_shmdt(struct sysmsg *sysmsg, const struct shmdt_args *uap) in sys_shmdt() argument
261 sys_shmat(struct sysmsg *sysmsg, const struct shmat_args *uap) in sys_shmat() argument
389 sysmsg->sysmsg_resultp = (void *)attach_va; in sys_shmat()
401 sys_shmctl(struct sysmsg *sysmsg, const struct shmctl_args *uap) in sys_shmctl() argument
465 shmget_existing(struct proc *p, struct sysmsg *sysmsg, in shmget_existing() argument
491 sysmsg->sysmsg_result = IXSEQ_TO_IPCID(segnum, shmseg->shm_perm); in shmget_existing()
496 shmget_allocate_segment(struct proc *p, struct sysmsg *sysmsg, in shmget_allocate_segment() argument
603 sysmsg->sysmsg_result = shmid; in shmget_allocate_segment()
611 sys_shmget(struct sysmsg *sysmsg, const struct shmget_args *uap) in sys_shmget() argument
629 error = shmget_existing(p, sysmsg, uap, mode, segnum); in sys_shmget()
639 error = shmget_allocate_segment(p, sysmsg, uap, mode); in sys_shmget()