| /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() 960 size_t *write_bytes, bool nowait) in btrfs_check_nocow_lock() argument 979 if (nowait) { in btrfs_check_nocow_lock() [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() 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 D | extent_io.h | 296 struct btrfs_eb_prealloc *pa, bool nowait);
|
| H A D | file-item.c | 528 struct list_head *list, bool nowait) in btrfs_lookup_csums_list() argument 546 path->nowait = nowait; in btrfs_lookup_csums_list()
|
| H A D | btrfs_inode.h | 520 bool nowait);
|
| H A D | ctree.h | 82 bool nowait:1; member
|
| H A D | inode.c | 1807 bool nowait = path->nowait; in can_nocow_file_extent() local 1894 NULL, nowait); in can_nocow_file_extent() 7440 bool nowait) in can_nocow_extent() argument 7456 path->nowait = nowait; in can_nocow_extent() 9499 const bool nowait = (iocb->ki_flags & IOCB_NOWAIT); in btrfs_encoded_read_inline() local 9505 path->nowait = nowait; in btrfs_encoded_read_inline() 9745 const bool nowait = (iocb->ki_flags & IOCB_NOWAIT); in btrfs_encoded_read() local 9751 BTRFS_ILOCK_SHARED | (nowait ? BTRFS_ILOCK_TRY : 0)); in btrfs_encoded_read() 9766 if (nowait) { in btrfs_encoded_read()
|
| H A D | extent_io.c | 3762 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()
|
| H A D | extent-tree.c | 2320 if (path->nowait) { in check_delayed_ref() 2544 } while (ret == -EAGAIN && !path->nowait); in btrfs_cross_ref_exist()
|
| /linux/block/ |
| H A D | ioctl.c | 864 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 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()
|
| /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/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 | 460 bool netfs_wb_begin(struct netfs_inode *ictx, bool nowait);
|
| /linux/fs/ext4/ |
| H A D | inode.c | 982 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()
|