| /linux-6.15/tools/testing/selftests/bpf/ |
| H A D | test_lru_map.c | 244 unsigned int batch_size; in test_lru_sanity1() local 257 batch_size = tgt_free / 2; in test_lru_sanity1() 260 map_size = tgt_free + batch_size; in test_lru_sanity1() 276 end_key = 1 + batch_size; in test_lru_sanity1() 321 unsigned int batch_size; in test_lru_sanity2() local 334 batch_size = tgt_free / 2; in test_lru_sanity2() 376 end_key = 1 + batch_size; in test_lru_sanity2() 427 unsigned int batch_size; in test_lru_sanity3() local 440 batch_size = tgt_free / 2; in test_lru_sanity3() 459 end_key = tgt_free + batch_size; in test_lru_sanity3() [all …]
|
| H A D | xskxceiver.c | 254 sock_opt = xsk->batch_size; in enable_busy_poll() 504 ifobj->xsk_arr[j].batch_size = DEFAULT_BATCH_SIZE; in __test_spec_init() 1320 while (xsk_ring_prod__reserve(&xsk->tx, xsk->batch_size, &idx) < xsk->batch_size) { in __send_pkts() 1340 complete_pkts(xsk, xsk->batch_size); in __send_pkts() 1343 for (i = 0; i < xsk->batch_size; i++) { in __send_pkts() 1351 if (nb_frags > xsk->batch_size - i) { in __send_pkts() 1353 xsk_ring_prod__cancel(&xsk->tx, xsk->batch_size - i); in __send_pkts() 1441 complete_pkts(xsk, xsk->batch_size); in wait_for_tx_completion() 2478 test->ifobj_tx->xsk->batch_size = 1; in testapp_hw_sw_min_ring_size() 2479 test->ifobj_rx->xsk->batch_size = 1; in testapp_hw_sw_min_ring_size() [all …]
|
| H A D | xskxceiver.h | 95 u32 batch_size; member
|
| /linux-6.15/tools/testing/selftests/bpf/map_tests/ |
| H A D | map_in_map_batch_ops.c | 123 __u32 batch_size, bool delete_entries, in fetch_and_validate() argument 128 __u32 batch_key = 0, fetch_count, step_size = batch_size; in fetch_and_validate() 158 step_size += batch_size; in fetch_and_validate() 181 delete_entries ? "LOOKUP_AND_DELETE" : "LOOKUP", batch_size); in fetch_and_validate() 195 int batch_size[2] = {5, 10}; in _map_in_map_batch_ops() local 242 batch_size[op_index], false, in _map_in_map_batch_ops()
|
| /linux-6.15/net/bpf/ |
| H A D | test_run.c | 119 u32 batch_size; member 168 .pool_size = xdp->batch_size, in xdp_test_run_setup() 298 batch_sz = min_t(u32, repeat, xdp->batch_size); in xdp_test_run_batch() 373 u32 repeat, u32 batch_size, u32 *time) in bpf_test_run_xdp_live() argument 376 struct xdp_test_data xdp = { .batch_size = batch_size }; in bpf_test_run_xdp_live() 1204 u32 batch_size = kattr->test.batch_size; in bpf_prog_test_run_xdp() local 1227 if (!batch_size) in bpf_prog_test_run_xdp() 1228 batch_size = NAPI_POLL_WEIGHT; in bpf_prog_test_run_xdp() 1229 else if (batch_size > TEST_XDP_MAX_BATCH) in bpf_prog_test_run_xdp() 1233 } else if (batch_size) { in bpf_prog_test_run_xdp() [all …]
|
| /linux-6.15/drivers/gpu/drm/xe/ |
| H A D | xe_migrate.c | 851 batch_size += ((copy_only_ccs) ? 0 : EMIT_COPY_DW) + in xe_migrate_copy() 854 bb = xe_bb_new(gt, batch_size, usm); in xe_migrate_copy() 1087 u32 batch_size, update_idx; in xe_migrate_clear() local 1097 batch_size = 2 + in xe_migrate_clear() 1104 batch_size += EMIT_COPY_CCS_DW; in xe_migrate_clear() 1111 bb = xe_bb_new(gt, batch_size, usm); in xe_migrate_clear() 1343 batch_size += 2; in __xe_migrate_update_pgtables() 1348 bb = xe_bb_new(gt, batch_size, usm); in __xe_migrate_update_pgtables() 1612 u32 batch_size = 2; in xe_migrate_vram() local 1625 batch_size += EMIT_COPY_DW; in xe_migrate_vram() [all …]
|
| /linux-6.15/drivers/gpu/drm/i915/gt/ |
| H A D | intel_renderstate.c | 90 so->batch_size = rodata->batch_items * sizeof(u32); in render_state_setup() 223 so->batch_offset, so->batch_size, in intel_renderstate_emit()
|
| H A D | intel_renderstate.h | 40 u32 batch_size; member
|
| /linux-6.15/drivers/net/ethernet/sfc/falcon/ |
| H A D | rx.c | 334 unsigned int fill_level, batch_size; in ef4_fast_push_rx_descriptors() local 352 batch_size = efx->rx_pages_per_batch * efx->rx_bufs_per_page; in ef4_fast_push_rx_descriptors() 354 EF4_BUG_ON_PARANOID(space < batch_size); in ef4_fast_push_rx_descriptors() 371 } while ((space -= batch_size) >= batch_size); in ef4_fast_push_rx_descriptors()
|
| /linux-6.15/drivers/gpu/drm/xe/tests/ |
| H A D | xe_migrate.c | 397 u32 batch_size = 2; /* arb_clear() + MI_BATCH_BUFFER_END */ in blt_copy() local 412 batch_size += pte_update_size(m, pte_flags, src, &src_it, &src_L0, in blt_copy() 418 batch_size += pte_update_size(m, pte_flags, dst, &dst_it, &src_L0, in blt_copy() 423 batch_size += ((copy_only_ccs) ? 0 : EMIT_COPY_DW) + in blt_copy() 426 bb = xe_bb_new(gt, batch_size, xe->info.has_usm); in blt_copy()
|
| /linux-6.15/drivers/net/ethernet/sfc/siena/ |
| H A D | rx_common.c | 461 unsigned int fill_level, batch_size; in efx_siena_fast_push_rx_descriptors() local 479 batch_size = efx->rx_pages_per_batch * efx->rx_bufs_per_page; in efx_siena_fast_push_rx_descriptors() 481 EFX_WARN_ON_ONCE_PARANOID(space < batch_size); in efx_siena_fast_push_rx_descriptors() 496 } while ((space -= batch_size) >= batch_size); in efx_siena_fast_push_rx_descriptors()
|
| /linux-6.15/drivers/net/ethernet/sfc/ |
| H A D | rx_common.c | 463 unsigned int fill_level, batch_size; in efx_fast_push_rx_descriptors() local 481 batch_size = efx->rx_pages_per_batch * efx->rx_bufs_per_page; in efx_fast_push_rx_descriptors() 483 EFX_WARN_ON_ONCE_PARANOID(space < batch_size); in efx_fast_push_rx_descriptors() 498 } while ((space -= batch_size) >= batch_size); in efx_fast_push_rx_descriptors()
|
| /linux-6.15/mm/ |
| H A D | shrinker.c | 380 long batch_size = shrinker->batch ? shrinker->batch in do_shrink_slab() local 430 while (total_scan >= batch_size || in do_shrink_slab() 433 unsigned long nr_to_scan = min(batch_size, total_scan); in do_shrink_slab()
|
| /linux-6.15/tools/lib/bpf/ |
| H A D | bpf.h | 676 __u32 batch_size; member 678 #define bpf_test_run_opts__last_field batch_size
|
| H A D | bpf.c | 991 attr.test.batch_size = OPTS_GET(opts, batch_size, 0); in bpf_prog_test_run_opts()
|
| /linux-6.15/tools/testing/selftests/bpf/prog_tests/ |
| H A D | xdp_do_redirect.c | 105 .batch_size = 64, in test_xdp_do_redirect()
|
| /linux-6.15/drivers/dma/idxd/ |
| H A D | sysfs.c | 1049 u64 batch_size; in wq_max_batch_size_store() local 1058 rc = __get_sysfs_u64(buf, &batch_size); in wq_max_batch_size_store() 1062 if (batch_size > idxd->max_batch_size) in wq_max_batch_size_store() 1065 idxd_wq_set_max_batch_size(idxd->data->type, wq, (u32)batch_size); in wq_max_batch_size_store()
|
| /linux-6.15/drivers/md/ |
| H A D | raid5.c | 6648 int i, batch_size = 0, hash; in handle_active_stripes() local 6653 batch[batch_size++] = sh; in handle_active_stripes() 6655 if (batch_size == 0) { in handle_active_stripes() 6663 return batch_size; in handle_active_stripes() 6689 return batch_size; in handle_active_stripes() 6708 int batch_size, released; in raid5_do_work() local 6715 if (!batch_size && !released) in raid5_do_work() 6717 handled += batch_size; in raid5_do_work() 6759 int batch_size, released; in raid5d() local 6793 if (!batch_size && !released) in raid5d() [all …]
|
| /linux-6.15/Documentation/bpf/ |
| H A D | bpf_prog_run.rst | 94 the ``batch_size`` parameter, up to a maximum of 256 packets. For each batch,
|
| /linux-6.15/drivers/media/pci/tw5864/ |
| H A D | tw5864-video.c | 1321 int batch_size = H264_BUF_CNT; in tw5864_handle_frame_work() local 1324 while (dev->h264_buf_r_index != dev->h264_buf_w_index && batch_size--) { in tw5864_handle_frame_work()
|
| /linux-6.15/Documentation/networking/ |
| H A D | af_xdp.rst | 679 int batch_size) 683 xsk_ring_prod__reserve(&xsk->tx, batch_size, &idx); 685 for (i = 0; i < batch_size;) { 706 if (i == batch_size) {
|
| /linux-6.15/drivers/net/wireless/mediatek/mt76/ |
| H A D | mt76_connac_mcu.c | 2090 int i, n_chan, batch_size, idx = 0, tx_power, last_ch, err = 0; in mt76_connac_mcu_rate_txpower_band() local 2114 batch_size = DIV_ROUND_UP(n_chan, batch_len); in mt76_connac_mcu_rate_txpower_band() 2123 for (i = 0; i < batch_size; i++) { in mt76_connac_mcu_rate_txpower_band() 2128 num_ch = i == batch_size - 1 ? n_chan - i * batch_len : batch_len; in mt76_connac_mcu_rate_txpower_band()
|
| /linux-6.15/drivers/net/wireless/mediatek/mt76/mt7925/ |
| H A D | mcu.c | 3439 int i, sku_len, batch_size, batch_len = 3; in mt7925_mcu_rate_txpower_band() local 3494 batch_size = DIV_ROUND_UP(n_chan, batch_len); in mt7925_mcu_rate_txpower_band() 3506 for (i = 0; i < batch_size; i++) { in mt7925_mcu_rate_txpower_band() 3511 num_ch = i == batch_size - 1 ? n_chan % batch_len : batch_len; in mt7925_mcu_rate_txpower_band()
|
| /linux-6.15/fs/btrfs/ |
| H A D | tree-log.c | 3705 int batch_size = 0; in process_dir_items_leaf() local 3786 if (batch_size == 0) in process_dir_items_leaf() 3788 batch_size++; in process_dir_items_leaf() 3791 if (batch_size > 0) { in process_dir_items_leaf() 3795 batch_start, batch_size); in process_dir_items_leaf()
|
| /linux-6.15/tools/include/uapi/linux/ |
| H A D | bpf.h | 1642 __u32 batch_size; member
|