Searched refs:DTYPE_SOCKET (Results 1 – 11 of 11) sorted by relevance
44 #define DTYPE_SOCKET 2 /* communications endpoint */ macro
755 case DTYPE_SOCKET: in pledge_recvfd()783 case DTYPE_SOCKET: in pledge_sendfd()1084 if (fp->f_type == DTYPE_SOCKET) in pledge_ioctl()1312 if (fp->f_type == DTYPE_SOCKET) in pledge_ioctl()1324 if (fp->f_type == DTYPE_SOCKET) in pledge_ioctl()1328 if (fp->f_type == DTYPE_SOCKET) in pledge_ioctl()
112 fp->f_type = DTYPE_SOCKET; in sys_socket()330 fp->f_type = DTYPE_SOCKET; in doaccept()490 fp1->f_type = DTYPE_SOCKET; in sys_socketpair()496 fp2->f_type = DTYPE_SOCKET; in sys_socketpair()1415 if (fp->f_type != DTYPE_SOCKET) { in getsock()1665 fp->f_type = DTYPE_SOCKET; in sys_ypconnect()
1463 kf->f_type = DTYPE_SOCKET; in fill_file()1496 case DTYPE_SOCKET: { in fill_file()1728 if (arg == DTYPE_SOCKET) { in sysctl_file()1746 if (arg == DTYPE_SOCKET && fp->f_type == arg) { in sysctl_file()
829 case DTYPE_SOCKET: in sys_fpathconf()
431 if (fp->f_type == DTYPE_SOCKET) { in sys_ioctl()
1033 if (fp->f_type != DTYPE_SOCKET) in fptounp()
406 case DTYPE_SOCKET: in fstat_dofile()630 if (kf[i].f_type != DTYPE_SOCKET || in find_splices()
313 kf = kvm_getfiles(kd, KERN_FILE_BYFILE, DTYPE_SOCKET, in read_ns()
546 case DTYPE_SOCKET: { in fill_file()
150 kf = kvm_getfiles(kvmd, KERN_FILE_BYFILE, DTYPE_SOCKET, in protopr()