Home
last modified time | relevance | path

Searched refs:max_active (Results 1 – 13 of 13) sorted by relevance

/linux/Documentation/translations/zh_CN/core-api/
H A Dworkqueue.rst139 参数 - ``@name`` , ``@flags`` 和 ``@max_active`` 。
143 工作项属性的域。 ``@flags`` 和 ``@max_active`` 控制着工作
155 BH工作队列的 ``max_active`` 值必须为0,且只能单独或和
201 ``max_active``
204 ``@max_active`` 决定了每个CPU可以分配给wq的工作项的最大执行上
205 下文数量。例如,如果 ``@max_active`` 为16 ,每个CPU最多可以同
208 ``@max_active`` 的最大限制是512,当指定为0时使用的默认值是256。
217 顺序处理带来的严格执行顺序。``@max_active`` 为1和 ``WQ_UNBOUND``
245 And with cmwq with ``@max_active`` >= 3, ::
259 如果 ``@max_active`` == 2, ::
[all …]
/linux/drivers/scsi/snic/
H A Dsnic_stats.h9 atomic64_t max_active; /* Max # active IOs */ member
99 if (atomic64_read(&io->max_active) < nr_active_ios) in snic_stats_update_active_ios()
100 atomic64_set(&io->max_active, nr_active_ios); in snic_stats_update_active_ios()
H A Dsnic_debugfs.c196 (u64) atomic64_read(&stats->io.max_active), in snic_stats_show()
/linux/net/tipc/
H A Dgroup.c94 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()
593 int max_active in tipc_group_update_rcv_win()
592 int max_active = grp->max_active; tipc_group_update_rcv_win() local
[all...]
/linux/sound/oss/dmasound/
H A Ddmasound_core.c478 sq->max_active = sq->numBufs ; in sq_setup()
511 /* if user has set max_active - then use it */ in sq_setup()
512 sq->max_active = (sq->max_active <= sq->max_count) ? in sq_setup()
513 sq->max_active : sq->max_count ; in sq_setup()
519 sq->max_active = sq->numBufs ; in sq_setup()
618 while (write_sq.count >= write_sq.max_active) { in sq_write()
625 if (write_sq.count < write_sq.max_active) in sq_write()
679 if (write_sq.count < write_sq.max_active || write_sq.block_size - write_sq.rear_size > 0) in sq_poll()
970 /* there is, currently, no way to specify max_active separatel in set_queue_frags()
[all...]
H A Ddmasound.h218 int max_active; /* in-use fragments <= max_count */ member
/linux/kernel/
H A Dworkqueue.c291 * When pwq->nr_active >= max_active, new work item is queued to
335 * Unlike in a per-cpu workqueue where max_active limits its concurrency level
336 * on each CPU, in an unbound workqueue, max_active applies to the whole system.
340 * The following struct is used to enforce per-node max_active. When a pwq wants
348 int max; /* per-node max_active */
391 /* See alloc_workqueue() function comment for info on min/max_active */
392 int max_active; /* WO: max active works */
395 int saved_max_active; /* WQ: saved max_active */
1702 * Update @wq->node_nr_active[]->max. @wq must be unbound. max_active is
1704 * cpus. The result is always between @wq->min_active and max_active
369 int max_active; /* WO: max active works */ global() member
1650 int max_active = READ_ONCE(wq->max_active); wq_update_node_max_active() local
5770 wq_clamp_max_active(int max_active,unsigned int flags,const char * name) wq_clamp_max_active() argument
5893 __alloc_workqueue(const char * fmt,unsigned int flags,int max_active,va_list args) __alloc_workqueue() argument
6028 alloc_workqueue_va(const char * fmt,unsigned int flags,int max_active,va_list args) alloc_workqueue_va() argument
6043 alloc_workqueue_noprof(const char * fmt,unsigned int flags,int max_active,...) alloc_workqueue_noprof() argument
6063 devm_alloc_workqueue_noprof(struct device * dev,const char * fmt,unsigned int flags,int max_active,...) devm_alloc_workqueue_noprof() argument
6087 alloc_workqueue_lockdep_map(const char * fmt,unsigned int flags,int max_active,struct lockdep_map * lockdep_map,...) alloc_workqueue_lockdep_map() argument
6224 workqueue_set_max_active(struct workqueue_struct * wq,int max_active) workqueue_set_max_active() argument
[all...]
/linux/include/linux/
H A Dworkqueue.h518 alloc_workqueue_noprof(const char *fmt, unsigned int flags, int max_active, ...);
539 unsigned int flags, int max_active, ...);
560 alloc_workqueue_lockdep_map(const char *fmt, unsigned int flags, int max_active,
659 int max_active);
/linux/Documentation/core-api/
H A Dworkqueue.rst163 ``@flags`` and ``@max_active``. ``@name`` is the name of the wq and
168 and ``@max_active`` control how work items are assigned execution
180 All BH workqueues must have 0 ``max_active`` and ``WQ_HIGHPRI`` is the
245 ``max_active``
248 ``@max_active`` determines the maximum number of execution contexts per
250 ``@max_active`` of 16, at most 16 work items of the wq can be executing
254 The maximum limit for ``@max_active`` is 2048 and the default value used
267 queueing order. While the combination of ``@max_active`` of 1 and
299 And with cmwq with ``@max_active`` >= 3, ::
313 If ``@max_active`` == 2, ::
[all …]
/linux/fs/btrfs/
H A Ddisk-io.c2039 u32 max_active = fs_info->thread_pool_size; in btrfs_replay_log()
2044 btrfs_alloc_workqueue(fs_info, "worker", flags, max_active, 16); in btrfs_replay_log()
2048 flags, max_active, 2); in btrfs_replay_log()
2052 flags, max_active, 0); in btrfs_replay_log()
2055 btrfs_alloc_workqueue(fs_info, "cache", flags, max_active, 0); in btrfs_replay_log()
2061 alloc_workqueue("btrfs-endio", flags, max_active); in btrfs_replay_log()
2063 alloc_workqueue("btrfs-endio-meta", flags, max_active); in btrfs_replay_log()
2064 fs_info->rmw_workers = alloc_workqueue("btrfs-rmw", flags, max_active); in btrfs_replay_log()
2067 max_active, 2); in btrfs_replay_log()
2070 max_active, in btrfs_replay_log()
1954 u32 max_active = fs_info->thread_pool_size; btrfs_init_workqueues() local
[all...]
H A Dscrub.c3021 int max_active = fs_info->thread_pool_size; in scrub_workers_get() local
3027 scrub_workers = alloc_workqueue("btrfs-scrub", flags, max_active); in scrub_workers_get()
/linux/drivers/infiniband/core/
H A Dmad.c1059 if (qp_info->send_queue.count < qp_info->send_queue.max_active) { in ib_send_mad()
2574 if (send_queue->count-- > send_queue->max_active) { in ib_mad_send_done()
3003 if (recv_queue->count >= recv_queue->max_active) { in ib_mad_post_receive_mads()
3207 qp_info->send_queue.max_active = mad_sendq_size; in create_mad_qp()
3208 qp_info->recv_queue.max_active = mad_recvq_size; in create_mad_qp()
H A Dmad_rmpp.c399 return max(agent->qp_info->recv_queue.max_active >> 3, 1); in find_seg_location()