| /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/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/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/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/include/sound/ |
| H A D | pcm_oss.h | 15 nonblock:1, member
|
| /linux/drivers/net/wwan/ |
| H A D | wwan_core.c | 607 bool nonblock) in wwan_port_op_tx() argument 617 if (nonblock || !port->ops->tx_blocking) in wwan_port_op_tx() 638 static int wwan_wait_rx(struct wwan_port *port, bool nonblock) in wwan_wait_rx() argument 643 if (nonblock) in wwan_wait_rx() 652 static int wwan_wait_tx(struct wwan_port *port, bool nonblock) in wwan_wait_tx() argument 657 if (nonblock) in wwan_wait_tx()
|
| /linux/sound/core/seq/ |
| H A D | seq_memory.h | 71 struct snd_seq_event_cell **cellp, int nonblock,
|
| /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()
|
| /linux/sound/usb/line6/ |
| H A D | driver.h | 168 unsigned int nonblock:1; member
|
| /linux/include/media/ |
| H A D | videobuf2-core.h | 1110 loff_t *ppos, int nonblock); 1120 loff_t *ppos, int nonblock);
|
| /linux/drivers/gpu/drm/ |
| H A D | drm_atomic_helper.c | 2170 bool nonblock) in drm_atomic_helper_commit() argument 2185 ret = drm_atomic_helper_setup_commit(state, nonblock); in drm_atomic_helper_commit() 2195 if (!nonblock) { in drm_atomic_helper_commit() 2232 if (nonblock) in drm_atomic_helper_commit() 2298 static int stall_checks(struct drm_crtc *crtc, bool nonblock) in stall_checks() argument 2314 if (!completed && nonblock) { in stall_checks() 2435 bool nonblock) in drm_atomic_helper_setup_commit() argument 2458 ret = stall_checks(crtc, nonblock); in drm_atomic_helper_setup_commit() 2502 if (nonblock && old_conn_state->commit && in drm_atomic_helper_setup_commit() 2524 if (nonblock && old_plane_state->commit && in drm_atomic_helper_setup_commit()
|
| /linux/include/drm/ |
| H A D | drm_mode_config.h | 270 bool nonblock);
|
| /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 | 293 static int ffs_mutex_lock(struct mutex *mutex, unsigned nonblock) 1449 static int ffs_dma_resv_lock(struct dma_buf *dmabuf, bool nonblock) in ffs_dma_resv_lock() argument 1451 if (!nonblock) in ffs_dma_resv_lock() 1487 bool nonblock = file->f_flags & O_NONBLOCK; in ffs_dmabuf_attach() local 1518 err = ffs_dma_resv_lock(dmabuf, nonblock); in ffs_dmabuf_attach() 1598 bool nonblock = file->f_flags & O_NONBLOCK; in ffs_dmabuf_transfer() local 1639 ret = ffs_dma_resv_lock(dmabuf, nonblock); in ffs_dmabuf_transfer() 1644 timeout = nonblock ? 0 : msecs_to_jiffies(DMABUF_ENQUEUE_TIMEOUT_MS); in ffs_dmabuf_transfer() 4329 static int ffs_mutex_lock(struct mutex *mutex, unsigned nonblock) in ffs_mutex_lock() argument 4331 return nonblock in ffs_mutex_lock()
|
| /linux/net/tls/ |
| H A D | tls_sw.c | 1349 tls_rx_rec_wait(struct sock *sk, struct sk_psock *psock, bool nonblock, in tls_rx_rec_wait() argument 1362 timeo = sock_rcvtimeo(sk, nonblock); in tls_rx_rec_wait() 1405 return tls_rx_rec_wait(sk, psock, nonblock, false); in tls_rx_rec_wait() 1969 bool nonblock) in tls_rx_reader_acquire() argument 1974 timeo = sock_rcvtimeo(sk, nonblock); in tls_rx_reader_acquire() 2000 bool nonblock) in tls_rx_reader_lock() argument 2005 err = tls_rx_reader_acquire(sk, ctx, nonblock); in tls_rx_reader_lock()
|
| /linux/drivers/misc/mei/ |
| H A D | main.c | 180 bool nonblock = !!(file->f_flags & O_NONBLOCK); in mei_read() local 218 if (nonblock) { in mei_read()
|
| /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/net/llc/ |
| H A D | af_llc.c | 763 const int nonblock = flags & MSG_DONTWAIT; in llc_ui_recvmsg() local 779 timeo = sock_rcvtimeo(sk, nonblock); in llc_ui_recvmsg()
|
| /linux/tools/testing/selftests/net/mptcp/ |
| H A D | mptcp_connect.c | 607 static void set_nonblock(int fd, bool nonblock) in set_nonblock() argument 614 if (nonblock) in set_nonblock()
|
| /linux/drivers/gpu/drm/nouveau/dispnv50/ |
| H A D | disp.c | 2428 struct drm_atomic_state *state, bool nonblock) in nv50_disp_atomic_commit() argument 2440 ret = drm_atomic_helper_setup_commit(state, nonblock); in nv50_disp_atomic_commit() 2450 if (!nonblock) { in nv50_disp_atomic_commit() 2476 if (nonblock) in nv50_disp_atomic_commit()
|
| /linux/sound/core/ |
| H A D | pcm_lib.c | 2281 bool nonblock; in __snd_pcm_lib_xfer() local 2317 nonblock = !!(substream->f_flags & O_NONBLOCK); in __snd_pcm_lib_xfer() 2351 if (nonblock) { in __snd_pcm_lib_xfer()
|
| /linux/drivers/media/common/videobuf2/ |
| H A D | videobuf2-core.c | 3010 loff_t *ppos, int nonblock, int read) in __vb2_perform_fileio() argument 3026 nonblock ? "non" : ""); in __vb2_perform_fileio() 3058 ret = vb2_core_dqbuf(q, &index, NULL, nonblock); in __vb2_perform_fileio()
|
| /linux/drivers/gpu/drm/i915/gem/ |
| H A D | i915_gem_execbuffer.c | 2523 bool nonblock = eb->file->filp->f_flags & O_NONBLOCK; in eb_pin_timeline() local 2524 long timeout = nonblock ? 0 : MAX_SCHEDULE_TIMEOUT; in eb_pin_timeline() 2539 if (nonblock) in eb_pin_timeline()
|