Lines Matching refs:scm
1572 scm_detach_fds32 (struct msghdr *kmsg, struct scm_cookie *scm) in scm_detach_fds32() argument
1577 int fdnum = scm->fp->count; in scm_detach_fds32()
1578 struct file **fp = scm->fp->fp; in scm_detach_fds32()
1624 __scm_destroy(scm); in scm_detach_fds32()
1825 struct scm_cookie scm; in sys32_recvmsg() local
1874 memset(&scm, 0, sizeof(scm)); in sys32_recvmsg()
1878 err = sock->ops->recvmsg(sock, &msg_sys, total_len, flags, &scm); in sys32_recvmsg()
1884 if (sock->passcred || scm.fp) in sys32_recvmsg()
1886 if (scm.fp) in sys32_recvmsg()
1887 __scm_destroy(&scm); in sys32_recvmsg()
1901 sizeof(scm.creds), &scm.creds); in sys32_recvmsg()
1902 if (scm.fp != NULL) in sys32_recvmsg()
1903 scm_detach_fds32(&msg_sys, &scm); in sys32_recvmsg()