Searched refs:nonblock (Results 1 - 22 of 22) sorted by relevance

/drivers/media/usb/em28xx/
H A Dem28xx-audio.c255 int nonblock, ret = 0; local
268 nonblock = !!(substream->f_flags & O_NONBLOCK);
269 if (nonblock) {
503 int nonblock = 0; local
510 nonblock = !!(substream->f_flags & O_NONBLOCK);
511 if (nonblock) {
541 int nonblock = 0; local
548 nonblock = !!(substream->f_flags & O_NONBLOCK);
549 if (nonblock) {
576 int nonblock local
617 int nonblock = 0; local
[all...]
/drivers/staging/lustre/lustre/lclient/
H A Dlcommon_misc.c127 int cl_get_grouplock(struct cl_object *obj, unsigned long gid, int nonblock, argument
162 enqflags = CEF_MUST | (nonblock ? CEF_NONBLOCK : 0);
H A Dlcommon_cl.c513 int nonblock)
510 ccc_transient_page_own(const struct lu_env *env, const struct cl_page_slice *slice, struct cl_io *unused, int nonblock) argument
/drivers/char/
H A Dlp.c273 static int lp_wait_ready(int minor, int nonblock) argument
284 if (error && (nonblock || (LP_F(minor) & LP_ABORT)))
303 int nonblock = ((file->f_flags & O_NONBLOCK) || local
333 (nonblock ? PARPORT_INACTIVITY_O_NONBLOCK
336 if ((retv = lp_wait_ready (minor, nonblock)) == 0)
362 error = lp_wait_ready (minor, nonblock);
368 } else if (nonblock) {
420 int nonblock = ((file->f_flags & O_NONBLOCK) || local
432 (nonblock ? PARPORT_INACTIVITY_O_NONBLOCK
448 if (nonblock) {
[all...]
H A Dvirtio_console.c616 void *data, bool nonblock)
642 if (nonblock)
793 static int wait_port_writable(struct port *port, bool nonblock) argument
798 if (nonblock)
819 bool nonblock; local
828 nonblock = filp->f_flags & O_NONBLOCK;
830 ret = wait_port_writable(port, nonblock);
853 nonblock = true;
855 ret = __send_to_port(port, sg, 1, count, buf, nonblock);
857 if (nonblock
614 __send_to_port(struct port *port, struct scatterlist *sg, int nents, size_t in_count, void *data, bool nonblock) argument
[all...]
H A Drandom.c1343 _random_read(int nonblock, char __user *buf, size_t nbytes) argument
1362 if (nonblock)
/drivers/usb/class/
H A Dusblp.c237 static int usblp_wwait(struct usblp *usblp, int nonblock);
238 static int usblp_wtest(struct usblp *usblp, int nonblock);
239 static int usblp_rwait_and_lock(struct usblp *usblp, int nonblock);
240 static int usblp_rtest(struct usblp *usblp, int nonblock);
864 static int usblp_wwait(struct usblp *usblp, int nonblock) argument
877 rc = usblp_wtest(usblp, nonblock);
902 static int usblp_wtest(struct usblp *usblp, int nonblock) argument
916 if (nonblock)
928 static int usblp_rwait_and_lock(struct usblp *usblp, int nonblock) argument
940 if ((rc = usblp_rtest(usblp, nonblock)) <
954 usblp_rtest(struct usblp *usblp, int nonblock) argument
[all...]
/drivers/media/pci/ttpci/
H A Dav7110_av.c446 unsigned long count, int nonblock, int type)
460 if (nonblock && !FREE_COND_TS)
465 if (nonblock)
485 unsigned long count, int nonblock, int type)
493 if (nonblock && !FREE_COND)
498 if (nonblock)
518 unsigned long count, int nonblock, int type)
526 if (nonblock && !FREE_COND)
531 if (nonblock)
548 unsigned long count, int nonblock, in
445 ts_play(struct av7110 *av7110, const char __user *buf, unsigned long count, int nonblock, int type) argument
484 dvb_play(struct av7110 *av7110, const char __user *buf, unsigned long count, int nonblock, int type) argument
517 dvb_play_kernel(struct av7110 *av7110, const u8 *buf, unsigned long count, int nonblock, int type) argument
547 dvb_aplay(struct av7110 *av7110, const char __user *buf, unsigned long count, int nonblock, int type) argument
1038 play_iframe(struct av7110 *av7110, char __user *buf, unsigned int len, int nonblock) argument
[all...]
/drivers/staging/lustre/lustre/llite/
H A Dvvp_page.c80 int nonblock)
86 if (nonblock) {
431 struct cl_io *unused, int nonblock)
78 vvp_page_own(const struct lu_env *env, const struct cl_page_slice *slice, struct cl_io *io, int nonblock) argument
429 vvp_transient_page_own(const struct lu_env *env, const struct cl_page_slice *slice, struct cl_io *unused, int nonblock) argument
/drivers/staging/lustre/lustre/include/
H A Dlclient.h304 struct cl_io *io, int nonblock);
399 int cl_get_grouplock(struct cl_object *obj, unsigned long gid, int nonblock,
H A Dcl_object.h857 struct cl_io *io, int nonblock);
/drivers/staging/lustre/lustre/lov/
H A Dlov_page.c84 int nonblock)
82 lov_page_own(const struct lu_env *env, const struct cl_page_slice *slice, struct cl_io *io, int nonblock) argument
/drivers/message/fusion/
H A Dmptctl.c171 * @nonblock: boolean, non-zero if O_NONBLOCK is set
179 mptctl_syscall_down(MPT_ADAPTER *ioc, int nonblock) argument
183 if (nonblock) {
627 int nonblock = (file->f_flags & O_NONBLOCK); local
677 if ((ret = mptctl_syscall_down(iocp, nonblock)) != 0)
2828 int nonblock = (filp->f_flags & O_NONBLOCK); local
2844 if ((ret = mptctl_syscall_down(iocp, nonblock)) != 0)
2869 int nonblock = (filp->f_flags & O_NONBLOCK); local
2884 if ((ret = mptctl_syscall_down(iocp, nonblock)) != 0)
/drivers/block/drbd/
H A Ddrbd_actlog.c229 static struct lc_element *_al_get(struct drbd_device *device, unsigned int enr, bool nonblock) argument
244 if (nonblock)
/drivers/gpu/drm/vmwgfx/
H A Dvmwgfx_resource.c571 bool nonblock = !!(flags & drm_vmw_synccpu_dontblock); local
574 if (nonblock)
/drivers/staging/lustre/lustre/obdclass/
H A Dcl_page.c864 struct cl_page *pg, int nonblock)
880 io, nonblock);
863 cl_page_own0(const struct lu_env *env, struct cl_io *io, struct cl_page *pg, int nonblock) argument
/drivers/media/v4l2-core/
H A Dvideobuf2-core.c2917 * @nonblock: mode selector (1 means blocking calls, 0 means nonblocking)
2921 loff_t *ppos, int nonblock, int read)
2938 nonblock ? "non" : "");
2970 ret = vb2_internal_dqbuf(q, &fileio->b, nonblock);
2920 __vb2_perform_fileio(struct vb2_queue *q, char __user *data, size_t count, loff_t *ppos, int nonblock, int read) argument
/drivers/tty/
H A Dtty_io.c2383 int nonblock; local
2385 if (get_user(nonblock, p))
2389 if (nonblock)
/drivers/usb/gadget/legacy/
H A Dinode.c292 goto nonblock;
295 nonblock:
/drivers/mmc/card/
H A Dmmc_test.c762 * Tests nonblock transfer with certain parameters
1462 bool nonblock, int min_sg_len)
1491 if (nonblock)
1459 mmc_test_area_io_seq(struct mmc_test_card *test, unsigned long sz, unsigned int dev_addr, int write, int max_scatter, int timed, int count, bool nonblock, int min_sg_len) argument
/drivers/staging/lustre/lustre/obdecho/
H A Decho_client.c234 struct cl_io *io, int nonblock)
238 if (!nonblock)
232 echo_page_own(const struct lu_env *env, const struct cl_page_slice *slice, struct cl_io *io, int nonblock) argument
/drivers/usb/gadget/function/
H A Df_fs.c187 static int ffs_mutex_lock(struct mutex *mutex, unsigned nonblock)
3428 static int ffs_mutex_lock(struct mutex *mutex, unsigned nonblock) argument
3430 return nonblock

Completed in 1740 milliseconds