/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() 119 int nowait = 0; in do_sync_work() local 125 iterate_supers(sync_inodes_one_sb, &nowait); in do_sync_work() 126 iterate_supers(sync_fs_one_sb, &nowait); in do_sync_work() 128 iterate_supers(sync_inodes_one_sb, &nowait); in do_sync_work() 129 iterate_supers(sync_fs_one_sb, &nowait); in do_sync_work()
|
/linux/arch/mips/kernel/ |
H A D | idle.c | 108 static int __initdata nowait; variable 112 nowait = 1; in wait_disable() 123 if (nowait) { in check_wait()
|
/linux/fs/btrfs/ |
H A D | direct-io.c | 38 const bool nowait = (iomap_flags & IOMAP_NOWAIT); in lock_extent_direct() local 44 if (nowait) { in lock_extent_direct() 52 if (nowait) { in lock_extent_direct() 84 if (nowait) { in lock_extent_direct() 108 ret = nowait ? -EAGAIN : -ENOTBLK; in lock_extent_direct() 124 ret = nowait ? -EAGAIN : -ENOTBLK; in lock_extent_direct() 219 const bool nowait = (iomap_flags & IOMAP_NOWAIT); in btrfs_get_blocks_direct_write() local 264 nowait); in btrfs_get_blocks_direct_write() 270 if (nowait && (ret == -ENOSPC || ret == -EDQUOT)) in btrfs_get_blocks_direct_write() 296 if (nowait) { in btrfs_get_blocks_direct_write()
|
H A D | file-item.h | 69 bool nowait); 71 struct list_head *list, bool nowait);
|
H A D | file.c | 842 static gfp_t get_prepare_gfp_flags(struct inode *inode, bool nowait) in get_prepare_gfp_flags() argument 847 if (nowait) { in get_prepare_gfp_flags() 860 bool force_uptodate, bool nowait) in prepare_one_folio() argument 863 gfp_t mask = get_prepare_gfp_flags(inode, nowait); in prepare_one_folio() 864 fgf_t fgp_flags = (nowait ? FGP_WRITEBEGIN | FGP_NOWAIT : FGP_WRITEBEGIN); in prepare_one_folio() 871 if (nowait) in prepare_one_folio() 890 if (!nowait && ret == -EAGAIN) { in prepare_one_folio() 912 u64 *lockstart, u64 *lockend, bool nowait, in lock_and_cleanup_extent_if_need() argument 926 if (nowait) { in lock_and_cleanup_extent_if_need() 987 size_t *write_bytes, bool nowait) in btrfs_check_nocow_lock() argument [all …]
|
H A D | ctree.c | 1492 if (p->nowait) { in read_block_for_search() 1520 } else if (p->nowait) { in read_block_for_search() 1717 if (p->nowait) { in btrfs_search_slot_get_root() 2010 ASSERT(!p->nowait || !cow); in btrfs_search_slot() 2038 if (p->nowait) { in btrfs_search_slot() 2173 if (err == -EAGAIN && !p->nowait) in btrfs_search_slot() 2189 if (p->nowait) { in btrfs_search_slot() 2246 ASSERT(!p->nowait); in btrfs_search_old_slot() 2300 if (err == -EAGAIN && !p->nowait) in btrfs_search_old_slot() 4619 ASSERT(!path->nowait); in btrfs_search_forward() [all …]
|
H A D | file-item.c | 466 struct list_head *list, bool nowait) in btrfs_lookup_csums_list() argument 484 path->nowait = nowait; in btrfs_lookup_csums_list()
|
H A D | ctree.h | 84 unsigned int nowait:1; member
|
H A D | btrfs_inode.h | 529 bool nowait);
|
H A D | inode.c | 1839 bool nowait = path->nowait; in can_nocow_file_extent() local 1919 NULL, nowait); in can_nocow_file_extent() 7067 bool nowait) in can_nocow_extent() argument 7083 path->nowait = nowait; in can_nocow_extent() 9077 const bool nowait = (iocb->ki_flags & IOCB_NOWAIT); in btrfs_encoded_read_inline() local 9085 path->nowait = nowait; in btrfs_encoded_read_inline() 9324 const bool nowait = (iocb->ki_flags & IOCB_NOWAIT); in btrfs_encoded_read() local 9330 BTRFS_ILOCK_SHARED | (nowait ? BTRFS_ILOCK_TRY : 0)); in btrfs_encoded_read() 9345 if (nowait) { in btrfs_encoded_read()
|
/linux/block/ |
H A D | ioctl.c | 757 bool nowait; member 764 if (bic->res == -EAGAIN && bic->nowait) in blk_cmd_complete() 784 uint64_t start, uint64_t len, bool nowait) in blkdev_cmd_discard() argument 787 gfp_t gfp = nowait ? GFP_NOWAIT : GFP_KERNEL; in blkdev_cmd_discard() 804 start + len - 1, nowait); in blkdev_cmd_discard() 812 if (nowait) { in blkdev_cmd_discard() 852 bic->nowait = issue_flags & IO_URING_F_NONBLOCK; in blkdev_uring_cmd() 859 return blkdev_cmd_discard(cmd, bdev, start, len, bic->nowait); in blkdev_uring_cmd()
|
/linux/sound/virtio/ |
H A D | virtio_ctl_msg.c | 123 struct scatterlist *in_sgs, bool nowait) in virtsnd_ctl_msg_send() argument 176 if (nowait) in virtsnd_ctl_msg_send()
|
H A D | virtio_ctl_msg.h | 28 struct scatterlist *in_sgs, bool nowait);
|
/linux/tools/testing/selftests/firmware/ |
H A D | settings | 3 # present, each with 2 "nowait" functions tested 5 times. Expected time for a
|
/linux/drivers/base/firmware_loader/ |
H A D | sysfs.h | 77 bool nowait; member
|
H A D | sysfs.c | 73 if (add_uevent_var(env, "ASYNC=%d", fw_sysfs->nowait)) in do_firmware_uevent() 408 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,
|
H A D | rocker_main.c | 50 bool nowait; member 56 wait->nowait = false; in rocker_wait_reset() 886 if (wait->nowait) { in rocker_cmd_irq_handler() 1044 int rocker_cmd_exec(struct rocker_port *rocker_port, bool nowait, in rocker_cmd_exec() argument 1064 wait->nowait = nowait; in rocker_cmd_exec() 1076 if (nowait) in rocker_cmd_exec()
|
/linux/drivers/net/can/spi/mcp251xfd/ |
H A D | mcp251xfd-core.c | 228 const u8 mode_req, bool nowait) in __mcp251xfd_chip_set_mode() argument 248 if (mode_req == MCP251XFD_REG_CON_MODE_SLEEP || nowait) in __mcp251xfd_chip_set_mode() 670 bool nowait) in __mcp251xfd_chip_set_normal_mode() argument 676 return __mcp251xfd_chip_set_mode(priv, mode, nowait); in __mcp251xfd_chip_set_normal_mode()
|
/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"); 2324 lp->cfg.flags |= (nowait) ? SMC91X_NOWAIT : 0; in smc_drv_probe()
|
/linux/drivers/md/ |
H A D | raid1.c | 1029 static bool _wait_barrier(struct r1conf *conf, int idx, bool nowait) in _wait_barrier() argument 1083 if (nowait) { in _wait_barrier() 1098 static bool wait_read_barrier(struct r1conf *conf, sector_t sector_nr, bool nowait) in wait_read_barrier() argument 1126 if (nowait) { in wait_read_barrier() 1141 static bool wait_barrier(struct r1conf *conf, sector_t sector_nr, bool nowait) in wait_barrier() argument 1145 return _wait_barrier(conf, idx, nowait); in wait_barrier()
|
/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() 5822 bool nowait) in mwl8k_init_firmware() argument 5833 rc = mwl8k_request_firmware(priv, fw_image, nowait); in mwl8k_init_firmware() 5839 if (nowait) in mwl8k_init_firmware()
|
/linux/fs/bcachefs/ |
H A D | alloc_foreground.c | 529 bool nowait, in bch2_bucket_alloc_trans() argument 539 bool waiting = nowait; in bch2_bucket_alloc_trans()
|
/linux/mm/ |
H A D | filemap.c | 2786 loff_t pos, loff_t end, bool nowait) in filemap_invalidate_pages() argument 2790 if (nowait) { in filemap_invalidate_pages()
|
/linux/fs/ext4/ |
H A D | inode.c | 840 bool nowait = map_flags & EXT4_GET_BLOCKS_CACHED_NOWAIT; in ext4_getblk() local 845 ASSERT(create == 0 || !nowait); in ext4_getblk() 856 if (nowait) in ext4_getblk()
|