/linux-4.4.14/drivers/scsi/snic/ |
D | snic_stats.h | 23 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()
|
D | snic_debugfs.c | 230 (u64) atomic64_read(&stats->io.max_active), in snic_stats_show()
|
/linux-4.4.14/include/linux/ |
D | workqueue.h | 361 __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/ |
D | dmasound_core.c | 484 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 …]
|
D | dmasound.h | 223 int max_active; /* in-use fragments <= max_count */ member
|
/linux-4.4.14/arch/ia64/sn/kernel/sn2/ |
D | sn2_smp.c | 174 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/ |
D | workqueue.c | 207 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/ |
D | workqueue.txt | 158 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/ |
D | disk-io.c | 2285 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 …]
|
D | scrub.c | 3733 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/ |
D | mad_priv.h | 180 int max_active; member
|
D | mad.c | 1181 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()
|
D | mad_rmpp.c | 404 return max(agent->qp_info->recv_queue.max_active >> 3, 1); in window_size()
|