Home
last modified time | relevance | path

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

/drivers/media/usb/em28xx/
Dem28xx-audio.c254 int nonblock, ret = 0; in snd_em28xx_capture_open() local
266 nonblock = !!(substream->f_flags & O_NONBLOCK); in snd_em28xx_capture_open()
267 if (nonblock) { in snd_em28xx_capture_open()
509 int nonblock = 0; in em28xx_vol_put() local
516 nonblock = !!(substream->f_flags & O_NONBLOCK); in em28xx_vol_put()
517 if (nonblock) { in em28xx_vol_put()
548 int nonblock = 0; in em28xx_vol_get() local
555 nonblock = !!(substream->f_flags & O_NONBLOCK); in em28xx_vol_get()
556 if (nonblock) { in em28xx_vol_get()
584 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.c606 void *data, bool nonblock) in __send_to_port() argument
632 if (nonblock) in __send_to_port()
784 static int wait_port_writable(struct port *port, bool nonblock) in wait_port_writable() argument
789 if (nonblock) in wait_port_writable()
810 bool nonblock; in port_fops_write() local
819 nonblock = filp->f_flags & O_NONBLOCK; in port_fops_write()
821 ret = wait_port_writable(port, nonblock); in port_fops_write()
844 nonblock = true; in port_fops_write()
846 ret = __send_to_port(port, sg, 1, count, buf, nonblock); in port_fops_write()
848 if (nonblock && ret > 0) in port_fops_write()
Drandom.c1986 _random_read(int nonblock, char __user *buf, size_t nbytes) in _random_read() argument
2005 if (nonblock) in _random_read()
/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);
869 static int usblp_wwait(struct usblp *usblp, int nonblock) in usblp_wwait() argument
882 rc = usblp_wtest(usblp, nonblock); in usblp_wwait()
907 static int usblp_wtest(struct usblp *usblp, int nonblock) in usblp_wtest() argument
921 if (nonblock) in usblp_wtest()
933 static int usblp_rwait_and_lock(struct usblp *usblp, int nonblock) in usblp_rwait_and_lock() argument
945 if ((rc = usblp_rtest(usblp, nonblock)) < 0) { in usblp_rwait_and_lock()
[all …]
/drivers/media/pci/ttpci/
Dav7110_av.c431 unsigned long count, int nonblock, int type) in ts_play() argument
445 if (nonblock && !FREE_COND_TS) in ts_play()
450 if (nonblock) in ts_play()
470 unsigned long count, int nonblock, int type) in dvb_play() argument
478 if (nonblock && !FREE_COND) in dvb_play()
483 if (nonblock) in dvb_play()
503 unsigned long count, int nonblock, int type) in dvb_play_kernel() argument
511 if (nonblock && !FREE_COND) in dvb_play_kernel()
516 if (nonblock) in dvb_play_kernel()
533 unsigned long count, int nonblock, int type) in dvb_aplay() argument
[all …]
/drivers/gpu/drm/vc4/
Dvc4_kms.c213 bool nonblock) in vc4_atomic_commit() argument
244 ret = drm_atomic_helper_setup_commit(state, nonblock); in vc4_atomic_commit()
260 if (!nonblock) { in vc4_atomic_commit()
294 if (nonblock) in vc4_atomic_commit()
/drivers/crypto/chelsio/chtls/
Dchtls_io.c1398 int nonblock, int flags, int *addr_len) in chtls_pt_recvmsg() argument
1411 timeo = sock_rcvtimeo(sk, nonblock); in chtls_pt_recvmsg()
1564 size_t len, int nonblock, int flags) in peekmsg() argument
1574 timeo = sock_rcvtimeo(sk, nonblock); in peekmsg()
1685 int nonblock, int flags, int *addr_len) in chtls_recvmsg() argument
1698 return tcp_prot.recvmsg(sk, msg, len, nonblock, flags, in chtls_recvmsg()
1702 return peekmsg(sk, msg, len, nonblock, flags); in chtls_recvmsg()
1707 sk_busy_loop(sk, nonblock); in chtls_recvmsg()
1713 return chtls_pt_recvmsg(sk, msg, len, nonblock, in chtls_recvmsg()
1716 timeo = sock_rcvtimeo(sk, nonblock); in chtls_recvmsg()
Dchtls.h476 size_t len, int nonblock, int flags, int *addr_len);
/drivers/gpu/drm/
Ddrm_atomic_helper.c1769 bool nonblock) in drm_atomic_helper_commit() argument
1784 ret = drm_atomic_helper_setup_commit(state, nonblock); in drm_atomic_helper_commit()
1794 if (!nonblock) { in drm_atomic_helper_commit()
1831 if (nonblock) in drm_atomic_helper_commit()
1885 static int stall_checks(struct drm_crtc *crtc, bool nonblock) in stall_checks() argument
1899 if (!completed && nonblock) { in stall_checks()
2014 bool nonblock) in drm_atomic_helper_setup_commit() argument
2034 ret = stall_checks(crtc, nonblock); in drm_atomic_helper_setup_commit()
2074 if (nonblock && old_conn_state->commit && in drm_atomic_helper_setup_commit()
2089 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()
627 int nonblock = (file->f_flags & O_NONBLOCK); in __mptctl_ioctl() local
677 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()
/drivers/gpu/drm/exynos/
Dexynos_drm_drv.h258 bool nonblock);
/drivers/xen/
Dpvcalls-front.c768 int notify, req_id, ret, evtchn, nonblock; in pvcalls_front_accept() local
780 nonblock = flags & SOCK_NONBLOCK; in pvcalls_front_accept()
793 if (nonblock) { in pvcalls_front_accept()
859 if (nonblock) { in pvcalls_front_accept()
/drivers/gpu/drm/vmwgfx/
Dvmwgfx_bo.c690 bool nonblock = !!(flags & drm_vmw_synccpu_dontblock); in vmw_user_bo_synccpu_grab() local
695 nonblock ? 0 : MAX_SCHEDULE_TIMEOUT); in vmw_user_bo_synccpu_grab()
/drivers/misc/mei/
Dmain.c136 bool nonblock = !!(file->f_flags & O_NONBLOCK); in mei_read() local
174 if (nonblock) { in mei_read()
Dbus.c120 bool nonblock = !!(mode & MEI_CL_IO_RX_NONBLOCK); in __mei_cl_recv() local
141 if (nonblock) { in __mei_cl_recv()
/drivers/gpu/drm/nouveau/dispnv50/
Ddisp.c2028 struct drm_atomic_state *state, bool nonblock) in nv50_disp_atomic_commit() argument
2038 ret = drm_atomic_helper_setup_commit(state, nonblock); in nv50_disp_atomic_commit()
2048 if (!nonblock) { in nv50_disp_atomic_commit()
2074 if (nonblock) in nv50_disp_atomic_commit()
/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/media/common/videobuf2/
Dvideobuf2-core.c2595 loff_t *ppos, int nonblock, int read) in __vb2_perform_fileio() argument
2611 nonblock ? "non" : ""); in __vb2_perform_fileio()
2643 ret = vb2_core_dqbuf(q, &index, NULL, nonblock); in __vb2_perform_fileio()
/drivers/usb/gadget/legacy/
Dinode.c294 goto nonblock; in get_ready_ep()
298 nonblock: in get_ready_ep()
/drivers/usb/gadget/function/
Df_fs.c260 static int ffs_mutex_lock(struct mutex *mutex, unsigned nonblock)
3820 static int ffs_mutex_lock(struct mutex *mutex, unsigned nonblock) in ffs_mutex_lock() argument
3822 return nonblock in ffs_mutex_lock()
/drivers/mmc/core/
Dmmc_test.c1438 bool nonblock, int min_sg_len) in mmc_test_area_io_seq() argument
1467 if (nonblock) in mmc_test_area_io_seq()
/drivers/gpu/drm/amd/display/amdgpu_dm/
Damdgpu_dm.c136 bool nonblock);
6080 bool nonblock) in amdgpu_dm_atomic_commit() argument
6117 return drm_atomic_helper_commit(dev, state, nonblock); in amdgpu_dm_atomic_commit()
/drivers/gpu/drm/i915/display/
Dintel_display.c14153 bool nonblock) in intel_atomic_commit() argument
14201 ret = drm_atomic_helper_setup_commit(&state->base, nonblock); in intel_atomic_commit()
14231 if (nonblock && state->modeset) { in intel_atomic_commit()
14233 } else if (nonblock) { in intel_atomic_commit()