Home
last modified time | relevance | path

Searched refs:nowait (Results 1 – 25 of 26) 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()
960 size_t *write_bytes, bool nowait) in btrfs_check_nocow_lock() argument
979 if (nowait) { in btrfs_check_nocow_lock()
[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()
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()
4632 ASSERT(!path->nowait); in btrfs_search_forward()
[all …]
H A Dfile-item.c528 struct list_head *list, bool nowait) in btrfs_lookup_csums_list() argument
546 path->nowait = nowait; in btrfs_lookup_csums_list()
H A Dextent_io.h296 struct btrfs_eb_prealloc *pa, bool nowait);
H A Dbtrfs_inode.h520 bool nowait);
H A Dctree.h82 bool nowait:1; member
H A Dinode.c1807 bool nowait = path->nowait; in can_nocow_file_extent() local
1894 NULL, nowait); in can_nocow_file_extent()
7459 bool nowait) in can_nocow_extent() argument
7475 path->nowait = nowait; in can_nocow_extent()
9518 const bool nowait = (iocb->ki_flags & IOCB_NOWAIT); in btrfs_encoded_read_inline() local
9524 path->nowait = nowait; in btrfs_encoded_read_inline()
9763 const bool nowait in btrfs_encoded_read()
9764 const bool nowait = (iocb->ki_flags & IOCB_NOWAIT); btrfs_encoded_read() local
[all...]
H A Dextent_io.c3762 struct btrfs_eb_prealloc *pa, bool nowait) in btrfs_init_eb_prealloc() argument
3764 gfp_t gfp = nowait ? GFP_NOWAIT : GFP_NOFS | __GFP_NOFAIL; in btrfs_init_eb_prealloc()
3813 if (nowait && ret == -ENOMEM) { in btrfs_init_eb_prealloc()
/linux/block/
H A Dioctl.c864 bool nowait; member
872 if (bic->res == -EAGAIN && bic->nowait) in blk_cmd_complete()
895 gfp_t gfp = bic->nowait ? GFP_NOWAIT : GFP_KERNEL; in blkdev_cmd_discard()
912 bic->start + bic->len - 1, bic->nowait); in blkdev_cmd_discard()
920 if (bic->nowait) { in blkdev_cmd_discard()
964 bdev_nr_bytes(bdev) - 1, bic->nowait); in blkdev_cmd_zone_reset_all()
969 bic->nowait ? GFP_NOWAIT : GFP_KERNEL); in blkdev_cmd_zone_reset_all()
972 if (bic->nowait) in blkdev_cmd_zone_reset_all()
999 bic->nowait = issue_flags & IO_URING_F_NONBLOCK; in blkdev_uring_cmd()
/linux/fs/netfs/
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()
/linux/drivers/thunderbolt/
H A Dstream.c697 /* Use only with read_iter/write_iter() to handle nowait */
698 static int tbstream_dev_lock(struct tbstream_dev *sdev, bool nowait) in tbstream_dev_lock() argument
700 if (nowait) { in tbstream_dev_lock()
714 bool nowait = file->f_flags & O_NONBLOCK || kiocb->ki_flags & IOCB_NOWAIT; in tbstream_dev_fops_read_iter() local
723 ret = tbstream_dev_lock(sdev, nowait); in tbstream_dev_fops_read_iter()
747 if (nowait) in tbstream_dev_fops_read_iter()
764 ret = tbstream_dev_lock(sdev, nowait); in tbstream_dev_fops_read_iter()
826 bool nowait = file->f_flags & O_NONBLOCK || kiocb->ki_flags & IOCB_NOWAIT; in tbstream_dev_fops_write_iter() local
835 ret = tbstream_dev_lock(sdev, nowait); in tbstream_dev_fops_write_iter()
858 if (nowait) in tbstream_dev_fops_write_iter()
[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/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.h463 bool netfs_wb_begin(struct netfs_inode *ictx, bool nowait);
H A Dpagemap.h36 loff_t pos, loff_t end, bool nowait);
/linux/mm/
H A Dfilemap.c2919 loff_t pos, loff_t end, bool nowait) in filemap_invalidate_pages() argument
2923 if (nowait) { in filemap_invalidate_pages()
/linux/fs/ext4/
H A Dinode.c982 bool nowait = map_flags & EXT4_GET_BLOCKS_CACHED_NOWAIT; in ext4_getblk() local
987 ASSERT(create == 0 || !nowait); in ext4_getblk()
998 if (nowait) in ext4_getblk()

12