Lines Matching defs:new_count
10799 __u32 new_count[2];
10802 if (copy_from_user(new_count, arg, sizeof(new_count)))
10804 for (i = 0; i < ARRAY_SIZE(new_count); i++)
10805 if (new_count[i] > INT_MAX)
10827 BUILD_BUG_ON(sizeof(new_count) != sizeof(ctx->iowq_limits));
10829 for (i = 0; i < ARRAY_SIZE(new_count); i++)
10830 if (new_count[i])
10831 ctx->iowq_limits[i] = new_count[i];
10836 ret = io_wq_max_workers(tctx->io_wq, new_count);
10840 memset(new_count, 0, sizeof(new_count));
10848 if (copy_to_user(arg, new_count, sizeof(new_count)))
10862 for (i = 0; i < ARRAY_SIZE(new_count); i++)
10863 new_count[i] = ctx->iowq_limits[i];
10865 (void)io_wq_max_workers(tctx->io_wq, new_count);