| /Linux-v5.4/drivers/scsi/snic/ | 
| 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()
  | 
| D | snic_debugfs.c | 210 		   (u64) atomic64_read(&stats->io.max_active),  in snic_stats_show()
  | 
| /Linux-v5.4/net/tipc/ | 
| D | group.c | 93 	u16 max_active;  member 124 	int max_active, active_pool, idle_pool;  in tipc_group_rcvbuf_limit()  local 128 	max_active = min(mcnt / 8, 64);  in tipc_group_rcvbuf_limit() 129 	max_active = max(max_active, 16);  in tipc_group_rcvbuf_limit() 130 	grp->max_active = max_active;  in tipc_group_rcvbuf_limit() 133 	active_pool = max_active * ADV_ACTIVE;  in tipc_group_rcvbuf_limit() 134 	idle_pool = (mcnt - max_active) * ADV_IDLE;  in tipc_group_rcvbuf_limit() 585 	int max_active = grp->max_active;  in tipc_group_update_rcv_win()  local 586 	int reclaim_limit = max_active * 3 / 4;  in tipc_group_update_rcv_win() 599 		if (active_cnt <= max_active) {  in tipc_group_update_rcv_win()
  | 
| /Linux-v5.4/sound/oss/dmasound/ | 
| D | dmasound_core.c | 485 		sq->max_active = sq->numBufs ;  in sq_setup() 519 			sq->max_active = (sq->max_active <= sq->max_count) ?  in sq_setup() 520 				sq->max_active : sq->max_count ;  in sq_setup() 526 			sq->max_active = sq->numBufs ;  in sq_setup() 625 		while (write_sq.count >= write_sq.max_active) {  in sq_write() 632 			if (write_sq.count < write_sq.max_active)  in sq_write() 686 		if (write_sq.count < write_sq.max_active || write_sq.block_size - write_sq.rear_size > 0)  in sq_poll() 983 	sq->max_active = bufs ;  in set_queue_frags() 1132 			info.fragments = write_sq.max_active - write_sq.count;  in sq_ioctl() 1133 			info.fragstotal = write_sq.max_active;  in sq_ioctl() [all …] 
 | 
| D | dmasound.h | 224     int max_active;		/* in-use fragments <= max_count */  member
  | 
| /Linux-v5.4/kernel/ | 
| D | workqueue.c | 208 	int			max_active;	/* L: max active works */  member 1182 		if (pwq->nr_active < pwq->max_active)  in pwq_dec_nr_in_flight() 1480 	if (likely(pwq->nr_active < pwq->max_active)) {  in __queue_work() 3698 	if (!freezable && pwq->max_active == wq->saved_max_active)  in pwq_adjust_max_active() 3710 		pwq->max_active = wq->saved_max_active;  in pwq_adjust_max_active() 3713 		       pwq->nr_active < pwq->max_active)  in pwq_adjust_max_active() 3722 		pwq->max_active = 0;  in pwq_adjust_max_active() 4176 static int wq_clamp_max_active(int max_active, unsigned int flags,  in wq_clamp_max_active()  argument 4181 	if (max_active < 1 || max_active > lim)  in wq_clamp_max_active() 4183 			max_active, name, 1, lim);  in wq_clamp_max_active() [all …] 
 | 
| /Linux-v5.4/Documentation/core-api/ | 
| 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 224 ``max_active`` 227 ``@max_active`` determines the maximum number of execution contexts 229 with ``@max_active`` of 16, at most 16 work items of the wq can be 232 Currently, for a bound wq, the maximum limit for ``@max_active`` is 246 combination of ``@max_active`` of 1 and ``WQ_UNBOUND`` used to 283 And with cmwq with ``@max_active`` >= 3, :: 297 If ``@max_active`` == 2, :: 338 * Unless there is a specific need, using 0 for @max_active is
  | 
| /Linux-v5.4/include/linux/ | 
| D | workqueue.h | 409 					 int max_active, ...); 471 				     int max_active);
  | 
| /Linux-v5.4/drivers/infiniband/core/ | 
| D | mad_priv.h | 183 	int max_active;  member
  | 
| D | mad.c | 1249 	if (qp_info->send_queue.count < qp_info->send_queue.max_active) {  in ib_send_mad() 2547 	if (send_queue->count-- > send_queue->max_active) {  in ib_mad_send_done() 2973 		post = (++recv_queue->count < recv_queue->max_active);  in ib_mad_post_receive_mads() 3174 	qp_info->send_queue.max_active = mad_sendq_size;  in create_mad_qp() 3175 	qp_info->recv_queue.max_active = mad_recvq_size;  in create_mad_qp()
  | 
| D | mad_rmpp.c | 405 	return max(agent->qp_info->recv_queue.max_active >> 3, 1);  in window_size()
  | 
| /Linux-v5.4/fs/btrfs/ | 
| D | disk-io.c | 2152 	u32 max_active = fs_info->thread_pool_size;  in btrfs_init_workqueues()  local 2157 				      flags | WQ_HIGHPRI, max_active, 16);  in btrfs_init_workqueues() 2161 				      flags, max_active, 2);  in btrfs_init_workqueues() 2165 				      flags, max_active, 0);  in btrfs_init_workqueues() 2168 		btrfs_alloc_workqueue(fs_info, "cache", flags, max_active, 0);  in btrfs_init_workqueues() 2178 					    max_active), 64);  in btrfs_init_workqueues() 2188 		btrfs_alloc_workqueue(fs_info, "endio", flags, max_active, 4);  in btrfs_init_workqueues() 2191 				      max_active, 4);  in btrfs_init_workqueues() 2194 				      max_active, 2);  in btrfs_init_workqueues() 2197 				      max_active, 4);  in btrfs_init_workqueues() [all …] 
 | 
| D | scrub.c | 3755 	int max_active = fs_info->thread_pool_size;  in scrub_workers_get()  local 3762 				flags, is_dev_replace ? 1 : max_active, 4);  in scrub_workers_get() 3769 					      max_active, 2);  in scrub_workers_get() 3776 					      max_active, 2);  in scrub_workers_get()
  |