Lines Matching defs:retval
121 static int oshmctl(void *p, void *uap, void *retval);
122 static int shmget_allocate_segment(struct proc *p, struct shmget_args *uap, int mode, int * retval);
123 static int shmget_existing(struct shmget_args *uap, int mode, int segnum, int * retval);
311 shmdt(struct proc *p, struct shmdt_args *uap, int32_t *retval)
354 *retval = 0;
362 shmat(struct proc *p, struct shmat_args *uap, user_addr_t *retval)
502 *retval = shmmap_s->va; /* XXX return -1 on error */
529 oshmctl(__unused void *p, __unused void *uap, __unused void *retval)
543 shmctl(__unused struct proc *p, struct shmctl_args *uap, int32_t *retval)
645 *retval = 0;
653 shmget_existing(struct shmget_args *uap, int mode, int segnum, int *retval)
695 *retval = IXSEQ_TO_IPCID(segnum, shmseg->u.shm_perm);
701 int *retval)
799 *retval = shmid;
827 shmget(struct proc *p, struct shmget_args *uap, int32_t *retval)
845 error = shmget_existing(uap, mode, segnum, retval);
856 shmget_ret = shmget_allocate_segment(p, uap, mode, retval);
871 * retval Return value of the selected shm call
879 * Implicit returns: retval Return value of the selected shm call
886 shmsys(struct proc *p, struct shmsys_args *uap, int32_t *retval)
893 return ((*shmcalls[uap->which])(p, &uap->a2, retval));