| /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/ |
| H A D | sync.c | 99 int nowait = 0, wait = 1; in ksys_sync() local 103 iterate_supers(sync_fs_one_sb, &nowait); in ksys_sync() 117 int nowait = 0; in do_sync_work() local 125 iterate_supers(sync_fs_one_sb, &nowait); in do_sync_work()
|
| /linux/fs/btrfs/ |
| H A D | file.c | 838 static gfp_t get_prepare_gfp_flags(struct inode *inode, bool nowait) in get_prepare_gfp_flags() argument 843 if (nowait) { in get_prepare_gfp_flags() 856 bool nowait) in prepare_one_folio() argument 859 gfp_t mask = get_prepare_gfp_flags(inode, nowait); in prepare_one_folio() 860 fgf_t fgp_flags = (nowait ? FGP_WRITEBEGIN | FGP_NOWAIT : FGP_WRITEBEGIN) | in prepare_one_folio() 880 if (!nowait && ret == -EAGAIN) in prepare_one_folio() 900 u64 *lockstart, u64 *lockend, bool nowait, in lock_and_cleanup_extent_if_need() argument 914 if (nowait) { in lock_and_cleanup_extent_if_need() 962 * @nowait: Indicate if we can block or not (non-blocking IO context). 972 * context and need to block (@nowait i 978 btrfs_check_nocow_lock(struct btrfs_inode * inode,loff_t pos,size_t * write_bytes,bool nowait) btrfs_check_nocow_lock() argument 1118 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 1201 copy_one_range(struct btrfs_inode * inode,struct iov_iter * iter,struct extent_changeset ** data_reserved,u64 start,bool nowait) copy_one_range() argument 1359 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 | file-item.c | 496 * @nowait: Indicate if the search must be non-blocking or not. 502 struct list_head *list, bool nowait) in btrfs_lookup_csums_list() argument 520 path->nowait = nowait; in btrfs_lookup_csums_list()
|
| H A D | inode.c | 1827 bool nowait = path->nowait; in fallback_to_cow() 1914 NULL, nowait); 7435 bool nowait) in can_nocow_extent() 7451 path->nowait = nowait; in can_nocow_extent() 9472 const bool nowait = (iocb->ki_flags & IOCB_NOWAIT); in btrfs_encoded_read_inline() 9478 path->nowait = nowait; in btrfs_encoded_read_inline() 9718 const bool nowait in btrfs_encoded_read() 1937 bool nowait = path->nowait; can_nocow_file_extent() local 7437 can_nocow_extent(struct btrfs_inode * inode,u64 offset,u64 * len,struct btrfs_file_extent * file_extent,bool nowait) can_nocow_extent() argument 9474 const bool nowait = (iocb->ki_flags & IOCB_NOWAIT); btrfs_encoded_read_inline() local 9720 const bool nowait = (iocb->ki_flags & IOCB_NOWAIT); btrfs_encoded_read() local [all...] |
| H A D | extent-tree.c | 2319 if (path->nowait) { in check_delayed_ref() 2540 } while (ret == -EAGAIN && !path->nowait); in btrfs_cross_ref_exist()
|
| /linux/block/ |
| H A D | ioctl.c | 861 bool nowait; in compat_blkdev_ioctl() 869 if (bic->res == -EAGAIN && bic->nowait) 890 uint64_t start, uint64_t len, bool nowait) in bio_cmd_bio_end_io() 893 gfp_t gfp = nowait ? GFP_NOWAIT : GFP_KERNEL; in bio_cmd_bio_end_io() 910 start + len - 1, nowait); in blkdev_cmd_discard() 918 if (nowait) { in blkdev_cmd_discard() 958 bic->nowait = issue_flags & IO_URING_F_NONBLOCK; in blkdev_uring_cmd() 965 return blkdev_cmd_discard(cmd, bdev, start, len, bic->nowait); in blkdev_uring_cmd() 868 bool nowait; global() member 897 blkdev_cmd_discard(struct io_uring_cmd * cmd,struct block_device * bdev,uint64_t start,uint64_t len,bool nowait) blkdev_cmd_discard() argument
|
| /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 | 2388 int nowait = iocb->ki_flags & IOCB_NOWAIT ? 1 : 0; in ocfs2_file_write_iter() local 2396 if (!direct_io && nowait) in ocfs2_file_write_iter() 2402 if (nowait) { in ocfs2_file_write_iter() 2417 if (nowait) in ocfs2_file_write_iter() 2437 if (nowait) in ocfs2_file_write_iter() 2458 ret = ocfs2_prepare_inode_for_write(file, iocb->ki_pos, count, !nowait); in ocfs2_file_write_iter() 2538 int nowait = iocb->ki_flags & IOCB_NOWAIT ? 1 : 0; in ocfs2_file_read_iter() local 2553 if (!direct_io && nowait) in ocfs2_file_read_iter() 2563 if (nowait) in ocfs2_file_read_iter() 2588 !nowait); in ocfs2_file_read_iter()
|
| /linux/drivers/net/ethernet/rocker/ |
| H A D | rocker.h | 83 int rocker_cmd_exec(struct rocker_port *rocker_port, bool nowait,
|
| H A D | rocker_main.c | 50 bool nowait; member 56 wait->nowait = false; in rocker_wait_reset() 885 if (wait->nowait) { in rocker_cmd_irq_handler() 1043 int rocker_cmd_exec(struct rocker_port *rocker_port, bool nowait, in rocker_cmd_exec() argument 1063 wait->nowait = nowait; in rocker_cmd_exec() 1075 if (nowait) in rocker_cmd_exec()
|
| /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 | 246 const u8 mode_req, bool nowait) in __mcp251xfd_chip_set_mode() argument 266 if (mode_req == MCP251XFD_REG_CON_MODE_SLEEP || nowait) in __mcp251xfd_chip_set_mode() 686 bool nowait) in __mcp251xfd_chip_set_normal_mode() argument 692 return __mcp251xfd_chip_set_mode(priv, mode, nowait); in __mcp251xfd_chip_set_normal_mode()
|
| /linux/drivers/md/ |
| H A D | raid1.c | 1053 static bool _wait_barrier(struct r1conf *conf, int idx, bool nowait) in _wait_barrier() 1106 /* Return false when nowait flag is set */ in wait_read_barrier() 1107 if (nowait) { in wait_read_barrier() 1122 static bool wait_read_barrier(struct r1conf *conf, sector_t sector_nr, bool nowait) in wait_read_barrier() 1149 /* Return false when nowait flag is set */ in _allow_barrier() 1150 if (nowait) { in _allow_barrier() 1151 /* Return false when nowait flag is set */ in _allow_barrier() 1165 static bool wait_barrier(struct r1conf *conf, sector_t sector_nr, bool nowait) in get_unqueued_pending() 1169 return _wait_barrier(conf, idx, nowait); in get_unqueued_pending() 1030 _wait_barrier(struct r1conf * conf,int idx,bool nowait) _wait_barrier() argument 1099 wait_read_barrier(struct r1conf * conf,sector_t sector_nr,bool nowait) wait_read_barrier() argument 1142 wait_barrier(struct r1conf * conf,sector_t sector_nr,bool nowait) wait_barrier() argument
|
| H A D | raid10.c | 1005 static bool wait_barrier(struct r10conf *conf, bool nowait) in wait_barrier() argument 1014 /* Return false when nowait flag is set */ in wait_barrier() 1015 if (nowait) { in wait_barrier()
|
| H A D | md.c | 6601 bool nowait = true; in md_run() 6672 nowait = nowait && bdev_nowait(rdev->bdev); in md_run() 6475 bool nowait = true; md_run() local
|
| /linux/drivers/net/wireless/marvell/ |
| H A D | mwl8k.c | 532 bool nowait) in mwl8k_request_fw() argument 538 if (nowait) in mwl8k_request_fw() 547 bool nowait) in mwl8k_request_firmware() argument 553 if (nowait) in mwl8k_request_firmware() 563 if (rc || nowait) in mwl8k_request_firmware() 567 if (nowait) { in mwl8k_request_firmware() 5889 bool nowait) in mwl8k_init_firmware() argument 5900 rc = mwl8k_request_firmware(priv, fw_image, nowait); in mwl8k_init_firmware() 5906 if (nowait) in mwl8k_init_firmware()
|
| /linux/include/linux/ |
| H A D | pagemap.h | 36 loff_t pos, loff_t end, bool nowait);
|
| /linux/mm/ |
| H A D | filemap.c | 2900 loff_t pos, loff_t end, bool nowait) in filemap_invalidate_pages() argument 2904 if (nowait) { in filemap_invalidate_pages()
|
| /linux/fs/ext4/ |
| H A D | inode.c | 983 bool nowait = map_flags & EXT4_GET_BLOCKS_CACHED_NOWAIT; in ext4_getblk() 988 ASSERT(create == 0 || !nowait); in ext4_getblk() 999 if (nowait) in ext4_getblk() 978 bool nowait = map_flags & EXT4_GET_BLOCKS_CACHED_NOWAIT; ext4_getblk() local
|