| /linux/lib/tests/ |
| H A D | base64_kunit.c | 12 static u64 bench_encode_ns(const u8 *data, int len, char *dst, int reps, in bench_encode_ns() argument 18 for (int i = 0; i < reps; i++) in bench_encode_ns() 22 return div64_u64(t1 - t0, (u64)reps); in bench_encode_ns() 25 static u64 bench_decode_ns(const char *data, int len, u8 *dst, int reps, in bench_decode_ns() argument 31 for (int i = 0; i < reps; i++) in bench_decode_ns() 35 return div64_u64(t1 - t0, (u64)reps); in bench_decode_ns() 41 const int reps = 1000; in run_perf_and_check() local 61 u64 t1 = bench_encode_ns(in, size, enc, reps, variant); in run_perf_and_check() 65 u64 t2 = bench_decode_ns(enc, enc_len, decoded, reps, variant); in run_perf_and_check()
|
| /linux/crypto/ |
| H A D | xor.c | 86 unsigned long reps; in do_xor_speed() local 94 reps = 0; in do_xor_speed() 103 } while (reps++ < REPS || (t0 = ktime_get()) == start); in do_xor_speed() 109 speed = (1000 * reps * BENCH_SIZE) / (unsigned int)ktime_to_ns(min); in do_xor_speed()
|
| /linux/lib/math/ |
| H A D | div64.c | 244 unsigned int reps, d_z_hi; in mul_u64_add_u64_div_u64() local 273 reps = 64 / BITS_PER_ITER; in mul_u64_add_u64_div_u64() 276 reps -= 32 / BITS_PER_ITER; in mul_u64_add_u64_div_u64() 282 reps--; in mul_u64_add_u64_div_u64() 304 while (reps--) { in mul_u64_add_u64_div_u64()
|
| /linux/tools/testing/selftests/rseq/ |
| H A D | basic_percpu_ops_test.c | 66 int reps; member 125 for (i = 0; i < data->reps; i++) { in test_percpu_spinlock_thread() 154 data.reps = 5000; in test_percpu_spinlock() 167 assert(sum == (uint64_t)data.reps * num_threads); in test_percpu_spinlock()
|
| /linux/drivers/net/ethernet/marvell/octeontx2/nic/ |
| H A D | rep.c | 304 rep = priv->reps[rep_id]; in rvu_rep_state_evt_handler() 524 netif_napi_add(priv->reps[qidx]->netdev, &cq_poll->napi, in rvu_rep_napi_init() 637 rep = priv->reps[rep_id]; in rvu_rep_destroy() 643 kfree(priv->reps); in rvu_rep_destroy() 659 priv->reps = kcalloc(rep_cnt, sizeof(struct rep_dev *), GFP_KERNEL); in rvu_rep_create() 660 if (!priv->reps) in rvu_rep_create() 674 priv->reps[rep_id] = rep; in rvu_rep_create() 722 rep = priv->reps[rep_id]; in rvu_rep_create() 727 kfree(priv->reps); in rvu_rep_create()
|
| H A D | otx2_txrx.c | 517 ndev = pfvf->reps[qidx]->netdev; in otx2_tx_napi_handler()
|
| /linux/tools/perf/util/ |
| H A D | block-info.h | 69 void block_info__free_report(struct block_report *reps, int nr_reps);
|
| H A D | block-info.c | 494 void block_info__free_report(struct block_report *reps, int nr_reps) in block_info__free_report() argument 497 hists__delete_entries(&reps[i].hist.block_hists); in block_info__free_report() 499 free(reps); in block_info__free_report()
|
| /linux/drivers/usb/early/ |
| H A D | ehci-dbgp.c | 657 int ret, reps; in ehci_wait_for_port() local 659 for (reps = 0; reps < 300; reps++) { in ehci_wait_for_port()
|
| /linux/include/uapi/linux/ |
| H A D | mshv.h | 236 __u16 reps; member
|
| /linux/drivers/net/ethernet/sfc/ |
| H A D | tc.h | 333 struct efx_tc_action_set_list reps; member
|
| H A D | tc.c | 2515 rule->fallback = &efx->tc->facts.reps; in efx_tc_flower_replace() 2781 struct efx_tc_action_set_list *acts = &efx->tc->facts.reps; in efx_tc_configure_fallback_acts_reps() 2916 efx_tc_deconfigure_fallback_acts(efx, &efx->tc->facts.reps); in efx_fini_tc() 3036 INIT_LIST_HEAD(&efx->tc->facts.reps.list); in efx_init_struct_tc() 3037 efx->tc->facts.reps.fw_id = MC_CMD_MAE_ACTION_SET_ALLOC_OUT_ACTION_SET_ID_NULL; in efx_init_struct_tc() 3075 EFX_WARN_ON_PARANOID(efx->tc->facts.reps.fw_id != in efx_fini_struct_tc()
|
| /linux/drivers/hv/ |
| H A D | mshv_root_main.c | 243 if (args.reps) { in mshv_ioctl_passthru_hvcall() 244 status = hv_do_rep_hypercall_ex(args.code, args.reps, in mshv_ioctl_passthru_hvcall() 272 args.reps = reps_completed; in mshv_ioctl_passthru_hvcall()
|
| /linux/lib/zstd/compress/ |
| H A D | zstd_opt.c | 1361 Repcodes_t const reps = ZSTD_newRep(opt[cur].rep, lastStretch.off, opt[cur].litlen==0); in ZSTD_compressBlock_opt_generic() local 1362 ZSTD_memcpy(rep, &reps, sizeof(Repcodes_t)); in ZSTD_compressBlock_opt_generic()
|
| /linux/Documentation/networking/devlink/ |
| H A D | devlink-port.rst | 86 | devlink eswitch ports and reps |
|