Home
last modified time | relevance | path

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

/linux-4.4.14/drivers/scsi/snic/
Dsnic_stats.h23 atomic64_t max_active; /* Max # active IOs */ member
107 if (atomic64_read(&io->max_active) < nr_active_ios) in snic_stats_update_active_ios()
108 atomic64_set(&io->max_active, nr_active_ios); in snic_stats_update_active_ios()
Dsnic_debugfs.c230 (u64) atomic64_read(&stats->io.max_active), in snic_stats_show()
/linux-4.4.14/include/linux/
Dworkqueue.h361 __alloc_workqueue_key(const char *fmt, unsigned int flags, int max_active,
381 #define alloc_workqueue(fmt, flags, max_active, args...) \ argument
388 __alloc_workqueue_key((fmt), (flags), (max_active), \
392 #define alloc_workqueue(fmt, flags, max_active, args...) \ argument
393 __alloc_workqueue_key((fmt), (flags), (max_active), \
451 int max_active);
/linux-4.4.14/sound/oss/dmasound/
Ddmasound_core.c484 sq->max_active = sq->numBufs ; in sq_setup()
518 sq->max_active = (sq->max_active <= sq->max_count) ? in sq_setup()
519 sq->max_active : sq->max_count ; in sq_setup()
525 sq->max_active = sq->numBufs ; in sq_setup()
624 while (write_sq.count >= write_sq.max_active) { in sq_write()
631 if (write_sq.count < write_sq.max_active) in sq_write()
685 if (write_sq.count < write_sq.max_active || write_sq.block_size - write_sq.rear_size > 0) in sq_poll()
982 sq->max_active = bufs ; in set_queue_frags()
1131 info.fragments = write_sq.max_active - write_sq.count; in sq_ioctl()
1132 info.fragstotal = write_sq.max_active; in sq_ioctl()
[all …]
Ddmasound.h223 int max_active; /* in-use fragments <= max_count */ member
/linux-4.4.14/arch/ia64/sn/kernel/sn2/
Dsn2_smp.c174 int active, max_active, deadlock, flush_opt = sn2_flush_opt; in sn2_global_tlb_purge() local
247 max_active = max_active_pio(shub1); in sn2_global_tlb_purge()
285 if (active >= max_active || i == (nix - 1)) { in sn2_global_tlb_purge()
291 max_active = 1; in sn2_global_tlb_purge()
/linux-4.4.14/kernel/
Dworkqueue.c207 int max_active; /* L: max active works */ member
1160 if (pwq->nr_active < pwq->max_active) in pwq_dec_nr_in_flight()
1423 if (likely(pwq->nr_active < pwq->max_active)) { in __queue_work()
3353 if (!freezable && pwq->max_active == wq->saved_max_active) in pwq_adjust_max_active()
3364 pwq->max_active = wq->saved_max_active; in pwq_adjust_max_active()
3367 pwq->nr_active < pwq->max_active) in pwq_adjust_max_active()
3376 pwq->max_active = 0; in pwq_adjust_max_active()
3814 static int wq_clamp_max_active(int max_active, unsigned int flags, in wq_clamp_max_active() argument
3819 if (max_active < 1 || max_active > lim) in wq_clamp_max_active()
3821 max_active, name, 1, lim); in wq_clamp_max_active()
[all …]
/linux-4.4.14/Documentation/
Dworkqueue.txt158 takes three arguments - @name, @flags and @max_active. @name is the
164 and @max_active control how work items are assigned execution
230 @max_active:
232 @max_active determines the maximum number of execution contexts per
234 with @max_active of 16, at most 16 work items of the wq can be
237 Currently, for a bound wq, the maximum limit for @max_active is 512
250 combination of @max_active of 1 and WQ_UNBOUND is used to achieve this
282 And with cmwq with @max_active >= 3,
296 If @max_active == 2,
335 * Unless there is a specific need, using 0 for @max_active is
/linux-4.4.14/fs/btrfs/
Ddisk-io.c2285 int max_active = fs_info->thread_pool_size; in btrfs_init_workqueues() local
2290 max_active, 16); in btrfs_init_workqueues()
2293 btrfs_alloc_workqueue("delalloc", flags, max_active, 2); in btrfs_init_workqueues()
2296 btrfs_alloc_workqueue("flush_delalloc", flags, max_active, 0); in btrfs_init_workqueues()
2299 btrfs_alloc_workqueue("cache", flags, max_active, 0); in btrfs_init_workqueues()
2309 max_active), 64); in btrfs_init_workqueues()
2319 btrfs_alloc_workqueue("endio", flags, max_active, 4); in btrfs_init_workqueues()
2321 btrfs_alloc_workqueue("endio-meta", flags, max_active, 4); in btrfs_init_workqueues()
2323 btrfs_alloc_workqueue("endio-meta-write", flags, max_active, 2); in btrfs_init_workqueues()
2325 btrfs_alloc_workqueue("endio-raid56", flags, max_active, 4); in btrfs_init_workqueues()
[all …]
Dscrub.c3733 int max_active = fs_info->thread_pool_size; in scrub_workers_get() local
3743 max_active, 4); in scrub_workers_get()
3749 max_active, 2); in scrub_workers_get()
3759 max_active, 2); in scrub_workers_get()
/linux-4.4.14/drivers/infiniband/core/
Dmad_priv.h180 int max_active; member
Dmad.c1181 if (qp_info->send_queue.count < qp_info->send_queue.max_active) { in ib_send_mad()
2446 if (send_queue->count-- > send_queue->max_active) { in ib_mad_send_done_handler()
2921 post = (++recv_queue->count < recv_queue->max_active); in ib_mad_post_receive_mads()
3125 qp_info->send_queue.max_active = mad_sendq_size; in create_mad_qp()
3126 qp_info->recv_queue.max_active = mad_recvq_size; in create_mad_qp()
Dmad_rmpp.c404 return max(agent->qp_info->recv_queue.max_active >> 3, 1); in window_size()