Home
last modified time | relevance | path

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

123

/linux-6.1.9/drivers/media/usb/em28xx/
Dem28xx-audio.c220 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-6.1.9/fs/
Dsignalfd.c156 int nonblock) in signalfd_dequeue() argument
166 if (!nonblock) in signalfd_dequeue()
207 int nonblock = file->f_flags & O_NONBLOCK; in signalfd_read() local
217 ret = signalfd_dequeue(ctx, &info, nonblock); in signalfd_read()
225 nonblock = 1; in signalfd_read()
Deventpoll.c399 static bool ep_busy_loop(struct eventpoll *ep, int nonblock) in ep_busy_loop() argument
404 napi_busy_loop(napi_id, nonblock ? NULL : ep_busy_loop_end, ep, false, in ep_busy_loop()
456 static inline bool ep_busy_loop(struct eventpoll *ep, int nonblock) in ep_busy_loop() argument
2046 bool nonblock) in epoll_mutex_lock() argument
2048 if (!nonblock) { in epoll_mutex_lock()
2058 bool nonblock) in do_epoll_ctl() argument
2129 error = epoll_mutex_lock(&ep->mtx, 0, nonblock); in do_epoll_ctl()
2136 error = epoll_mutex_lock(&epmutex, 0, nonblock); in do_epoll_ctl()
2147 error = epoll_mutex_lock(&ep->mtx, 0, nonblock); in do_epoll_ctl()
/linux-6.1.9/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()
/linux-6.1.9/sound/core/seq/
Dseq_memory.c214 int nonblock, struct file *file, in snd_seq_cell_alloc() argument
234 while (pool->free == NULL && ! nonblock && ! pool->closing) { in snd_seq_cell_alloc()
285 struct snd_seq_event_cell **cellp, int nonblock, in snd_seq_event_dup() argument
303 err = snd_seq_cell_alloc(pool, &cell, nonblock, file, mutexp); in snd_seq_event_dup()
329 err = snd_seq_cell_alloc(pool, &tmp, nonblock, file, in snd_seq_event_dup()
Dseq_fifo.h42 int snd_seq_fifo_cell_out(struct snd_seq_fifo *f, struct snd_seq_event_cell **cellp, int nonblock);
Dseq_memory.h54 struct snd_seq_event_cell **cellp, int nonblock,
Dseq_fifo.c163 struct snd_seq_event_cell **cellp, int nonblock) in snd_seq_fifo_cell_out() argument
176 if (nonblock) { in snd_seq_fifo_cell_out()
/linux-6.1.9/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 …]
/linux-6.1.9/include/net/
Dbusy_poll.h104 static inline void sk_busy_loop(struct sock *sk, int nonblock) in sk_busy_loop() argument
110 napi_busy_loop(napi_id, nonblock ? NULL : sk_busy_loop_end, sk, in sk_busy_loop()
/linux-6.1.9/drivers/staging/media/deprecated/saa7146/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 …]
/linux-6.1.9/include/drm/
Ddrm_atomic_helper.h71 bool nonblock);
120 bool nonblock);
Ddrm_mode_config.h285 bool nonblock);
/linux-6.1.9/drivers/gpu/drm/vmwgfx/
Dvmwgfx_bo.c545 bool nonblock = !!(flags & drm_vmw_synccpu_dontblock); in vmw_user_bo_synccpu_grab() local
553 true, nonblock ? 0 : in vmw_user_bo_synccpu_grab()
562 ret = ttm_bo_reserve(bo, true, nonblock, NULL); in vmw_user_bo_synccpu_grab()
566 ret = ttm_bo_wait(bo, true, nonblock); in vmw_user_bo_synccpu_grab()
/linux-6.1.9/include/sound/
Dpcm_oss.h15 nonblock:1, member
/linux-6.1.9/include/linux/
Deventpoll.h57 bool nonblock);
/linux-6.1.9/drivers/net/wwan/
Dwwan_core.c578 bool nonblock) in wwan_port_op_tx() argument
588 if (nonblock || !port->ops->tx_blocking) in wwan_port_op_tx()
609 static int wwan_wait_rx(struct wwan_port *port, bool nonblock) in wwan_wait_rx() argument
614 if (nonblock) in wwan_wait_rx()
623 static int wwan_wait_tx(struct wwan_port *port, bool nonblock) in wwan_wait_tx() argument
628 if (nonblock) in wwan_wait_tx()
/linux-6.1.9/net/rds/
Dsend.c1046 struct rds_connection *conn, int nonblock) in rds_send_mprds_hash() argument
1066 if (nonblock) in rds_send_mprds_hash()
1112 int nonblock = msg->msg_flags & MSG_DONTWAIT; in rds_sendmsg() local
1113 long timeo = sock_sndtimeo(sk, nonblock); in rds_sendmsg()
1309 cpath = &conn->c_path[rds_send_mprds_hash(rs, conn, nonblock)]; in rds_sendmsg()
1346 ret = rds_cong_wait(conn->c_fcong, dport, nonblock, rs); in rds_sendmsg()
1355 if (nonblock) { in rds_sendmsg()
Dcong.c368 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()
Drecv.c639 int ret = 0, nonblock = msg_flags & MSG_DONTWAIT; in rds_recvmsg() local
645 timeo = sock_rcvtimeo(sk, nonblock); in rds_recvmsg()
667 if (nonblock) { in rds_recvmsg()
/linux-6.1.9/sound/usb/line6/
Ddriver.h168 unsigned int nonblock:1; member
/linux-6.1.9/include/media/
Dvideobuf2-core.h1054 loff_t *ppos, int nonblock);
1064 loff_t *ppos, int nonblock);
/linux-6.1.9/drivers/gpu/drm/
Ddrm_atomic_helper.c1960 bool nonblock) in drm_atomic_helper_commit() argument
1975 ret = drm_atomic_helper_setup_commit(state, nonblock); in drm_atomic_helper_commit()
1985 if (!nonblock) { in drm_atomic_helper_commit()
2022 if (nonblock) in drm_atomic_helper_commit()
2088 static int stall_checks(struct drm_crtc *crtc, bool nonblock) in stall_checks() argument
2104 if (!completed && nonblock) { in stall_checks()
2226 bool nonblock) in drm_atomic_helper_setup_commit() argument
2249 ret = stall_checks(crtc, nonblock); in drm_atomic_helper_setup_commit()
2293 if (nonblock && old_conn_state->commit && in drm_atomic_helper_setup_commit()
2315 if (nonblock && old_plane_state->commit && in drm_atomic_helper_setup_commit()
/linux-6.1.9/drivers/gpu/drm/exynos/
Dexynos_drm_drv.h260 bool nonblock);

123