Home
last modified time | relevance | path

Searched refs:nowait (Results 1 – 22 of 22) sorted by relevance

/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/
H A Dsync.c99 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 Dfile.c843 static gfp_t get_prepare_gfp_flags(struct inode *inode, bool nowait) in get_prepare_gfp_flags() argument
848 if (nowait) { in get_prepare_gfp_flags()
861 bool nowait) in prepare_one_folio() argument
864 gfp_t mask = get_prepare_gfp_flags(inode, nowait); in prepare_one_folio()
865 fgf_t fgp_flags = (nowait ? FGP_WRITEBEGIN | FGP_NOWAIT : FGP_WRITEBEGIN) | in prepare_one_folio()
885 if (!nowait && ret == -EAGAIN) in prepare_one_folio()
905 u64 *lockstart, u64 *lockend, bool nowait, in lock_and_cleanup_extent_if_need() argument
919 if (nowait) { in lock_and_cleanup_extent_if_need()
983 size_t *write_bytes, bool nowait) in btrfs_check_nocow_lock() argument
1002 if (nowait) { in btrfs_check_nocow_lock()
[all …]
H A Dfile.h43 size_t *write_bytes, bool nowait);
H A Dfile-item.c502 struct list_head *list, bool nowait) in btrfs_lookup_csums_list() argument
520 path->nowait = nowait; in btrfs_lookup_csums_list()
H A Dinode.c1827 bool nowait = path->nowait; in can_nocow_file_extent() local
1914 NULL, nowait); in can_nocow_file_extent()
7437 bool nowait) in can_nocow_extent() argument
7453 path->nowait = nowait; in can_nocow_extent()
9502 const bool nowait = (iocb->ki_flags & IOCB_NOWAIT); in btrfs_encoded_read_inline() local
9508 path->nowait = nowait; in btrfs_encoded_read_inline()
9748 const bool nowait = (iocb->ki_flags & IOCB_NOWAIT); in btrfs_encoded_read() local
9754 BTRFS_ILOCK_SHARED | (nowait ? BTRFS_ILOCK_TRY : 0)); in btrfs_encoded_read()
9769 if (nowait) { in btrfs_encoded_read()
H A Dextent-tree.c2319 if (path->nowait) { in check_delayed_ref()
2540 } while (ret == -EAGAIN && !path->nowait); in btrfs_cross_ref_exist()
/linux/block/
H A Dioctl.c863 bool nowait; member
871 if (bic->res == -EAGAIN && bic->nowait) in blk_cmd_complete()
892 uint64_t start, uint64_t len, bool nowait) in blkdev_cmd_discard() argument
895 gfp_t gfp = nowait ? GFP_NOWAIT : GFP_KERNEL; in blkdev_cmd_discard()
912 start + len - 1, nowait); in blkdev_cmd_discard()
920 if (nowait) { in blkdev_cmd_discard()
966 bic->nowait = issue_flags & IO_URING_F_NONBLOCK; in blkdev_uring_cmd()
971 bic->nowait); in blkdev_uring_cmd()
/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/fs/ocfs2/
H A Dfile.c2388 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 Drocker.h83 int rocker_cmd_exec(struct rocker_port *rocker_port, bool nowait,
H A Drocker_main.c50 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 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/md/
H A Draid1.c1053 static bool _wait_barrier(struct r1conf *conf, int idx, bool nowait) in _wait_barrier() argument
1107 if (nowait) { in _wait_barrier()
1122 static bool wait_read_barrier(struct r1conf *conf, sector_t sector_nr, bool nowait) in wait_read_barrier() argument
1150 if (nowait) { in wait_read_barrier()
1165 static bool wait_barrier(struct r1conf *conf, sector_t sector_nr, bool nowait) in wait_barrier() argument
1169 return _wait_barrier(conf, idx, nowait); in wait_barrier()
H A Draid10.c1005 static bool wait_barrier(struct r10conf *conf, bool nowait) in wait_barrier() argument
1015 if (nowait) { in wait_barrier()
H A Dmd.c6626 bool nowait = true; in md_run() local
6697 nowait = nowait && bdev_nowait(rdev->bdev); in md_run()
/linux/include/linux/
H A Dpagemap.h36 loff_t pos, loff_t end, bool nowait);
/linux/mm/
H A Dfilemap.c2901 loff_t pos, loff_t end, bool nowait) in filemap_invalidate_pages() argument
2905 if (nowait) { in filemap_invalidate_pages()
/linux/fs/ext4/
H A Dinode.c983 bool nowait = map_flags & EXT4_GET_BLOCKS_CACHED_NOWAIT; in ext4_getblk() local
988 ASSERT(create == 0 || !nowait); in ext4_getblk()
999 if (nowait) in ext4_getblk()