Home
last modified time | relevance | path

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

/drivers/media/usb/em28xx/
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
433 nonblock = !!(substream->f_flags & O_NONBLOCK); in em28xx_vol_put()
434 if (nonblock) { in em28xx_vol_put()
465 int nonblock = 0; in em28xx_vol_get() local
472 nonblock = !!(substream->f_flags & O_NONBLOCK); in em28xx_vol_get()
473 if (nonblock) { in em28xx_vol_get()
501 int nonblock = 0; in em28xx_vol_put_mute() local
[all …]
/drivers/char/
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()
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()
/drivers/usb/class/
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()
964 static int usblp_rwait_and_lock(struct usblp *usblp, int nonblock) in usblp_rwait_and_lock() argument
976 if ((rc = usblp_rtest(usblp, nonblock)) < 0) { in usblp_rwait_and_lock()
[all …]
/drivers/staging/media/av7110/
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 …]
/drivers/net/wwan/
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()
/drivers/net/ethernet/chelsio/inline_crypto/chtls/
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()
Dchtls.h570 size_t len, int nonblock, int flags, int *addr_len);
/drivers/gpu/drm/vmwgfx/
Dvmwgfx_bo.c737 bool nonblock = !!(flags & drm_vmw_synccpu_dontblock); in vmw_user_bo_synccpu_grab() local
746 nonblock ? 0 : in vmw_user_bo_synccpu_grab()
755 ret = ttm_bo_reserve(bo, true, nonblock, NULL); in vmw_user_bo_synccpu_grab()
759 ret = ttm_bo_wait(bo, true, nonblock); in vmw_user_bo_synccpu_grab()
/drivers/gpu/drm/
Ddrm_atomic_helper.c1854 bool nonblock) in drm_atomic_helper_commit() argument
1869 ret = drm_atomic_helper_setup_commit(state, nonblock); in drm_atomic_helper_commit()
1879 if (!nonblock) { in drm_atomic_helper_commit()
1916 if (nonblock) in drm_atomic_helper_commit()
1982 static int stall_checks(struct drm_crtc *crtc, bool nonblock) in stall_checks() argument
1998 if (!completed && nonblock) { in stall_checks()
2119 bool nonblock) in drm_atomic_helper_setup_commit() argument
2142 ret = stall_checks(crtc, nonblock); in drm_atomic_helper_setup_commit()
2186 if (nonblock && old_conn_state->commit && in drm_atomic_helper_setup_commit()
2207 if (nonblock && old_plane_state->commit && in drm_atomic_helper_setup_commit()
/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()
625 int nonblock = (file->f_flags & O_NONBLOCK); in __mptctl_ioctl() local
675 if ((ret = mptctl_syscall_down(iocp, nonblock)) != 0) in __mptctl_ioctl()
2710 int nonblock = (filp->f_flags & O_NONBLOCK); in compat_mptfwxfer_ioctl() local
2726 if ((ret = mptctl_syscall_down(iocp, nonblock)) != 0) in compat_mptfwxfer_ioctl()
2751 int nonblock = (filp->f_flags & O_NONBLOCK); in compat_mpt_command() local
2766 if ((ret = mptctl_syscall_down(iocp, nonblock)) != 0) in compat_mpt_command()
/drivers/gpu/drm/exynos/
Dexynos_drm_drv.h260 bool nonblock);
/drivers/xen/
Dpvcalls-front.c769 int notify, req_id, ret, nonblock; in pvcalls_front_accept() local
782 nonblock = flags & SOCK_NONBLOCK; in pvcalls_front_accept()
795 if (nonblock) { in pvcalls_front_accept()
861 if (nonblock) { in pvcalls_front_accept()
/drivers/misc/mei/
Dbus.c131 bool nonblock = !!(mode & MEI_CL_IO_RX_NONBLOCK); in __mei_cl_recv() local
153 if (nonblock) { in __mei_cl_recv()
Dmain.c173 bool nonblock = !!(file->f_flags & O_NONBLOCK); in mei_read() local
211 if (nonblock) { in mei_read()
/drivers/mmc/core/
Dmmc_test.c1390 int max_scatter, int min_sg_len, bool nonblock) in mmc_test_area_map() argument
1407 if (err || !nonblock) in mmc_test_area_map()
1446 bool nonblock, int min_sg_len) in mmc_test_area_io_seq() argument
1468 ret = mmc_test_area_map(test, sz, max_scatter, min_sg_len, nonblock); in mmc_test_area_io_seq()
1474 if (nonblock) in mmc_test_area_io_seq()
/drivers/block/drbd/
Ddrbd_actlog.c218 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()
/drivers/gpu/drm/nouveau/dispnv50/
Ddisp.c2409 struct drm_atomic_state *state, bool nonblock) in nv50_disp_atomic_commit() argument
2421 ret = drm_atomic_helper_setup_commit(state, nonblock); in nv50_disp_atomic_commit()
2431 if (!nonblock) { in nv50_disp_atomic_commit()
2457 if (nonblock) in nv50_disp_atomic_commit()
/drivers/media/common/videobuf2/
Dvideobuf2-core.c2723 loff_t *ppos, int nonblock, int read) in __vb2_perform_fileio() argument
2739 nonblock ? "non" : ""); in __vb2_perform_fileio()
2771 ret = vb2_core_dqbuf(q, &index, NULL, nonblock); in __vb2_perform_fileio()
/drivers/usb/gadget/legacy/
Dinode.c297 goto nonblock; in get_ready_ep()
301 nonblock: in get_ready_ep()
/drivers/usb/gadget/function/
Df_fs.c261 static int ffs_mutex_lock(struct mutex *mutex, unsigned nonblock)
3868 static int ffs_mutex_lock(struct mutex *mutex, unsigned nonblock) in ffs_mutex_lock() argument
3870 return nonblock in ffs_mutex_lock()
/drivers/gpu/drm/i915/gem/
Di915_gem_execbuffer.c1847 bool nonblock = eb->file->filp->f_flags & O_NONBLOCK; in eb_relocate_parse() local
1852 if (nonblock) { in eb_relocate_parse()
/drivers/gpu/drm/i915/display/
Dintel_display.c10785 bool nonblock) in intel_atomic_commit() argument
10834 ret = drm_atomic_helper_setup_commit(&state->base, nonblock); in intel_atomic_commit()
10861 if (nonblock && state->modeset) { in intel_atomic_commit()
10863 } else if (nonblock) { in intel_atomic_commit()