Home
last modified time | relevance | path

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

123

/linux-6.12.1/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.12.1/fs/
Dsignalfd.c155 int nonblock) in signalfd_dequeue() argument
165 if (!nonblock) in signalfd_dequeue()
208 bool nonblock; in signalfd_read_iter() local
214 nonblock = file->f_flags & O_NONBLOCK || iocb->ki_flags & IOCB_NOWAIT; in signalfd_read_iter()
216 ret = signalfd_dequeue(ctx, &info, nonblock); in signalfd_read_iter()
223 nonblock = 1; in signalfd_read_iter()
Deventpoll.c439 static bool ep_busy_loop(struct eventpoll *ep, int nonblock) in ep_busy_loop() argument
449 napi_busy_loop(napi_id, nonblock ? NULL : ep_busy_loop_end, in ep_busy_loop()
543 static inline bool ep_busy_loop(struct eventpoll *ep, int nonblock) in ep_busy_loop() argument
2241 bool nonblock) in epoll_mutex_lock() argument
2243 if (!nonblock) { in epoll_mutex_lock()
2253 bool nonblock) in do_epoll_ctl() argument
2324 error = epoll_mutex_lock(&ep->mtx, 0, nonblock); in do_epoll_ctl()
2331 error = epoll_mutex_lock(&epnested_mutex, 0, nonblock); in do_epoll_ctl()
2342 error = epoll_mutex_lock(&ep->mtx, 0, nonblock); in do_epoll_ctl()
/linux-6.12.1/drivers/char/
Dlp.c280 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()
Dvirtio_console.c597 void *data, bool nonblock) in __send_to_port() argument
623 if (nonblock) in __send_to_port()
775 static int wait_port_writable(struct port *port, bool nonblock) in wait_port_writable() argument
780 if (nonblock) in wait_port_writable()
801 bool nonblock; in port_fops_write() local
810 nonblock = filp->f_flags & O_NONBLOCK; in port_fops_write()
812 ret = wait_port_writable(port, nonblock); in port_fops_write()
835 nonblock = true; in port_fops_write()
837 ret = __send_to_port(port, sg, 1, count, buf, nonblock); in port_fops_write()
839 if (nonblock && ret > 0) in port_fops_write()
/linux-6.12.1/fs/bcachefs/
Dfs-io-pagecache.c693 bool nonblock) in bch2_seek_pagecache_data() argument
710 if (!nonblock) { in bch2_seek_pagecache_data()
745 unsigned min_replicas, bool nonblock) in folio_hole_offset() argument
753 FGP_LOCK|(nonblock ? FGP_NOWAIT : 0), 0); in folio_hole_offset()
782 bool nonblock) in bch2_seek_pagecache_hole() argument
789 ret = folio_hole_offset(mapping, &offset, min_replicas, nonblock); in bch2_seek_pagecache_hole()
800 bool nonblock) in bch2_clamp_data_hole() argument
805 *hole_start << 9, *hole_end << 9, min_replicas, nonblock) >> 9; in bch2_clamp_data_hole()
815 *hole_start << 9, *hole_end << 9, min_replicas, nonblock) >> 9; in bch2_clamp_data_hole()
/linux-6.12.1/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.12.1/include/net/
Dbusy_poll.h109 static inline void sk_busy_loop(struct sock *sk, int nonblock) in sk_busy_loop() argument
115 napi_busy_loop(napi_id, nonblock ? NULL : sk_busy_loop_end, sk, in sk_busy_loop()
/linux-6.12.1/drivers/staging/media/av7110/
Dav7110_av.c435 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-6.12.1/sound/core/seq/
Dseq_memory.c269 int nonblock, struct file *file, in snd_seq_cell_alloc() argument
289 while (pool->free == NULL && ! nonblock && ! pool->closing) { in snd_seq_cell_alloc()
340 struct snd_seq_event_cell **cellp, int nonblock, in snd_seq_event_dup() argument
359 err = snd_seq_cell_alloc(pool, &cell, nonblock, file, mutexp); in snd_seq_event_dup()
390 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_fifo.c161 struct snd_seq_event_cell **cellp, int nonblock) in snd_seq_fifo_cell_out() argument
174 if (nonblock) { in snd_seq_fifo_cell_out()
Dseq_memory.h71 struct snd_seq_event_cell **cellp, int nonblock,
/linux-6.12.1/include/drm/
Ddrm_atomic_helper.h69 bool nonblock);
120 bool nonblock);
/linux-6.12.1/drivers/iio/
Dindustrialio-buffer.c1615 static int iio_dma_resv_lock(struct dma_buf *dmabuf, bool nonblock) in iio_dma_resv_lock() argument
1617 if (!nonblock) in iio_dma_resv_lock()
1628 struct dma_buf *dmabuf, bool nonblock) in iio_buffer_find_attachment() argument
1652 int __user *user_fd, bool nonblock) in iio_buffer_attach_dmabuf() argument
1688 err = iio_dma_resv_lock(dmabuf, nonblock); in iio_buffer_attach_dmabuf()
1757 int __user *user_req, bool nonblock) in iio_buffer_detach_dmabuf() argument
1813 bool nonblock) in iio_buffer_enqueue_dmabuf() argument
1848 attach = iio_buffer_find_attachment(ib, dmabuf, nonblock); in iio_buffer_enqueue_dmabuf()
1874 ret = iio_dma_resv_lock(dmabuf, nonblock); in iio_buffer_enqueue_dmabuf()
1878 timeout = nonblock ? 0 : msecs_to_jiffies(DMABUF_ENQUEUE_TIMEOUT_MS); in iio_buffer_enqueue_dmabuf()
[all …]
/linux-6.12.1/include/linux/
Deventpoll.h57 bool nonblock);
/linux-6.12.1/include/sound/
Dpcm_oss.h15 nonblock:1, member
/linux-6.12.1/drivers/net/wwan/
Dwwan_core.c599 bool nonblock) in wwan_port_op_tx() argument
609 if (nonblock || !port->ops->tx_blocking) in wwan_port_op_tx()
630 static int wwan_wait_rx(struct wwan_port *port, bool nonblock) in wwan_wait_rx() argument
635 if (nonblock) in wwan_wait_rx()
644 static int wwan_wait_tx(struct wwan_port *port, bool nonblock) in wwan_wait_tx() argument
649 if (nonblock) in wwan_wait_tx()
/linux-6.12.1/drivers/gpu/drm/vmwgfx/
Dvmwgfx_bo.c493 bool nonblock = !!(flags & drm_vmw_synccpu_dontblock); in vmw_user_bo_synccpu_grab() local
501 true, nonblock ? 0 : in vmw_user_bo_synccpu_grab()
510 ret = ttm_bo_reserve(bo, true, nonblock, NULL); in vmw_user_bo_synccpu_grab()
514 ret = ttm_bo_wait(bo, true, nonblock); in vmw_user_bo_synccpu_grab()
/linux-6.12.1/net/rds/
Dsend.c1045 struct rds_connection *conn, int nonblock) in rds_send_mprds_hash() argument
1065 if (nonblock) in rds_send_mprds_hash()
1111 int nonblock = msg->msg_flags & MSG_DONTWAIT; in rds_sendmsg() local
1112 long timeo = sock_sndtimeo(sk, nonblock); in rds_sendmsg()
1307 cpath = &conn->c_path[rds_send_mprds_hash(rs, conn, nonblock)]; in rds_sendmsg()
1340 ret = rds_cong_wait(conn->c_fcong, dport, nonblock, rs); in rds_sendmsg()
1349 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()
/linux-6.12.1/sound/usb/line6/
Ddriver.h168 unsigned int nonblock:1; member
/linux-6.12.1/include/media/
Dvideobuf2-core.h1110 loff_t *ppos, int nonblock);
1120 loff_t *ppos, int nonblock);
/linux-6.12.1/drivers/gpu/drm/
Ddrm_atomic_helper.c2008 bool nonblock) in drm_atomic_helper_commit() argument
2023 ret = drm_atomic_helper_setup_commit(state, nonblock); in drm_atomic_helper_commit()
2033 if (!nonblock) { in drm_atomic_helper_commit()
2070 if (nonblock) in drm_atomic_helper_commit()
2136 static int stall_checks(struct drm_crtc *crtc, bool nonblock) in stall_checks() argument
2152 if (!completed && nonblock) { in stall_checks()
2273 bool nonblock) in drm_atomic_helper_setup_commit() argument
2296 ret = stall_checks(crtc, nonblock); in drm_atomic_helper_setup_commit()
2340 if (nonblock && old_conn_state->commit && in drm_atomic_helper_setup_commit()
2362 if (nonblock && old_plane_state->commit && in drm_atomic_helper_setup_commit()
/linux-6.12.1/drivers/gpu/drm/ci/xfails/
Di915-tgl-fails.txt8 drm_read@short-buffer-nonblock,Timeout

123