| /linux-6.15/drivers/cpufreq/ |
| H A D | loongson2_cpufreq.c | 26 static uint nowait; variable 152 } else if (!nowait) { in cpufreq_init() 162 if (!nowait && saved_cpu_wait) in cpufreq_exit() 174 module_param(nowait, uint, 0644); 175 MODULE_PARM_DESC(nowait, "Disable Loongson-2F specific wait");
|
| /linux-6.15/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-6.15/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-6.15/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 265 nowait); in btrfs_get_blocks_direct_write() 271 if (nowait && (ret == -ENOSPC || ret == -EDQUOT)) in btrfs_get_blocks_direct_write() 297 if (nowait) { in btrfs_get_blocks_direct_write()
|
| H A D | file-item.h | 71 bool nowait); 73 struct list_head *list, bool nowait);
|
| H A D | file.c | 848 if (nowait) { in get_prepare_gfp_flags() 872 if (nowait) in prepare_one_folio() 890 if (!nowait && ret == -EAGAIN) { in prepare_one_folio() 926 if (nowait) { in lock_and_cleanup_extent_if_need() 987 size_t *write_bytes, bool nowait) in btrfs_check_nocow_lock() argument 1007 if (nowait) { in btrfs_check_nocow_lock() 1098 if (nowait) in btrfs_buffered_write() 1149 write_bytes, nowait); in btrfs_buffered_write() 1164 &write_bytes, nowait); in btrfs_buffered_write() 1179 reserve_bytes, nowait); in btrfs_buffered_write() [all …]
|
| H A D | file.h | 43 size_t *write_bytes, bool nowait);
|
| 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() 2189 if (p->nowait) { in btrfs_search_slot() 2246 ASSERT(!p->nowait); in btrfs_search_old_slot() 4617 ASSERT(!path->nowait); in btrfs_search_forward() 4801 ASSERT(!path->nowait); in btrfs_next_old_leaf() 4821 if (path->nowait) { in btrfs_next_old_leaf() [all …]
|
| H A D | file-item.c | 463 struct list_head *list, bool nowait) in btrfs_lookup_csums_list() argument 481 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 | 538 bool nowait);
|
| H A D | inode.c | 1836 bool nowait = path->nowait; in can_nocow_file_extent() local 1916 NULL, nowait); in can_nocow_file_extent() 7110 bool nowait) in can_nocow_extent() argument 7126 path->nowait = nowait; in can_nocow_extent() 9123 const bool nowait = (iocb->ki_flags & IOCB_NOWAIT); in btrfs_encoded_read_inline() local 9131 path->nowait = nowait; in btrfs_encoded_read_inline() 9377 const bool nowait = (iocb->ki_flags & IOCB_NOWAIT); in btrfs_encoded_read() local 9383 BTRFS_ILOCK_SHARED | (nowait ? BTRFS_ILOCK_TRY : 0)); in btrfs_encoded_read() 9398 if (nowait) { in btrfs_encoded_read()
|
| /linux-6.15/block/ |
| H A D | ioctl.c | 768 bool nowait; member 775 if (bic->res == -EAGAIN && bic->nowait) in blk_cmd_complete() 795 uint64_t start, uint64_t len, bool nowait) in blkdev_cmd_discard() argument 798 gfp_t gfp = nowait ? GFP_NOWAIT : GFP_KERNEL; in blkdev_cmd_discard() 815 start + len - 1, nowait); in blkdev_cmd_discard() 823 if (nowait) { in blkdev_cmd_discard() 863 bic->nowait = issue_flags & IO_URING_F_NONBLOCK; in blkdev_uring_cmd() 870 return blkdev_cmd_discard(cmd, bdev, start, len, bic->nowait); in blkdev_uring_cmd()
|
| /linux-6.15/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-6.15/tools/testing/selftests/firmware/ |
| H A D | settings | 3 # present, each with 2 "nowait" functions tested 5 times. Expected time for a
|
| /linux-6.15/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-6.15/fs/ocfs2/ |
| H A D | file.c | 2381 int nowait = iocb->ki_flags & IOCB_NOWAIT ? 1 : 0; in ocfs2_file_write_iter() local 2389 if (!direct_io && nowait) in ocfs2_file_write_iter() 2395 if (nowait) { in ocfs2_file_write_iter() 2410 if (nowait) in ocfs2_file_write_iter() 2430 if (nowait) in ocfs2_file_write_iter() 2451 ret = ocfs2_prepare_inode_for_write(file, iocb->ki_pos, count, !nowait); in ocfs2_file_write_iter() 2531 int nowait = iocb->ki_flags & IOCB_NOWAIT ? 1 : 0; in ocfs2_file_read_iter() local 2546 if (!direct_io && nowait) in ocfs2_file_read_iter() 2556 if (nowait) in ocfs2_file_read_iter() 2581 !nowait); in ocfs2_file_read_iter()
|
| /linux-6.15/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-6.15/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() 692 bool nowait) in __mcp251xfd_chip_set_normal_mode() argument 698 return __mcp251xfd_chip_set_mode(priv, mode, nowait); in __mcp251xfd_chip_set_normal_mode()
|
| /linux-6.15/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-6.15/drivers/md/ |
| H A D | raid1.c | 1031 static bool _wait_barrier(struct r1conf *conf, int idx, bool nowait) in _wait_barrier() argument 1085 if (nowait) { in _wait_barrier() 1100 static bool wait_read_barrier(struct r1conf *conf, sector_t sector_nr, bool nowait) in wait_read_barrier() argument 1128 if (nowait) { in wait_read_barrier() 1143 static bool wait_barrier(struct r1conf *conf, sector_t sector_nr, bool nowait) in wait_barrier() argument 1147 return _wait_barrier(conf, idx, nowait); in wait_barrier()
|
| /linux-6.15/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()
|