Lines Matching defs:limiter
127 struct limiter { struct
129 struct data_vio_pool *pool;
131 data_vio_count_t limit;
133 data_vio_count_t busy;
135 data_vio_count_t max_busy;
137 data_vio_count_t release_count;
139 data_vio_count_t wake_count;
141 struct bio_list waiters;
165 /* The main limiter controlling the total data_vios in the pool. */ argument
166 struct limiter limiter; member
585 static void assign_data_vio(struct limiter *limiter, struct data_vio *data_vio) in assign_data_vio()
596 static void assign_discard_permit(struct limiter *limiter) in assign_discard_permit()
606 static void get_waiters(struct limiter *limiter) in get_waiters()
620 static void assign_data_vio_to_waiter(struct limiter *limiter) in assign_data_vio_to_waiter()
625 static void update_limiter(struct limiter *limiter) in update_limiter()
769 static void initialize_limiter(struct limiter *limiter, struct data_vio_pool *pool, in initialize_limiter()
931 static bool acquire_permit(struct limiter *limiter) in acquire_permit()
942 static void wait_permit(struct limiter *limiter, struct bio *bio) in wait_permit()
1026 static void dump_limiter(const char *name, struct limiter *limiter) in dump_limiter()