Lines Matching refs:scm
3593 static void scm_detach_fds32(struct msghdr *kmsg, struct scm_cookie *scm) in scm_detach_fds32() argument
3597 int fdnum = scm->fp->count; in scm_detach_fds32()
3598 struct file **fp = scm->fp->fp; in scm_detach_fds32()
3642 __scm_destroy(scm); in scm_detach_fds32()
3787 struct scm_cookie scm; in sys32_recvmsg() local
3791 memset(&scm, 0, sizeof(scm)); in sys32_recvmsg()
3793 user_flags, &scm); in sys32_recvmsg()
3797 if(sock->passcred || scm.fp) in sys32_recvmsg()
3799 if(scm.fp) in sys32_recvmsg()
3800 __scm_destroy(&scm); in sys32_recvmsg()
3815 sizeof(scm.creds), &scm.creds); in sys32_recvmsg()
3816 if(scm.fp != NULL) in sys32_recvmsg()
3817 scm_detach_fds32(&kern_msg, &scm); in sys32_recvmsg()