Home
last modified time | relevance | path

Searched refs:nowait (Results 1 – 25 of 29) sorted by relevance

12

/linux/arch/mips/kernel/
H A Didle.c101 static int __initdata nowait; variable
105 nowait = 1; in wait_disable()
116 if (nowait) { in check_wait()
/linux/fs/btrfs/
H A Ddirect-io.c41 const bool nowait = (iomap_flags & IOMAP_NOWAIT); in lock_extent_direct() local
47 if (nowait) { in lock_extent_direct()
55 if (nowait) { in lock_extent_direct()
87 if (nowait) { in lock_extent_direct()
127 ret = nowait ? -EAGAIN : -ENOTBLK; in lock_extent_direct()
220 const bool nowait = (iomap_flags & IOMAP_NOWAIT); in btrfs_get_blocks_direct_write() local
267 nowait); in btrfs_get_blocks_direct_write()
273 if (nowait && (ret == -ENOSPC || ret == -EDQUOT)) in btrfs_get_blocks_direct_write()
306 if (nowait) { in btrfs_get_blocks_direct_write()
H A Dfile.c826 static gfp_t get_prepare_gfp_flags(struct inode *inode, bool nowait) in get_prepare_gfp_flags() argument
831 if (nowait) { in get_prepare_gfp_flags()
844 bool nowait) in prepare_one_folio() argument
847 gfp_t mask = get_prepare_gfp_flags(inode, nowait); in prepare_one_folio()
848 fgf_t fgp_flags = (nowait ? FGP_WRITEBEGIN | FGP_NOWAIT : FGP_WRITEBEGIN) | in prepare_one_folio()
868 if (!nowait && ret == -EAGAIN) in prepare_one_folio()
887 u64 *lockstart, u64 *lockend, bool nowait, in lock_and_cleanup_extent() argument
898 if (nowait) { in lock_and_cleanup_extent()
921 * a nowait caller must not do. Leave it alone and let the in lock_and_cleanup_extent()
925 if (!nowait) in lock_and_cleanup_extent()
960 btrfs_check_nocow_lock(struct btrfs_inode * inode,loff_t pos,size_t * write_bytes,bool nowait) btrfs_check_nocow_lock() argument
1100 reserve_space(struct btrfs_inode * inode,struct extent_changeset ** data_reserved,u64 start,size_t * len,bool nowait,bool * only_release_metadata) reserve_space() argument
1183 copy_one_range(struct btrfs_inode * inode,struct iov_iter * iter,struct extent_changeset ** data_reserved,u64 start,bool nowait) copy_one_range() argument
1328 const bool nowait = (iocb->ki_flags & IOCB_NOWAIT); btrfs_buffered_write() local
[all...]
H A Dfile.h43 size_t *write_bytes, bool nowait);
H A Dctree.c1509 if (p->nowait) { in read_block_for_search()
1537 } else if (p->nowait) { in read_block_for_search()
1735 if (p->nowait) { in btrfs_search_slot_get_root()
2023 * For now only allow nowait for read only operations. There's no in btrfs_search_slot()
2027 ASSERT(!p->nowait || !cow); in btrfs_search_slot()
2055 if (p->nowait) { in btrfs_search_slot()
2199 if (ret2 == -EAGAIN && !p->nowait) { in btrfs_search_slot()
2217 if (p->nowait) { in btrfs_search_slot()
2276 ASSERT(!p->nowait); in btrfs_search_old_slot()
2336 if (ret2 == -EAGAIN && !p->nowait) in btrfs_search_old_slot()
[all...]
H A Dfile-item.c511 * @nowait: Indicate if the search must be non-blocking or not. in btrfs_lookup_bio_sums()
517 struct list_head *list, bool nowait)
535 path->nowait = nowait; in btrfs_lookup_csums_list()
528 btrfs_lookup_csums_list(struct btrfs_root * root,u64 start,u64 end,struct list_head * list,bool nowait) btrfs_lookup_csums_list() argument
H A Dextent_io.h295 struct btrfs_eb_prealloc *pa, bool nowait);
H A Dctree.h82 bool nowait:1; member
H A Dbtrfs_inode.h521 bool nowait);
H A Dinode.c1786 bool nowait = path->nowait;
1871 NULL, nowait); in can_nocow_file_extent()
7402 bool nowait) in btrfs_get_extent()
7418 path->nowait = nowait; in btrfs_get_extent()
9434 const bool nowait = (iocb->ki_flags & IOCB_NOWAIT); in btrfs_tmpfile()
9440 path->nowait = nowait; in btrfs_tmpfile()
9482 tmp = kmalloc(count, nowait in btrfs_encoded_io_compression_from_extent()
1807 bool nowait = path->nowait; can_nocow_file_extent() local
7459 can_nocow_extent(struct btrfs_inode * inode,u64 offset,u64 * len,struct btrfs_file_extent * file_extent,bool nowait) can_nocow_extent() argument
9518 const bool nowait = (iocb->ki_flags & IOCB_NOWAIT); btrfs_encoded_read_inline() local
9763 const bool nowait = (iocb->ki_flags & IOCB_NOWAIT); btrfs_encoded_read() local
[all...]
/linux/block/
H A Dioctl.c861 bool nowait;
869 if (bic->res == -EAGAIN && bic->nowait) in blk_cmd_complete()
892 gfp_t gfp = bic->nowait ? GFP_NOWAIT : GFP_KERNEL; in blkdev_cmd_discard()
909 bic->start + bic->len - 1, bic->nowait); in blkdev_cmd_discard()
917 if (bic->nowait) { in blkdev_cmd_discard()
961 bdev_nr_bytes(bdev) - 1, bic->nowait); in blkdev_cmd_zone_reset_all()
966 bic->nowait ? GFP_NOWAIT : GFP_KERNEL); in blkdev_cmd_zone_reset_all()
969 if (bic->nowait) in blkdev_cmd_zone_reset_all()
996 bic->nowait = issue_flags & IO_URING_F_NONBLOCK; in blkdev_uring_cmd()
864 bool nowait; global() member
/linux/fs/netfs/
H A Dmisc.c623 uoff_t to, bool nowait, bool exclusive) in netfs_clear_stale_isize() argument
633 if (nowait) in netfs_clear_stale_isize()
641 if (nowait && (folio_mapped(folio) || folio_test_writeback(folio))) { in netfs_clear_stale_isize()
672 uoff_t to, bool nowait) in netfs_clear_stale_pre_isize() argument
674 return netfs_clear_stale_isize(inode, from, to, nowait, false); in netfs_clear_stale_pre_isize()
H A Dlocking.c259 bool netfs_wb_begin(struct netfs_inode *ictx, bool nowait) in netfs_wb_begin() argument
263 if (nowait) { in netfs_wb_begin()
H A Dinternal.h86 uoff_t to, bool nowait);
/linux/drivers/thunderbolt/
H A Dstream.c753 /* Use only with read_iter/write_iter() to handle nowait */ in tbstream_dev_fops_read_iter()
754 static int tbstream_dev_lock(struct tbstream_dev *sdev, bool nowait) in tbstream_dev_fops_read_iter()
756 if (nowait) { in tbstream_dev_fops_read_iter()
809 bool nowait = file->f_flags & O_NONBLOCK || kiocb->ki_flags & IOCB_NOWAIT; in tbstream_dev_fops_read_iter()
818 ret = tbstream_dev_lock(sdev, nowait); in tbstream_dev_fops_read_iter()
844 if (nowait) in tbstream_dev_fops_write_iter()
858 ret = tbstream_dev_lock(sdev, nowait); in tbstream_dev_fops_write_iter()
952 bool nowait = file->f_flags & O_NONBLOCK || kiocb->ki_flags & IOCB_NOWAIT; in tbstream_dev_fops_open()
961 ret = tbstream_dev_lock(sdev, nowait); in tbstream_dev_fops_open()
990 if (nowait) in tbstream_dev_fops_open()
698 tbstream_dev_lock(struct tbstream_dev * sdev,bool nowait) tbstream_dev_lock() argument
714 bool nowait = file->f_flags & O_NONBLOCK || kiocb->ki_flags & IOCB_NOWAIT; tbstream_dev_fops_read_iter() local
826 bool nowait = file->f_flags & O_NONBLOCK || kiocb->ki_flags & IOCB_NOWAIT; tbstream_dev_fops_write_iter() local
[all...]
/linux/tools/testing/selftests/firmware/
H A Dsettings3 # present, each with 2 "nowait" functions tested 5 times. Expected time for a
/linux/sound/virtio/
H A Dvirtio_ctl_msg.h28 struct scatterlist *in_sgs, bool nowait);
/linux/drivers/base/firmware_loader/
H A Dsysfs.h77 bool nowait; member
H A Dsysfs.c76 if (add_uevent_var(env, "ASYNC=%d", fw_sysfs->nowait)) in do_firmware_uevent()
414 fw_sysfs->nowait = !!(opt_flags & FW_OPT_NOWAIT); in fw_create_instance()
/linux/fs/ocfs2/
H A Dfile.c2418 int nowait = iocb->ki_flags & IOCB_NOWAIT ? 1 : 0; in ocfs2_file_write_iter()
2432 if (!direct_io && nowait) in ocfs2_file_write_iter()
2438 if (nowait) { in ocfs2_file_write_iter()
2453 if (nowait) in ocfs2_file_write_iter()
2473 if (nowait) in ocfs2_file_write_iter()
2494 ret = ocfs2_prepare_inode_for_write(file, iocb->ki_pos, count, !nowait); in ocfs2_file_write_iter()
2574 int nowait = iocb->ki_flags & IOCB_NOWAIT ? 1 : 0; in ocfs2_file_read_iter()
2588 if (!direct_io && nowait) in ocfs2_file_read_iter()
2598 if (nowait) in ocfs2_file_read_iter()
2623 !nowait); in ocfs2_file_splice_read()
2393 int nowait = iocb->ki_flags & IOCB_NOWAIT ? 1 : 0; ocfs2_file_write_iter() local
2543 int nowait = iocb->ki_flags & IOCB_NOWAIT ? 1 : 0; ocfs2_file_read_iter() local
[all...]
/linux/drivers/net/ethernet/rocker/
H A Drocker.h83 int rocker_cmd_exec(struct rocker_port *rocker_port, bool nowait,
/linux/drivers/net/ethernet/smsc/
H A Dsmc91x.c90 static int nowait = SMC_NOWAIT; variable
91 module_param(nowait, int, 0400);
92 MODULE_PARM_DESC(nowait, "set to 1 for no wait state");
2316 lp->cfg.flags |= (nowait) ? SMC91X_NOWAIT : 0; in smc_drv_probe()
/linux/drivers/net/can/spi/mcp251xfd/
H A Dmcp251xfd-core.c245 const u8 mode_req, bool nowait) in __mcp251xfd_chip_set_mode() argument
265 if (mode_req == MCP251XFD_REG_CON_MODE_SLEEP || nowait) in __mcp251xfd_chip_set_mode()
685 bool nowait) in __mcp251xfd_chip_set_normal_mode() argument
691 return __mcp251xfd_chip_set_mode(priv, mode, nowait); in __mcp251xfd_chip_set_normal_mode()
/linux/include/linux/
H A Dnetfs.h487 bool netfs_wb_begin(struct netfs_inode *ictx, bool nowait);
H A Dpagemap.h35 loff_t pos, loff_t end, bool nowait);

12