| /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 | 2225 bool nonblock) in epoll_mutex_lock() argument 2227 if (!nonblock) { in epoll_mutex_lock() 2237 bool nonblock) in do_epoll_ctl() argument 2305 error = epoll_mutex_lock(&ep->mtx, 0, nonblock); in do_epoll_ctl() 2312 error = epoll_mutex_lock(&epnested_mutex, 0, nonblock); in do_epoll_ctl() 2323 error = epoll_mutex_lock(&ep->mtx, 0, 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()
|
| H A D | virtio_console.c | 598 void *data, bool nonblock) in __send_to_port() argument 624 if (nonblock) in __send_to_port() 776 static int wait_port_writable(struct port *port, bool nonblock) in wait_port_writable() argument 781 if (nonblock) in wait_port_writable() 802 bool nonblock; in port_fops_write() local 811 nonblock = filp->f_flags & O_NONBLOCK; in port_fops_write() 813 ret = wait_port_writable(port, nonblock); in port_fops_write() 836 nonblock = true; in port_fops_write() 838 ret = __send_to_port(port, sg, 1, count, buf, nonblock); in port_fops_write() 840 if (nonblock && ret > 0) in port_fops_write()
|
| /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/drivers/staging/media/av7110/ |
| H A D | av7110_av.c | 435 unsigned long count, int nonblock, int type) in ts_play() argument 449 if (nonblock && !FREE_COND_TS) in ts_play() 454 if (nonblock) in ts_play() 473 unsigned long count, int nonblock, int type) in dvb_play() argument 482 if (nonblock && !FREE_COND) in dvb_play() 487 if (nonblock) in dvb_play() 507 unsigned long count, int nonblock, int type) in dvb_play_kernel() argument 516 if (nonblock && !FREE_COND) in dvb_play_kernel() 521 if (nonblock) in dvb_play_kernel() 538 unsigned long count, int nonblock, int type) in dvb_aplay() argument [all …]
|
| /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 | 158 struct snd_seq_event_cell **cellp, int nonblock) in snd_seq_fifo_cell_out() argument 171 if (nonblock) { in snd_seq_fifo_cell_out()
|
| H A D | seq_memory.h | 71 struct snd_seq_event_cell **cellp, int nonblock,
|
| /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/drivers/iio/ |
| H A D | industrialio-buffer.c | 1613 static int iio_dma_resv_lock(struct dma_buf *dmabuf, bool nonblock) in iio_dma_resv_lock() argument 1615 if (!nonblock) in iio_dma_resv_lock() 1635 struct dma_buf *dmabuf, bool nonblock) in iio_buffer_find_attachment() argument 1659 int __user *user_fd, bool nonblock) in iio_buffer_attach_dmabuf() argument 1696 err = iio_dma_resv_lock(dmabuf, nonblock); in iio_buffer_attach_dmabuf() 1765 int __user *user_req, bool nonblock) in iio_buffer_detach_dmabuf() argument 1822 bool nonblock) in iio_buffer_enqueue_dmabuf() argument 1857 attach = iio_buffer_find_attachment(ib, dmabuf, nonblock); in iio_buffer_enqueue_dmabuf() 1883 ret = iio_dma_resv_lock(dmabuf, nonblock); in iio_buffer_enqueue_dmabuf() 1887 timeout = nonblock ? 0 : msecs_to_jiffies(DMABUF_ENQUEUE_TIMEOUT_MS); in iio_buffer_enqueue_dmabuf() [all …]
|
| /linux/drivers/net/wwan/ |
| H A D | wwan_core.c | 109 bool nonblock); 110 static int wwan_wait_tx(struct wwan_port *port, bool nonblock); 777 bool nonblock) in wwan_port_op_tx() argument 787 if (nonblock || !port->ops->tx_blocking) in wwan_port_op_tx() 808 static int wwan_wait_rx(struct wwan_port *port, bool nonblock) in wwan_wait_rx() argument 813 if (nonblock) in wwan_wait_rx() 822 static int wwan_wait_tx(struct wwan_port *port, bool nonblock) in wwan_wait_tx() argument 827 if (nonblock) in wwan_wait_tx()
|
| /linux/include/drm/ |
| H A D | drm_atomic_helper.h | 75 bool nonblock); 142 bool nonblock);
|
| H A D | drm_mode_config.h | 270 bool nonblock);
|
| /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 | send.c | 1138 int nonblock = msg->msg_flags & MSG_DONTWAIT; in rds_sendmsg() local 1139 long timeo = sock_sndtimeo(sk, nonblock); in rds_sendmsg() 1389 ret = rds_cong_wait(conn->c_fcong, dport, nonblock, rs); in rds_sendmsg() 1398 if (nonblock) { in rds_sendmsg()
|
| /linux/sound/usb/line6/ |
| H A D | driver.h | 168 unsigned int nonblock:1; member
|
| /linux/include/media/ |
| H A D | videobuf2-core.h | 1094 * @nonblock: mode selector (1 means blocking calls, 0 means nonblocking) 1097 loff_t *ppos, int nonblock); 1104 * @nonblock: mode selector (1 means blocking calls, 0 means nonblocking) 1107 loff_t *ppos, int nonblock);
|
| /linux/drivers/gpu/drm/ |
| H A D | drm_atomic_helper.c | 2247 bool nonblock) in drm_atomic_helper_commit() argument 2262 ret = drm_atomic_helper_setup_commit(state, nonblock); in drm_atomic_helper_commit() 2272 if (!nonblock) { in drm_atomic_helper_commit() 2309 if (nonblock) in drm_atomic_helper_commit() 2375 static int stall_checks(struct drm_crtc *crtc, bool nonblock) in stall_checks() argument 2391 if (!completed && nonblock) { in stall_checks() 2512 bool nonblock) in drm_atomic_helper_setup_commit() argument 2535 ret = stall_checks(crtc, nonblock); in drm_atomic_helper_setup_commit() 2578 if (nonblock && old_conn_state->commit && in drm_atomic_helper_setup_commit() 2600 if (nonblock && old_plane_state->commit && in drm_atomic_helper_setup_commit()
|
| /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/drivers/usb/gadget/function/ |
| H A D | f_fs.c | 292 static int ffs_mutex_lock(struct mutex *mutex, unsigned nonblock) 1445 static int ffs_dma_resv_lock(struct dma_buf *dmabuf, bool nonblock) in ffs_dma_resv_lock() argument 1447 if (!nonblock) in ffs_dma_resv_lock() 1483 bool nonblock = file->f_flags & O_NONBLOCK; in ffs_dmabuf_attach() local 1514 err = ffs_dma_resv_lock(dmabuf, nonblock); in ffs_dmabuf_attach() 1594 bool nonblock = file->f_flags & O_NONBLOCK; in ffs_dmabuf_transfer() local 1635 ret = ffs_dma_resv_lock(dmabuf, nonblock); in ffs_dmabuf_transfer() 1640 timeout = nonblock ? 0 : msecs_to_jiffies(DMABUF_ENQUEUE_TIMEOUT_MS); in ffs_dmabuf_transfer() 4319 static int ffs_mutex_lock(struct mutex *mutex, unsigned nonblock) in ffs_mutex_lock() argument 4321 return nonblock in ffs_mutex_lock()
|
| /linux/drivers/xen/ |
| H A D | pvcalls-front.c | 785 int notify, req_id, ret, nonblock; in pvcalls_front_accept() local 798 nonblock = arg->flags & SOCK_NONBLOCK; in pvcalls_front_accept() 811 if (nonblock) { in pvcalls_front_accept() 876 if (nonblock) { in pvcalls_front_accept()
|