| /linux/Documentation/translations/zh_CN/core-api/ |
| A D | workqueue.rst | 131 参数 - ``@name`` , ``@flags`` 和 ``@max_active`` 。 135 工作项属性的域。 ``@flags`` 和 ``@max_active`` 控制着工作 186 ``max_active`` 189 ``@max_active`` 决定了每个CPU可以分配给wq的工作项的最大执行上 190 下文数量。例如,如果 ``@max_active为16`` ,每个CPU最多可以同 193 目前,对于一个绑定的wq, ``@max_active`` 的最大限制是512,当指 202 一些用户依赖于ST wq的严格执行顺序。 ``@max_active`` 为1和 ``WQ_UNBOUND`` 234 And with cmwq with ``@max_active`` >= 3, :: 248 如果 ``@max_active`` == 2, :: 288 * 除非有特殊需要,建议使用0作为@max_active。在大多数使用情
|
| /linux/net/tipc/ |
| A D | group.c | 94 u16 max_active; member 125 int max_active, active_pool, idle_pool; in tipc_group_rcvbuf_limit() local 129 max_active = min(mcnt / 8, 64); in tipc_group_rcvbuf_limit() 130 max_active = max(max_active, 16); in tipc_group_rcvbuf_limit() 131 grp->max_active = max_active; in tipc_group_rcvbuf_limit() 134 active_pool = max_active * ADV_ACTIVE; in tipc_group_rcvbuf_limit() 135 idle_pool = (mcnt - max_active) * ADV_IDLE; in tipc_group_rcvbuf_limit() 592 int max_active = grp->max_active; in tipc_group_update_rcv_win() local 593 int reclaim_limit = max_active * 3 / 4; in tipc_group_update_rcv_win() 606 if (active_cnt <= max_active) { in tipc_group_update_rcv_win()
|
| /linux/drivers/scsi/snic/ |
| A D | snic_stats.h | 23 atomic64_t max_active; /* Max # active IOs */ member 113 if (atomic64_read(&io->max_active) < nr_active_ios) in snic_stats_update_active_ios() 114 atomic64_set(&io->max_active, nr_active_ios); in snic_stats_update_active_ios()
|
| A D | snic_debugfs.c | 210 (u64) atomic64_read(&stats->io.max_active), in snic_stats_show()
|
| /linux/sound/oss/dmasound/ |
| A D | dmasound_core.c | 486 sq->max_active = sq->numBufs ; in sq_setup() 520 sq->max_active = (sq->max_active <= sq->max_count) ? in sq_setup() 521 sq->max_active : sq->max_count ; in sq_setup() 527 sq->max_active = sq->numBufs ; in sq_setup() 626 while (write_sq.count >= write_sq.max_active) { in sq_write() 633 if (write_sq.count < write_sq.max_active) in sq_write() 687 if (write_sq.count < write_sq.max_active || write_sq.block_size - write_sq.rear_size > 0) in sq_poll() 984 sq->max_active = bufs ; in set_queue_frags() 1128 info.fragments = write_sq.max_active - write_sq.count; in sq_ioctl() 1129 info.fragstotal = write_sq.max_active; in sq_ioctl() [all …]
|
| A D | dmasound.h | 224 int max_active; /* in-use fragments <= max_count */ member
|
| /linux/kernel/ |
| A D | workqueue.c | 3791 pwq->max_active = 0; in pwq_adjust_max_active() 4250 if (max_active < 1 || max_active > lim) in wq_clamp_max_active() 4252 max_active, name, 1, lim); in wq_clamp_max_active() 4291 int max_active, ...) in alloc_workqueue() argument 4326 va_start(args, max_active); in alloc_workqueue() 4330 max_active = max_active ?: WQ_DFL_ACTIVE; in alloc_workqueue() 4331 max_active = wq_clamp_max_active(max_active, flags, wq->name); in alloc_workqueue() 4335 wq->saved_max_active = max_active; in alloc_workqueue() 4513 max_active = wq_clamp_max_active(max_active, wq->flags, wq->name); in workqueue_set_max_active() 4518 wq->saved_max_active = max_active; in workqueue_set_max_active() [all …]
|
| /linux/Documentation/core-api/ |
| A D | workqueue.rst | 155 ``@flags`` and ``@max_active``. ``@name`` is the name of the wq and 160 and ``@max_active`` control how work items are assigned execution 220 ``max_active`` 223 ``@max_active`` determines the maximum number of execution contexts 225 with ``@max_active`` of 16, at most 16 work items of the wq can be 228 Currently, for a bound wq, the maximum limit for ``@max_active`` is 242 combination of ``@max_active`` of 1 and ``WQ_UNBOUND`` used to 279 And with cmwq with ``@max_active`` >= 3, :: 293 If ``@max_active`` == 2, :: 334 * Unless there is a specific need, using 0 for @max_active is
|
| /linux/include/linux/ |
| A D | workqueue.h | 403 alloc_workqueue(const char *fmt, unsigned int flags, int max_active, ...); 465 int max_active);
|
| /linux/drivers/infiniband/core/ |
| A D | mad_priv.h | 182 int max_active; member
|
| A D | mad.c | 1037 if (qp_info->send_queue.count < qp_info->send_queue.max_active) { in ib_send_mad() 2311 if (send_queue->count-- > send_queue->max_active) { in ib_mad_send_done() 2722 post = (++recv_queue->count < recv_queue->max_active); in ib_mad_post_receive_mads() 2919 qp_info->send_queue.max_active = mad_sendq_size; in create_mad_qp() 2920 qp_info->recv_queue.max_active = mad_recvq_size; in create_mad_qp()
|
| A D | mad_rmpp.c | 396 return max(agent->qp_info->recv_queue.max_active >> 3, 1); in window_size()
|
| /linux/fs/btrfs/ |
| A D | disk-io.c | 2297 u32 max_active = fs_info->thread_pool_size; in btrfs_init_workqueues() local 2302 flags | WQ_HIGHPRI, max_active, 16); in btrfs_init_workqueues() 2306 flags, max_active, 2); in btrfs_init_workqueues() 2310 flags, max_active, 0); in btrfs_init_workqueues() 2326 max_active, 4); in btrfs_init_workqueues() 2329 max_active, 2); in btrfs_init_workqueues() 2332 max_active, 4); in btrfs_init_workqueues() 2337 max_active, 2); in btrfs_init_workqueues() 2340 max_active, 0); in btrfs_init_workqueues() 2343 max_active, 0); in btrfs_init_workqueues() [all …]
|
| A D | scrub.c | 4019 int max_active = fs_info->thread_pool_size; in scrub_workers_get() local 4026 is_dev_replace ? 1 : max_active, 4); in scrub_workers_get() 4031 max_active, 2); in scrub_workers_get() 4036 max_active, 2); in scrub_workers_get()
|
| /linux/Documentation/admin-guide/ |
| A D | xfs.rst | 538 max_active Maximum number of background threads that can be started to
|