| /linux/drivers/media/usb/em28xx/ |
| H A D | em28xx-audio.c | 220 int nonblock, ret = 0; in snd_em28xx_capture_open() local 232 nonblock = !!(substream->f_flags & O_NONBLOCK); in snd_em28xx_capture_open() 233 if (nonblock) { in snd_em28xx_capture_open() 416 int nonblock = 0; in em28xx_vol_put() local 423 nonblock = !!(substream->f_flags & O_NONBLOCK); in em28xx_vol_put() 424 if (nonblock) { in em28xx_vol_put() 455 int nonblock = 0; in em28xx_vol_get() local 462 nonblock = !!(substream->f_flags & O_NONBLOCK); in em28xx_vol_get() 463 if (nonblock) { in em28xx_vol_get() 491 int nonblock = 0; in em28xx_vol_put_mute() local [all …]
|
| /linux/fs/ |
| H A D | signalfd.c | 155 int nonblock) in signalfd_dequeue() argument 165 if (!nonblock) in signalfd_dequeue() 208 bool nonblock; in signalfd_read_iter() local 214 nonblock = file->f_flags & O_NONBLOCK || iocb->ki_flags & IOCB_NOWAIT; in signalfd_read_iter() 216 ret = signalfd_dequeue(ctx, &info, nonblock); in signalfd_read_iter() 223 nonblock = 1; in signalfd_read_iter()
|
| H A D | eventpoll.c | 2551 static inline int epoll_mutex_lock(struct mutex *mutex, bool nonblock) in epoll_mutex_lock() argument 2553 if (!nonblock) { in epoll_mutex_lock() 2584 struct file *epfile, struct file *tfile, bool nonblock) in ep_ctl_lock() argument 2589 error = epoll_mutex_lock(&ep->mtx, nonblock); in ep_ctl_lock() 2601 error = epoll_mutex_lock(&epnested_mutex, nonblock); in ep_ctl_lock() 2615 error = epoll_mutex_lock(&ep->mtx, nonblock); in ep_ctl_lock() 2640 struct epoll_event *epds, bool nonblock) in do_epoll_ctl_file() argument 2680 full_check = ep_ctl_lock(&ctx, ep, op, f, tf->file, nonblock); in do_epoll_ctl_file() 2727 bool nonblock) in do_epoll_ctl() argument 2742 return do_epoll_ctl_file(fd_file(f), op, &efd, epds, nonblock); in do_epoll_ctl()
|
| /linux/drivers/char/ |
| H A D | lp.c | 280 static int lp_wait_ready(int minor, int nonblock) in lp_wait_ready() argument 291 if (error && (nonblock || (LP_F(minor) & LP_ABORT))) in lp_wait_ready() 310 int nonblock = ((file->f_flags & O_NONBLOCK) || in lp_write() local 340 (nonblock ? PARPORT_INACTIVITY_O_NONBLOCK in lp_write() 343 if ((retv = lp_wait_ready(minor, nonblock)) == 0) in lp_write() 369 error = lp_wait_ready(minor, nonblock); in lp_write() 375 } else if (nonblock) { in lp_write() 427 int nonblock = ((file->f_flags & O_NONBLOCK) || in lp_read() local 439 (nonblock ? PARPORT_INACTIVITY_O_NONBLOCK in lp_read() 455 if (nonblock) { in lp_read()
|
| /linux/drivers/usb/class/ |
| H A D | usblp.c | 234 static int usblp_wwait(struct usblp *usblp, int nonblock); 235 static int usblp_wtest(struct usblp *usblp, int nonblock); 236 static int usblp_rwait_and_lock(struct usblp *usblp, int nonblock); 237 static int usblp_rtest(struct usblp *usblp, int nonblock); 908 static int usblp_wwait(struct usblp *usblp, int nonblock) in usblp_wwait() argument 921 rc = usblp_wtest(usblp, nonblock); in usblp_wwait() 946 static int usblp_wtest(struct usblp *usblp, int nonblock) in usblp_wtest() argument 960 if (nonblock) in usblp_wtest() 972 static int usblp_rwait_and_lock(struct usblp *usblp, int nonblock) in usblp_rwait_and_lock() argument 984 rc = usblp_rtest(usblp, nonblock); in usblp_rwait_and_lock() [all …]
|
| /linux/include/net/ |
| H A D | busy_poll.h | 117 static inline void sk_busy_loop(struct sock *sk, int nonblock) in sk_busy_loop() argument 123 napi_busy_loop(napi_id, nonblock ? NULL : sk_busy_loop_end, sk, in sk_busy_loop()
|
| /linux/sound/core/seq/ |
| H A D | seq_memory.c | 269 int nonblock, struct file *file, in snd_seq_cell_alloc() argument 289 while (pool->free == NULL && ! nonblock && ! pool->closing) { in snd_seq_cell_alloc() 340 struct snd_seq_event_cell **cellp, int nonblock, in snd_seq_event_dup() argument 359 err = snd_seq_cell_alloc(pool, &cell, nonblock, file, mutexp); in snd_seq_event_dup() 390 err = snd_seq_cell_alloc(pool, &tmp, nonblock, file, in snd_seq_event_dup()
|
| H A D | seq_fifo.c | 172 struct snd_seq_event_cell **cellp, int nonblock) in snd_seq_fifo_cell_out() 185 if (nonblock) { in snd_seq_fifo_cell_out() 158 snd_seq_fifo_cell_out(struct snd_seq_fifo * f,struct snd_seq_event_cell ** cellp,int nonblock) snd_seq_fifo_cell_out() argument
|
| H A D | seq_memory.h | 71 struct snd_seq_event_cell **cellp, int nonblock,
|
| /linux/drivers/net/wwan/ |
| H A D | wwan_core.c | 110 bool nonblock); 111 static int wwan_wait_tx(struct wwan_port *port, bool nonblock); 785 bool nonblock) in wwan_port_op_tx() argument 795 if (nonblock || !port->ops->tx_blocking) in wwan_port_op_tx() 816 static int wwan_wait_rx(struct wwan_port *port, bool nonblock) in wwan_wait_rx() argument 821 if (nonblock) in wwan_wait_rx() 830 static int wwan_wait_tx(struct wwan_port *port, bool nonblock) in wwan_wait_tx() argument 835 if (nonblock) in wwan_wait_tx()
|
| /linux/include/sound/ |
| H A D | pcm_oss.h | 15 nonblock:1, member
|
| /linux/drivers/gpu/drm/vmwgfx/ |
| H A D | vmwgfx_bo.c | 489 bool nonblock = !!(flags & drm_vmw_synccpu_dontblock); in vmw_user_bo_synccpu_grab() local 497 true, nonblock ? 0 : in vmw_user_bo_synccpu_grab() 506 ret = ttm_bo_reserve(bo, true, nonblock, NULL); in vmw_user_bo_synccpu_grab() 510 ret = ttm_bo_wait(bo, true, nonblock); in vmw_user_bo_synccpu_grab()
|
| /linux/net/rds/ |
| H A D | cong.c | 368 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()
|
| H A D | recv.c | 695 int ret = 0, nonblock = msg_flags & MSG_DONTWAIT; in rds_recvmsg() local 701 timeo = sock_rcvtimeo(sk, nonblock); in rds_recvmsg() 723 if (nonblock) { in rds_recvmsg()
|
| H A D | send.c | 1157 int nonblock = msg->msg_flags & MSG_DONTWAIT; in rds_sendmsg() local 1158 long timeo = sock_sndtimeo(sk, nonblock); in rds_sendmsg() 1408 ret = rds_cong_wait(conn->c_fcong, dport, nonblock, rs); in rds_sendmsg() 1417 if (nonblock) { in rds_sendmsg()
|
| /linux/sound/usb/line6/ |
| H A D | driver.h | 168 unsigned int nonblock:1; member
|
| H A D | driver.c | 547 line6->messages.nonblock = file->f_flags & O_NONBLOCK ? 1 : 0; in line6_hwdep_open() 577 if (line6->messages.nonblock) in line6_hwdep_read()
|
| /linux/drivers/message/fusion/ |
| H A D | mptctl.c | 179 mptctl_syscall_down(MPT_ADAPTER *ioc, int nonblock) in mptctl_syscall_down() argument 183 if (nonblock) { in mptctl_syscall_down() 624 int nonblock = (file->f_flags & O_NONBLOCK); in __mptctl_ioctl() local 673 if ((ret = mptctl_syscall_down(iocp, nonblock)) != 0) in __mptctl_ioctl() 2719 int nonblock = (filp->f_flags & O_NONBLOCK); in compat_mptfwxfer_ioctl() local 2735 if ((ret = mptctl_syscall_down(iocp, nonblock)) != 0) in compat_mptfwxfer_ioctl() 2760 int nonblock = (filp->f_flags & O_NONBLOCK); in compat_mpt_command() local 2775 if ((ret = mptctl_syscall_down(iocp, nonblock)) != 0) in compat_mpt_command()
|
| /linux/net/tls/ |
| H A D | tls_sw.c | 1095 tls_rx_rec_wait(struct sock *sk, bool nonblock, bool released, bool has_copied) in tls_rx_rec_wait() argument 1107 timeo = sock_rcvtimeo(sk, nonblock); in tls_rx_rec_wait() 1163 return tls_rx_rec_wait(sk, nonblock, false, has_copied); in tls_rx_rec_wait() 1738 bool nonblock) in tls_rx_reader_acquire() argument 1743 timeo = sock_rcvtimeo(sk, nonblock); in tls_rx_reader_acquire() 1769 bool nonblock) in tls_rx_reader_lock() argument 1774 err = tls_rx_reader_acquire(sk, ctx, nonblock); in tls_rx_reader_lock()
|
| /linux/drivers/xen/ |
| H A D | pvcalls-front.c | 832 int notify, req_id, ret, nonblock; in pvcalls_front_accept() local 845 nonblock = arg->flags & SOCK_NONBLOCK; in pvcalls_front_accept() 858 if (nonblock) { in pvcalls_front_accept() 931 if (nonblock) { in pvcalls_front_accept()
|
| /linux/drivers/usb/gadget/function/ |
| H A D | f_fs.c | 295 static int ffs_mutex_lock(struct mutex *mutex, unsigned nonblock) 1462 static int ffs_dma_resv_lock(struct dma_buf *dmabuf, bool nonblock) in ffs_dma_resv_lock() argument 1464 if (!nonblock) in ffs_dma_resv_lock() 1500 bool nonblock = file->f_flags & O_NONBLOCK; in ffs_dmabuf_attach() local 1531 err = ffs_dma_resv_lock(dmabuf, nonblock); in ffs_dmabuf_attach() 1611 bool nonblock = file->f_flags & O_NONBLOCK; in ffs_dmabuf_transfer() local 1652 ret = ffs_dma_resv_lock(dmabuf, nonblock); in ffs_dmabuf_transfer() 1657 timeout = nonblock ? 0 : msecs_to_jiffies(DMABUF_ENQUEUE_TIMEOUT_MS); in ffs_dmabuf_transfer() 4340 static int ffs_mutex_lock(struct mutex *mutex, unsigned nonblock) in ffs_mutex_lock() argument 4342 return nonblock in ffs_mutex_lock()
|
| /linux/sound/core/oss/ |
| H A D | pcm_oss.c | 2378 if (setup->nonblock) in snd_pcm_oss_init_substream() 2495 int nonblock; in snd_pcm_oss_open() local 2525 nonblock = !!(file->f_flags & O_NONBLOCK); in snd_pcm_oss_open() 2526 if (!nonblock) in snd_pcm_oss_open() 2527 nonblock = nonblock_open; in snd_pcm_oss_open() 2538 if (nonblock) { in snd_pcm_oss_open() 2987 setup->nonblock ? " non-block" : "", in snd_pcm_oss_proc_read() 3048 template.nonblock = 1; in snd_pcm_oss_proc_write()
|
| /linux/drivers/mmc/core/ |
| H A D | mmc_test.c | 1380 int max_scatter, int min_sg_len, bool nonblock) in mmc_test_area_map() argument 1397 if (err || !nonblock) in mmc_test_area_map() 1436 bool nonblock, int min_sg_len) in mmc_test_area_io_seq() argument 1458 ret = mmc_test_area_map(test, sz, max_scatter, min_sg_len, nonblock); in mmc_test_area_io_seq() 1464 if (nonblock) in mmc_test_area_io_seq()
|
| /linux/drivers/block/drbd/ |
| H A D | drbd_actlog.c | 218 static struct lc_element *_al_get(struct drbd_device *device, unsigned int enr, bool nonblock) in _al_get() argument 233 if (nonblock) in _al_get()
|
| /linux/drivers/misc/mei/ |
| H A D | bus.c | 162 bool nonblock = !!(mode & MEI_CL_IO_RX_NONBLOCK); in __mei_cl_recv() local 184 if (nonblock) { in __mei_cl_recv()
|