Home
last modified time | relevance | path

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

/Linux-v4.19/tools/testing/selftests/bpf/
Dtest_lru_map.c190 unsigned int batch_size; in test_lru_sanity1() local
203 batch_size = tgt_free / 2; in test_lru_sanity1()
204 assert(batch_size * 2 == tgt_free); in test_lru_sanity1()
206 map_size = tgt_free + batch_size; in test_lru_sanity1()
222 end_key = 1 + batch_size; in test_lru_sanity1()
267 unsigned int batch_size; in test_lru_sanity2() local
280 batch_size = tgt_free / 2; in test_lru_sanity2()
281 assert(batch_size * 2 == tgt_free); in test_lru_sanity2()
283 map_size = tgt_free + batch_size; in test_lru_sanity2()
322 end_key = 1 + batch_size; in test_lru_sanity2()
[all …]
/Linux-v4.19/drivers/gpu/drm/i915/
Di915_gem_render_state.c37 u32 batch_size; member
120 so->batch_size = rodata->batch_items * sizeof(u32); in render_state_setup()
212 so.batch_offset, so.batch_size, in i915_gem_render_state_emit()
/Linux-v4.19/drivers/net/ethernet/sfc/falcon/
Drx.c330 unsigned int fill_level, batch_size; in ef4_fast_push_rx_descriptors() local
348 batch_size = efx->rx_pages_per_batch * efx->rx_bufs_per_page; in ef4_fast_push_rx_descriptors()
350 EF4_BUG_ON_PARANOID(space < batch_size); in ef4_fast_push_rx_descriptors()
367 } while ((space -= batch_size) >= batch_size); in ef4_fast_push_rx_descriptors()
/Linux-v4.19/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_WARN_ON_ONCE_PARANOID(space < batch_size); in efx_fast_push_rx_descriptors()
367 } while ((space -= batch_size) >= batch_size); in efx_fast_push_rx_descriptors()
/Linux-v4.19/drivers/md/
Draid5.c6169 int i, batch_size = 0, hash; in handle_active_stripes() local
6172 while (batch_size < MAX_STRIPE_BATCH && in handle_active_stripes()
6174 batch[batch_size++] = sh; in handle_active_stripes()
6176 if (batch_size == 0) { in handle_active_stripes()
6184 return batch_size; in handle_active_stripes()
6199 for (i = 0; i < batch_size; i++) in handle_active_stripes()
6206 for (i = 0; i < batch_size; i++) { in handle_active_stripes()
6210 return batch_size; in handle_active_stripes()
6229 int batch_size, released; in raid5_do_work() local
6233 batch_size = handle_active_stripes(conf, group_id, worker, in raid5_do_work()
[all …]
/Linux-v4.19/mm/
Dvmscan.c457 long batch_size = shrinker->batch ? shrinker->batch in do_shrink_slab() local
488 delta = max_t(unsigned long long, delta, min(freeable, batch_size)); in do_shrink_slab()
540 while (total_scan >= batch_size || in do_shrink_slab()
543 unsigned long nr_to_scan = min(batch_size, total_scan); in do_shrink_slab()
/Linux-v4.19/drivers/media/pci/tw5864/
Dtw5864-video.c1329 int batch_size = H264_BUF_CNT; in tw5864_handle_frame_task() local
1332 while (dev->h264_buf_r_index != dev->h264_buf_w_index && batch_size--) { in tw5864_handle_frame_task()