DTYPE_SOCKET
case DTYPE_SOCKET:
if (fp->f_type == DTYPE_SOCKET)
if (fp->f_type == DTYPE_SOCKET && (fp->f_flag & FNONBLOCK) != 0)
if (type != DTYPE_SOCKET) {
if (type == DTYPE_SOCKET)
if (ofp->f_type != DTYPE_SOCKET)
if (fp->f_type != DTYPE_SOCKET) {
if (fp->f_type != DTYPE_SOCKET) {
if (fp->f_type != DTYPE_SOCKET) {
if (fp->f_type != DTYPE_SOCKET) {
if (fp->f_type != DTYPE_SOCKET) {
if (fp->f_type != DTYPE_SOCKET) {
if (fp->f_type != DTYPE_SOCKET) {
} else if (fp->f_type == DTYPE_PIPE || fp->f_type == DTYPE_SOCKET) {
case DTYPE_SOCKET:
if (error != 0 && fp->f_type != DTYPE_SOCKET) {
if (__predict_false(fp->f_type != DTYPE_SOCKET)) {
finit(fp, FREAD | FWRITE | fflag, DTYPE_SOCKET, so, &socketops);
finit(nfp, fflag, DTYPE_SOCKET, so, &socketops);
finit(fp1, FREAD | FWRITE | fflag, DTYPE_SOCKET, fp1->f_data,
finit(fp2, FREAD | FWRITE | fflag, DTYPE_SOCKET, fp2->f_data,
if (__predict_false(fp->f_type != DTYPE_SOCKET)) {
if (fp->f_type != DTYPE_SOCKET)
finit(nfp, fflag, DTYPE_SOCKET, so, &socketops);
finit(fp, FREAD | FWRITE, DTYPE_SOCKET, ups.so, &socketops);
case DTYPE_SOCKET:
case DTYPE_SOCKET:
case DTYPE_SOCKET:
if (fp->f_type == DTYPE_SOCKET) {
if (fp->f_type == DTYPE_SOCKET) {