Home
last modified time | relevance | path

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

/Linux-v5.15/tools/testing/selftests/bpf/
Dtest_lru_map.c260 unsigned int batch_size; in test_lru_sanity1() local
273 batch_size = tgt_free / 2; in test_lru_sanity1()
274 assert(batch_size * 2 == tgt_free); in test_lru_sanity1()
276 map_size = tgt_free + batch_size; in test_lru_sanity1()
292 end_key = 1 + batch_size; in test_lru_sanity1()
337 unsigned int batch_size; in test_lru_sanity2() local
350 batch_size = tgt_free / 2; in test_lru_sanity2()
351 assert(batch_size * 2 == tgt_free); in test_lru_sanity2()
353 map_size = tgt_free + batch_size; in test_lru_sanity2()
392 end_key = 1 + batch_size; in test_lru_sanity2()
[all …]
Dxdpxceiver.c556 static void complete_pkts(struct xsk_socket_info *xsk, int batch_size) in complete_pkts() argument
567 rcvd = xsk_ring_cons__peek(&xsk->umem->cq, batch_size, &idx); in complete_pkts()
/Linux-v5.15/samples/bpf/
Dxdpsock_user.c1177 int batch_size) in complete_tx_only() argument
1190 rcvd = xsk_ring_cons__peek(&xsk->umem->cq, batch_size, &idx); in complete_tx_only()
1267 static void tx_only(struct xsk_socket_info *xsk, u32 *frame_nb, int batch_size) in tx_only() argument
1272 while (xsk_ring_prod__reserve(&xsk->tx, batch_size, &idx) < in tx_only()
1273 batch_size) { in tx_only()
1274 complete_tx_only(xsk, batch_size); in tx_only()
1279 for (i = 0; i < batch_size; i++) { in tx_only()
1286 xsk_ring_prod__submit(&xsk->tx, batch_size); in tx_only()
1287 xsk->ring_stats.tx_npkts += batch_size; in tx_only()
1288 xsk->outstanding_tx += batch_size; in tx_only()
[all …]
/Linux-v5.15/drivers/gpu/drm/i915/gt/
Dintel_renderstate.c88 so->batch_size = rodata->batch_items * sizeof(u32); in render_state_setup()
223 so->batch_offset, so->batch_size, in intel_renderstate_emit()
Dintel_renderstate.h40 u32 batch_size; member
/Linux-v5.15/drivers/net/ethernet/sfc/falcon/
Drx.c329 unsigned int fill_level, batch_size; in ef4_fast_push_rx_descriptors() local
347 batch_size = efx->rx_pages_per_batch * efx->rx_bufs_per_page; in ef4_fast_push_rx_descriptors()
349 EF4_BUG_ON_PARANOID(space < batch_size); in ef4_fast_push_rx_descriptors()
366 } while ((space -= batch_size) >= batch_size); in ef4_fast_push_rx_descriptors()
/Linux-v5.15/drivers/net/ethernet/sfc/
Drx_common.c461 unsigned int fill_level, batch_size; in efx_fast_push_rx_descriptors() local
479 batch_size = efx->rx_pages_per_batch * efx->rx_bufs_per_page; in efx_fast_push_rx_descriptors()
481 EFX_WARN_ON_ONCE_PARANOID(space < batch_size); in efx_fast_push_rx_descriptors()
496 } while ((space -= batch_size) >= batch_size); in efx_fast_push_rx_descriptors()
/Linux-v5.15/drivers/dma/idxd/
Dsysfs.c876 u64 batch_size; in wq_max_batch_size_store() local
882 rc = __get_sysfs_u64(buf, &batch_size); in wq_max_batch_size_store()
886 if (batch_size > idxd->max_batch_size) in wq_max_batch_size_store()
889 wq->max_batch_size = (u32)batch_size; in wq_max_batch_size_store()
/Linux-v5.15/drivers/md/
Draid5.c6378 int i, batch_size = 0, hash; in handle_active_stripes() local
6381 while (batch_size < MAX_STRIPE_BATCH && in handle_active_stripes()
6383 batch[batch_size++] = sh; in handle_active_stripes()
6385 if (batch_size == 0) { in handle_active_stripes()
6393 return batch_size; in handle_active_stripes()
6408 for (i = 0; i < batch_size; i++) in handle_active_stripes()
6415 for (i = 0; i < batch_size; i++) { in handle_active_stripes()
6419 return batch_size; in handle_active_stripes()
6438 int batch_size, released; in raid5_do_work() local
6442 batch_size = handle_active_stripes(conf, group_id, worker, in raid5_do_work()
[all …]
/Linux-v5.15/drivers/net/wireless/mediatek/mt76/
Dmt76_connac_mcu.c1771 int i, n_chan, batch_size, idx = 0, tx_power, last_ch; in mt76_connac_mcu_rate_txpower_band() local
1788 batch_size = DIV_ROUND_UP(n_chan, batch_len); in mt76_connac_mcu_rate_txpower_band()
1795 for (i = 0; i < batch_size; i++) { in mt76_connac_mcu_rate_txpower_band()
1802 num_ch = i == batch_size - 1 ? n_chan % batch_len : batch_len; in mt76_connac_mcu_rate_txpower_band()
/Linux-v5.15/drivers/media/pci/tw5864/
Dtw5864-video.c1323 int batch_size = H264_BUF_CNT; in tw5864_handle_frame_task() local
1326 while (dev->h264_buf_r_index != dev->h264_buf_w_index && batch_size--) { in tw5864_handle_frame_task()
/Linux-v5.15/mm/
Dvmscan.c701 long batch_size = shrinker->batch ? shrinker->batch in do_shrink_slab() local
751 while (total_scan >= batch_size || in do_shrink_slab()
754 unsigned long nr_to_scan = min(batch_size, total_scan); in do_shrink_slab()
Dmemory.c1832 const int batch_size = min_t(int, pages_to_write_in_pmd, 8); in insert_pages() local
1835 for (pte = start_pte; pte_idx < batch_size; ++pte, ++pte_idx) { in insert_pages()
1848 pages_to_write_in_pmd -= batch_size; in insert_pages()
1849 remaining_pages_total -= batch_size; in insert_pages()
/Linux-v5.15/tools/perf/scripts/python/
Dexported-sql-viewer.py2620 def FetchBatch(self, batch_size): argument
2622 while batch_size > fetched:
2641 batch_size = min(glb_chunk_sz, target - self.fetched)
2642 self.FetchBatch(batch_size)