Lines Matching defs:to

4  * The contents of this file are subject to the terms of the
118 * kernel structure for passing the sockinfo data back up to the user.
119 * the strings array allows us to convert AF_UNIX addresses into strings
128 * Translate from a device pathname (e.g. "/dev/tcp") to a vnode.
157 * need to make sure the device is properly configured.
158 * To do this, we do something similar to spec_open()
159 * except that we resolve to the minor/leaf level since
160 * we need to return a vnode.
269 * Build initial list mapping socket parameters to vnode.
278 * it is possible to preload the sockparams list here using
314 * Caller must hold the mutex. Used to set SOLOCKED.
330 * Used to clear SOLOCKED or SOASYNC_UNBIND.
342 * Call to so_drain_discon_ind will result in so_lock
357 * Caller must hold the mutex. Used to set SOREADLOCKED.
394 * Caller must hold the mutex. Used to clear SOREADLOCKED,
476 * Check that we have permissions to access the destination
507 * it on sockfs vnode. Assumes that no code ever attempts to
541 * provider we have to do these ugly checks in the socket layer to
581 /* Verify that apps don't forget to clear sin6_scope_id etc */
616 * to allow non-sockaddr style addresses.
626 * Translate an AF_UNIX sockaddr_un to the transport internal name.
661 * Use the address of the peer vnode as the address to send
662 * to. We release the peer vnode here. In case it has been
694 * aligned. So its safer to do a bcopy compared to
695 * assigning fdbuf->fd_fds[i] to fp.
760 * aligned. So its safer to do a bcopy compared to
761 * assigning fdbuf->fd_fds[i] to fp.
834 * we don't need to do anything on the send side (we loose
912 * to the application this routine will cleanup the references on
1062 * Copy options from control to the mblk. Skip any file descriptor options.
1082 * to calling this function.
1161 * Exclude roundup for last option to not set
1177 * Copy options from options to the control. Convert SO_FILEP to
1266 * so use bcopy to avoid alignment trouble
1290 /* copy content to control data part */
1294 /* move to next CMSG structure! */
1375 int error; /* Dummy - error not returned to caller */
1413 * len is the length of buf. size is the amount to allocate.
1445 * Append buf/len to mp.
1446 * The caller has to ensure that there is enough room in the mblk.
1737 * Note that nactive is going to be different for each zone.
1738 * This means we require kstat to call sockfs_update and then sockfs_snapshot
1932 so_copyin(const void *from, void *to, size_t size, int fromkernel)
1935 bcopy(from, to, size);
1938 return (xcopyin(from, to, size));
1942 so_copyout(const void *from, void *to, size_t size, int tokernel)
1945 bcopy(from, to, size);
1948 return (xcopyout(from, to, size));