| /linux/arch/mips/kernel/ |
| H A D | idle.c | 101 static int __initdata nowait; variable 105 nowait = 1; in wait_disable() 116 if (nowait) { in check_wait()
|
| /linux/fs/btrfs/ |
| H A D | direct-io.c | 41 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 D | file.c | 826 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 D | file.h | 43 size_t *write_bytes, bool nowait);
|
| H A D | ctree.c | 1509 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 D | file-item.c | 511 * @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 D | extent_io.h | 295 struct btrfs_eb_prealloc *pa, bool nowait);
|
| H A D | ctree.h | 82 bool nowait:1; member
|
| H A D | btrfs_inode.h | 521 bool nowait);
|
| H A D | inode.c | 1786 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 D | ioctl.c | 861 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 D | misc.c | 623 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 D | locking.c | 259 bool netfs_wb_begin(struct netfs_inode *ictx, bool nowait) in netfs_wb_begin() argument 263 if (nowait) { in netfs_wb_begin()
|
| H A D | internal.h | 86 uoff_t to, bool nowait);
|
| /linux/drivers/thunderbolt/ |
| H A D | stream.c | 753 /* 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 D | settings | 3 # present, each with 2 "nowait" functions tested 5 times. Expected time for a
|
| /linux/sound/virtio/ |
| H A D | virtio_ctl_msg.h | 28 struct scatterlist *in_sgs, bool nowait);
|
| /linux/drivers/base/firmware_loader/ |
| H A D | sysfs.h | 77 bool nowait; member
|
| H A D | sysfs.c | 76 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 D | file.c | 2418 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 D | rocker.h | 83 int rocker_cmd_exec(struct rocker_port *rocker_port, bool nowait,
|
| /linux/drivers/net/ethernet/smsc/ |
| H A D | smc91x.c | 90 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 D | mcp251xfd-core.c | 245 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 D | netfs.h | 487 bool netfs_wb_begin(struct netfs_inode *ictx, bool nowait);
|
| H A D | pagemap.h | 35 loff_t pos, loff_t end, bool nowait);
|