Home
last modified time | relevance | path

Searched refs:nonblock (Results 1 – 25 of 65) sorted by relevance

123

/linux/net/ipv4/
A Dudp_bpf.c64 int nonblock, int flags, int *addr_len) in udp_bpf_recvmsg() argument
74 return sk_udp_recvmsg(sk, msg, len, nonblock, flags, addr_len); in udp_bpf_recvmsg()
77 ret = sk_udp_recvmsg(sk, msg, len, nonblock, flags, addr_len); in udp_bpf_recvmsg()
87 timeo = sock_rcvtimeo(sk, nonblock); in udp_bpf_recvmsg()
92 ret = sk_udp_recvmsg(sk, msg, len, nonblock, flags, addr_len); in udp_bpf_recvmsg()
A Dtcp_bpf.c178 int nonblock, in tcp_bpf_recvmsg_parser() argument
190 return tcp_recvmsg(sk, msg, len, nonblock, flags, addr_len); in tcp_bpf_recvmsg_parser()
199 timeo = sock_rcvtimeo(sk, nonblock); in tcp_bpf_recvmsg_parser()
211 int nonblock, int flags, int *addr_len) in tcp_bpf_recvmsg() argument
221 return tcp_recvmsg(sk, msg, len, nonblock, flags, addr_len); in tcp_bpf_recvmsg()
225 return tcp_recvmsg(sk, msg, len, nonblock, flags, addr_len); in tcp_bpf_recvmsg()
234 timeo = sock_rcvtimeo(sk, nonblock); in tcp_bpf_recvmsg()
241 return tcp_recvmsg(sk, msg, len, nonblock, flags, addr_len); in tcp_bpf_recvmsg()
/linux/drivers/media/usb/em28xx/
A Dem28xx-audio.c230 int nonblock, ret = 0; in snd_em28xx_capture_open() local
242 nonblock = !!(substream->f_flags & O_NONBLOCK); in snd_em28xx_capture_open()
243 if (nonblock) { in snd_em28xx_capture_open()
426 int nonblock = 0; in em28xx_vol_put() local
434 if (nonblock) { in em28xx_vol_put()
465 int nonblock = 0; in em28xx_vol_get() local
473 if (nonblock) { in em28xx_vol_get()
501 int nonblock = 0; in em28xx_vol_put_mute() local
509 if (nonblock) { in em28xx_vol_put_mute()
543 int nonblock = 0; in em28xx_vol_get_mute() local
[all …]
/linux/fs/
A Dsignalfd.c156 int nonblock) in signalfd_dequeue() argument
165 if (!nonblock) in signalfd_dequeue()
206 int nonblock = file->f_flags & O_NONBLOCK; in signalfd_read() local
216 ret = signalfd_dequeue(ctx, &info, nonblock); in signalfd_read()
224 nonblock = 1; in signalfd_read()
A Deventpoll.c392 static bool ep_busy_loop(struct eventpoll *ep, int nonblock) in ep_busy_loop() argument
397 napi_busy_loop(napi_id, nonblock ? NULL : ep_busy_loop_end, ep, false, in ep_busy_loop()
449 static inline bool ep_busy_loop(struct eventpoll *ep, int nonblock) in ep_busy_loop() argument
2015 bool nonblock) in epoll_mutex_lock() argument
2017 if (!nonblock) { in epoll_mutex_lock()
2027 bool nonblock) in do_epoll_ctl() argument
2098 error = epoll_mutex_lock(&ep->mtx, 0, nonblock); in do_epoll_ctl()
2105 error = epoll_mutex_lock(&epmutex, 0, nonblock); in do_epoll_ctl()
2116 error = epoll_mutex_lock(&ep->mtx, 0, nonblock); in do_epoll_ctl()
/linux/drivers/char/
A Dlp.c278 static int lp_wait_ready(int minor, int nonblock) in lp_wait_ready() argument
289 if (error && (nonblock || (LP_F(minor) & LP_ABORT))) in lp_wait_ready()
308 int nonblock = ((file->f_flags & O_NONBLOCK) || in lp_write() local
338 (nonblock ? PARPORT_INACTIVITY_O_NONBLOCK in lp_write()
341 if ((retv = lp_wait_ready(minor, nonblock)) == 0) in lp_write()
367 error = lp_wait_ready(minor, nonblock); in lp_write()
373 } else if (nonblock) { in lp_write()
425 int nonblock = ((file->f_flags & O_NONBLOCK) || in lp_read() local
437 (nonblock ? PARPORT_INACTIVITY_O_NONBLOCK in lp_read()
453 if (nonblock) { in lp_read()
A Dvirtio_console.c607 void *data, bool nonblock) in __send_to_port() argument
633 if (nonblock) in __send_to_port()
785 static int wait_port_writable(struct port *port, bool nonblock) in wait_port_writable() argument
790 if (nonblock) in wait_port_writable()
811 bool nonblock; in port_fops_write() local
820 nonblock = filp->f_flags & O_NONBLOCK; in port_fops_write()
822 ret = wait_port_writable(port, nonblock); in port_fops_write()
845 nonblock = true; in port_fops_write()
847 ret = __send_to_port(port, sg, 1, count, buf, nonblock); in port_fops_write()
849 if (nonblock && ret > 0) in port_fops_write()
/linux/drivers/usb/class/
A Dusblp.c233 static int usblp_wwait(struct usblp *usblp, int nonblock);
234 static int usblp_wtest(struct usblp *usblp, int nonblock);
235 static int usblp_rwait_and_lock(struct usblp *usblp, int nonblock);
236 static int usblp_rtest(struct usblp *usblp, int nonblock);
900 static int usblp_wwait(struct usblp *usblp, int nonblock) in usblp_wwait() argument
913 rc = usblp_wtest(usblp, nonblock); in usblp_wwait()
938 static int usblp_wtest(struct usblp *usblp, int nonblock) in usblp_wtest() argument
952 if (nonblock) in usblp_wtest()
976 if ((rc = usblp_rtest(usblp, nonblock)) < 0) { in usblp_rwait_and_lock()
990 static int usblp_rtest(struct usblp *usblp, int nonblock) in usblp_rtest() argument
[all …]
/linux/sound/core/seq/
A Dseq_memory.c211 int nonblock, struct file *file, in snd_seq_cell_alloc() argument
231 while (pool->free == NULL && ! nonblock && ! pool->closing) { in snd_seq_cell_alloc()
282 struct snd_seq_event_cell **cellp, int nonblock, in snd_seq_event_dup() argument
300 err = snd_seq_cell_alloc(pool, &cell, nonblock, file, mutexp); in snd_seq_event_dup()
326 err = snd_seq_cell_alloc(pool, &tmp, nonblock, file, in snd_seq_event_dup()
A Dseq_fifo.c163 struct snd_seq_event_cell **cellp, int nonblock) in snd_seq_fifo_cell_out() argument
176 if (nonblock) { in snd_seq_fifo_cell_out()
A Dseq_fifo.h42 int snd_seq_fifo_cell_out(struct snd_seq_fifo *f, struct snd_seq_event_cell **cellp, int nonblock);
A Dseq_memory.h54 struct snd_seq_event_cell **cellp, int nonblock,
/linux/drivers/staging/media/av7110/
A Dav7110_av.c432 unsigned long count, int nonblock, int type) in ts_play() argument
446 if (nonblock && !FREE_COND_TS) in ts_play()
451 if (nonblock) in ts_play()
471 unsigned long count, int nonblock, int type) in dvb_play() argument
479 if (nonblock && !FREE_COND) in dvb_play()
484 if (nonblock) in dvb_play()
504 unsigned long count, int nonblock, int type) in dvb_play_kernel() argument
512 if (nonblock && !FREE_COND) in dvb_play_kernel()
517 if (nonblock) in dvb_play_kernel()
534 unsigned long count, int nonblock, int type) in dvb_aplay() argument
[all …]
/linux/include/net/
A Dbusy_poll.h104 static inline void sk_busy_loop(struct sock *sk, int nonblock) in sk_busy_loop() argument
110 napi_busy_loop(napi_id, nonblock ? NULL : sk_busy_loop_end, sk, in sk_busy_loop()
/linux/include/drm/
A Ddrm_atomic_helper.h57 bool nonblock);
106 bool nonblock);
/linux/net/unix/
A Dunix_bpf.c51 size_t len, int nonblock, int flags, in unix_bpf_recvmsg() argument
76 timeo = sock_rcvtimeo(sk, nonblock); in unix_bpf_recvmsg()
/linux/drivers/net/wwan/
A Dwwan_core.c511 bool nonblock) in wwan_port_op_tx() argument
521 if (nonblock || !port->ops->tx_blocking) in wwan_port_op_tx()
542 static int wwan_wait_rx(struct wwan_port *port, bool nonblock) in wwan_wait_rx() argument
547 if (nonblock) in wwan_wait_rx()
556 static int wwan_wait_tx(struct wwan_port *port, bool nonblock) in wwan_wait_tx() argument
561 if (nonblock) in wwan_wait_tx()
/linux/net/rds/
A Dsend.c1046 struct rds_connection *conn, int nonblock) in rds_send_mprds_hash() argument
1066 if (nonblock) in rds_send_mprds_hash()
1112 int nonblock = msg->msg_flags & MSG_DONTWAIT; in rds_sendmsg() local
1113 long timeo = sock_sndtimeo(sk, nonblock); in rds_sendmsg()
1309 cpath = &conn->c_path[rds_send_mprds_hash(rs, conn, nonblock)]; in rds_sendmsg()
1346 ret = rds_cong_wait(conn->c_fcong, dport, nonblock, rs); in rds_sendmsg()
1355 if (nonblock) { in rds_sendmsg()
A Dcong.c368 int rds_cong_wait(struct rds_cong_map *map, __be16 port, int nonblock, in rds_cong_wait() argument
373 if (nonblock) { in rds_cong_wait()
/linux/drivers/net/ethernet/chelsio/inline_crypto/chtls/
A Dchtls_io.c1429 int nonblock, int flags, int *addr_len) in chtls_pt_recvmsg() argument
1444 timeo = sock_rcvtimeo(sk, nonblock); in chtls_pt_recvmsg()
1619 size_t len, int nonblock, int flags) in peekmsg() argument
1629 timeo = sock_rcvtimeo(sk, nonblock); in peekmsg()
1740 int nonblock, int flags, int *addr_len) in chtls_recvmsg() argument
1753 return tcp_prot.recvmsg(sk, msg, len, nonblock, flags, in chtls_recvmsg()
1757 return peekmsg(sk, msg, len, nonblock, flags); in chtls_recvmsg()
1762 sk_busy_loop(sk, nonblock); in chtls_recvmsg()
1768 return chtls_pt_recvmsg(sk, msg, len, nonblock, in chtls_recvmsg()
1771 timeo = sock_rcvtimeo(sk, nonblock); in chtls_recvmsg()
/linux/include/linux/
A Deventpoll.h57 bool nonblock);
/linux/include/sound/
A Dpcm_oss.h15 nonblock:1, member
/linux/drivers/gpu/drm/vmwgfx/
A Dvmwgfx_bo.c734 bool nonblock = !!(flags & drm_vmw_synccpu_dontblock); in vmw_user_bo_synccpu_grab() local
743 nonblock ? 0 : in vmw_user_bo_synccpu_grab()
752 ret = ttm_bo_reserve(bo, true, nonblock, NULL); in vmw_user_bo_synccpu_grab()
756 ret = ttm_bo_wait(bo, true, nonblock); in vmw_user_bo_synccpu_grab()
/linux/include/media/
A Dvideobuf2-core.h1054 loff_t *ppos, int nonblock);
1064 loff_t *ppos, int nonblock);
/linux/drivers/gpu/drm/
A Ddrm_atomic_helper.c1819 bool nonblock) in drm_atomic_helper_commit() argument
1834 ret = drm_atomic_helper_setup_commit(state, nonblock); in drm_atomic_helper_commit()
1844 if (!nonblock) { in drm_atomic_helper_commit()
1881 if (nonblock) in drm_atomic_helper_commit()
1947 static int stall_checks(struct drm_crtc *crtc, bool nonblock) in stall_checks() argument
1963 if (!completed && nonblock) { in stall_checks()
2084 bool nonblock) in drm_atomic_helper_setup_commit() argument
2107 ret = stall_checks(crtc, nonblock); in drm_atomic_helper_setup_commit()
2151 if (nonblock && old_conn_state->commit && in drm_atomic_helper_setup_commit()
2172 if (nonblock && old_plane_state->commit && in drm_atomic_helper_setup_commit()

Completed in 83 milliseconds

123