Home
last modified time | relevance | path

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

/Linux-v5.4/tools/testing/selftests/bpf/
Dtest_lru_map.c252 unsigned int batch_size; in test_lru_sanity1() local
265 batch_size = tgt_free / 2; in test_lru_sanity1()
266 assert(batch_size * 2 == tgt_free); in test_lru_sanity1()
268 map_size = tgt_free + batch_size; in test_lru_sanity1()
284 end_key = 1 + batch_size; in test_lru_sanity1()
329 unsigned int batch_size; in test_lru_sanity2() local
342 batch_size = tgt_free / 2; in test_lru_sanity2()
343 assert(batch_size * 2 == tgt_free); in test_lru_sanity2()
345 map_size = tgt_free + batch_size; in test_lru_sanity2()
384 end_key = 1 + batch_size; in test_lru_sanity2()
[all …]
/Linux-v5.4/drivers/gpu/drm/i915/gt/
Dintel_renderstate.c36 u32 batch_size; member
119 so->batch_size = rodata->batch_items * sizeof(u32); in render_state_setup()
211 so.batch_offset, so.batch_size, in intel_renderstate_emit()
/Linux-v5.4/drivers/net/ethernet/sfc/falcon/
Drx.c327 unsigned int fill_level, batch_size; in ef4_fast_push_rx_descriptors() local
345 batch_size = efx->rx_pages_per_batch * efx->rx_bufs_per_page; in ef4_fast_push_rx_descriptors()
347 EF4_BUG_ON_PARANOID(space < batch_size); in ef4_fast_push_rx_descriptors()
364 } while ((space -= batch_size) >= batch_size); in ef4_fast_push_rx_descriptors()
/Linux-v5.4/drivers/net/ethernet/sfc/
Drx.c327 unsigned int fill_level, batch_size; in efx_fast_push_rx_descriptors() local
345 batch_size = efx->rx_pages_per_batch * efx->rx_bufs_per_page; in efx_fast_push_rx_descriptors()
347 EFX_WARN_ON_ONCE_PARANOID(space < batch_size); in efx_fast_push_rx_descriptors()
363 } while ((space -= batch_size) >= batch_size); in efx_fast_push_rx_descriptors()
/Linux-v5.4/drivers/md/
Draid5.c6185 int i, batch_size = 0, hash; in handle_active_stripes() local
6188 while (batch_size < MAX_STRIPE_BATCH && in handle_active_stripes()
6190 batch[batch_size++] = sh; in handle_active_stripes()
6192 if (batch_size == 0) { in handle_active_stripes()
6200 return batch_size; in handle_active_stripes()
6215 for (i = 0; i < batch_size; i++) in handle_active_stripes()
6222 for (i = 0; i < batch_size; i++) { in handle_active_stripes()
6226 return batch_size; in handle_active_stripes()
6245 int batch_size, released; in raid5_do_work() local
6249 batch_size = handle_active_stripes(conf, group_id, worker, in raid5_do_work()
[all …]
/Linux-v5.4/drivers/media/pci/tw5864/
Dtw5864-video.c1320 int batch_size = H264_BUF_CNT; in tw5864_handle_frame_task() local
1323 while (dev->h264_buf_r_index != dev->h264_buf_w_index && batch_size--) { in tw5864_handle_frame_task()
/Linux-v5.4/mm/
Dvmscan.c472 long batch_size = shrinker->batch ? shrinker->batch in do_shrink_slab() local
554 while (total_scan >= batch_size || in do_shrink_slab()
557 unsigned long nr_to_scan = min(batch_size, total_scan); in do_shrink_slab()
/Linux-v5.4/tools/perf/scripts/python/
Dexported-sql-viewer.py1235 def FetchBatch(self, batch_size): argument
1237 while batch_size > fetched:
1256 batch_size = min(glb_chunk_sz, target - self.fetched)
1257 self.FetchBatch(batch_size)