Home
last modified time | relevance | path

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

/linux-4.4.14/include/net/
Dbusy_poll.h78 static inline bool sk_busy_loop(struct sock *sk, int nonblock) in sk_busy_loop() argument
80 unsigned long end_time = !nonblock ? sk_busy_loop_end_time(sk) : 0; in sk_busy_loop()
111 } while (!nonblock && skb_queue_empty(&sk->sk_receive_queue) && in sk_busy_loop()
163 static inline bool sk_busy_loop(struct sock *sk, int nonblock) in sk_busy_loop() argument
Dtcp.h439 int tcp_recvmsg(struct sock *sk, struct msghdr *msg, size_t len, int nonblock,
/linux-4.4.14/drivers/media/usb/em28xx/
Dem28xx-audio.c254 int nonblock, ret = 0; in snd_em28xx_capture_open() local
267 nonblock = !!(substream->f_flags & O_NONBLOCK); in snd_em28xx_capture_open()
268 if (nonblock) { in snd_em28xx_capture_open()
502 int nonblock = 0; in em28xx_vol_put() local
509 nonblock = !!(substream->f_flags & O_NONBLOCK); in em28xx_vol_put()
510 if (nonblock) { in em28xx_vol_put()
540 int nonblock = 0; in em28xx_vol_get() local
547 nonblock = !!(substream->f_flags & O_NONBLOCK); in em28xx_vol_get()
548 if (nonblock) { in em28xx_vol_get()
575 int nonblock = 0; in em28xx_vol_put_mute() local
[all …]
/linux-4.4.14/fs/
Dsignalfd.c160 int nonblock) in signalfd_dequeue() argument
169 if (!nonblock) in signalfd_dequeue()
209 int nonblock = file->f_flags & O_NONBLOCK; in signalfd_read() local
219 ret = signalfd_dequeue(ctx, &info, nonblock); in signalfd_read()
227 nonblock = 1; in signalfd_read()
/linux-4.4.14/drivers/char/
Dlp.c273 static int lp_wait_ready(int minor, int nonblock) in lp_wait_ready() argument
284 if (error && (nonblock || (LP_F(minor) & LP_ABORT))) in lp_wait_ready()
303 int nonblock = ((file->f_flags & O_NONBLOCK) || in lp_write() local
333 (nonblock ? PARPORT_INACTIVITY_O_NONBLOCK in lp_write()
336 if ((retv = lp_wait_ready (minor, nonblock)) == 0) in lp_write()
362 error = lp_wait_ready (minor, nonblock); in lp_write()
368 } else if (nonblock) { in lp_write()
420 int nonblock = ((file->f_flags & O_NONBLOCK) || in lp_read() local
432 (nonblock ? PARPORT_INACTIVITY_O_NONBLOCK in lp_read()
448 if (nonblock) { in lp_read()
Dvirtio_console.c617 void *data, bool nonblock) in __send_to_port() argument
643 if (nonblock) in __send_to_port()
795 static int wait_port_writable(struct port *port, bool nonblock) in wait_port_writable() argument
800 if (nonblock) in wait_port_writable()
821 bool nonblock; in port_fops_write() local
830 nonblock = filp->f_flags & O_NONBLOCK; in port_fops_write()
832 ret = wait_port_writable(port, nonblock); in port_fops_write()
855 nonblock = true; in port_fops_write()
857 ret = __send_to_port(port, sg, 1, count, buf, nonblock); in port_fops_write()
859 if (nonblock && ret > 0) in port_fops_write()
Drandom.c1421 _random_read(int nonblock, char __user *buf, size_t nbytes) in _random_read() argument
1440 if (nonblock) in _random_read()
/linux-4.4.14/arch/mn10300/kernel/
Dgdb-io-serial.c99 int gdbstub_io_rx_char(unsigned char *_ch, int nonblock) in gdbstub_io_rx_char() argument
120 if (nonblock) in gdbstub_io_rx_char()
Dgdb-io-ttysm.c181 int gdbstub_io_rx_char(unsigned char *_ch, int nonblock) in gdbstub_io_rx_char() argument
202 if (nonblock) in gdbstub_io_rx_char()
/linux-4.4.14/sound/core/seq/
Dseq_memory.c224 int nonblock, struct file *file) in snd_seq_cell_alloc() argument
243 while (pool->free == NULL && ! nonblock && ! pool->closing) { in snd_seq_cell_alloc()
290 struct snd_seq_event_cell **cellp, int nonblock, in snd_seq_event_dup() argument
308 err = snd_seq_cell_alloc(pool, &cell, nonblock, file); in snd_seq_event_dup()
334 err = snd_seq_cell_alloc(pool, &tmp, nonblock, file); in snd_seq_event_dup()
Dseq_fifo.h57 int snd_seq_fifo_cell_out(struct snd_seq_fifo *f, struct snd_seq_event_cell **cellp, int nonblock);
Dseq_fifo.c172 struct snd_seq_event_cell **cellp, int nonblock) in snd_seq_fifo_cell_out() argument
185 if (nonblock) { in snd_seq_fifo_cell_out()
Dseq_memory.h69 struct snd_seq_event_cell **cellp, int nonblock, struct file *file);
Dseq_clientmgr.c432 int nonblock; in snd_seq_read() local
434 nonblock = (file->f_flags & O_NONBLOCK) || result > 0; in snd_seq_read()
435 if ((err = snd_seq_fifo_cell_out(fifo, &cell, nonblock)) < 0) { in snd_seq_read()
/linux-4.4.14/drivers/usb/class/
Dusblp.c248 static int usblp_wwait(struct usblp *usblp, int nonblock);
249 static int usblp_wtest(struct usblp *usblp, int nonblock);
250 static int usblp_rwait_and_lock(struct usblp *usblp, int nonblock);
251 static int usblp_rtest(struct usblp *usblp, int nonblock);
879 static int usblp_wwait(struct usblp *usblp, int nonblock) in usblp_wwait() argument
892 rc = usblp_wtest(usblp, nonblock); in usblp_wwait()
917 static int usblp_wtest(struct usblp *usblp, int nonblock) in usblp_wtest() argument
931 if (nonblock) in usblp_wtest()
943 static int usblp_rwait_and_lock(struct usblp *usblp, int nonblock) in usblp_rwait_and_lock() argument
955 if ((rc = usblp_rtest(usblp, nonblock)) < 0) { in usblp_rwait_and_lock()
[all …]
/linux-4.4.14/arch/frv/kernel/
Dgdb-io.c139 int gdbstub_rx_char(unsigned char *_ch, int nonblock) in gdbstub_rx_char() argument
158 if (nonblock) in gdbstub_rx_char()
/linux-4.4.14/drivers/media/pci/ttpci/
Dav7110_av.c446 unsigned long count, int nonblock, int type) in ts_play() argument
460 if (nonblock && !FREE_COND_TS) in ts_play()
465 if (nonblock) in ts_play()
485 unsigned long count, int nonblock, int type) in dvb_play() argument
493 if (nonblock && !FREE_COND) in dvb_play()
498 if (nonblock) in dvb_play()
518 unsigned long count, int nonblock, int type) in dvb_play_kernel() argument
526 if (nonblock && !FREE_COND) in dvb_play_kernel()
531 if (nonblock) in dvb_play_kernel()
548 unsigned long count, int nonblock, int type) in dvb_aplay() argument
[all …]
/linux-4.4.14/include/media/
Dvideobuf2-v4l2.h71 loff_t *ppos, int nonblock);
73 loff_t *ppos, int nonblock);
/linux-4.4.14/drivers/staging/lustre/lustre/lclient/
Dlcommon_misc.c126 int cl_get_grouplock(struct cl_object *obj, unsigned long gid, int nonblock, in cl_get_grouplock() argument
161 enqflags = CEF_MUST | (nonblock ? CEF_NONBLOCK : 0); in cl_get_grouplock()
/linux-4.4.14/include/sound/
Dpcm_oss.h30 nonblock:1, member
/linux-4.4.14/sound/core/
Dpcm_lib.c2013 int nonblock, in snd_pcm_lib_write1() argument
2050 if (nonblock) { in snd_pcm_lib_write1()
2129 int nonblock; in snd_pcm_lib_write() local
2136 nonblock = !!(substream->f_flags & O_NONBLOCK); in snd_pcm_lib_write()
2141 return snd_pcm_lib_write1(substream, (unsigned long)buf, size, nonblock, in snd_pcm_lib_write()
2192 int nonblock; in snd_pcm_lib_writev() local
2199 nonblock = !!(substream->f_flags & O_NONBLOCK); in snd_pcm_lib_writev()
2204 nonblock, snd_pcm_lib_writev_transfer); in snd_pcm_lib_writev()
2231 int nonblock, in snd_pcm_lib_read1() argument
2280 if (nonblock) { in snd_pcm_lib_read1()
[all …]
Dpcm_native.c1656 int nonblock = 0; in snd_pcm_drain() local
1675 nonblock = 1; in snd_pcm_drain()
1677 nonblock = 1; in snd_pcm_drain()
1690 if (nonblock) { in snd_pcm_drain()
/linux-4.4.14/drivers/staging/lustre/lustre/llite/
Dvvp_page.c79 int nonblock) in vvp_page_own() argument
85 if (nonblock) { in vvp_page_own()
436 struct cl_io *unused, int nonblock) in vvp_transient_page_own() argument
/linux-4.4.14/net/rds/
Drecv.c404 int ret = 0, nonblock = msg_flags & MSG_DONTWAIT; in rds_recvmsg() local
409 timeo = sock_rcvtimeo(sk, nonblock); in rds_recvmsg()
430 if (nonblock) { in rds_recvmsg()
Dcong.c360 int rds_cong_wait(struct rds_cong_map *map, __be16 port, int nonblock, in rds_cong_wait() argument
365 if (nonblock) { in rds_cong_wait()
Dsend.c990 int nonblock = msg->msg_flags & MSG_DONTWAIT; in rds_sendmsg() local
991 long timeo = sock_sndtimeo(sk, nonblock); in rds_sendmsg()
1092 ret = rds_cong_wait(conn->c_fcong, dport, nonblock, rs); in rds_sendmsg()
1102 if (nonblock) { in rds_sendmsg()
Drds.h619 int rds_cong_wait(struct rds_cong_map *map, __be16 port, int nonblock, struct rds_sock *rs);
/linux-4.4.14/arch/frv/include/asm/
Dgdb-stub.h86 extern int gdbstub_rx_char(unsigned char *_ch, int nonblock);
/linux-4.4.14/fs/nfs/
Dwrite.c325 struct nfs_page *req, bool nonblock) in nfs_unroll_locks_and_wait() argument
346 if (!nonblock) in nfs_unroll_locks_and_wait()
428 nfs_lock_and_join_requests(struct page *page, bool nonblock) in nfs_lock_and_join_requests() argument
461 if (!nonblock && ret == -EAGAIN) { in nfs_lock_and_join_requests()
493 subreq, nonblock); in nfs_lock_and_join_requests()
553 struct page *page, bool nonblock) in nfs_page_async_flush() argument
558 req = nfs_lock_and_join_requests(page, nonblock); in nfs_page_async_flush()
Dpagelist.c168 nfs_page_group_lock(struct nfs_page *req, bool nonblock) in nfs_page_group_lock() argument
177 if (!nonblock) in nfs_page_group_lock()
/linux-4.4.14/fs/gfs2/
Dinode.h102 extern struct inode *gfs2_ilookup(struct super_block *sb, u64 no_addr, int nonblock);
Dglock.c515 static void run_queue(struct gfs2_glock *gl, const int nonblock) in run_queue() argument
531 if (nonblock) in run_queue()
/linux-4.4.14/arch/mn10300/include/asm/
Dgdb-stub.h102 extern asmlinkage int gdbstub_io_rx_char(unsigned char *_ch, int nonblock);
/linux-4.4.14/drivers/staging/lustre/lustre/lov/
Dlov_page.c84 int nonblock) in lov_page_own() argument
/linux-4.4.14/include/linux/
Dnetlink.h82 extern int netlink_unicast(struct sock *ssk, struct sk_buff *skb, __u32 portid, int nonblock);
/linux-4.4.14/drivers/message/fusion/
Dmptctl.c179 mptctl_syscall_down(MPT_ADAPTER *ioc, int nonblock) in mptctl_syscall_down() argument
183 if (nonblock) { in mptctl_syscall_down()
627 int nonblock = (file->f_flags & O_NONBLOCK); in __mptctl_ioctl() local
677 if ((ret = mptctl_syscall_down(iocp, nonblock)) != 0) in __mptctl_ioctl()
2841 int nonblock = (filp->f_flags & O_NONBLOCK); in compat_mptfwxfer_ioctl() local
2857 if ((ret = mptctl_syscall_down(iocp, nonblock)) != 0) in compat_mptfwxfer_ioctl()
2882 int nonblock = (filp->f_flags & O_NONBLOCK); in compat_mpt_command() local
2897 if ((ret = mptctl_syscall_down(iocp, nonblock)) != 0) in compat_mpt_command()
/linux-4.4.14/sound/oss/
Dsequencer.c76 static int seq_queue(unsigned char *note, char nonblock);
327 static int seq_queue(unsigned char *note, char nonblock) in seq_queue() argument
340 if (!nonblock && qlen >= SEQ_MAX_QUEUE && !waitqueue_active(&seq_sleeper)) { in seq_queue()
Dswarm_cs4297a.c1617 static int drain_adc(struct cs4297a_state *s, int nonblock) in drain_adc() argument
1626 static int drain_dac(struct cs4297a_state *s, int nonblock) in drain_dac() argument
1636 if (nonblock) in drain_dac()
/linux-4.4.14/sound/core/oss/
Dpcm_oss.c2271 if (setup->nonblock) in snd_pcm_oss_init_substream()
2388 int nonblock; in snd_pcm_oss_open() local
2420 nonblock = !!(file->f_flags & O_NONBLOCK); in snd_pcm_oss_open()
2421 if (!nonblock) in snd_pcm_oss_open()
2422 nonblock = nonblock_open; in snd_pcm_oss_open()
2433 if (nonblock) { in snd_pcm_oss_open()
2858 setup->nonblock ? " non-block" : "", in snd_pcm_oss_proc_read()
2921 template.nonblock = 1; in snd_pcm_oss_proc_write()
/linux-4.4.14/drivers/staging/lustre/lustre/include/
Dlclient.h376 int cl_get_grouplock(struct cl_object *obj, unsigned long gid, int nonblock,
Dcl_object.h857 struct cl_io *io, int nonblock);
/linux-4.4.14/drivers/media/v4l2-core/
Dvideobuf2-v4l2.c1073 loff_t *ppos, int nonblock, int read) in __vb2_perform_fileio() argument
1090 nonblock ? "non" : ""); in __vb2_perform_fileio()
1122 ret = vb2_internal_dqbuf(q, &fileio->b, nonblock); in __vb2_perform_fileio()
/linux-4.4.14/net/dccp/
Dproto.c807 int dccp_recvmsg(struct sock *sk, struct msghdr *msg, size_t len, int nonblock, in dccp_recvmsg() argument
820 timeo = sock_rcvtimeo(sk, nonblock); in dccp_recvmsg()
Ddccp.h315 int dccp_recvmsg(struct sock *sk, struct msghdr *msg, size_t len, int nonblock,
/linux-4.4.14/net/llc/
Daf_llc.c712 const int nonblock = flags & MSG_DONTWAIT; in llc_ui_recvmsg() local
729 timeo = sock_rcvtimeo(sk, nonblock); in llc_ui_recvmsg()
/linux-4.4.14/drivers/block/drbd/
Ddrbd_actlog.c229 static struct lc_element *_al_get(struct drbd_device *device, unsigned int enr, bool nonblock) in _al_get() argument
244 if (nonblock) in _al_get()
/linux-4.4.14/drivers/staging/lustre/lustre/obdclass/
Dcl_page.c847 struct cl_page *pg, int nonblock) in cl_page_own0() argument
863 io, nonblock); in cl_page_own0()
/linux-4.4.14/drivers/gpu/drm/vmwgfx/
Dvmwgfx_resource.c574 bool nonblock = !!(flags & drm_vmw_synccpu_dontblock); in vmw_user_dmabuf_synccpu_grab() local
577 if (nonblock) in vmw_user_dmabuf_synccpu_grab()
/linux-4.4.14/drivers/tty/
Dtty_io.c2423 int nonblock; in fionbio() local
2425 if (get_user(nonblock, p)) in fionbio()
2429 if (nonblock) in fionbio()
/linux-4.4.14/net/ipv4/
Dtcp.c1574 int tcp_recvmsg(struct sock *sk, struct msghdr *msg, size_t len, int nonblock, in tcp_recvmsg() argument
1594 sk_busy_loop(sk, nonblock); in tcp_recvmsg()
1602 timeo = sock_rcvtimeo(sk, nonblock); in tcp_recvmsg()
/linux-4.4.14/drivers/usb/gadget/legacy/
Dinode.c295 goto nonblock; in get_ready_ep()
299 nonblock: in get_ready_ep()
/linux-4.4.14/drivers/usb/gadget/function/
Df_fs.c190 static int ffs_mutex_lock(struct mutex *mutex, unsigned nonblock)
3477 static int ffs_mutex_lock(struct mutex *mutex, unsigned nonblock) in ffs_mutex_lock() argument
3479 return nonblock in ffs_mutex_lock()
/linux-4.4.14/drivers/staging/lustre/lustre/obdecho/
Decho_client.c234 struct cl_io *io, int nonblock) in echo_page_own() argument
238 if (!nonblock) in echo_page_own()
/linux-4.4.14/drivers/mmc/card/
Dmmc_test.c1392 bool nonblock, int min_sg_len) in mmc_test_area_io_seq() argument
1421 if (nonblock) in mmc_test_area_io_seq()
/linux-4.4.14/net/netlink/
Daf_netlink.c1844 u32 portid, int nonblock) in netlink_unicast() argument
1852 timeo = sock_sndtimeo(ssk, nonblock); in netlink_unicast()
/linux-4.4.14/fs/ceph/
Dcaps.c2300 loff_t endoff, bool nonblock, int *got, int *err) in try_get_cap_refs() argument
2379 if (nonblock) { in try_get_cap_refs()