Home
last modified time | relevance | path

Searched refs:batch_size (Results 1 – 5 of 5) sorted by relevance

/linux-4.1.27/include/linux/
Dpercpu_ida.h70 unsigned long max_size, unsigned long batch_size);
/linux-4.1.27/lib/
Dpercpu_ida.c287 unsigned long max_size, unsigned long batch_size) in __percpu_ida_init() argument
297 pool->percpu_batch_size = batch_size; in __percpu_ida_init()
/linux-4.1.27/drivers/net/ethernet/sfc/
Drx.c330 unsigned int fill_level, batch_size; in efx_fast_push_rx_descriptors() local
348 batch_size = efx->rx_pages_per_batch * efx->rx_bufs_per_page; in efx_fast_push_rx_descriptors()
350 EFX_BUG_ON_PARANOID(space < batch_size); in efx_fast_push_rx_descriptors()
367 } while ((space -= batch_size) >= batch_size); in efx_fast_push_rx_descriptors()
/linux-4.1.27/drivers/md/
Draid5.c5730 int i, batch_size = 0, hash; in handle_active_stripes() local
5733 while (batch_size < MAX_STRIPE_BATCH && in handle_active_stripes()
5735 batch[batch_size++] = sh; in handle_active_stripes()
5737 if (batch_size == 0) { in handle_active_stripes()
5742 return batch_size; in handle_active_stripes()
5755 for (i = 0; i < batch_size; i++) in handle_active_stripes()
5761 for (i = 0; i < batch_size; i++) { in handle_active_stripes()
5765 return batch_size; in handle_active_stripes()
5783 int batch_size, released; in raid5_do_work() local
5787 batch_size = handle_active_stripes(conf, group_id, worker, in raid5_do_work()
[all …]
/linux-4.1.27/mm/
Dvmscan.c247 long batch_size = shrinker->batch ? shrinker->batch in do_shrink_slab() local
314 while (total_scan >= batch_size || in do_shrink_slab()
317 unsigned long nr_to_scan = min(batch_size, total_scan); in do_shrink_slab()