Home
last modified time | relevance | path

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

12

/linux-6.12.1/drivers/cpufreq/
Dloongson2_cpufreq.c26 static uint nowait; variable
151 if (!ret && !nowait) { in cpufreq_init()
161 if (!nowait && saved_cpu_wait) in cpufreq_exit()
173 module_param(nowait, uint, 0644);
174 MODULE_PARM_DESC(nowait, "Disable Loongson-2F specific wait");
/linux-6.12.1/fs/
Dsync.c99 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.12.1/arch/mips/kernel/
Didle.c108 static int __initdata nowait; variable
112 nowait = 1; in wait_disable()
123 if (nowait) { in check_wait()
/linux-6.12.1/fs/btrfs/
Ddirect-io.c38 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()
Dfile-item.h69 bool nowait);
71 struct list_head *list, bool nowait);
Dfile.c893 static fgf_t get_prepare_fgp_flags(bool nowait) in get_prepare_fgp_flags() argument
897 if (nowait) in get_prepare_fgp_flags()
903 static gfp_t get_prepare_gfp_flags(struct inode *inode, bool nowait) in get_prepare_gfp_flags() argument
908 if (nowait) { in get_prepare_gfp_flags()
922 bool nowait) in prepare_pages() argument
926 gfp_t mask = get_prepare_gfp_flags(inode, nowait); in prepare_pages()
927 fgf_t fgp_flags = get_prepare_fgp_flags(nowait); in prepare_pages()
937 if (nowait) in prepare_pages()
958 if (!nowait && ret == -EAGAIN) { in prepare_pages()
993 u64 *lockstart, u64 *lockend, bool nowait, in lock_and_cleanup_extent_if_need() argument
[all …]
Dfile.h42 size_t *write_bytes, bool nowait);
Dctree.c1561 if (p->nowait) { in read_block_for_search()
1581 } else if (p->nowait) { in read_block_for_search()
1749 if (p->nowait) { in btrfs_search_slot_get_root()
2038 ASSERT(!p->nowait || !cow); in btrfs_search_slot()
2066 if (p->nowait) { in btrfs_search_slot()
2217 if (p->nowait) { in btrfs_search_slot()
2274 ASSERT(!p->nowait); in btrfs_search_old_slot()
4646 ASSERT(!path->nowait); in btrfs_search_forward()
4832 ASSERT(!path->nowait); in btrfs_next_old_leaf()
4852 if (path->nowait) { in btrfs_next_old_leaf()
[all …]
Dfile-item.c468 struct list_head *list, bool nowait) in btrfs_lookup_csums_list() argument
486 path->nowait = nowait; in btrfs_lookup_csums_list()
Dbtrfs_inode.h529 bool nowait, bool strict);
Dctree.h85 unsigned int nowait:1; member
/linux-6.12.1/block/
Dioctl.c757 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-6.12.1/sound/virtio/
Dvirtio_ctl_msg.c123 struct scatterlist *in_sgs, bool nowait) in virtsnd_ctl_msg_send() argument
176 if (nowait) in virtsnd_ctl_msg_send()
Dvirtio_ctl_msg.h28 struct scatterlist *in_sgs, bool nowait);
/linux-6.12.1/tools/testing/selftests/firmware/
Dsettings3 # present, each with 2 "nowait" functions tested 5 times. Expected time for a
/linux-6.12.1/drivers/base/firmware_loader/
Dsysfs.h77 bool nowait; member
Dsysfs.c73 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.12.1/fs/ocfs2/
Dfile.c2381 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()
2408 if (nowait) in ocfs2_file_write_iter()
2428 if (nowait) in ocfs2_file_write_iter()
2449 ret = ocfs2_prepare_inode_for_write(file, iocb->ki_pos, count, !nowait); in ocfs2_file_write_iter()
2529 int nowait = iocb->ki_flags & IOCB_NOWAIT ? 1 : 0; in ocfs2_file_read_iter() local
2544 if (!direct_io && nowait) in ocfs2_file_read_iter()
2552 if (nowait) in ocfs2_file_read_iter()
2577 !nowait); in ocfs2_file_read_iter()
/linux-6.12.1/drivers/net/ethernet/rocker/
Drocker.h83 int rocker_cmd_exec(struct rocker_port *rocker_port, bool nowait,
Drocker_main.c50 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.12.1/drivers/net/can/spi/mcp251xfd/
Dmcp251xfd-core.c228 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-6.12.1/drivers/net/ethernet/smsc/
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");
2324 lp->cfg.flags |= (nowait) ? SMC91X_NOWAIT : 0; in smc_drv_probe()
/linux-6.12.1/drivers/md/
Draid1.c1033 static bool _wait_barrier(struct r1conf *conf, int idx, bool nowait) in _wait_barrier() argument
1087 if (nowait) { in _wait_barrier()
1102 static bool wait_read_barrier(struct r1conf *conf, sector_t sector_nr, bool nowait) in wait_read_barrier() argument
1130 if (nowait) { in wait_read_barrier()
1145 static bool wait_barrier(struct r1conf *conf, sector_t sector_nr, bool nowait) in wait_barrier() argument
1149 return _wait_barrier(conf, idx, nowait); in wait_barrier()
/linux-6.12.1/drivers/net/wireless/marvell/
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()
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-6.12.1/fs/bcachefs/
Dalloc_foreground.c607 bool nowait, in bch2_bucket_alloc_trans() argument
617 bool waiting = nowait; in bch2_bucket_alloc_trans()

12