/linux-master/drivers/scsi/snic/ |
H A D | snic_stats.h | 9 atomic64_t max_active; /* Max # active IOs */ member in struct:snic_io_stats 99 if (atomic64_read(&io->max_active) < nr_active_ios) 100 atomic64_set(&io->max_active, nr_active_ios);
|
H A D | snic_debugfs.c | 196 (u64) atomic64_read(&stats->io.max_active),
|
/linux-master/net/tipc/ |
H A D | group.c | 94 u16 max_active; member in struct:tipc_group 125 int max_active, active_pool, idle_pool; local 129 max_active = min(mcnt / 8, 64); 130 max_active = max(max_active, 16); 131 grp->max_active = max_active; 134 active_pool = max_active * ADV_ACTIVE; 135 idle_pool = (mcnt - max_active) * ADV_IDLE; 592 int max_active local [all...] |
/linux-master/sound/oss/dmasound/ |
H A D | dmasound_core.c | 481 sq->max_active = sq->numBufs ; 514 /* if user has set max_active - then use it */ 515 sq->max_active = (sq->max_active <= sq->max_count) ? 516 sq->max_active : sq->max_count ; 522 sq->max_active = sq->numBufs ; 621 while (write_sq.count >= write_sq.max_active) { 628 if (write_sq.count < write_sq.max_active) 682 if (write_sq.count < write_sq.max_active || write_sq.block_size - write_sq.rear_size > 0) 973 /* there is, currently, no way to specify max_active separatel [all...] |
H A D | dmasound.h | 218 int max_active; /* in-use fragments <= max_count */ member in struct:sound_queue
|
/linux-master/drivers/infiniband/core/ |
H A D | mad_priv.h | 182 int max_active; member in struct:ib_mad_queue
|
H A D | mad.c | 1032 if (qp_info->send_queue.count < qp_info->send_queue.max_active) { 2306 if (send_queue->count-- > send_queue->max_active) { 2717 post = (++recv_queue->count < recv_queue->max_active); 2914 qp_info->send_queue.max_active = mad_sendq_size; 2915 qp_info->recv_queue.max_active = mad_recvq_size;
|
H A D | mad_rmpp.c | 396 return max(agent->qp_info->recv_queue.max_active >> 3, 1);
|
/linux-master/kernel/ |
H A D | workqueue.c | 269 * When pwq->nr_active >= max_active, new work item is queued to 312 * Unlike in a per-cpu workqueue where max_active limits its concurrency level 313 * on each CPU, in an unbound workqueue, max_active applies to the whole system. 317 * The following struct is used to enforce per-node max_active. When a pwq wants 325 int max; /* per-node max_active */ 352 /* See alloc_workqueue() function comment for info on min/max_active */ 353 int max_active; /* WO: max active works */ member in struct:workqueue_struct 355 int saved_max_active; /* WQ: saved max_active */ 1574 * Update @wq->node_nr_active[]->max. @wq must be unbound. max_active is 1576 * cpus. The result is always between @wq->min_active and max_active 1582 int max_active = READ_ONCE(wq->max_active); local 5403 wq_clamp_max_active(int max_active, unsigned int flags, const char *name) argument 5516 alloc_workqueue(const char *fmt, unsigned int flags, int max_active, ...) argument 5748 workqueue_set_max_active(struct workqueue_struct *wq, int max_active) argument [all...] |
/linux-master/include/linux/ |
H A D | workqueue.h | 413 * is set to min(max_active, WQ_DFL_MIN_ACTIVE). For more details, see 435 * executed immediately as long as max_active limit is not reached and 467 * @max_active: max in-flight work items, 0 for default 470 * For a per-cpu workqueue, @max_active limits the number of in-flight work 471 * items for each CPU. e.g. @max_active of 1 indicates that each CPU can be 474 * For unbound workqueues, @max_active limits the number of in-flight work items 475 * for the whole system. e.g. @max_active of 16 indicates that that there can be 479 * NUMA nodes can be expensive, @max_active is distributed to each NUMA node 484 * max_active which is significantly lower than @max_active, whic [all...] |
/linux-master/fs/btrfs/ |
H A D | disk-io.c | 1976 u32 max_active = fs_info->thread_pool_size; local 1981 btrfs_alloc_workqueue(fs_info, "worker", flags, max_active, 16); 1985 flags, max_active, 2); 1989 flags, max_active, 0); 1992 btrfs_alloc_workqueue(fs_info, "cache", flags, max_active, 0); 1998 alloc_workqueue("btrfs-endio", flags, max_active); 2000 alloc_workqueue("btrfs-endio-meta", flags, max_active); 2001 fs_info->rmw_workers = alloc_workqueue("btrfs-rmw", flags, max_active); 2004 max_active, 2); 2006 alloc_workqueue("btrfs-compressed-write", flags, max_active); [all...] |
H A D | scrub.c | 2854 int max_active = fs_info->thread_pool_size; local 2860 scrub_workers = alloc_workqueue("btrfs-scrub", flags, max_active);
|