Searched refs:f_flags (Results 1 – 7 of 7) sorted by relevance
397 file->f_flags = O_RDWR | (flags & O_NONBLOCK); in sock_attach_fd()707 flags = !(file->f_flags & O_NONBLOCK) ? 0 : MSG_DONTWAIT; in sock_sendpage()758 msg->msg_flags = (file->f_flags & O_NONBLOCK) ? MSG_DONTWAIT : 0; in do_sock_read()798 msg->msg_flags = (file->f_flags & O_NONBLOCK) ? MSG_DONTWAIT : 0; in do_sock_write()1481 err = sock->ops->accept(sock, newsock, sock->file->f_flags); in SYSCALL_DEFINE4()1557 sock->file->f_flags); in SYSCALL_DEFINE3()1662 if (sock->file->f_flags & O_NONBLOCK) in SYSCALL_DEFINE6()1712 if (sock->file->f_flags & O_NONBLOCK) in SYSCALL_DEFINE6()1919 if (sock->file->f_flags & O_NONBLOCK) in SYSCALL_DEFINE3()2005 if (sock->file->f_flags & O_NONBLOCK) in SYSCALL_DEFINE3()
273 if (!(ts->rd->f_flags & O_NONBLOCK)) in p9_fd_read()414 if (!(ts->wr->f_flags & O_NONBLOCK)) in p9_fd_write()801 ((struct p9_trans_fd *)client->trans)->rd->f_flags |= O_NONBLOCK; in p9_socket_open()
143 if (file->f_flags & O_NONBLOCK) in rate_control_pid_events_read()
316 if(file->f_flags & O_NONBLOCK) in irnet_ctrl_read()
260 if (filp->f_flags & O_NONBLOCK || tty->flags & (1 << TTY_IO_ERROR)){ in ircomm_tty_block_til_ready()
985 unsigned int f_flags = 0; in __sctp_connect() local1118 f_flags = sk->sk_socket->file->f_flags; in __sctp_connect()1120 timeo = sock_sndtimeo(sk, f_flags & O_NONBLOCK); in __sctp_connect()
1527 !(file->f_flags & O_NONBLOCK) && in udp_poll()