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.c838 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()
978 size_t *write_bytes, bool nowait) in btrfs_check_nocow_lock() argument
997 if (nowait) { in btrfs_check_nocow_lock()
[all …]
H A Dfile.h43 size_t *write_bytes, bool nowait);
H A Dfile-item.c495 struct list_head *list, bool nowait) in btrfs_lookup_csums_list() argument
513 path->nowait = nowait; in btrfs_lookup_csums_list()
H A Dinode.c1922 bool nowait = path->nowait; in can_nocow_file_extent() local
2002 NULL, nowait); in can_nocow_file_extent()
7389 bool nowait) in can_nocow_extent() argument
7405 path->nowait = nowait; in can_nocow_extent()
9426 const bool nowait = (iocb->ki_flags & IOCB_NOWAIT); in btrfs_encoded_read_inline() local
9432 path->nowait = nowait; in btrfs_encoded_read_inline()
9672 const bool nowait = (iocb->ki_flags & IOCB_NOWAIT); in btrfs_encoded_read() local
9678 BTRFS_ILOCK_SHARED | (nowait ? BTRFS_ILOCK_TRY : 0)); in btrfs_encoded_read()
9693 if (nowait) { in btrfs_encoded_read()
/linux/block/
H A Dioctl.c868 bool nowait; member
876 if (bic->res == -EAGAIN && bic->nowait) in blk_cmd_complete()
897 uint64_t start, uint64_t len, bool nowait) in blkdev_cmd_discard() argument
900 gfp_t gfp = nowait ? GFP_NOWAIT : GFP_KERNEL; in blkdev_cmd_discard()
917 start + len - 1, nowait); in blkdev_cmd_discard()
925 if (nowait) { in blkdev_cmd_discard()
965 bic->nowait = issue_flags & IO_URING_F_NONBLOCK; in blkdev_uring_cmd()
972 return blkdev_cmd_discard(cmd, bdev, start, len, 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/net/can/spi/mcp251xfd/
H A Dmcp251xfd-core.c246 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 Draid1.c1030 static bool _wait_barrier(struct r1conf *conf, int idx, bool nowait) in _wait_barrier() argument
1084 if (nowait) { in _wait_barrier()
1099 static bool wait_read_barrier(struct r1conf *conf, sector_t sector_nr, bool nowait) in wait_read_barrier() argument
1127 if (nowait) { in wait_read_barrier()
1142 static bool wait_barrier(struct r1conf *conf, sector_t sector_nr, bool nowait) in wait_barrier() argument
1146 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.c6475 bool nowait = true; in md_run() local
6546 nowait = nowait && bdev_nowait(rdev->bdev); in md_run()
/linux/drivers/net/wireless/marvell/
H A Dmwl8k.c532 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 Dpagemap.h36 loff_t pos, loff_t end, bool nowait);
/linux/mm/
H A Dfilemap.c2895 loff_t pos, loff_t end, bool nowait) in filemap_invalidate_pages() argument
2899 if (nowait) { in filemap_invalidate_pages()