max_active 1249 drivers/infiniband/core/mad.c if (qp_info->send_queue.count < qp_info->send_queue.max_active) { max_active 2547 drivers/infiniband/core/mad.c if (send_queue->count-- > send_queue->max_active) { max_active 2973 drivers/infiniband/core/mad.c post = (++recv_queue->count < recv_queue->max_active); max_active 3174 drivers/infiniband/core/mad.c qp_info->send_queue.max_active = mad_sendq_size; max_active 3175 drivers/infiniband/core/mad.c qp_info->recv_queue.max_active = mad_recvq_size; max_active 183 drivers/infiniband/core/mad_priv.h int max_active; max_active 405 drivers/infiniband/core/mad_rmpp.c return max(agent->qp_info->recv_queue.max_active >> 3, 1); max_active 210 drivers/scsi/snic/snic_debugfs.c (u64) atomic64_read(&stats->io.max_active), max_active 23 drivers/scsi/snic/snic_stats.h atomic64_t max_active; /* Max # active IOs */ max_active 113 drivers/scsi/snic/snic_stats.h if (atomic64_read(&io->max_active) < nr_active_ios) max_active 114 drivers/scsi/snic/snic_stats.h atomic64_set(&io->max_active, nr_active_ios); max_active 2140 fs/btrfs/disk-io.c u32 max_active = fs_info->thread_pool_size; max_active 2145 fs/btrfs/disk-io.c flags | WQ_HIGHPRI, max_active, 16); max_active 2149 fs/btrfs/disk-io.c flags, max_active, 2); max_active 2153 fs/btrfs/disk-io.c flags, max_active, 0); max_active 2156 fs/btrfs/disk-io.c btrfs_alloc_workqueue(fs_info, "cache", flags, max_active, 0); max_active 2166 fs/btrfs/disk-io.c max_active), 64); max_active 2176 fs/btrfs/disk-io.c btrfs_alloc_workqueue(fs_info, "endio", flags, max_active, 4); max_active 2179 fs/btrfs/disk-io.c max_active, 4); max_active 2182 fs/btrfs/disk-io.c max_active, 2); max_active 2185 fs/btrfs/disk-io.c max_active, 4); max_active 2189 fs/btrfs/disk-io.c btrfs_alloc_workqueue(fs_info, "rmw", flags, max_active, 2); max_active 2192 fs/btrfs/disk-io.c max_active, 2); max_active 2195 fs/btrfs/disk-io.c max_active, 0); max_active 2198 fs/btrfs/disk-io.c max_active, 0); max_active 2201 fs/btrfs/disk-io.c max_active, 2); max_active 3752 fs/btrfs/scrub.c int max_active = fs_info->thread_pool_size; max_active 3759 fs/btrfs/scrub.c flags, is_dev_replace ? 1 : max_active, 4); max_active 3766 fs/btrfs/scrub.c max_active, 2); max_active 3773 fs/btrfs/scrub.c max_active, 2); max_active 409 include/linux/workqueue.h int max_active, ...); max_active 471 include/linux/workqueue.h int max_active); max_active 208 kernel/workqueue.c int max_active; /* L: max active works */ max_active 1183 kernel/workqueue.c if (pwq->nr_active < pwq->max_active) max_active 1483 kernel/workqueue.c if (likely(pwq->nr_active < pwq->max_active)) { max_active 3707 kernel/workqueue.c if (!freezable && pwq->max_active == wq->saved_max_active) max_active 3719 kernel/workqueue.c pwq->max_active = wq->saved_max_active; max_active 3722 kernel/workqueue.c pwq->nr_active < pwq->max_active) max_active 3731 kernel/workqueue.c pwq->max_active = 0; max_active 4185 kernel/workqueue.c static int wq_clamp_max_active(int max_active, unsigned int flags, max_active 4190 kernel/workqueue.c if (max_active < 1 || max_active > lim) max_active 4192 kernel/workqueue.c max_active, name, 1, lim); max_active 4194 kernel/workqueue.c return clamp_val(max_active, 1, lim); max_active 4231 kernel/workqueue.c int max_active, ...) max_active 4245 kernel/workqueue.c if ((flags & WQ_UNBOUND) && max_active == 1) max_active 4266 kernel/workqueue.c va_start(args, max_active); max_active 4270 kernel/workqueue.c max_active = max_active ?: WQ_DFL_ACTIVE; max_active 4271 kernel/workqueue.c max_active = wq_clamp_max_active(max_active, flags, wq->name); max_active 4275 kernel/workqueue.c wq->saved_max_active = max_active; max_active 4431 kernel/workqueue.c void workqueue_set_max_active(struct workqueue_struct *wq, int max_active) max_active 4439 kernel/workqueue.c max_active = wq_clamp_max_active(max_active, wq->flags, wq->name); max_active 4444 kernel/workqueue.c wq->saved_max_active = max_active; max_active 4666 kernel/workqueue.c pwq->nr_active, pwq->max_active, pwq->refcnt, max_active 5379 kernel/workqueue.c static DEVICE_ATTR_RW(max_active); max_active 93 net/tipc/group.c u16 max_active; max_active 124 net/tipc/group.c int max_active, active_pool, idle_pool; max_active 128 net/tipc/group.c max_active = min(mcnt / 8, 64); max_active 129 net/tipc/group.c max_active = max(max_active, 16); max_active 130 net/tipc/group.c grp->max_active = max_active; max_active 133 net/tipc/group.c active_pool = max_active * ADV_ACTIVE; max_active 134 net/tipc/group.c idle_pool = (mcnt - max_active) * ADV_IDLE; max_active 585 net/tipc/group.c int max_active = grp->max_active; max_active 586 net/tipc/group.c int reclaim_limit = max_active * 3 / 4; max_active 599 net/tipc/group.c if (active_cnt <= max_active) { max_active 224 sound/oss/dmasound/dmasound.h int max_active; /* in-use fragments <= max_count */ max_active 485 sound/oss/dmasound/dmasound_core.c sq->max_active = sq->numBufs ; max_active 519 sound/oss/dmasound/dmasound_core.c sq->max_active = (sq->max_active <= sq->max_count) ? max_active 520 sound/oss/dmasound/dmasound_core.c sq->max_active : sq->max_count ; max_active 526 sound/oss/dmasound/dmasound_core.c sq->max_active = sq->numBufs ; max_active 625 sound/oss/dmasound/dmasound_core.c while (write_sq.count >= write_sq.max_active) { max_active 632 sound/oss/dmasound/dmasound_core.c if (write_sq.count < write_sq.max_active) max_active 686 sound/oss/dmasound/dmasound_core.c if (write_sq.count < write_sq.max_active || write_sq.block_size - write_sq.rear_size > 0) max_active 983 sound/oss/dmasound/dmasound_core.c sq->max_active = bufs ; max_active 1132 sound/oss/dmasound/dmasound_core.c info.fragments = write_sq.max_active - write_sq.count; max_active 1133 sound/oss/dmasound/dmasound_core.c info.fragstotal = write_sq.max_active; max_active 1331 sound/oss/dmasound/dmasound_core.c write_sq.max_active, write_sq.front, write_sq.rear,