Lines Matching defs:tmp
757 int i, tmp, error, error2, flg = F_POSIX;
854 tmp = CAST_DOWN_EXPLICIT(int, uap->arg); /* arg is an int, so we won't lose bits */
855 AUDIT_ARG(value32, tmp);
856 fp->f_flag |= FFLAGS(tmp) & FCNTLFLAGS;
857 tmp = fp->f_flag & FNONBLOCK;
858 error = fo_ioctl(fp, FIONBIO, (caddr_t)&tmp, &context);
861 tmp = fp->f_flag & FASYNC;
862 error = fo_ioctl(fp, FIOASYNC, (caddr_t)&tmp, &context);
866 tmp = 0;
867 (void)fo_ioctl(fp, FIONBIO, (caddr_t)&tmp, &context);
881 tmp = CAST_DOWN_EXPLICIT(pid_t, uap->arg); /* arg is an int, so we won't lose bits */
882 AUDIT_ARG(value32, tmp);
884 ((struct socket *)fp->f_data)->so_pgid = tmp;
889 error = fo_ioctl(fp, TIOCSPGRP, (caddr_t)&tmp, &context);
893 if (tmp <= 0) {
894 tmp = -tmp;
896 proc_t p1 = proc_find(tmp);
901 tmp = (int)p1->p_pgrpid;
904 error = fo_ioctl(fp, (int)TIOCSPGRP, (caddr_t)&tmp, &context);
908 tmp = CAST_DOWN_EXPLICIT(int, uap->arg);
912 SOL_SOCKET, SO_NOSIGPIPE, &tmp, sizeof (tmp));
920 if (tmp)
1792 /* tmp must be a valid PROTECTION_CLASS_* */
1793 tmp = CAST_DOWN_EXPLICIT(uint32_t, uap->arg);
1815 error = cp_vnode_setclass (vp, tmp);